admin/maintenance.php
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 22 and the first side effect is on line 34. Open
Open
<?php
- Exclude checks
Blank line found at start of control structure Open
Open
} else {
- Exclude checks
Blank line found at start of control structure Open
Open
if (!empty($_POST['do_04to06'])) {
- Exclude checks
Blank line found at start of control structure Open
Open
} elseif (!empty($_POST['create_cat'])) {
- Exclude checks
Blank line found at start of control structure Open
Open
} elseif (!empty($_POST['repair_stz'])) {
- Exclude checks
Line exceeds 120 characters; contains 139 characters Open
Open
<input type='submit' value='" . _SUBMIT . "' name='repair_stz' onclick='return confirm(\"" . _AM_APCAL_JSALRT_SERVER_TZ . "\");' />
- Exclude checks
Line exceeds 120 characters; contains 139 characters Open
Open
$sql = 'SELECT com_itemid,count(*) FROM ' . $GLOBALS['xoopsDB']->prefix('xoopscomments') . " WHERE com_modid=$mid GROUP BY com_itemid";
- Exclude checks
Line exceeds 120 characters; contains 167 characters Open
Open
' . sprintf(_AM_APCAL_FMT_SERVER_TZ_ALL, date('Z', 1104537600) / 3600, date('Z', 1120176000) / 3600, date('T'), $xoopsConfig['server_TZ'], $cal->server_TZ) . "
- Exclude checks
Line exceeds 120 characters; contains 189 characters Open
Open
$sql = "UPDATE $table_event SET dtstamp=dtstamp,start=start+($stz_diff),end=end+($stz_diff),server_tz='" . addslashes($to_stz) . "' WHERE server_tz='" . addslashes($from_stz) . "'";
- Exclude checks