| Server IP : 208.122.213.31 / Your IP : 216.73.216.185 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/baberankings.com.bak/templates/compiled/ |
Upload File : |
<? global $en,$configtable,$aconfigtable,$hidftable,$fieldtable,$admmenutable,$sertable,$modstable,$poptstable,$paytable,$picstable,$ratetable,$viewtable,$favstable,$questtable,$langtable,$roomtable,$chattable,$chatonlinetable,$polltable,$pollqtable,$blogtable,$bcomtable,$newsltable,$newstable,$typetable,$membtable,$onlinetable,$logstable,$mbantable,$picscommtable,$msgtable,$fgrouptable,$forumtable,$fthreadtable,$fposttable,$fmembtable,$fmodstable,$fsubscrforumtable,$fsubscrthreadtable; ?><div id="middle-column">
<? global $en; $en = array_merge($en,(array)sql_fetch_assoc(sql_query("SELECT *,t_name_plural_".do_format('lang')." AS t_name FROM $typetable WHERE t_url='$en[type]'"))); ?>
<h1><? echo _top; ?> <? echo do_format('t_name'); ?></h1>
<? $en['order'] = ((int)voting_type == 0 ? 'm_rating' : 'i_rating');
// to choose between the images/videos
if ($en['is_video'] == "vid") {
$en['where'] = ((int)voting_type == 0 ? (allow_more_cats == 'Yes' ? 'i_type=' : 'm_type=').$en['t_id'].' AND i_video_status=2 AND m_rating>0 AND m_ratingcnt ' : (allow_more_cats == 'Yes' ? 'i_type=' : 'm_type=').$en['t_id'].' AND i_video_status>0 AND i_rating>0 AND i_ratingcnt ');
$en[video_query] = " AND i_video = 1 ";
}
if ($en['is_video'] == "img") {
$en['where'] = ((int)voting_type == 0 ? (allow_more_cats == 'Yes' ? 'i_type=' : 'm_type=').$en['t_id'].' AND i_status=2 AND m_rating>0 AND m_ratingcnt ' : (allow_more_cats == 'Yes' ? 'i_type=' : 'm_type=').$en['t_id'].' AND i_status>0 AND i_rating>0 AND i_ratingcnt ');
$en[video_query] = " AND i_video = 0 ";
}
$en['list_query'] = "SELECT *, $en[order] AS m_rating FROM $membtable LEFT JOIN $onlinetable ON o_id=m_id LEFT JOIN $picstable ON i_user=m_id WHERE $en[where] >= ".min_ratings." $en[video_query] ORDER BY $en[order] DESC LIMIT ".top_limit; load_template('modules/rating/templates/member_list.tpl'); ?>
</div>