htdocs/modules/system/admin/smilies/main.php
Variable $smile_display
is undeclared Open
Open
$smile_display_single = empty($smile_display[$i]) ? 0 : 1;
- Exclude checks
Call to method confirm
from undeclared class \icms_core_Message
Open
Open
icms_core_Message::confirm(array('fct' => 'smilies', 'op' => 'SmilesDelOk', 'id' => $id), 'admin.php', _AM_WAYSYWTDTS);
- Exclude checks
Call to method fetchMedia
from undeclared class \icms_file_MediaUploadHandler
Open
Open
if ($uploader->fetchMedia($xoops_upload_file[0])) {
- Exclude checks
Call to method getErrors
from undeclared class \icms_file_MediaUploadHandler
Open
Open
$err = $uploader->getErrors();
- Exclude checks
Call to method setPrefix
from undeclared class \icms_file_MediaUploadHandler
Open
Open
$uploader->setPrefix('smil');
- Exclude checks
Variable $icmsModule
is undeclared Open
Open
if (!is_object(icms::$user) || !is_object($icmsModule) || !icms::$user->isAdmin($icmsModule->getVar('mid'))) {
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
Open
redirect_header('admin.php?fct=smilies', 3, implode('<br />', icms::$security->getErrors()));
- Exclude checks
Call to method setPrefix
from undeclared class \icms_file_MediaUploadHandler
Open
Open
$uploader->setPrefix('smil');
- Exclude checks
Call to method error
from undeclared class \icms_core_Message
Open
Open
icms_core_Message::error($err);
- Exclude checks
Variable $smile_display
is undeclared Open
Open
$sql = sprintf("UPDATE %s SET code = %s, emotion = %s, display = '%d' WHERE id = '%d'", $db->prefix('smiles'), $db->quoteString($smile_code), $db->quoteString($smile_desc), $smile_display, $id);
- Exclude checks
Call to method __construct
from undeclared class \icms_file_MediaUploadHandler
Open
Open
$uploader = new icms_file_MediaUploadHandler(ICMS_UPLOAD_PATH, array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png'), 100000, 120, 120);
- Exclude checks
Call to method instance
from undeclared class \icms_db_Factory
Open
Open
$db = &icms_db_Factory::instance();
- Exclude checks
Variable $old_smile
is undeclared Open
Open
$oldsmile_path = str_replace("\\", "/", realpath(ICMS_UPLOAD_PATH . '/' . trim($old_smile)));
- Exclude checks
Call to method checkVarArray
from undeclared class \icms_core_DataFilter
Open
Open
$clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, false);
- Exclude checks
Call to method checkVarArray
from undeclared class \icms_core_DataFilter
Open
Open
$clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, false);
- Exclude checks
Call to method __construct
from undeclared class \icms_file_MediaUploadHandler
Open
Open
$uploader = new icms_file_MediaUploadHandler(ICMS_UPLOAD_PATH, array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png'), 100000, 120, 120);
- Exclude checks
Call to method upload
from undeclared class \icms_file_MediaUploadHandler
Open
Open
if (!$uploader->upload()) {
- Exclude checks
Call to method getErrors
from undeclared class \icms_file_MediaUploadHandler
Open
Open
$err = $uploader->getErrors();
- Exclude checks
Call to method getSavedFileName
from undeclared class \icms_file_MediaUploadHandler
Open
Open
$smile_url = $uploader->getSavedFileName();
- Exclude checks
Call to method getErrors
from undeclared class \icms_file_MediaUploadHandler
Open
Open
$err = $uploader->getErrors();
- Exclude checks
Call to method instance
from undeclared class \icms_db_Factory
Open
Open
$db = &icms_db_Factory::instance();
- Exclude checks
Call to method getErrors
from undeclared class \icms_file_MediaUploadHandler
Open
Open
$err = $uploader->getErrors();
- Exclude checks
Variable $smile_display
is undeclared Open
Open
if (!$db->query(sprintf("UPDATE %s SET code = %s, smile_url = %s, emotion = %s, display = %d WHERE id = '%d'", $db->prefix('smiles'), $db->quoteString($smile_code), $db->quoteString($smile_url), $db->quoteString($smile_desc), $smile_display, $id))) {
- Exclude checks
Call to method instance
from undeclared class \icms_db_Factory
Open
Open
$db = &icms_db_Factory::instance();
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
Open
redirect_header('admin.php?fct=smilies', 3, implode('<br />', icms::$security->getErrors()));
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
Open
if (!icms::$security->check()) {
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
Open
if (!icms::$security->check()) {
- Exclude checks
Variable $smile_display
is undeclared Open
Open
$sql = sprintf("INSERT INTO %s (id, code, smile_url, emotion, display) VALUES ('%d', %s, %s, %s, '%d')", $db->prefix('smiles'), (int) $newid, $db->quoteString($smile_code), $db->quoteString($smile_url), $db->quoteString($smile_desc), $smile_display);
- Exclude checks
Call to method fetchMedia
from undeclared class \icms_file_MediaUploadHandler
Open
Open
if ($uploader->fetchMedia($xoops_upload_file[0])) {
- Exclude checks
Call to method getSavedFileName
from undeclared class \icms_file_MediaUploadHandler
Open
Open
$smile_url = $uploader->getSavedFileName();
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
Open
redirect_header('admin.php?fct=smilies', 3, implode('<br />', icms::$security->getErrors()));
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
if (!is_object(icms::$user) || !is_object($icmsModule) || !icms::$user->isAdmin($icmsModule->getVar('mid'))) {
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
Open
if ($id <= 0 | !icms::$security->check()) {
- Exclude checks
Call to method instance
from undeclared class \icms_db_Factory
Open
Open
$db = &icms_db_Factory::instance();
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
Open
redirect_header('admin.php?fct=smilies', 3, implode('<br />', icms::$security->getErrors()));
- Exclude checks
Call to method upload
from undeclared class \icms_file_MediaUploadHandler
Open
Open
if (!$uploader->upload()) {
- Exclude checks
Call to method error
from undeclared class \icms_core_Message
Open
Open
icms_core_Message::error($err);
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
Open
if ($id <= 0 || !icms::$security->check()) {
- Exclude checks
Space found before closing bracket of FOR loop Open
Open
for ($i = 0; $i < $count; $i++ ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
for ($i = 0; $i < $count; $i++ ) {
- Exclude checks
Inline control structures are not allowed Open
Open
if (isset($_GET['filter_post'])) unset($_GET['filter_post']);
- Exclude checks
Unexpected trailing spaces found. Open
Open
- Exclude checks