htdocs/modules/system/admin/comments/main.php
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
Open
$module_array = $module_handler->getList(new icms_db_criteria_Item('hascomments', 1));
- Exclude checks
Reference to undeclared constant \_GO
Open
Open
$form .= '</select> <input type="hidden" name="fct" value="comments" /><input type="submit" value="' . _GO . '" name="selsubmit" /></form>';
- Exclude checks
Reference to undeclared constant \_CM_TITLE
Open
Open
echo '<table width="100%" class="outer" cellspacing="1"><tr><th colspan="8">' . _MD_AM_LISTCOMM . '</th></tr><tr align="center"><td class="head">' . _MD_AM_MESSAGE_ICON . '</td><td class="head" align="' . _GLOBAL_LEFT . '"><a href="admin.php?fct=comments&op=list&sort=com_title&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_TITLE . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_created&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_POSTED . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_uid&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_POSTER . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_ip&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">IP</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_modid&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _MD_AM_MODULE . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_status&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_STATUS . '</a></td><td class="head">' . _MD_AM_ACTION . '</td></tr>';
- Exclude checks
Call to method setOrder
from undeclared class \icms_db_criteria_Compo
Open
Open
$criteria->setOrder($order);
- Exclude checks
Reference to undeclared constant \_CM_ACTIVE
Open
Open
$status_array = array(XOOPS_COMMENT_PENDING => _CM_PENDING, XOOPS_COMMENT_ACTIVE => _CM_ACTIVE, XOOPS_COMMENT_HIDDEN => _CM_HIDDEN);
- Exclude checks
Reference to undeclared constant \_CM_PENDING
Open
Open
$status_array = array(XOOPS_COMMENT_PENDING => _CM_PENDING, XOOPS_COMMENT_ACTIVE => _CM_ACTIVE, XOOPS_COMMENT_HIDDEN => _CM_HIDDEN);
- Exclude checks
Reference to undeclared constant \_CM_ACTIVE
Open
Open
XOOPS_COMMENT_ACTIVE => '<span style="text-decoration: none; font-weight: bold; color: #ff0000;">' . _CM_ACTIVE . '</span>',
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
Open
$criteria->add(new icms_db_criteria_Item('com_modid', $module));
- Exclude checks
Reference to undeclared constant \_CM_STATUS
Open
Open
echo '<table width="100%" class="outer" cellspacing="1"><tr><th colspan="8">' . _MD_AM_LISTCOMM . '</th></tr><tr align="center"><td class="head">' . _MD_AM_MESSAGE_ICON . '</td><td class="head" align="' . _GLOBAL_LEFT . '"><a href="admin.php?fct=comments&op=list&sort=com_title&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_TITLE . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_created&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_POSTED . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_uid&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_POSTER . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_ip&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">IP</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_modid&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _MD_AM_MODULE . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_status&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_STATUS . '</a></td><td class="head">' . _MD_AM_ACTION . '</td></tr>';
- Exclude checks
Reference to undeclared constant \_DELETE
Open
Open
<a href="admin/comments/comment_delete.php?com_id=' . $i . '"><img src="' . ICMS_IMAGES_SET_URL . '/actions/editdelete.png" alt="' . _DELETE . '" title="' . _DELETE . '" /></a></td></tr>';
- Exclude checks
Call to method renderNav
from undeclared class \icms_view_PageNav
Open
Open
echo '</td><td align="center">' . $nav->renderNav();
- Exclude checks
Call to method handler
from undeclared class \icms
Open
Open
$comment_handler = icms::handler('icms_data_comment');
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
Open
$criteria->add(new icms_db_criteria_Item('com_modid', $module));
- Exclude checks
Reference to undeclared constant \_CM_POSTED
Open
Open
echo '<table width="100%" class="outer" cellspacing="1"><tr><th colspan="8">' . _MD_AM_LISTCOMM . '</th></tr><tr align="center"><td class="head">' . _MD_AM_MESSAGE_ICON . '</td><td class="head" align="' . _GLOBAL_LEFT . '"><a href="admin.php?fct=comments&op=list&sort=com_title&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_TITLE . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_created&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_POSTED . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_uid&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_POSTER . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_ip&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">IP</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_modid&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _MD_AM_MODULE . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_status&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_STATUS . '</a></td><td class="head">' . _MD_AM_ACTION . '</td></tr>';
- Exclude checks
Reference to static property module
from undeclared class \icms
Open
Open
if (!is_object(icms::$user) || !is_object(icms::$module) || !icms::$user->isAdmin(icms::$module->getVar('mid'))) {
- Exclude checks
Reference to undeclared constant \_EDIT
Open
Open
echo '<tr align="center"><td class="' . $class . '">' . $icon . '</td><td class="' . $class . '" align="' . _GLOBAL_LEFT . '"><a href="admin.php?fct=comments&op=jump&com_id=' . $i . '">' . $comments[$i]->getVar('com_title') . '</a></td><td class="' . $class . '">' . formatTimestamp($comments[$i]->getVar('com_created'), 'm') . '</td><td class="' . $class . '">' . $poster_uname . '</td><td class="' . $class . '">' . icms_conv_nr2local($comments[$i]->getVar('com_ip')) . '</td><td class="' . $class . '">' . $module_array[$comments[$i]->getVar('com_modid')] . '</td><td class="' . $class . '">' . $status_array2[$comments[$i]->getVar('com_status')] . '</td><td class="' . $class . '" align="' . _CENTER . '"><a href="admin/comments/comment_edit.php?com_id=' . $i . '"><img src="' . ICMS_IMAGES_SET_URL . '/actions/edit.png" alt="' . _EDIT . '" title="' . _EDIT . '" /></a>
- Exclude checks
Call to method handler
from undeclared class \icms
Open
Open
$comment_handler = icms::handler('icms_data_comment');
- Exclude checks
Reference to undeclared constant \_CM_HIDDEN
Open
Open
$status_array = array(XOOPS_COMMENT_PENDING => _CM_PENDING, XOOPS_COMMENT_ACTIVE => _CM_ACTIVE, XOOPS_COMMENT_HIDDEN => _CM_HIDDEN);
- Exclude checks
Call to method setSort
from undeclared class \icms_db_criteria_Compo
Open
Open
$criteria->setSort($sort);
- Exclude checks
Reference to undeclared constant \_CM_PENDING
Open
Open
$status_array2 = array(XOOPS_COMMENT_PENDING => '<span style="text-decoration: none; font-weight: bold; color: #00ff00;">' . _CM_PENDING . '</span>',
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
Open
$criteria->add(new icms_db_criteria_Item('com_status', $status));
- Exclude checks
Call to method setStart
from undeclared class \icms_db_criteria_Compo
Open
Open
$criteria->setStart($start);
- Exclude checks
Call to method __construct
from undeclared class \icms_view_PageNav
Open
Open
$nav = new icms_view_PageNav($total, $limit, $start, 'start', 'fct=comments&op=list&limit=' . $limit . '&sort=' . $sort . '&order=' . $order . '&module=' . $module);
- Exclude checks
Reference to undeclared constant \_CM_HIDDEN
Open
Open
XOOPS_COMMENT_HIDDEN => '<span style="text-decoration: none; font-weight: bold; color: #0000ff;">' . _CM_HIDDEN . '</span>');
- Exclude checks
Reference to undeclared constant \_CM_POSTER
Open
Open
echo '<table width="100%" class="outer" cellspacing="1"><tr><th colspan="8">' . _MD_AM_LISTCOMM . '</th></tr><tr align="center"><td class="head">' . _MD_AM_MESSAGE_ICON . '</td><td class="head" align="' . _GLOBAL_LEFT . '"><a href="admin.php?fct=comments&op=list&sort=com_title&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_TITLE . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_created&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_POSTED . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_uid&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_POSTER . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_ip&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">IP</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_modid&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _MD_AM_MODULE . '</a></td><td class="head"><a href="admin.php?fct=comments&op=list&sort=com_status&order=' . $otherorder . '&module=' . $module . '&status=' . $status . '&start=' . $start . '&limit=' . $limit . '">' . _CM_STATUS . '</a></td><td class="head">' . _MD_AM_ACTION . '</td></tr>';
- Exclude checks
Call to method checkVarArray
from undeclared class \icms_core_DataFilter
Open
Open
$clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, false);
- Exclude checks
Call to method handler
from undeclared class \icms
Open
Open
$module_handler = icms::handler('icms_module');
- Exclude checks
Call to method handler
from undeclared class \icms
Open
Open
$module_handler = icms::handler('icms_module');
- Exclude checks
Call to method setLimit
from undeclared class \icms_db_criteria_Compo
Open
Open
$criteria->setLimit($limit);
- Exclude checks
Reference to undeclared constant \_CENTER
Open
Open
echo '<tr align="center"><td class="' . $class . '">' . $icon . '</td><td class="' . $class . '" align="' . _GLOBAL_LEFT . '"><a href="admin.php?fct=comments&op=jump&com_id=' . $i . '">' . $comments[$i]->getVar('com_title') . '</a></td><td class="' . $class . '">' . formatTimestamp($comments[$i]->getVar('com_created'), 'm') . '</td><td class="' . $class . '">' . $poster_uname . '</td><td class="' . $class . '">' . icms_conv_nr2local($comments[$i]->getVar('com_ip')) . '</td><td class="' . $class . '">' . $module_array[$comments[$i]->getVar('com_modid')] . '</td><td class="' . $class . '">' . $status_array2[$comments[$i]->getVar('com_status')] . '</td><td class="' . $class . '" align="' . _CENTER . '"><a href="admin/comments/comment_edit.php?com_id=' . $i . '"><img src="' . ICMS_IMAGES_SET_URL . '/actions/edit.png" alt="' . _EDIT . '" title="' . _EDIT . '" /></a>
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
if (!is_object(icms::$user) || !is_object(icms::$module) || !icms::$user->isAdmin(icms::$module->getVar('mid'))) {
- Exclude checks
Call to method checkVarArray
from undeclared class \icms_core_DataFilter
Open
Open
$clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, false);
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
Open
$criteria->add(new icms_db_criteria_Item('com_status', $status));
- Exclude checks
Call to method handler
from undeclared class \icms
Open
Open
$poster = icms::handler('icms_member')->getUser($comments[$i]->getVar('com_uid'));
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Compo
Open
Open
$criteria = new icms_db_criteria_Compo();
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
Open
$comments = &$comment_handler->getObjects($criteria, TRUE);
- Exclude checks
Inline control structures are not allowed Open
Open
if (isset($_GET['filter_post'])) unset($_GET['filter_post']);
- Exclude checks