XoopsModules25x/xoopstube

View on GitHub
newlist.php

Summary

Maintainability
A
0 mins
Test Coverage

There must be one USE keyword per declaration
Open

use XoopsModules\Xoopstube\{
Severity: Minor
Found in newlist.php by phpcodesniffer

Line exceeds 120 characters; contains 303 characters
Open

        'SELECT lid, cid, published, updated FROM ' . $GLOBALS['xoopsDB']->prefix('xoopstube_videos') . ' WHERE (published >= ' . $timestamp30daysAgo . ' AND published <= ' . $currentTime . ') OR updated >= ' . $timestamp30daysAgo . ' AND (expired = 0 OR expired > ' . $currentTime . ') AND offline = 0'
Severity: Minor
Found in newlist.php by phpcodesniffer

Line exceeds 120 characters; contains 209 characters
Open

                redirect_header('newlist.php?newvideoshowdays=7', 5, _MD_XOOPSTUBE_STOPIT . '<br><img src="' . XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/assets/images/icon/security.png">');
Severity: Minor
Found in newlist.php by phpcodesniffer

Line exceeds 120 characters; contains 138 characters
Open

        $dailyvideos[$key]['newvideoView']   = Utility::getTimestamp(formatTimestamp($time, $GLOBALS['xoopsModuleConfig']['dateformat']));
Severity: Minor
Found in newlist.php by phpcodesniffer

Line exceeds 120 characters; contains 187 characters
Open

//    $published = ($myrow['updated'] > 0) ? date($GLOBALS['xoopsModuleConfig']['dateformat'], $myrow['updated']) : date($GLOBALS['xoopsModuleConfig']['dateformat'], $myrow['published']);
Severity: Minor
Found in newlist.php by phpcodesniffer

Line exceeds 120 characters; contains 175 characters
Open

$xoopsTpl->assign('back', '<a href="javascript:history.go(-1)"><img src="' . XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/assets/images/icon/back.png"></a>');
Severity: Minor
Found in newlist.php by phpcodesniffer

There are no issues that match your filters.

Category
Status