ImpressCMS/impresscms

View on GitHub
htdocs/viewpmsg.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to method handler from undeclared class \icms
Open

$module_handler = icms::handler('icms_module');
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_SORRY
Open

    $errormessage = _PM_SORRY . '<br />' . _PM_PLZREG . '';
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_DATE
Open

    . _PM_FROM . "</th><th>" . _PM_SUBJECT . "</th><th align='center'>" . _PM_DATE . "</th></tr>\n";
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_DELETED
Open

        redirect_header('viewpmsg.php', 1, _PM_DELETED);
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_PROFILE
Open

    . _PM_PROFILE ."</a>&nbsp;<span style='font-weight:bold;'>&raquo;&raquo;</span>&nbsp;" . _PM_INBOX . "</p>";
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Call to method __construct from undeclared class \icms_db_criteria_Item
Open

    $criteria = new icms_db_criteria_Item('to_userid', (int) (icms::$user->getVar('uid')));
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Reference to static property user from undeclared class \icms
Open

    . "</h4><p><a href='userinfo.php?uid=". (int) (icms::$user->getVar('uid')) . "'>"
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Reference to static property user from undeclared class \icms
Open

            if ($pm->getVar('to_userid') == icms::$user->getVar('uid')) {
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_PRIVATEMESSAGE
Open

    echo "<h4>" . _PM_PRIVATEMESSAGE
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Reference to static property security from undeclared class \icms
Open

        . _PM_DELETE . "' />" . icms::$security->getTokenHTML() . "</td></tr></table></form>";
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Reference to static property user from undeclared class \icms
Open

if (!is_object(icms::$user)) {
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Reference to static property security from undeclared class \icms
Open

        if (!icms::$security->check()) {
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Reference to static property user from undeclared class \icms
Open

    $criteria = new icms_db_criteria_Item('to_userid', (int) (icms::$user->getVar('uid')));
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_SEND
Open

        . _PM_SEND . "' /></td></tr></table></form>";
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Call to method handler from undeclared class \icms
Open

    $pm_handler = icms::handler('icms_data_privmessage');
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Variable $icmsConfig is undeclared
Open

            echo $icmsConfig['anonymous'];
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_FROM
Open

    . _PM_FROM . "</th><th>" . _PM_SUBJECT . "</th><th align='center'>" . _PM_DATE . "</th></tr>\n";
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_SUBJECT
Open

    . _PM_FROM . "</th><th>" . _PM_SUBJECT . "</th><th align='center'>" . _PM_DATE . "</th></tr>\n";
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Call to method getUnameFromId from undeclared class \icms_member_user_Object
Open

        $postername = icms_member_user_Object::getUnameFromId($pm_arr[$i]->getVar('from_userid'));
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_SEND
Open

        . _PM_SEND . "' />&nbsp;<input type='submit' class='formButton' name='delete_messages' value='"
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_INBOX
Open

    . _PM_PROFILE ."</a>&nbsp;<span style='font-weight:bold;'>&raquo;&raquo;</span>&nbsp;" . _PM_INBOX . "</p>";
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_DELETE
Open

        . _PM_DELETE . "' />" . icms::$security->getTokenHTML() . "</td></tr></table></form>";
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_PLZREG
Open

    $errormessage = _PM_SORRY . '<br />' . _PM_PLZREG . '';
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Variable $xoopsOption was undeclared, but array fields are being added to it.
Open

$xoopsOption['pagetype'] = 'pmsg';
Severity: Info
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_YOUDONTHAVE
Open

        echo "<tr><td class='even' colspan='6' align='center'>" . _PM_YOUDONTHAVE . "</td></tr>";
Severity: Minor
Found in htdocs/viewpmsg.php by phan

Reference to static property security from undeclared class \icms
Open

            echo implode('<br />', icms::$security->getErrors());
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Call to method setOrder from undeclared class \icms_db_criteria_Item
Open

    $criteria->setOrder('DESC');
Severity: Critical
Found in htdocs/viewpmsg.php by phan

Reference to undeclared constant \_PM_NOTREAD
Open

            . "<img src='images/read.gif' alt='" . _PM_NOTREAD . "' /></td>\n";
Severity: Minor
Found in htdocs/viewpmsg.php by phan

There are no issues that match your filters.

Category
Status