echo WC_HTML::tableRowForm($tLang->lang('th_site_language'), GWF_HTML::anchor($href, $site->displayLanguage())); echo WC_HTML::tableRowForm($tLang->lang('th_site_tags'), $site->displayTags(true)); if ($is_ranked) { echo WC_HTML::tableRowForm($tLang->lang('th_site_admins'), $site->displaySiteAdmins()); // echo WC_HTML::tableRowForm($tLang->lang('th_site_autoup'), $site->displayAutoUpdate()); // echo WC_HTML::tableRowForm($tLang->lang('th_site_has_osr'), $site->displayOnSiteRank()); if (count($boxes) > 0) { $warboxes = $tVars['boxcount'] . GWF_Button::forward($site->hrefWarboxes(), 'Show Wargames'); echo WC_HTML::tableRowForm($tLang->lang('btn_warboxes'), $warboxes); } // echo WC_HTML::tableRowForm($tLang->lang('th_site_score'), $site->getScore()); // echo WC_HTML::tableRowForm($tLang->lang('th_site_basescore'), $site->getBasescore()); // echo WC_HTML::tableRowForm($tLang->lang('th_site_usercount'), $site->getUsercount()); echo WC_HTML::tableRowForm($tLang->lang('th_site_challcount'), $site->getChallcount()); // echo WC_HTML::tableRowForm($tLang->lang('th_site_linkcount'), $site->getLinkCount()); echo WC_HTML::tableRowForm($tLang->lang('th_site_avg'), $site->displayAvg()); } # Diff Votes // $vdif = $site->getVotesDif(); // echo GWF_Table::rowStart(). // '<th>'.$tLang->lang('th_site_dif').'</th>'.PHP_EOL. // '<td><span id="gwf_vsba_'.$vdif->getID().'">'.$vdif->displayPercent().'</span></td>'.PHP_EOL. // GWF_Table::rowEnd(); // if ($tVars['can_vote']) // { // echo WC_HTML::tableRowForm($tLang->lang('th_site_vote_dif'), $site->getVotesDif()->displayButtons()); // } // # Fun Votes // $vfun = $site->getVotesFun(); // echo GWF_Table::rowStart(). // '<th>'.$tLang->lang('th_site_fun').'</th>'.PHP_EOL.
} else { echo WC_HTML::tableRowForm($tLang->lang('btn_warboxes'), $warboxes); } # Diff Votes $vdif = $site->getVotesDif(); echo GWF_Table::rowStart() . '<th>' . $tLang->lang('th_site_dif') . '</th>' . PHP_EOL . '<td><span id="gwf_vsba_' . $vdif->getID() . '">' . $vdif->displayPercent() . '</span></td>' . PHP_EOL . GWF_Table::rowEnd(); if ($tVars['can_vote']) { echo WC_HTML::tableRowForm($tLang->lang('th_site_vote_dif'), $site->getVotesDif()->displayButtons()); } # Fun Votes $vfun = $site->getVotesFun(); echo GWF_Table::rowStart() . '<th>' . $tLang->lang('th_site_fun') . '</th>' . PHP_EOL . '<td><span id="gwf_vsba_' . $vfun->getID() . '">' . $vfun->displayPercent() . '</span></td>' . PHP_EOL . GWF_Table::rowEnd(); if ($tVars['can_vote']) { echo WC_HTML::tableRowForm($tLang->lang('th_site_vote_fun'), $site->getVotesFun()->displayButtons()); } echo WC_HTML::tableRowForm($tLang->lang('th_site_irc'), $site->displayIRC()); ?> </table> <?php if ($tVars['jquery']) { return; } ?> <?php $count = count($tVars['latest_players']); $cols = 7; if ($count > 0) { echo '<table>'; echo sprintf('<tr><th colspan="%d">%s</th></tr>', $cols, $tLang->lang('th_latest_players', array($count, $tVars['latest_players_time'])));