Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.
Literal arrays are omitted.
File | Count | Expression |
---|---|---|
/cp.php:573 | 1 | printsetting3($lang['defaultTimezoneDesc'], 'def_tz_new', array($lang['timezone1'], $lang['timezone2'], $lang['timezone3'], $lang['timezone4'], $lang['timezone5'], $lang['timezone6'], $lang['timezone7'], $lang['timezone8'], $lang['timezone9'], $lang['timezone10'], $lang['timezone11'], $lang['timezone12'], $lang['timezone13'], $lang['timezone14'], $lang['timezone15'], $lang['timezone16'], $lang['timezone17'], $lang['timezone18'], $lang['timezone19'], $lang['timezone20'], $lang['timezone21'], $lang['timezone22'], $lang['timezone23'], $lang['timezone24'], $lang['timezone25'], $lang['timezone26'], $lang['timezone27'], $lang['timezone28'], $lang['timezone29'], $lang['timezone30'], $lang['timezone31'], $lang['timezone32'], $lang['timezone33']), array('-12', '-11', '-10', '-9', '-8', '-7', '-6', '-5', '-4', '-3.5', '-3', '-2', '-1', '0', '1', '2', '3', '3.5', '4', '4.5', '5', '5.5', '5.75', '6', '6.5', '7', '8', '9', '9.5', '10', '11', '12', '13'), array($timezone1, $timezone2, $timezone3, $timezone4, $timezone5, $timezone6, $timezone7, $timezone8, $timezone9, $timezone10, $timezone11, $timezone12, $timezone13, $timezone14, $timezone15, $timezone16, $timezone17, $timezone18, $timezone19, $timezone20, $timezone21, $timezone22, $timezone23, $timezone24, $timezone25, $timezone26, $timezone27, $timezone28, $timezone29, $timezone30, $timezone31, $timezone32, $timezone33), false) |
/viewthread.php:471 | 1 | $sql = "SELECT p.*, m.* " . "FROM " . "( " . " ( " . " SELECT 'post' AS type, fid, tid, author, subject, dateline, pid, message, icon, usesig, useip, bbcodeoff, smileyoff " . " FROM " . X_PREFIX . "posts " . " WHERE tid=$tid AND (dateline > $startdate OR dateline = $startdate AND pid >= $startpid)" . " ORDER BY dateline ASC, pid ASC " . " LIMIT $ppp " . " ) " . " UNION ALL " . " ( " . " SELECT 'modlog' AS type, fid, tid, username AS author, action AS subject, date AS dateline, '', '', '', '', '', '', '' " . " FROM " . X_PREFIX . "logs " . " WHERE tid=$tid AND date >= $startdate AND date < $enddate " . " ) " . ") AS p " . "LEFT JOIN " . X_PREFIX . "members m ON m.username=p.author " . "ORDER BY p.dateline ASC, p.type DESC, p.pid ASC " |
/cp.php:736 | 1 | $sql = "UPDATE " . X_PREFIX . "settings SET langfile='$langfilenew', bbname='$bbnamenew', postperpage='$postperpagenew', topicperpage='$topicperpagenew', hottopic='$hottopicnew', theme='$themenew', bbstatus='$bbstatusnew', whosonlinestatus='$whos_on', regstatus='$reg_on', bboffreason='$bboffreasonnew', regviewonly='$regviewnew', floodctrl='$floodctrlnew', memberperpage='$memberperpagenew', catsonly='$catsonlynew', hideprivate='$hidepriv', emailcheck='$emailchecknew', bbrules='$bbrulesnew', bbrulestxt='$bbrulestxtnew', searchstatus='$searchstatusnew', faqstatus='$faqstatusnew', memliststatus='$memliststatusnew', sitename='$sitenamenew', siteurl='$siteurlnew', avastatus='$avastatusnew', u2uquota='$u2uquotanew', gzipcompress='$gzipcompressnew', coppa='$coppanew', timeformat='$timeformatnew', adminemail='$adminemailnew', dateformat='$dateformatnew', sigbbcode='$sigbbcodenew', sightml='$sightmlnew', reportpost='$reportpostnew', bbinsert='$bbinsertnew', smileyinsert='$smileyinsertnew', doublee='$doubleenew', smtotal='$smtotalnew', smcols='$smcolsnew', editedby='$editedbynew', dotfolders='$dotfoldersnew', attachimgpost='$attachimgpostnew', tickerstatus='$tickerstatusnew', tickercontents='$tickercontentsnew', tickerdelay='$tickerdelaynew', addtime='$addtimenew', todaysposts='$todaystatusnew', stats='$statsstatusnew', max_avatar_size='$max_avatar_size', footer_options='$footer_options', space_cats='$space_catsnew', spellcheck='$spellchecknew', allowrankedit='$allowrankeditnew', notifyonreg='$notifyonregnew', indexshowbar='$indexShowBarNew', subject_in_title='$subjectInTitleNew', def_tz='$def_tz_new', resetsigs='$resetSigNew', pruneusers='$pruneusersnew', ipreg='$ipReg', maxdayreg='$maxDayReg', maxattachsize='$maxAttachSize', showsubforums='$showsubforumsnew', regoptional='$regoptionalnew', quickreply_status='$quickreply_statusnew', quickjump_status='$quickjump_statusnew', index_stats='$index_statsnew', onlinetodaycount='$onlinetodaycountnew', onlinetoday_status='$onlinetoday_statusnew', attach_remote_images='$remoteimages', files_min_disk_size='$filesminsizenew', files_storage_path='$filespathnew', files_subdir_format='$filessubdirnew', file_url_format='$filesurlpathnew', files_virtual_url='$filesbasenew', filesperpost='$filesperpostnew', max_image_size='$max_image_size', max_thumb_size='$max_thumb_size' " |
/cp2.php:1744 | 1 | $queryWhere[] = 'lastpost >= ' . (time( ) - (24 * 3600 * ($pruneByDate['date'] - 1))) . ' AND lastpost <= ' . (time( ) - (24 * 3600 * ($pruneByDate['date']))) |
/member.php:763 | 1 | $memberinfo['bday'] = printGmDate(MakeTime(12, 0, 0, substr($memberinfo['bday'], 5, 2), substr($memberinfo['bday'], 8, 2), substr($memberinfo['bday'], 0, 4)), $dateformat, -$timeoffset) |
/member.php:787 | 1 | $topforum = "<a href='./forumdisplay.php?fid={$forum['fid']}'>" . fnameOut($forum['name']) . "</a> ($posts {$lang['memposts']}) [" . round(($posts / $memberinfo['postnum']) * 100, 1) . "% {$lang['textoftotposts']}]" |
/cp.php:835 | 1 | $sql .= ", captcha_status='$captchanew', captcha_reg_status='$captcharegnew', captcha_post_status='$captchapostnew', captcha_search_status='$captchasearchnew', captcha_code_charset='$captchacharsetnew', captcha_code_length='$captchacodenew', captcha_code_casesensitive='$captchacodecasenew', captcha_code_shadow='$captchacodeshadownew', captcha_image_type='$captchaimagetypenew', captcha_image_width='$captchaimagewidthnew', captcha_image_height='$captchaimageheightnew', captcha_image_bg='$captchaimagebgnew', captcha_image_dots='$captchaimagedotsnew', captcha_image_lines='$captchaimagelinesnew', captcha_image_fonts='$captchaimagefontsnew', captcha_image_minfont='$captchaimageminfontnew', captcha_image_maxfont='$captchaimagemaxfontnew', captcha_image_color='$captchaimagecolornew' " |
/cp.php:1879 | 1 | $ipdate = gmdate($dateformat, $ipaddress['dateline'] + ($timeoffset * 3600) + ($addtime * 3600)) . " $lang[textat] " . gmdate("$timecode", $ipaddress['dateline'] + ($timeoffset * 3600) + ($addtime * 3600)) |
/include/functions.inc.php:1896 | 1 | $months = array($lang['textjan'], $lang['textfeb'], $lang['textmar'], $lang['textapr'], $lang['textmay'], $lang['textjun'], $lang['textjul'], $lang['textaug'], $lang['textsep'], $lang['textoct'], $lang['textnov'], $lang['textdec']) |
/include/attach.inc.php:41 | 1 | $attachmentErrors = array(X_BAD_STORAGE_PATH => $lang['fileuploaderror1'], X_ATTACH_COUNT_EXCEEDED => $lang['fileuploaderror2'], X_INVALID_REMOTE_LINK => $lang['fileuploaderror3'], X_NOT_AN_IMAGE => $lang['fileuploaderror4'], X_IMAGE_DIMS_EXCEEDED => $lang['fileuploaderror5'], X_ATTACH_SIZE_EXCEEDED => $lang['fileuploaderror6'], X_NO_TEMP_FILE => $lang['fileuploaderror7'], X_GENERIC_ATTACH_ERROR => $lang['fileuploaderror8'], X_INVALID_FILENAME => $lang['invalidFilename']) |
/include/u2u.inc.php:322 | 1 | $email = $mailHeader . $lang['textsubject'] . " " . $u2usubject . "<br />\n" . $lang['textfrom'] . " " . $u2ufrom . "<br />\n" . $lang['textto'] . " " . $u2uto . "<br />\n" . $lang['textu2ufolder'] . " " . $u2ufolder . "<br />\n" . $lang['textsent'] . " " . $u2udateline . "<br />\n<br />\n" . $u2umessage . "<br />\n<br />\n" . $full_url . $mailFooter |
/include/functions.inc.php:633 | 1 | $replace = array(0 => '<strong>', 1 => '</strong>', 2 => '<em>', 3 => '</em>', 4 => '<u>', 5 => '</u>', 6 => '<marquee>', 7 => '</marquee>', 8 => '<blink>', 9 => '</blink>', 10 => '<strike>', 11 => '</strike>', 12 => '</font> <!-- nobr --><table align="center" class="quote" cellspacing="0" cellpadding="0"><tr><td class="quote">' . $lang['textquote'] . '</td></tr><tr><td class="quotemessage"><!-- /nobr -->', 13 => ' </td></tr></table><font class="mediumtxt">', 14 => '</font> <!-- nobr --><table align="center" class="code" cellspacing="0" cellpadding="0"><tr><td class="code">' . $lang['textcode'] . '</td></tr><tr><td class="codemessage"><code>', 15 => '</code></td></tr></table><font class="mediumtxt"><!-- /nobr -->', 16 => '<ul type="square">', 17 => '</ul>', 18 => '<ol type="1">', 19 => '<ol type="A">', 20 => '<ol type="A">', 21 => '</ol>', 22 => '</ol>', 23 => '</ol>', 24 => '<li />', 25 => '</span>', 26 => '</span>', 27 => '</span>', 28 => '</div>', 29 => ' </td></tr></table><font class="mediumtxt">', 30 => '<sub>', 31 => '</sub>', ) |
/include/u2u.inc.php:413 | 1 | if((in_array($tofolder, $folders) || $tofolder == 'Inbox' || $tofolder == 'Outbox' || $tofolder == 'Drafts') && !($tofolder == 'Inbox' && ($type == 'draft' || $type == 'outgoing')) && !($tofolder == 'Outbox' && ($type == 'incoming' || $type == 'draft')) && !($tofolder == 'Drafts' && ($type == 'incoming' || $type == 'outgoing'))) { /**/ } |
/memcp.php:536 | 2 | elseif((($size[0] > $max_size[0] && $max_size[0] > 0) || ($size[1] > $max_size[1] && $max_size[1] > 0)) && !X_SADMIN) { /**/ } |
/include/u2u.inc.php:394 | 1 | if(!(in_array($tofolder, $folders) || $tofolder == 'Inbox' || $tofolder == 'Outbox' || $tofolder == 'Drafts') || ($tofolder == 'Inbox' && ($type == 'draft' || $type == 'outgoing')) || ($tofolder == 'Outbox' && ($type == 'incoming' || $type == 'draft')) || ($tofolder == 'Drafts' && ($type == 'incoming' || $type == 'outgoing'))) { /**/ } |
/editprofile.php:306 | 2 | elseif((($size[0] > $max_size[0] && $max_size[0] > 0) || ($size[1] > $max_size[1] && $max_size[1] > 0)) && !X_SADMIN) { /**/ } |
/cp2.php:1221 | 1 | if($picon != '.' && $picon != '..' && (strpos($picon, '.gif') || strpos($picon, '.jpg') || strpos($picon, '.jpeg') || strpos($picon, '.bmp') || strpos($picon, '.png'))) { /**/ } |
/cp2.php:1187 | 1 | if($smiley != '.' && $smiley != '..' && (strpos($smiley, '.gif') || strpos($smiley, '.jpg') || strpos($smiley, '.jpeg') || strpos($smiley, '.bmp') || strpos($smiley, '.png'))) { /**/ } |