| 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="wide-column">
<? load_template('modules/rating/templates/view_header.tpl'); $en['i_id'] = ''; global $en; $en = array_merge($en,(array)sql_fetch_assoc(sql_query("SELECT i_id, i_name,i_video,i_video_link FROM $picstable WHERE i_user=$en[mm_id] AND ((i_status=2 AND i_video_status =0) OR (i_status=0 AND i_video_status =2)) ORDER BY i_video ASC"))); if ($en['i_id'] != '') { ?>
<div class='main-video'>
<div id='main-profile'>
<? if (do_format('i_video') == 0) { ?>
<img src='<? echo constant('dir'); ?>images/pictures/<? echo do_format('mm_id'); ?>-<? echo do_format('i_id'); ?>.jpg' name=mainimg>
<? } else {
echo getYoutubeVideoEmbedScript($en[i_video_link]);
} ?>
</div>
</div>
<?
$en['main'] = $en['i_id'];
$en['maindescr'] = str_replace('"',"'",$en['i_name']);
$en['is_main_video'] = $en['i_video'];
$en['main_video_link'] = $en['i_video_link'];
} if (allow_descr == 0 || (allow_descr == 2 && $en['mm_daysleft'] > 0)) { ?>
<div class="image-name"><h1><? echo do_format('i_name'); ?></h1></div>
<? } $en['is_voted'] = (int)voting_type == 0 ? !in_array($en['mm_id'],$en['voted']) : !in_array($en['main'],$en['voted_images']); if (do_format('mm_rateme') == 1 && $en['is_voted'] && profile_vote < 3 && (profile_vote != 2 || (profile_vote == 2 && $en['m_daysleft'] > 0)) && (profile_vote != 1 || (profile_vote == 1 && $_SESSION['user'] != '')) && $en['t_enable_voting'] == 0) { ?>
<form action='<? echo constant('dir'); ?>index.php' method=post name=voteform>
<input type=hidden name=req value=view>
<input type=hidden name=user value='<? echo do_format('mm_user'); ?>'>
<input type=hidden name=id value='<? echo do_format('mm_id'); ?>'>
<input type=hidden name=act value='vote'>
<input type=hidden name=image value='<? echo do_format('main'); ?>'>
<? if ($_SESSION['user'] != '') { ?>
<input type=hidden name=voter value='<? echo do_format('m_id'); ?>'>
<? } load_template('modules/rating/templates/ratebar.tpl'); ?>
</form>
<Br>
<? } load_template('modules/rating/templates/profile_details.tpl'); setcookie('last_pr',$en['mm_id'],0,constant('dir')); ?>
<!-- #end wide-column --></div>