示例#1
0
echo $MAIN_ROOT;
?>
images/tiltphone.png'><p align='center'>need more space<br>tilt your phone!</p></div>
<table class='formTable' id='membersPageTable'>
<?php 
$maxDSLIntervals = floor($websiteInfo['maxdsl'] / 3);
$arrCountDSL[1] = 0;
$arrCountDSL[2] = 0;
$arrCountDSL[3] = 0;
$arrMemberCountCat = array();
$arrGameCount = array();
$arrGamesPlayed = array();
$result = $mysqli->query("SELECT rankcategory_id FROM " . $dbprefix . "rankcategory WHERE hidecat = '0' ORDER BY ordernum DESC");
while ($row = $result->fetch_assoc()) {
    $rankCatObj->select($row['rankcategory_id']);
    $rankCatObj->refreshImageSize();
    $rankCatInfo = $rankCatObj->get_info_filtered();
    $arrRanks = $rankCatObj->getAssociateIDs(" ORDER BY ordernum DESC");
    if ($websiteInfo['maxdsl'] == 0) {
        $tableCols = 4;
    } else {
        $tableCols = 5;
    }
    if ($rankCatInfo['useimage'] == 1 && $rankCatInfo['imageurl'] != "") {
        echo "\n\t\t<tr>\n\t\t\t<td class='main' align='center' colspan='" . $tableCols . "'><img src='" . $rankCatInfo['imageurl'] . "' width='" . $rankCatInfo['imagewidth'] . "' height='" . $rankCatInfo['imageheight'] . "' onmouseover=\"showToolTip('<b>" . $rankCatInfo['name'] . "</b><br>" . $rankCatInfo['description'] . "')\" onmouseout='hideToolTip()'></td>\n\t\t</tr>\n\t\t";
    } else {
        $dispCatDesc = "";
        if ($rankCatInfo['description'] != "") {
            $dispCatDesc = " style='cursor: pointer' onmouseover=\"showToolTip('<b>" . $rankCatInfo['name'] . "</b><br>" . $rankCatInfo['description'] . "')\" onmouseout='hideToolTip()'";
        }
        echo "\n\t\t<tr>\n\t\t\t<td class='largeFont' style='font-weight: bold' align='center' colspan='" . $tableCols . "'><span" . $dispCatDesc . ">" . $rankCatInfo['name'] . "</span></td>\n\t\t</tr>\n\t\t";