| Server IP : 208.122.213.31 / Your IP : 216.73.216.45 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">
<div class="intro">
<h1><? echo do_format('site_name'); ?></h1>
<br />
<p><? echo _intro_msg; ?></p><!-- #end intro --></div><? if (image_slide_show == 'Yes') { ?>
<div class="banner">
<? $SQL = "SELECT * FROM $membtable LEFT JOIN $picstable ON i_user=m_id WHERE i_daily_status=1 AND i_status>=1 AND i_video=0 ORDER BY RAND()"; $SQL = (max_images_slide_show > 0 ? $SQL . ' LIMIT '. max_images_slide_show : $SQL); $to['sql_4c72aee0cd370'] = 'max'; $from['sql_4c72aee0cd370'] = '1'; $query = "$SQL"; $sql_4c72aee0cd370 = sql_query($query); if (sql_num_rows($sql_4c72aee0cd370) > 0) { if (!is_numeric($to['sql_4c72aee0cd370'])) $to['sql_4c72aee0cd370'] = sql_num_rows($sql_4c72aee0cd370); $from['sql_4c72aee0cd370'] = min($from['sql_4c72aee0cd370'],sql_num_rows($sql_4c72aee0cd370)); sql_data_seek($sql_4c72aee0cd370,$from['sql_4c72aee0cd370']-1); $en['loops_left'] = $en['total_count'] = $en['total_cnt']['sql_4c72aee0cd370'] = sql_num_rows($sql_4c72aee0cd370); } $en['loops_cnt']['sql_4c72aee0cd370'] = 0; $en['loops_count'] = min(sql_num_rows($sql_4c72aee0cd370)-($from['sql_4c72aee0cd370']-1),$to['sql_4c72aee0cd370']); $tos['sql_4c72aee0cd370'] = $to; while (($line = sql_fetch_assoc($sql_4c72aee0cd370)) && $en['loops_cnt']['sql_4c72aee0cd370'] < $tos['sql_4c72aee0cd370']) {$en = array_merge($en,$line);
if (!is_array($en['loops_cnt'])) { $en['loops_cnt'] = array(); }
$en['loops_index'] = ++$en['loops_cnt']['sql_4c72aee0cd370'];
$en['loops_left'] = $en['total_cnt']['sql_4c72aee0cd370']-$en['loops_cnt']['sql_4c72aee0cd370']; ?>
<? if ($en['loops_index'] == 1) { ?>
<? //profile_section(_daily_image); ?>
<script type="text/javascript">
var mygallery=new simpleGallery({
wrapperid: "simplegallery1", //ID of main gallery container,
dimensions: [460, 250], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
imagearray: [
["<? echo constant('dir'); ?>images/pictures/<? echo do_format('m_id'); ?>-<? echo do_format('i_id'); ?>.jpg", "<? echo constant('dir'); ?>view/<? echo do_format('m_user'); ?>.html", "_new", "<? echo do_format('i_name'); ?>"]
<? } ?>
<? if ($en['loops_index'] >> 1) { ?>
,
["<? echo constant('dir'); ?>images/pictures/<? echo do_format('m_id'); ?>-<? echo do_format('i_id'); ?>.jpg", "<? echo constant('dir'); ?>view/<? echo do_format('m_user'); ?>.html", "", "<? echo do_format('i_name'); ?>"]
<? } ?>
<? if ($en['loops_left'] == 0) { ?>
],
autoplay: [true, 2500, 2], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 1000, //transition duration (milliseconds)
oninit:function(){ //event that fires when gallery has initialized/ ready to run
//Keyword "this": references current gallery instance (ie: try this.navigate("play/pause"))
},
onslide:function(curslide, i){ //event that fires after each slide is shown
//Keyword "this": references current gallery instance
//curslide: returns DOM reference to current slide's DIV (ie: try alert(curslide.innerHTML)
//i: integer reflecting current image within collection being shown (0=1st image, 1=2nd etc)
}
})
</script>
<table width=100%>
<tr>
<td valign=top align=center>
<div id="simplegallery1"></div>
</td>
</tr>
</table>
<? } } ?>
<!-- #end banner --></div>
<? } $en['lp_ind'] = 0; $to['sql_4c72aee0cdb54'] = 'max'; $from['sql_4c72aee0cdb54'] = '1'; $query = "SELECT * FROM $typetable ORDER BY t_order ASC"; $sql_4c72aee0cdb54 = sql_query($query); if (sql_num_rows($sql_4c72aee0cdb54) > 0) { if (!is_numeric($to['sql_4c72aee0cdb54'])) $to['sql_4c72aee0cdb54'] = sql_num_rows($sql_4c72aee0cdb54); $from['sql_4c72aee0cdb54'] = min($from['sql_4c72aee0cdb54'],sql_num_rows($sql_4c72aee0cdb54)); sql_data_seek($sql_4c72aee0cdb54,$from['sql_4c72aee0cdb54']-1); $en['loops_left'] = $en['total_count'] = $en['total_cnt']['sql_4c72aee0cdb54'] = sql_num_rows($sql_4c72aee0cdb54); } $en['loops_cnt']['sql_4c72aee0cdb54'] = 0; $en['loops_count'] = min(sql_num_rows($sql_4c72aee0cdb54)-($from['sql_4c72aee0cdb54']-1),$to['sql_4c72aee0cdb54']); $tos['sql_4c72aee0cdb54'] = $to; while (($line = sql_fetch_assoc($sql_4c72aee0cdb54)) && $en['loops_cnt']['sql_4c72aee0cdb54'] < $tos['sql_4c72aee0cdb54']) {$en = array_merge($en,$line);
if (!is_array($en['loops_cnt'])) { $en['loops_cnt'] = array(); }
$en['loops_index'] = ++$en['loops_cnt']['sql_4c72aee0cdb54'];
$en['loops_left'] = $en['total_cnt']['sql_4c72aee0cdb54']-$en['loops_cnt']['sql_4c72aee0cdb54']; ?>
<? if ($en['lp_ind'] == 0) $en['lp_ind'] = $en['loops_left']+1; $en['lp_ind']--;?>
<? $to['sql_4c72aee0ce342'] = 'max'; $from['sql_4c72aee0ce342'] = '1'; $query = "SELECT * FROM $membtable LEFT JOIN $picstable ON i_user=m_id WHERE i_status=2 AND i_video=0 AND m_featured>0 AND m_type=".do_format('t_id')." ORDER BY RAND() LIMIT ".do_format('featured_cnt').""; $sql_4c72aee0ce342 = sql_query($query); if (sql_num_rows($sql_4c72aee0ce342) > 0) { if (!is_numeric($to['sql_4c72aee0ce342'])) $to['sql_4c72aee0ce342'] = sql_num_rows($sql_4c72aee0ce342); $from['sql_4c72aee0ce342'] = min($from['sql_4c72aee0ce342'],sql_num_rows($sql_4c72aee0ce342)); sql_data_seek($sql_4c72aee0ce342,$from['sql_4c72aee0ce342']-1); $en['loops_left'] = $en['total_count'] = $en['total_cnt']['sql_4c72aee0ce342'] = sql_num_rows($sql_4c72aee0ce342); } $en['loops_cnt']['sql_4c72aee0ce342'] = 0; $en['loops_count'] = min(sql_num_rows($sql_4c72aee0ce342)-($from['sql_4c72aee0ce342']-1),$to['sql_4c72aee0ce342']); $tos['sql_4c72aee0ce342'] = $to; while (($line = sql_fetch_assoc($sql_4c72aee0ce342)) && $en['loops_cnt']['sql_4c72aee0ce342'] < $tos['sql_4c72aee0ce342']) {$en = array_merge($en,$line);
if (!is_array($en['loops_cnt'])) { $en['loops_cnt'] = array(); }
$en['loops_index'] = ++$en['loops_cnt']['sql_4c72aee0ce342'];
$en['loops_left'] = $en['total_cnt']['sql_4c72aee0ce342']-$en['loops_cnt']['sql_4c72aee0ce342']; ?>
<? if ($en['loops_index'] == 1) { ?>
<div class="featured-profiles">
<h2><? echo _featured_profiles; ?></h2>
<? } ?>
<span class="photo">
<a href='<? echo constant('dir'); ?>view/<? echo do_format('m_user'); ?>.html'>
<img src='<? echo constant('dir'); ?>images/thumbnails/<? echo do_format('m_id'); ?>-<? echo do_format('i_id'); ?>.jpg' border=0>
</a>
<br class="clearfloat" />
<a href='<? echo constant('dir'); ?>view/<? echo do_format('m_user'); ?>.html'><b><? echo do_format('m_user'); ?></b></a>
</span>
<? if ($en['loops_left'] == 0) { ?>
<br class="clearfloat" />
<!-- #end featured-profiles --></div>
<? } ?>
<? } } ?>
<!-- #end featured-profiles -->
<div class="about">
<h1><? echo _about_our_site; ?></h1>
<br />
<p><? echo _about_info; ?></p>
<br />
<!-- #end about --></div><? $to['sql_4c72aee0ceb3d'] = 'max'; $from['sql_4c72aee0ceb3d'] = '1'; $query = "SELECT *,n_name_".do_format('lang')." AS n_name,n_descr_".do_format('lang')." AS n_descr FROM $newstable ORDER BY n_time DESC LIMIT 5"; $sql_4c72aee0ceb3d = sql_query($query); if (sql_num_rows($sql_4c72aee0ceb3d) > 0) { if (!is_numeric($to['sql_4c72aee0ceb3d'])) $to['sql_4c72aee0ceb3d'] = sql_num_rows($sql_4c72aee0ceb3d); $from['sql_4c72aee0ceb3d'] = min($from['sql_4c72aee0ceb3d'],sql_num_rows($sql_4c72aee0ceb3d)); sql_data_seek($sql_4c72aee0ceb3d,$from['sql_4c72aee0ceb3d']-1); $en['loops_left'] = $en['total_count'] = $en['total_cnt']['sql_4c72aee0ceb3d'] = sql_num_rows($sql_4c72aee0ceb3d); } $en['loops_cnt']['sql_4c72aee0ceb3d'] = 0; $en['loops_count'] = min(sql_num_rows($sql_4c72aee0ceb3d)-($from['sql_4c72aee0ceb3d']-1),$to['sql_4c72aee0ceb3d']); $tos['sql_4c72aee0ceb3d'] = $to; while (($line = sql_fetch_assoc($sql_4c72aee0ceb3d)) && $en['loops_cnt']['sql_4c72aee0ceb3d'] < $tos['sql_4c72aee0ceb3d']) {$en = array_merge($en,$line);
if (!is_array($en['loops_cnt'])) { $en['loops_cnt'] = array(); }
$en['loops_index'] = ++$en['loops_cnt']['sql_4c72aee0ceb3d'];
$en['loops_left'] = $en['total_cnt']['sql_4c72aee0ceb3d']-$en['loops_cnt']['sql_4c72aee0ceb3d']; if ($en['loops_index'] == 1) { ?>
<div class="news">
<h2><? echo _latest_news; ?></h2>
<br />
<ul>
<? } $en['dat'] = date(d_date_format,$en['n_time']); ?>
<li>
<p><strong><? echo do_format('dat'); ?> <? echo do_format('n_name'); ?></strong></p>
<p><? echo do_format('n_descr'); ?>.</p>
</li>
<? if ($en['loops_left'] == 0) { ?>
</ul>
<!-- #end news --></div>
<? } } ?>
<? /* DISTR:FORUMS */ $to['sql_4c72aee0cf329'] = 'max'; $from['sql_4c72aee0cf329'] = '1'; $query = "SELECT * FROM $fthreadtable LEFT JOIN $fposttable ON p_id=t_last LEFT JOIN $forumtable ON t_forum=f_id WHERE f_read=0 ORDER BY t_last_time DESC LIMIT 5"; $sql_4c72aee0cf329 = sql_query($query); if (sql_num_rows($sql_4c72aee0cf329) > 0) { if (!is_numeric($to['sql_4c72aee0cf329'])) $to['sql_4c72aee0cf329'] = sql_num_rows($sql_4c72aee0cf329); $from['sql_4c72aee0cf329'] = min($from['sql_4c72aee0cf329'],sql_num_rows($sql_4c72aee0cf329)); sql_data_seek($sql_4c72aee0cf329,$from['sql_4c72aee0cf329']-1); $en['loops_left'] = $en['total_count'] = $en['total_cnt']['sql_4c72aee0cf329'] = sql_num_rows($sql_4c72aee0cf329); } $en['loops_cnt']['sql_4c72aee0cf329'] = 0; $en['loops_count'] = min(sql_num_rows($sql_4c72aee0cf329)-($from['sql_4c72aee0cf329']-1),$to['sql_4c72aee0cf329']); $tos['sql_4c72aee0cf329'] = $to; while (($line = sql_fetch_assoc($sql_4c72aee0cf329)) && $en['loops_cnt']['sql_4c72aee0cf329'] < $tos['sql_4c72aee0cf329']) {$en = array_merge($en,$line);
if (!is_array($en['loops_cnt'])) { $en['loops_cnt'] = array(); }
$en['loops_index'] = ++$en['loops_cnt']['sql_4c72aee0cf329'];
$en['loops_left'] = $en['total_cnt']['sql_4c72aee0cf329']-$en['loops_cnt']['sql_4c72aee0cf329']; if ($en['loops_index'] == 1) { ?>
<div class="post">
<h2><? echo _latest_forums; ?></h2>
<br />
<ul>
<? } $en['dat'] = date(p_date_format,$en['t_last_time']); ?>
<? if ($en['p_username'] == '') {$en['p_username'] = _f_guest; } else { $en['p_username'] = "<a href='".constant('dir')."view/$en[p_username].html'>$en[p_username]</a>"; } ?>
<li><a href='<? echo constant('dir'); ?>forum_thread/<? echo do_format('t_id'); ?>.html'><? echo do_format('t_name'); ?></a> <? echo _by; ?> <? echo do_format('p_username'); ?>
<? echo _at; ?> <? echo do_format('dat'); ?></li>
<? if ($en['loops_left'] == 0) { ?>
</ul>
<!-- #end post --></div>
<? } } /* /DISTR */ ?>
<!-- #end middle-column --></div>