e107inc/e107

View on GitHub
online.php

Summary

Maintainability
A
0 mins
Test Coverage
F
14%

Variable $sql is undeclared
Open

                $news = $sql->fetch();
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $sql->select("forum_thread", "thread_name, thread_forum_id", "thread_forum_id=" . intval($tmp[0]) . " AND thread_parent=0");
Severity: Minor
Found in online.php by phan

Variable $tp is undeclared
Open

        $textstart = $tp->parseTemplate($ONLINE_TABLE_START, true, $scArray);
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $sql->select("poll", "poll_title", "poll_id=" . intval($id));
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $poll = $sql->fetch();
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $sql->select("forum", "forum_name", "forum_id=" . $forum_thread['thread_forum_id']);
Severity: Minor
Found in online.php by phan

Variable $tp is undeclared
Open

        $scArray['ONLINE_TABLE_ICON'] = (vartrue($pref['plug_installed']['pm']) && $oid != USERID ? $tp->parseTemplate("{SENDPM={$oid}}", 'sendpm.sc') : "<img src='" . e_PLUGIN . "online_extended_menu/images/user.png' alt='' style='vertical-align:middle' />");
Severity: Minor
Found in online.php by phan

Variable $textstring is undeclared
Open

        $text = $textstart . $textstring . $textend;
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $sql->select("content", "content_heading, content_class", "content_id='" . intval($tmp[1]) . "'");
Severity: Minor
Found in online.php by phan

Variable $tp is undeclared
Open

    $text .= $tp->parseTemplate($ONLINE_TABLE_MISC, true, $scArray);
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $forum = $sql->fetch();
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $content = $sql->fetch();
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $content = $sql->fetch();
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $sql->select("news", "news_title, news_class", "news_id=" . intval($id));
Severity: Minor
Found in online.php by phan

Variable $tp is undeclared
Open

        $textstring .= $tp->parseTemplate($ONLINE_TABLE, true, $scArray); // preg_replace("/\{(.*?)\}/e", '$\1', $ONLINE_TABLE);
Severity: Minor
Found in online.php by phan

Variable $ns is undeclared
Open

    $ns->tablerender(ONLINE_EL4, $text);
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $sql->select("content", "content_heading, content_class", "content_id='" . (int) $tmp[1] . "'");
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $forum_thread = $sql->fetch();
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $forum = $sql->fetch();
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $content = $sql->fetch();
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $sql->select("forum", "forum_name, forum_class", "forum_id=" . intval($tmp[0]));
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $sql->gen($qry);
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $forum = $sql->fetch();
Severity: Minor
Found in online.php by phan

Variable $textstring was undeclared, but it is being used as the left-hand side of an assignment operation
Open

        $textstring .= $tp->parseTemplate($ONLINE_TABLE, true, $scArray); // preg_replace("/\{(.*?)\}/e", '$\1', $ONLINE_TABLE);
Severity: Info
Found in online.php by phan

Variable $tp is undeclared
Open

        $textend = $tp->parseTemplate($ONLINE_TABLE_END, true, $scArray);
Severity: Minor
Found in online.php by phan

Variable $ns is undeclared
Open

        $ns->tablerender(ONLINE_EL4, ONLINE_EL16);
Severity: Minor
Found in online.php by phan

Variable $sql is undeclared
Open

                $sql->select("content", "content_heading, content_class", "content_id='" . (int) $tmp[1] . "'");
Severity: Minor
Found in online.php by phan

There are no issues that match your filters.

Category
Status