contact.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 64 and the first side effect is on line 30. Open
Open
<?php
- Exclude checks
The CASE body must start on the line following the statement Open
Open
case 'preview':
- Exclude checks
The DEFAULT body must start on the line following the statement Open
Open
default:
- Exclude checks
Line exceeds 120 characters; contains 172 characters Open
Open
echo '<table cellpadding="4" cellspacing="1" width="98%" class="outer"><tr><td class="head">' . $title . '</td></tr><tr><td><br>' . $content . '<br></td></tr></table>';
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
Open
$p_msg = MD_XFGUESTBOOK_FROMUSER . " $name_user " . MD_XFGUESTBOOK_YOURMSG . ' ' . $xoopsConfig['sitename'] . ' :<br>';
- Exclude checks
Line exceeds 120 characters; contains 133 characters Open
Open
$fullmsg = MD_XFGUESTBOOK_FROMUSER . " $name_user " . MD_XFGUESTBOOK_YOURMSG . ' ' . $xoopsConfig['sitename'] . ' :<br><br>';
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
Open
$name_user = ('' !== $xoopsUser->getVar('name')) ? $xoopsUser->getVar('name') : $xoopsUser->getVar('uname');
- Exclude checks