// 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);
}
$OUT = ''; $SW = 2;
while ($content = SQL_FETCHARRAY($result)) {
// Add three dashes to comment when it is empty
- if (empty($content['comments'])) $content['comments'] = "---";
+ if (empty($content['comments'])) $content['comments'] = '---';
// Prepare data for the row template
$content = array(