ImpressCMS/impresscms

View on GitHub
htdocs/edituser.php

Summary

Maintainability
D
2 days
Test Coverage

File edituser.php has 463 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
// $Id: edituser.php 12313 2013-09-15 21:14:35Z skenow $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
Severity: Minor
Found in htdocs/edituser.php - About 7 hrs to fix

    Avoid deeply nested control flow statements.
    Open

                        if (0 === strpos($oldavatar_path, ICMS_UPLOAD_PATH) && is_file($oldavatar_path)) {
                            unlink($oldavatar_path);
                        }
    Severity: Major
    Found in htdocs/edituser.php - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              if (!empty($oldavatar) && preg_match("/^cavt/", strtolower($oldavatar))) {
                                  $avatars =& $avt_handler->getObjects(new icms_db_criteria_Item('avatar_file', $oldavatar));
                                  if (!empty($avatars) && count($avatars) == 1 && is_object($avatars[0])) {
                                      $avt_handler->delete($avatars[0]);
                                      $oldavatar_path = str_replace("\\", "/", realpath(ICMS_UPLOAD_PATH . '/' . $oldavatar));
      Severity: Major
      Found in htdocs/edituser.php - About 45 mins to fix

        TODO found
        Open

                // TODO: add this to admin user-edit functions...
        Severity: Minor
        Found in htdocs/edituser.php by fixme

        Variable $icmsConfigUser is undeclared
        Open

                        $errors[] .= sprintf(_US_NICKNAMETOOLONG, $icmsConfigUser['maxuname']) . "<br />";
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NOEDITRIGHT
        Open

                    redirect_header('index.php', 3, _US_NOEDITRIGHT . "<br />" . implode('<br />', icms::$security->getErrors()));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

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

        Call to method icms_substr from undeclared class \icms_core_DataFilter
        Open

                            $edituser->setVar('user_sig', icms_core_DataFilter::icms_substr($signature, 0, (int) $icmsConfigUser['sig_max_length']));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_PROFILE
        Open

                echo '<a href="userinfo.php?uid=' . (int) icms::$user->getVar('uid') . '">' . _US_PROFILE . '</a>&nbsp;
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_EDITPROFILE
        Open

                    <span style="font-weight:bold;">&raquo;&raquo;</span>&nbsp;' . _US_EDITPROFILE . '<br /><br />';
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_WEBSITE
        Open

                $url_text = new icms_form_elements_Text(_US_WEBSITE, 'url', 30, 100, icms::$user->getVar('url', 'E'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_select_Timezone
        Open

                $timezone_select = new icms_form_elements_select_Timezone(_US_TIMEZONE, 'timezone_offset', icms::$user->getVar('timezone_offset'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method handler from undeclared class \icms
        Open

                    $member_handler = icms::handler('icms_member');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method stripSlashesGPC from undeclared class \icms_core_DataFilter
        Open

                        $vpass = icms_core_DataFilter::stripSlashesGPC(trim($vpass));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method icms_substr from undeclared class \icms_core_DataFilter
        Open

                    $edituser->setVar('bio', icms_core_DataFilter::icms_substr($bio, 0, 255));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Checkbox
        Open

                $email_cbox = new icms_form_elements_Checkbox('', 'user_viewemail', $email_cbox_value);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                if ($icmsConfigUser['allow_chguname'] == 1) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NICKNAME
        Open

                    $uname_label = new icms_form_elements_Text(_US_NICKNAME, 'uname', 30, 60, icms::$user->getVar('uname', 'E'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NICKNAME
        Open

                    $uname_label = new icms_form_elements_Label(_US_NICKNAME, icms::$user->getVar('uname'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $timezone_select = new icms_form_elements_select_Timezone(_US_TIMEZONE, 'timezone_offset', icms::$user->getVar('timezone_offset'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_TIMEZONE
        Open

                $timezone_select = new icms_form_elements_select_Timezone(_US_TIMEZONE, 'timezone_offset', icms::$user->getVar('timezone_offset'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_AIM
        Open

                $aim_text = new icms_form_elements_Text(_US_AIM, 'user_aim', 18, 18, icms::$user->getVar('user_aim', 'E'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    if ($icmsConfigUser['allow_htsig'] == 0) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Tray
        Open

                        $sig_tray = new icms_form_elements_Tray(_US_SIGNATURE, '<br />');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Select
        Open

                $umode_select = new icms_form_elements_Select(_US_CDISPLAYMODE, 'umode', icms::$user->getVar('umode'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_CSORTORDER
        Open

                $uorder_select = new icms_form_elements_Select(_US_CSORTORDER, 'uorder', icms::$user->getVar('uorder'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_SELECT_THEME
        Open

                $selected_theme = new icms_form_elements_Select(_US_SELECT_THEME, 'theme_selected' , icms::$user->getVar('theme'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addOption from undeclared class \icms_form_elements_Select
        Open

                    $selected_language->addOption($language, $language);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($msnm_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($sig_tray);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($notify_method_select);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($bio_tarea);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method display from undeclared class \icms_form_Theme
        Open

                $form->display();
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_CHOOSEAVT
        Open

                $form2 = new icms_form_Theme(_US_CHOOSEAVT, 'uploadavatar', 'edituser.php', 'post', TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form2->addElement(new icms_form_elements_Label(sprintf(_US_POSTSNOTENOUGH, icms_conv_nr2local($icmsConfigUser['avatar_minposts'])), _US_UNCHOOSEAVT));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_POSTSNOTENOUGH
        Open

                    $form2->addElement(new icms_form_elements_Label(sprintf(_US_POSTSNOTENOUGH, icms_conv_nr2local($icmsConfigUser['avatar_minposts'])), _US_UNCHOOSEAVT));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method getSavedDestination from undeclared class \icms_file_MediaUploadHandler
        Open

                                @unlink($uploader->getSavedDestination());
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method handler from undeclared class \icms
        Open

                $avt_handler = icms::handler('icms_data_avatar');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NICKNAMETOOLONG
        Open

                        $errors[] .= sprintf(_US_NICKNAMETOOLONG, $icmsConfigUser['maxuname']) . "<br />";
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    foreach ($icmsConfigUser['bad_unames'] as $bu) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property xoopsDB from undeclared class \icms
        Open

                        list($count) = icms::$xoopsDB->fetchRow($result);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method stripSlashesGPC from undeclared class \icms_core_DataFilter
        Open

                    $password = icms_core_DataFilter::stripSlashesGPC(trim($password));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                if ($icmsConfigUser['pass_level'] > 20) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                if ($icmsConfigUser['allow_chgmail'] == 1) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $icq_text = new icms_form_elements_Text(_US_ICQ, 'user_icq', 15, 15, icms::$user->getVar('user_icq', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Text
        Open

                $aim_text = new icms_form_elements_Text(_US_AIM, 'user_aim', 18, 18, icms::$user->getVar('user_aim', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Text
        Open

                $location_text = new icms_form_elements_Text(_US_LOCATION, 'user_from', 30, 100, icms::$user->getVar('user_from', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($location_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_Theme
        Open

                    $form = new icms_form_Theme(_US_UPLOADMYAVATAR, 'uploadavatar', 'edituser.php', 'post', TRUE);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_MAXIMGSZ
        Open

                    $form->addElement(new icms_form_elements_Label(_US_MAXIMGSZ, icms_conv_nr2local($icmsConfigUser['avatar_maxsize'])));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_elements_Tray
        Open

                $avatar_tray->addElement(new icms_form_elements_Label('', "<img src='" . ICMS_UPLOAD_URL . "/" . icms::$user->getVar("user_avatar", "E") . "' name='avatar' id='avatar' alt='' /> <a href=\"javascript:openWithSelfMain('" . ICMS_URL . "/misc.php?action=showpopups&amp;type=avatars','avatars',600,400);\">" . _LIST . "</a>"));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form2->addElement($avatar_tray);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                if (empty($uid) || icms::$user->getVar('uid') != $uid) {
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method handler from undeclared class \icms
        Open

                            $avt_handler = icms::handler('icms_data_avatar');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property xoopsDB from undeclared class \icms
        Open

                                icms::$xoopsDB->query($sql);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method stripSlashesGPC from undeclared class \icms_core_DataFilter
        Open

                        $uname = icms_core_DataFilter::stripSlashesGPC(trim($uname));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method stripSlashesGPC from undeclared class \icms_core_DataFilter
        Open

                        ? icms_core_DataFilter::stripSlashesGPC(trim($old_password))
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                echo '<a href="userinfo.php?uid=' . (int) icms::$user->getVar('uid') . '">' . _US_PROFILE . '</a>&nbsp;
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $form->addElement(new icms_form_elements_Hidden("uname", icms::$user->getVar('login_name')));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Text
        Open

                    $email_text = new icms_form_elements_Text('', 'email', 30, 60, icms::$user->getVar('email'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($name_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $aim_text = new icms_form_elements_Text(_US_AIM, 'user_aim', 18, 18, icms::$user->getVar('user_aim', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_SIGNATURE
        Open

                        $sig_tray = new icms_form_elements_Tray(_US_SIGNATURE, '<br />');
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_NOT_METHOD_DISABLE
        Open

                $notify_method_select->addOptionArray(array(XOOPS_NOTIFICATION_METHOD_DISABLE=>_NOT_METHOD_DISABLE, XOOPS_NOTIFICATION_METHOD_PM=>_NOT_METHOD_PM, XOOPS_NOTIFICATION_METHOD_EMAIL=>_NOT_METHOD_EMAIL));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $notify_mode_select = new icms_form_elements_Select(_NOT_NOTIFYMODE, 'notify_mode', icms::$user->getVar('notify_mode'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_EXTRAINFO
        Open

                $bio_tarea = new icms_form_elements_Textarea(_US_EXTRAINFO, 'bio', icms::$user->getVar('bio', 'E'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_elements_Tray
        Open

                $pwd_tray->addElement($pwd_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Label
        Open

                    $form->addElement(new icms_form_elements_Label(_US_MAXPIXEL, icms_conv_nr2local($icmsConfigUser['avatar_width']) . ' x ' . icms_conv_nr2local($icmsConfigUser['avatar_height'])));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method handler from undeclared class \icms
        Open

                $avatar_handler = icms::handler('icms_data_avatar');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    $form2->addElement(new icms_form_elements_Label(sprintf(_US_POSTSNOTENOUGH, icms_conv_nr2local($icmsConfigUser['avatar_minposts'])), _US_UNCHOOSEAVT));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                                $oldavatar = icms::$user->getVar('user_avatar');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property xoopsDB from undeclared class \icms
        Open

                                     icms::$xoopsDB->quoteString($uploader->getSavedFileName()),
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                                $avt_handler->addUser($avatar->getVar('avatar_id'), (int) icms::$user->getVar('uid'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property security from undeclared class \icms
        Open

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

        Reference to undeclared constant \_US_PROFUPDATED
        Open

                                redirect_header('userinfo.php?t=' . time() . '&amp;uid=' . (int) icms::$user->getVar('uid'), 0, _US_PROFUPDATED);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method stripSlashesGPC from undeclared class \icms_core_DataFilter
        Open

                        $email = icms_core_DataFilter::stripSlashesGPC(trim($email));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_PROFUPDATED
        Open

                redirect_header('userinfo.php?uid=' . $uid, 0, _US_PROFUPDATED);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method checkVar from undeclared class \icms_core_DataFilter
        Open

                    if ($email == '' || !icms_core_DataFilter::checkVar($email, 'email', 0, 1))    {
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_PASSNOTSAME
        Open

                        $errors[] = _US_PASSNOTSAME;
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                    $uname_label = new icms_form_elements_Text(_US_NICKNAME, 'uname', 30, 60, icms::$user->getVar('uname', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Text
        Open

                $url_text = new icms_form_elements_Text(_US_WEBSITE, 'url', 30, 100, icms::$user->getVar('url', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                        $sig_cbox_value = icms::$user->getVar('attachsig') ? 1 : 0;
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addOption from undeclared class \icms_form_elements_Select
        Open

                    $selected_theme->addOption($theme, $theme);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Textarea
        Open

                $bio_tarea = new icms_form_elements_Textarea(_US_EXTRAINFO, 'bio', icms::$user->getVar('bio', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Password
        Open

                $pwd_text2 = new icms_form_elements_Password('', 'vpass', 10, 255);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($yim_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($token_hidden);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_File
        Open

                    $form->addElement(new icms_form_elements_File(_US_SELFILE, 'avatarfile', icms_conv_nr2local($icmsConfigUser['avatar_maxsize'])), TRUE);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method display from undeclared class \icms_form_Theme
        Open

                    $form->display();
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                    $form2->addElement(new icms_form_elements_Hidden('uid', (int) icms::$user->getVar('uid')));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method getSavedFileName from undeclared class \icms_file_MediaUploadHandler
        Open

                                     icms::$xoopsDB->quoteString($uploader->getSavedFileName()),
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                if (empty($uid) || icms::$user->getVar('uid') != $uid) {
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

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

        Reference to static property xoopsDB from undeclared class \icms
        Open

                        $result = icms::$xoopsDB->query($sql);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    if ($icmsConfigUser['allow_chguname'] == 1) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement(new icms_form_elements_Hidden("uname", icms::$user->getVar('login_name')));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_elements_Tray
        Open

                $email_tray->addElement($email_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addOption from undeclared class \icms_form_elements_Checkbox
        Open

                $email_cbox->addOption(1, _US_ALLOWVIEWEMAIL);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($uname_label);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $name_text = new icms_form_elements_Text(_US_REALNAME, 'name', 30, 60, icms::$user->getVar('name', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $yim_text = new icms_form_elements_Text(_US_YIM, 'user_yim', 25, 25, icms::$user->getVar('user_yim', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_FLAT
        Open

                $umode_select->addOptionArray(array('nest'=>_NESTED, 'flat'=>_FLAT, 'thread'=>_THREADED));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_NOT_METHOD_EMAIL
        Open

                $notify_method_select->addOptionArray(array(XOOPS_NOTIFICATION_METHOD_DISABLE=>_NOT_METHOD_DISABLE, XOOPS_NOTIFICATION_METHOD_PM=>_NOT_METHOD_PM, XOOPS_NOTIFICATION_METHOD_EMAIL=>_NOT_METHOD_EMAIL));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NOEDITRIGHT
        Open

                    redirect_header('index.php', 3, _US_NOEDITRIGHT);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($timezone_select);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                if ($icmsConfigUser['allow_chgmail'] == 1) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($op_hidden);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_INVALIDMAIL
        Open

                        $errors[] = _US_INVALIDMAIL;
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method setRequired from undeclared class \icms_form_Theme
        Open

                    $form->setRequired($email_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_PWDTOOSHORT
        Open

                        $errors[] = sprintf(_US_PWDTOOSHORT, $icmsConfigUser['minpass']);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_UPLOADMYAVATAR
        Open

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

        Reference to undeclared constant \_US_BADPWD
        Open

                        $errors[] = _US_BADPWD;
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Button
        Open

                    $form2->addElement(new icms_form_elements_Button('', 'submit2', _SUBMIT, 'submit'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                        if ($icmsConfigUser['allow_htsig'] == 0) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property security from undeclared class \icms
        Open

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

        Call to method __construct from undeclared class \icms_form_elements_Tray
        Open

                $email_tray = new icms_form_elements_Tray(_US_EMAIL, '<br />');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Text
        Open

                    $uname_label = new icms_form_elements_Text(_US_NICKNAME, 'uname', 30, 60, icms::$user->getVar('uname', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Text
        Open

                $yim_text = new icms_form_elements_Text(_US_YIM, 'user_yim', 25, 25, icms::$user->getVar('user_yim', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Tray
        Open

                        $sig_tray = new icms_form_elements_Tray(_US_SIGNATURE, '<br />');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Checkbox
        Open

                        $sig_cbox = new icms_form_elements_Checkbox('', 'attachsig', $sig_cbox_value);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_THREADED
        Open

                $umode_select->addOptionArray(array('nest'=>_NESTED, 'flat'=>_FLAT, 'thread'=>_THREADED));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $bio_tarea = new icms_form_elements_Textarea(_US_EXTRAINFO, 'bio', icms::$user->getVar('bio', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Radioyn
        Open

                $cookie_radio = new icms_form_elements_Radioyn(_US_USECOOKIE, 'usecookie', $cookie_radio_value, _YES, _NO);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_TYPEPASSTWICE
        Open

                $pwd_tray = new icms_form_elements_Tray(_US_PASSWORD . '<br />' . _US_TYPEPASSTWICE);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Hidden
        Open

                $op_hidden = new icms_form_elements_Hidden('op', 'saveuser');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method setExtra from undeclared class \icms_form_Theme
        Open

                    $form->setExtra('enctype="multipart/form-data"');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_AVATAR
        Open

                $avatar_tray = new icms_form_elements_Tray(_US_AVATAR, '&nbsp;');
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Label
        Open

                $avatar_tray->addElement(new icms_form_elements_Label('', "<img src='" . ICMS_UPLOAD_URL . "/" . icms::$user->getVar("user_avatar", "E") . "' name='avatar' id='avatar' alt='' /> <a href=\"javascript:openWithSelfMain('" . ICMS_URL . "/misc.php?action=showpopups&amp;type=avatars','avatars',600,400);\">" . _LIST . "</a>"));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                if ($icmsConfigUser['avatar_allow_upload'] == 1 && icms::$user->getVar('posts') < $icmsConfigUser['avatar_minposts']) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NOEDITRIGHT
        Open

                    redirect_header('index.php', 3, _US_NOEDITRIGHT . "<br />" . implode('<br />', icms::$security->getErrors()));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                            $avatar->setVar('avatar_name', icms::$user->getVar('uname'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NOEDITRIGHT
        Open

                    redirect_header('index.php', 3, _US_NOEDITRIGHT . "<br />" . implode('<br />', icms::$security->getErrors()));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NOEDITRIGHT
        Open

                    redirect_header('index.php', 3, _US_NOEDITRIGHT);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NOEDITRIGHT
        Open

            redirect_header('index.php', 3, _US_NOEDITRIGHT);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method checkVarArray from undeclared class \icms_core_DataFilter
        Open

            $clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    if (strlen($uname) < $icmsConfigUser['minuname']) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    if ($icmsConfigUser['allow_chgmail'] == 1) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $url is undeclared
        Open

                    $edituser->setVar('url', formatURL($url));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Select
        Open

                $selected_theme = new icms_form_elements_Select(_US_SELECT_THEME, 'theme_selected' , icms::$user->getVar('theme'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_SELECT_LANG
        Open

                $selected_language = new icms_form_elements_Select(_US_SELECT_LANG, 'language_selected', icms::$user->getVar('language'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_NOT_MODE_SENDONCEPERLOGIN
        Open

                $notify_mode_select->addOptionArray(array(XOOPS_NOTIFICATION_MODE_SENDALWAYS=>_NOT_MODE_SENDALWAYS, XOOPS_NOTIFICATION_MODE_SENDONCETHENDELETE=>_NOT_MODE_SENDONCE, XOOPS_NOTIFICATION_MODE_SENDONCETHENWAIT=>_NOT_MODE_SENDONCEPERLOGIN));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Button
        Open

                $submit_button = new icms_form_elements_Button('', 'submit', _US_SAVECHANGES, 'submit');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($pwd_text_old);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($uid_hidden);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_AVATAR
        Open

                echo "<h4>" . _US_AVATAR . "</h4>";
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_PROFILE
        Open

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

        Reference to static property user from undeclared class \icms
        Open

                if ($icmsConfigUser['avatar_allow_upload'] == 1 && icms::$user->getVar('posts') >= $icmsConfigUser['avatar_minposts']) {
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form->addElement(new icms_form_elements_Label(_US_MAXPIXEL, icms_conv_nr2local($icmsConfigUser['avatar_width']) . ' x ' . icms_conv_nr2local($icmsConfigUser['avatar_height'])));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form->addElement(new icms_form_elements_Hidden('op', 'avatarupload'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_Theme
        Open

                $form2 = new icms_form_Theme(_US_CHOOSEAVT, 'uploadavatar', 'edituser.php', 'post', TRUE);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Tray
        Open

                $avatar_tray = new icms_form_elements_Tray(_US_AVATAR, '&nbsp;');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form2->addElement(new icms_form_elements_Hidden('uid', (int) icms::$user->getVar('uid')));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form2->addElement(new icms_form_elements_Button('', 'submit2', _SUBMIT, 'submit'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property security from undeclared class \icms
        Open

                    redirect_header('index.php', 3, _US_NOEDITRIGHT . "<br />" . implode('<br />', icms::$security->getErrors()));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method setPrefix from undeclared class \icms_file_MediaUploadHandler
        Open

                        $uploader->setPrefix('cavt');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method getSavedFileName from undeclared class \icms_file_MediaUploadHandler
        Open

                            $avatar->setVar('avatar_file', $uploader->getSavedFileName());
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property xoopsDB from undeclared class \icms
        Open

                                icms::$xoopsDB->prefix('users'), icms::$xoopsDB->quoteString(addslashes($email)));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method error from undeclared class \icms_core_Message
        Open

                    icms_core_Message::error($errors);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_ICQ
        Open

                $icq_text = new icms_form_elements_Text(_US_ICQ, 'user_icq', 15, 15, icms::$user->getVar('user_icq', 'E'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                if ($icmsConfigUser['allwshow_sig'] == 1) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_elements_Tray
        Open

                        $sig_tray->addElement($sig_cbox);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addOptionArray from undeclared class \icms_form_elements_Select
        Open

                $notify_mode_select->addOptionArray(array(XOOPS_NOTIFICATION_MODE_SENDALWAYS=>_NOT_MODE_SENDALWAYS, XOOPS_NOTIFICATION_MODE_SENDONCETHENDELETE=>_NOT_MODE_SENDONCE, XOOPS_NOTIFICATION_MODE_SENDONCETHENWAIT=>_NOT_MODE_SENDONCEPERLOGIN));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_EDITPROFILE
        Open

                    echo "<a href='edituser.php' title='" . _US_EDITPROFILE . "'>" . _US_EDITPROFILE . "</a>";
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_NOT_MODE_SENDALWAYS
        Open

                $notify_mode_select->addOptionArray(array(XOOPS_NOTIFICATION_MODE_SENDALWAYS=>_NOT_MODE_SENDALWAYS, XOOPS_NOTIFICATION_MODE_SENDONCETHENDELETE=>_NOT_MODE_SENDONCE, XOOPS_NOTIFICATION_MODE_SENDONCETHENWAIT=>_NOT_MODE_SENDONCEPERLOGIN));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method handler from undeclared class \icms
        Open

                    $member_handler = icms::handler('icms_member');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_NO
        Open

                $cookie_radio = new icms_form_elements_Radioyn(_US_USECOOKIE, 'usecookie', $cookie_radio_value, _YES, _NO);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                $pwd_text = new icms_form_elements_Password('', 'password', 10, 255, "", FALSE, ($icmsConfigUser['pass_level']?'password_adv':''));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property xoopsDB from undeclared class \icms
        Open

                        list($count) = icms::$xoopsDB->fetchRow($result);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($cookie_radio);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_EMAILTAKEN
        Open

                            $errors[] .= _US_EMAILTAKEN . "<br />";
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

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

        Reference to undeclared constant \_US_EMAIL
        Open

                $email_tray = new icms_form_elements_Tray(_US_EMAIL, '<br />');
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $oldavatar = icms::$user->getVar('user_avatar');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                    $email_text = new icms_form_elements_Text('', 'email', 30, 60, icms::$user->getVar('email'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_INVALIDNICKNAME
        Open

                        $errors[] = _US_INVALIDNICKNAME;
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                if ($icmsConfigUser['avatar_allow_upload'] == 1 && icms::$user->getVar('posts') >= $icmsConfigUser['avatar_minposts']) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_ALLOWVIEWEMAIL
        Open

                $email_cbox->addOption(1, _US_ALLOWVIEWEMAIL);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NICKNAMETOOSHORT
        Open

                        $errors[] .= sprintf(_US_NICKNAMETOOSHORT, $icmsConfigUser['minuname']) . "<br />";
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_MAXPIXEL
        Open

                    $form->addElement(new icms_form_elements_Label(_US_MAXPIXEL, icms_conv_nr2local($icmsConfigUser['avatar_width']) . ' x ' . icms_conv_nr2local($icmsConfigUser['avatar_height'])));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_elements_Tray
        Open

                $email_tray->addElement($email_cbox);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    $form->addElement(new icms_form_elements_Label(_US_MAXIMGSZ, icms_conv_nr2local($icmsConfigUser['avatar_maxsize'])));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NAMERESERVED
        Open

                            $errors[] .= _US_NAMERESERVED . "<br />";
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Hidden
        Open

                    $form->addElement(new icms_form_elements_Hidden('uid', (int) icms::$user->getVar('uid')));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($url_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $avatar_select = new icms_form_elements_Select('', 'user_avatar', icms::$user->getVar('user_avatar'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $occupation_text = new icms_form_elements_Text(_US_OCCUPATION, 'user_occ', 30, 100, icms::$user->getVar('user_occ', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                                     (int) icms::$user->getVar('uid')
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method checkVar from undeclared class \icms_core_DataFilter
        Open

                            $signature = icms_core_DataFilter::checkVar($user_sig, 'text', 'input');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_OCCUPATION
        Open

                $occupation_text = new icms_form_elements_Text(_US_OCCUPATION, 'user_occ', 30, 100, icms::$user->getVar('user_occ', 'E'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addSlashes from undeclared class \icms_core_DataFilter
        Open

                    $user_avatar = icms_core_DataFilter::addSlashes(trim($user_avatar));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_core_Password
        Open

                        $icmspass = new icms_core_Password();
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_db_criteria_Item
        Open

                    $criteria_avatar = new icms_db_criteria_Compo(new icms_db_criteria_Item('avatar_file', $user_avatar));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                        $sig_tarea = new icms_form_elements_Dhtmltextarea('', 'user_sig', icms::$user->getVar('user_sig', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method encryptPass from undeclared class \icms_core_Password
        Open

                        $pass = $icmspass->encryptPass($password);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_elements_Tray
        Open

                        $sig_tray->addElement($sig_tarea);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($login_name_label);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addOptionArray from undeclared class \icms_form_elements_Select
        Open

                $umode_select->addOptionArray(array('nest'=>_NESTED, 'flat'=>_FLAT, 'thread'=>_THREADED));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Hidden
        Open

                $form->addElement(new icms_form_elements_Hidden("uname", icms::$user->getVar('login_name')));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Select
        Open

                $uorder_select = new icms_form_elements_Select(_US_CSORTORDER, 'uorder', icms::$user->getVar('uorder'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Label
        Open

                    $uname_label = new icms_form_elements_Label(_US_NICKNAME, icms::$user->getVar('uname'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method getDirList from undeclared class \icms_core_Filesystem
        Open

                foreach (icms_core_Filesystem::getDirList(ICMS_ROOT_PATH . "/language/") as $language) {
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Select
        Open

                $notify_method_select = new icms_form_elements_Select(_NOT_NOTIFYMETHOD, 'notify_method', icms::$user->getVar('notify_method'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Text
        Open

                $name_text = new icms_form_elements_Text(_US_REALNAME, 'name', 30, 60, icms::$user->getVar('name', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $notify_method_select = new icms_form_elements_Select(_NOT_NOTIFYMETHOD, 'notify_method', icms::$user->getVar('notify_method'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_CDISPLAYMODE
        Open

                $umode_select = new icms_form_elements_Select(_US_CDISPLAYMODE, 'umode', icms::$user->getVar('umode'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addOptionArray from undeclared class \icms_form_elements_Select
        Open

                $notify_method_select->addOptionArray(array(XOOPS_NOTIFICATION_METHOD_DISABLE=>_NOT_METHOD_DISABLE, XOOPS_NOTIFICATION_METHOD_PM=>_NOT_METHOD_PM, XOOPS_NOTIFICATION_METHOD_EMAIL=>_NOT_METHOD_EMAIL));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_NOT_NOTIFYMODE
        Open

                $notify_mode_select = new icms_form_elements_Select(_NOT_NOTIFYMODE, 'notify_mode', icms::$user->getVar('notify_mode'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Select
        Open

                $notify_mode_select = new icms_form_elements_Select(_NOT_NOTIFYMODE, 'notify_mode', icms::$user->getVar('notify_mode'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_PASSWORD
        Open

                $pwd_tray = new icms_form_elements_Tray(_US_PASSWORD . '<br />' . _US_TYPEPASSTWICE);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $mailok_radio = new icms_form_elements_Radioyn(_US_MAILOK, 'user_mailok', (int) icms::$user->getVar('user_mailok'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_OLD_PASSWORD
        Open

                $pwd_text_old = new icms_form_elements_Password(_US_OLD_PASSWORD, 'old_password', 10, 255);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($pwd_tray_old);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Radioyn
        Open

                $mailok_radio = new icms_form_elements_Radioyn(_US_MAILOK, 'user_mailok', (int) icms::$user->getVar('user_mailok'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                if ($icmsConfigUser['allow_chgmail'] == 1) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                if ($icmsConfigUser['avatar_allow_upload'] == 1 && icms::$user->getVar('posts') < $icmsConfigUser['avatar_minposts']) {
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($pwd_change_radio);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method display from undeclared class \icms_form_Theme
        Open

                    $form2->display();
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addOptionArray from undeclared class \icms_form_elements_Select
        Open

                $avatar_select->addOptionArray($avatar_handler->getList('S'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                if ($icmsConfigUser['avatar_allow_upload'] == 1 && icms::$user->getVar('posts') >= $icmsConfigUser['avatar_minposts']) {
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_UNCHOOSEAVT
        Open

                    $form2->addElement(new icms_form_elements_Label(sprintf(_US_POSTSNOTENOUGH, icms_conv_nr2local($icmsConfigUser['avatar_minposts'])), _US_UNCHOOSEAVT));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method upload from undeclared class \icms_file_MediaUploadHandler
        Open

                        if ($uploader->upload()) {
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form2->addElement(new icms_form_elements_Hidden('op', 'avatarchoose'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property xoopsDB from undeclared class \icms
        Open

                                     icms::$xoopsDB->prefix('users'),
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method fetchMedia from undeclared class \icms_file_MediaUploadHandler
        Open

                    if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) {
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                        echo icms::$user->getHtmlErrors();
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_db_criteria_Item
        Open

                                    $avatars =& $avt_handler->getObjects(new icms_db_criteria_Item('avatar_file', $oldavatar));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method add from undeclared class \icms_db_criteria_Compo
        Open

                    $criteria_avatar->add(new icms_db_criteria_Item('avatar_type', "S"));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                    icms::$user->setVar('user_avatar', $user_avatar);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_db_criteria_Item
        Open

                        $avatars =& $avt_handler->getObjects(new icms_db_criteria_Item('avatar_file', $user_avatar));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property xoopsDB from undeclared class \icms
        Open

                        $result = icms::$xoopsDB->query($sql);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NICKNAMETAKEN
        Open

                            $errors[] .= _US_NICKNAMETAKEN . "<br />";
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    if ($icmsConfigUser['allwshow_sig'] == 1) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_PROFUPDATED
        Open

                        redirect_header('userinfo.php?uid=' . $uid, 1, _US_PROFUPDATED);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Label
        Open

                    $email_text = new icms_form_elements_Label('', icms::$user->getVar('email'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($email_tray);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_LOCATION
        Open

                $location_text = new icms_form_elements_Text(_US_LOCATION, 'user_from', 30, 100, icms::$user->getVar('user_from', 'E'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                        $sig_tarea = new icms_form_elements_Textarea('', 'user_sig', icms::$user->getVar('user_sig', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_elements_Tray
        Open

                        $sig_tray->addElement($sig_cbox);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Dhtmltextarea
        Open

                        $sig_tarea = new icms_form_elements_Dhtmltextarea('', 'user_sig', icms::$user->getVar('user_sig', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                        $sig_cbox_value = icms::$user->getVar('attachsig') ? 1 : 0;
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $selected_theme = new icms_form_elements_Select(_US_SELECT_THEME, 'theme_selected' , icms::$user->getVar('theme'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_elements_Tray
        Open

                $pwd_tray->addElement($pwd_text2);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_MAILOK
        Open

                $mailok_radio = new icms_form_elements_Radioyn(_US_MAILOK, 'user_mailok', (int) icms::$user->getVar('user_mailok'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Hidden
        Open

                $uid_hidden = new icms_form_elements_Hidden('uid', (int) icms::$user->getVar('uid'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $uid_hidden = new icms_form_elements_Hidden('uid', (int) icms::$user->getVar('uid'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($icq_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($aim_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($umode_select);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($uorder_select);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($mailok_radio);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_UPLOADMYAVATAR
        Open

                    $form = new icms_form_Theme(_US_UPLOADMYAVATAR, 'uploadavatar', 'edituser.php', 'post', TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form->addElement(new icms_form_elements_File(_US_SELFILE, 'avatarfile', icms_conv_nr2local($icmsConfigUser['avatar_maxsize'])), TRUE);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Hidden
        Open

                    $form->addElement(new icms_form_elements_Hidden('op', 'avatarupload'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form->addElement(new icms_form_elements_Hidden('uid', (int) icms::$user->getVar('uid')));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form->addElement(new icms_form_elements_Button('', 'submit', _SUBMIT, 'submit'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_SUBMIT
        Open

                    $form->addElement(new icms_form_elements_Button('', 'submit', _SUBMIT, 'submit'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_elements_Tray
        Open

                $avatar_tray->addElement($avatar_select);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Label
        Open

                    $form2->addElement(new icms_form_elements_Label(sprintf(_US_POSTSNOTENOUGH, icms_conv_nr2local($icmsConfigUser['avatar_minposts'])), _US_UNCHOOSEAVT));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Hidden
        Open

                    $form2->addElement(new icms_form_elements_Hidden('uid', (int) icms::$user->getVar('uid')));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_db_criteria_Item
        Open

                    $criteria_avatar->add(new icms_db_criteria_Item('avatar_type', "S"));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method checkVarArray from undeclared class \icms_core_DataFilter
        Open

            $clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                if ($icmsConfigUser['allow_chguname'] == 1) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                        $errors[] .= sprintf(_US_NICKNAMETOOSHORT, $icmsConfigUser['minuname']) . "<br />";
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property xoopsDB from undeclared class \icms
        Open

                                icms::$xoopsDB->prefix('users'), icms::$xoopsDB->quoteString(addslashes($uname)));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_SORRYINCORRECTPASS
        Open

                        $errors[] = _US_SORRYINCORRECTPASS;
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method checkVar from undeclared class \icms_core_DataFilter
        Open

                            $signature = icms_core_DataFilter::checkVar($user_sig, 'html', 'input');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Label
        Open

                $login_name_label = new icms_form_elements_Label(_US_LOGINNAME, icms::$user->getVar('login_name'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                    $email_text = new icms_form_elements_Label('', icms::$user->getVar('email'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_SHOWSIG
        Open

                        $sig_cbox->addOption(1, _US_SHOWSIG);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $uorder_select = new icms_form_elements_Select(_US_CSORTORDER, 'uorder', icms::$user->getVar('uorder'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Tray
        Open

                $pwd_tray = new icms_form_elements_Tray(_US_PASSWORD . '<br />' . _US_TYPEPASSTWICE);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($occupation_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($submit_button);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form->addElement(new icms_form_elements_Label(_US_MAXIMGSZ, icms_conv_nr2local($icmsConfigUser['avatar_maxsize'])));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_SELFILE
        Open

                    $form->addElement(new icms_form_elements_File(_US_SELFILE, 'avatarfile', icms_conv_nr2local($icmsConfigUser['avatar_maxsize'])), TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    $form->addElement(new icms_form_elements_File(_US_SELFILE, 'avatarfile', icms_conv_nr2local($icmsConfigUser['avatar_maxsize'])), TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                if ($icmsConfigUser['avatar_allow_upload'] == 1 && icms::$user->getVar('posts') >= $icmsConfigUser['avatar_minposts']) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                                redirect_header('userinfo.php?t=' . time() . '&amp;uid=' . (int) icms::$user->getVar('uid'), 0, _US_PROFUPDATED);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    if (strlen($uname) > $icmsConfigUser['maxuname']) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    if (strlen($password) < $icmsConfigUser['minpass']) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                        setcookie($icmsConfig['usercookie'], icms::$user->getVar('login_name'), time()+ 31536000);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_LOGINNAME
        Open

                $login_name_label = new icms_form_elements_Label(_US_LOGINNAME, icms::$user->getVar('login_name'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method utf8_strrev from undeclared class \icms_core_DataFilter
        Open

                        || $password == icms_core_DataFilter::utf8_strrev($username, TRUE)
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Text
        Open

                $icq_text = new icms_form_elements_Text(_US_ICQ, 'user_icq', 15, 15, icms::$user->getVar('user_icq', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                    $uname_label = new icms_form_elements_Label(_US_NICKNAME, icms::$user->getVar('uname'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Text
        Open

                $interest_text = new icms_form_elements_Text(_US_INTEREST, 'user_intrest', 30, 150, icms::$user->getVar('user_intrest', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $url_text = new icms_form_elements_Text(_US_WEBSITE, 'url', 30, 100, icms::$user->getVar('url', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_YIM
        Open

                $yim_text = new icms_form_elements_Text(_US_YIM, 'user_yim', 25, 25, icms::$user->getVar('user_yim', 'E'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_elements_Tray
        Open

                        $sig_tray->addElement($sig_tarea);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Text
        Open

                $msnm_text = new icms_form_elements_Text(_US_MSNM, 'user_msnm', 30, 100, icms::$user->getVar('user_msnm', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addOption from undeclared class \icms_form_elements_Checkbox
        Open

                        $sig_cbox->addOption(1, _US_SHOWSIG);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $msnm_text = new icms_form_elements_Text(_US_MSNM, 'user_msnm', 30, 100, icms::$user->getVar('user_msnm', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Select
        Open

                $selected_language = new icms_form_elements_Select(_US_SELECT_LANG, 'language_selected', icms::$user->getVar('language'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_NOT_MODE_SENDONCE
        Open

                $notify_mode_select->addOptionArray(array(XOOPS_NOTIFICATION_MODE_SENDALWAYS=>_NOT_MODE_SENDALWAYS, XOOPS_NOTIFICATION_MODE_SENDONCETHENDELETE=>_NOT_MODE_SENDONCE, XOOPS_NOTIFICATION_MODE_SENDONCETHENWAIT=>_NOT_MODE_SENDONCEPERLOGIN));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $location_text = new icms_form_elements_Text(_US_LOCATION, 'user_from', 30, 100, icms::$user->getVar('user_from', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_YES
        Open

                $cookie_radio = new icms_form_elements_Radioyn(_US_USECOOKIE, 'usecookie', $cookie_radio_value, _YES, _NO);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_SAVECHANGES
        Open

                $submit_button = new icms_form_elements_Button('', 'submit', _US_SAVECHANGES, 'submit');
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $interest_text = new icms_form_elements_Text(_US_INTEREST, 'user_intrest', 30, 150, icms::$user->getVar('user_intrest', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($interest_text);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_NESTED
        Open

                $umode_select->addOptionArray(array('nest'=>_NESTED, 'flat'=>_FLAT, 'thread'=>_THREADED));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form->addElement($selected_theme);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_NEWESTFIRST
        Open

                $uorder_select->addOptionArray(array(XOOPS_COMMENT_OLD1ST => _OLDESTFIRST, XOOPS_COMMENT_NEW1ST => _NEWESTFIRST));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                    $form->addElement($selected_language);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_OLDESTFIRST
        Open

                $uorder_select->addOptionArray(array(XOOPS_COMMENT_OLD1ST => _OLDESTFIRST, XOOPS_COMMENT_NEW1ST => _NEWESTFIRST));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_NOT_NOTIFYMETHOD
        Open

                $notify_method_select = new icms_form_elements_Select(_NOT_NOTIFYMETHOD, 'notify_method', icms::$user->getVar('notify_method'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($pwd_tray);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_NOT_METHOD_PM
        Open

                $notify_method_select->addOptionArray(array(XOOPS_NOTIFICATION_METHOD_DISABLE=>_NOT_METHOD_DISABLE, XOOPS_NOTIFICATION_METHOD_PM=>_NOT_METHOD_PM, XOOPS_NOTIFICATION_METHOD_EMAIL=>_NOT_METHOD_EMAIL));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Password
        Open

                $pwd_text = new icms_form_elements_Password('', 'password', 10, 255, "", FALSE, ($icmsConfigUser['pass_level']?'password_adv':''));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                    $form->addElement(new icms_form_elements_Label(_US_MAXPIXEL, icms_conv_nr2local($icmsConfigUser['avatar_width']) . ' x ' . icms_conv_nr2local($icmsConfigUser['avatar_height'])));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Label
        Open

                    $form->addElement(new icms_form_elements_Label(_US_MAXIMGSZ, icms_conv_nr2local($icmsConfigUser['avatar_maxsize'])));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addElement from undeclared class \icms_form_Theme
        Open

                $form->addElement($notify_mode_select);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                    $form->addElement(new icms_form_elements_Hidden('uid', (int) icms::$user->getVar('uid')));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $avatar_tray->addElement(new icms_form_elements_Label('', "<img src='" . ICMS_UPLOAD_URL . "/" . icms::$user->getVar("user_avatar", "E") . "' name='avatar' id='avatar' alt='' /> <a href=\"javascript:openWithSelfMain('" . ICMS_URL . "/misc.php?action=showpopups&amp;type=avatars','avatars',600,400);\">" . _LIST . "</a>"));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method setExtra from undeclared class \icms_form_elements_Select
        Open

                $avatar_select->setExtra("onchange='showImgSelected(\"avatar\", \"user_avatar\", \"uploads\", \"\", \"" . ICMS_URL . "\")'");
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Hidden
        Open

                    $form2->addElement(new icms_form_elements_Hidden('op', 'avatarchoose'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_LIST
        Open

                $avatar_tray->addElement(new icms_form_elements_Label('', "<img src='" . ICMS_UPLOAD_URL . "/" . icms::$user->getVar("user_avatar", "E") . "' name='avatar' id='avatar' alt='' /> <a href=\"javascript:openWithSelfMain('" . ICMS_URL . "/misc.php?action=showpopups&amp;type=avatars','avatars',600,400);\">" . _LIST . "</a>"));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method getMediaType from undeclared class \icms_file_MediaUploadHandler
        Open

                            $avatar->setVar('avatar_mimetype', $uploader->getMediaType());
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property security from undeclared class \icms
        Open

                    redirect_header('index.php', 3, _US_NOEDITRIGHT . "<br />" . implode('<br />', icms::$security->getErrors()));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property security from undeclared class \icms
        Open

                    redirect_header('index.php', 3, _US_NOEDITRIGHT . "<br />" . implode('<br />', icms::$security->getErrors()));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_db_criteria_Compo
        Open

                    $criteria_avatar = new icms_db_criteria_Compo(new icms_db_criteria_Item('avatar_file', $user_avatar));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_SUBMIT
        Open

                    $form2->addElement(new icms_form_elements_Button('', 'submit2', _SUBMIT, 'submit'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                    $oldavatar = icms::$user->getVar('user_avatar');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigUser is undeclared
        Open

                        $errors[] = sprintf(_US_PWDTOOSHORT, $icmsConfigUser['minpass']);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_NOEDITRIGHT
        Open

                    redirect_header('index.php', 3, _US_NOEDITRIGHT);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_Theme
        Open

                $form = new icms_form_Theme(_US_EDITPROFILE, 'userinfo', 'edituser.php', 'post', TRUE);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_file_MediaUploadHandler
        Open

                    $uploader = new icms_file_MediaUploadHandler(ICMS_UPLOAD_PATH, array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png'), $icmsConfigUser['avatar_maxsize'], $icmsConfigUser['avatar_width'], $icmsConfigUser['avatar_height']);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_EDITPROFILE
        Open

                $form = new icms_form_Theme(_US_EDITPROFILE, 'userinfo', 'edituser.php', 'post', TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                            $avt_handler->addUser($avatars[0]->getVar('avatar_id'), icms::$user->getVar('uid'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $login_name_label = new icms_form_elements_Label(_US_LOGINNAME, icms::$user->getVar('login_name'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $email_cbox_value = icms::$user->getVar('user_viewemail') ? 1 : 0;
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_REALNAME
        Open

                $name_text = new icms_form_elements_Text(_US_REALNAME, 'name', 30, 60, icms::$user->getVar('name', 'E'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_INTEREST
        Open

                $interest_text = new icms_form_elements_Text(_US_INTEREST, 'user_intrest', 30, 150, icms::$user->getVar('user_intrest', 'E'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Checkbox
        Open

                        $sig_cbox = new icms_form_elements_Checkbox('', 'attachsig', $sig_cbox_value);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $selected_language = new icms_form_elements_Select(_US_SELECT_LANG, 'language_selected', icms::$user->getVar('language'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_USECOOKIE
        Open

                $cookie_radio = new icms_form_elements_Radioyn(_US_USECOOKIE, 'usecookie', $cookie_radio_value, _YES, _NO);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Variable $icmsConfigMultilang is undeclared
        Open

                if ($icmsConfigMultilang['ml_enable']) {
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Select
        Open

                $avatar_select = new icms_form_elements_Select('', 'user_avatar', icms::$user->getVar('user_avatar'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method getErrors from undeclared class \icms_file_MediaUploadHandler
        Open

                    echo $uploader->getErrors();
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method handler from undeclared class \icms
        Open

                    $member_handler = icms::handler('icms_member');
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_db_criteria_Item
        Open

                        $avatars =& $avt_handler->getObjects(new icms_db_criteria_Item('avatar_file', $oldavatar));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_MSNM
        Open

                $msnm_text = new icms_form_elements_Text(_US_MSNM, 'user_msnm', 30, 100, icms::$user->getVar('user_msnm', 'E'));
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Text
        Open

                $occupation_text = new icms_form_elements_Text(_US_OCCUPATION, 'user_occ', 30, 100, icms::$user->getVar('user_occ', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_SIGNATURE
        Open

                        $sig_tray = new icms_form_elements_Tray(_US_SIGNATURE, '<br />');
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Textarea
        Open

                        $sig_tarea = new icms_form_elements_Textarea('', 'user_sig', icms::$user->getVar('user_sig', 'E'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_SHOWSIG
        Open

                        $sig_cbox->addOption(1, _US_SHOWSIG);
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method addOption from undeclared class \icms_form_elements_Checkbox
        Open

                        $sig_cbox->addOption(1, _US_SHOWSIG);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property user from undeclared class \icms
        Open

                $umode_select = new icms_form_elements_Select(_US_CDISPLAYMODE, 'umode', icms::$user->getVar('umode'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method addOptionArray from undeclared class \icms_form_elements_Select
        Open

                $uorder_select->addOptionArray(array(XOOPS_COMMENT_OLD1ST => _OLDESTFIRST, XOOPS_COMMENT_NEW1ST => _NEWESTFIRST));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Password
        Open

                $pwd_text_old = new icms_form_elements_Password(_US_OLD_PASSWORD, 'old_password', 10, 255);
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to undeclared constant \_US_OLDDELETED
        Open

                    echo '<div style="text-align:center;"><h4 style="color:#ff0000; font-weight:bold;">' . _US_OLDDELETED . '</h4>';
        Severity: Minor
        Found in htdocs/edituser.php by phan

        Call to method __construct from undeclared class \icms_form_elements_Button
        Open

                    $form->addElement(new icms_form_elements_Button('', 'submit', _SUBMIT, 'submit'));
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Reference to static property security from undeclared class \icms
        Open

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

        Reference to static property user from undeclared class \icms
        Open

                    if (!$member_handler->insertUser(icms::$user)) {
        Severity: Critical
        Found in htdocs/edituser.php by phan

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

                    if ($oldavatar && preg_match("/^cavt/", strtolower($oldavatar))) {
                        $avatars =& $avt_handler->getObjects(new icms_db_criteria_Item('avatar_file', $oldavatar));
                        if (!empty($avatars) && count($avatars) == 1 && is_object($avatars[0])) {
                            $avt_handler->delete($avatars[0]);
                            $oldavatar_path = str_replace("\\", "/", realpath(ICMS_UPLOAD_PATH . '/' . $oldavatar));
        Severity: Major
        Found in htdocs/edituser.php and 1 other location - About 3 hrs to fix
        htdocs/edituser.php on lines 514..523

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 157.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

                                if (!empty($oldavatar) && preg_match("/^cavt/", strtolower($oldavatar))) {
                                    $avatars =& $avt_handler->getObjects(new icms_db_criteria_Item('avatar_file', $oldavatar));
                                    if (!empty($avatars) && count($avatars) == 1 && is_object($avatars[0])) {
                                        $avt_handler->delete($avatars[0]);
                                        $oldavatar_path = str_replace("\\", "/", realpath(ICMS_UPLOAD_PATH . '/' . $oldavatar));
        Severity: Major
        Found in htdocs/edituser.php and 1 other location - About 3 hrs to fix
        htdocs/edituser.php on lines 581..590

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 157.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

                    } else {
                        $sig_tray = new icms_form_elements_Tray(_US_SIGNATURE, '<br />');
                        $sig_tarea = new icms_form_elements_Dhtmltextarea('', 'user_sig', icms::$user->getVar('user_sig', 'E'));
                        $sig_tray->addElement($sig_tarea);
                        $sig_cbox_value = icms::$user->getVar('attachsig') ? 1 : 0;
        Severity: Major
        Found in htdocs/edituser.php and 1 other location - About 2 hrs to fix
        htdocs/edituser.php on lines 345..361

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 128.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

                    if ($icmsConfigUser['allow_htsig'] == 0) {
                        $sig_tray = new icms_form_elements_Tray(_US_SIGNATURE, '<br />');
                        $sig_tarea = new icms_form_elements_Textarea('', 'user_sig', icms::$user->getVar('user_sig', 'E'));
                        $sig_tray->addElement($sig_tarea);
                        $sig_cbox_value = icms::$user->getVar('attachsig') ? 1 : 0;
        Severity: Major
        Found in htdocs/edituser.php and 1 other location - About 2 hrs to fix
        htdocs/edituser.php on lines 353..361

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 128.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

                    if ($email) {
                        $sql = sprintf('SELECT COUNT(*) FROM %s WHERE email = %s',
                                icms::$xoopsDB->prefix('users'), icms::$xoopsDB->quoteString(addslashes($email)));
                        $result = icms::$xoopsDB->query($sql);
                        list($count) = icms::$xoopsDB->fetchRow($result);
        Severity: Major
        Found in htdocs/edituser.php and 1 other location - About 1 hr to fix
        htdocs/edituser.php on lines 172..180

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 111.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

                    if ($uname) {
                        $sql = sprintf('SELECT COUNT(*) FROM %s WHERE uname = %s',
                                icms::$xoopsDB->prefix('users'), icms::$xoopsDB->quoteString(addslashes($uname)));
                        $result = icms::$xoopsDB->query($sql);
                        list($count) = icms::$xoopsDB->fetchRow($result);
        Severity: Major
        Found in htdocs/edituser.php and 1 other location - About 1 hr to fix
        htdocs/edituser.php on lines 137..145

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 111.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
        Open

                        $edituser->setVar('pass', $pass, TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Terminating statement must be indented to the same level as the CASE body
        Open

            break;
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Tabs must be used to indent lines; spaces are not allowed
        Open

            extract($clean_GET);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
        Open

                        $edituser->setVar('uname', $uname, TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
        Open

                $pwd_text = new icms_form_elements_Password('', 'password', 10, 255, "", FALSE, ($icmsConfigUser['pass_level']?'password_adv':''));
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Tabs must be used to indent lines; spaces are not allowed
        Open

            'uid' => 'int',
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Tabs must be used to indent lines; spaces are not allowed
        Open

            extract($clean_POST);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Tabs must be used to indent lines; spaces are not allowed
        Open

            'user_sig' => 'html',
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
        Open

            $clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
        Open

                        || strripos($password, $username) === TRUE
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Tabs must be used to indent lines; spaces are not allowed
        Open

            $clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
        Open

                        || $password == icms_core_DataFilter::utf8_strrev($username, TRUE)
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
        Open

                $form2 = new icms_form_Theme(_US_CHOOSEAVT, 'uploadavatar', 'edituser.php', 'post', TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
        Open

                    $form = new icms_form_Theme(_US_UPLOADMYAVATAR, 'uploadavatar', 'edituser.php', 'post', TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Space found before comma in function call
        Open

                $selected_theme = new icms_form_elements_Select(_US_SELECT_THEME, 'theme_selected' , icms::$user->getVar('theme'));
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Tabs must be used to indent lines; spaces are not allowed
        Open

            $clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
        Open

                        $edituser->setVar('email', $email, TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Terminating statement must be indented to the same level as the CASE body
        Open

            break;
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Terminating statement must be indented to the same level as the CASE body
        Open

            break;
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
        Open

                    $form->addElement(new icms_form_elements_File(_US_SELFILE, 'avatarfile', icms_conv_nr2local($icmsConfigUser['avatar_maxsize'])), TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
        Open

            $clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
        Open

                $form = new icms_form_Theme(_US_EDITPROFILE, 'userinfo', 'edituser.php', 'post', TRUE);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Terminating statement must be indented to the same level as the CASE body
        Open

            break;
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Only one argument is allowed per line in a multi-line function call
        Open

                                icms::$xoopsDB->prefix('users'), icms::$xoopsDB->quoteString(addslashes($uname)));
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Only one argument is allowed per line in a multi-line function call
        Open

                                icms::$xoopsDB->prefix('users'), icms::$xoopsDB->quoteString(addslashes($email)));
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Inline control structures are not allowed
        Open

            if (isset($_GET['filter_post'])) unset ($_GET['filter_post']);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Closing parenthesis of a multi-line function call must be on a line by itself
        Open

                                icms::$xoopsDB->prefix('users'), icms::$xoopsDB->quoteString(addslashes($uname)));
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Multi-line function call not indented correctly; expected 16 spaces but found 24
        Open

                                icms::$xoopsDB->prefix('users'), icms::$xoopsDB->quoteString(addslashes($email)));
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Multi-line function call not indented correctly; expected 16 spaces but found 24
        Open

                                icms::$xoopsDB->prefix('users'), icms::$xoopsDB->quoteString(addslashes($uname)));
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Space before opening parenthesis of function call prohibited
        Open

            if (isset($_GET['filter_post'])) unset ($_GET['filter_post']);
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Opening parenthesis of a multi-line function call must be the last content on the line
        Open

                        $sql = sprintf('SELECT COUNT(*) FROM %s WHERE email = %s',
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Multi-line function call not indented correctly; expected 28 spaces but found 29
        Open

                                     (int) icms::$user->getVar('uid')
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Closing brace indented incorrectly; expected 8 spaces, found 4
        Open

            }
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Closing parenthesis of a multi-line function call must be on a line by itself
        Open

                                icms::$xoopsDB->prefix('users'), icms::$xoopsDB->quoteString(addslashes($email)));
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Line indented incorrectly; expected 2 tabs, found 1
        Open

            }
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Multi-line function call not indented correctly; expected 28 spaces but found 29
        Open

                                     icms::$xoopsDB->quoteString($uploader->getSavedFileName()),
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Opening parenthesis of a multi-line function call must be the last content on the line
        Open

                        $sql = sprintf('SELECT COUNT(*) FROM %s WHERE uname = %s',
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Opening parenthesis of a multi-line function call must be the last content on the line
        Open

                                $sql = sprintf("UPDATE %s SET user_avatar = %s WHERE uid = '%u'",
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Multi-line function call not indented correctly; expected 28 spaces but found 29
        Open

                                     icms::$xoopsDB->prefix('users'),
        Severity: Minor
        Found in htdocs/edituser.php by phpcodesniffer

        Unexpected spaces found.
        Open

            'user_sig' => 'html',
        Severity: Minor
        Found in htdocs/edituser.php by editorconfig

        Unexpected spaces found.
        Open

                                     icms::$xoopsDB->quoteString($uploader->getSavedFileName()),
        Severity: Minor
        Found in htdocs/edituser.php by editorconfig

        Unexpected spaces found.
        Open

                                     (int) icms::$user->getVar('uid')
        Severity: Minor
        Found in htdocs/edituser.php by editorconfig

        Unexpected spaces found.
        Open

            $clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);
        Severity: Minor
        Found in htdocs/edituser.php by editorconfig

        Unexpected spaces found.
        Open

            extract($clean_POST);
        Severity: Minor
        Found in htdocs/edituser.php by editorconfig

        Unexpected spaces found.
        Open

            'uid' => 'int',
        Severity: Minor
        Found in htdocs/edituser.php by editorconfig

        Unexpected spaces found.
        Open

                                     icms::$xoopsDB->prefix('users'),
        Severity: Minor
        Found in htdocs/edituser.php by editorconfig

        Unexpected spaces found.
        Open

            extract($clean_GET);
        Severity: Minor
        Found in htdocs/edituser.php by editorconfig

        Unexpected spaces found.
        Open

            $clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);
        Severity: Minor
        Found in htdocs/edituser.php by editorconfig

        There are no issues that match your filters.

        Category
        Status