// Some security stuff...
if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
require($INC);
}
// Check if an entry is empty
foreach ($DATA as $k => $v) {
- if (empty($v)) $DATA[$k] = "---";
+ if (empty($v)) $DATA[$k] = '---';
}
// Check for sponsor's orders (only count)