403Webshell
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/default/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/baberankings.com.bak/templates/default/right_side.tpl
<!-- #start rightbar -->   
<!--[If Start !$en['hideright']]-->     
<div id="rightbar">

<!--[If Start $en['req'] == 'view']-->
<!-- #start favourites --> 
	<div class="favourite">
	<!--[If Start show_favs == 0 || (show_favs == 1 && $_SESSION[user] != '') || (show_favs 	== 2 && $en[m_daysleft] > 0)]-->

		<!--[Loop Start QUERY:SELECT * FROM $favstable LEFT JOIN $membtable ON m_id=f_fav LEFT JOIN $picstable ON i_user=f_fav WHERE i_status=2 AND f_user='<%mm_id%>' ORDER BY m_rating DESC]-->

		<? $en['m_rating'] = round($en['m_rating'],2); ?>
		<!--[If Start <%loops_index%> == 1]-->
			<? $en['showtops'] = 'no'; ?>
			<p class="title3"><%_favourites%></p>
            	<br class="clearfloat" />            
            	<ul>            
		<!--[If End]-->
            	<li>
                	<span><a href='<%dir%>view/<%m_user%>.html'><img src='<%dir%> images/small/<%f_fav%>-<%i_id%>.jpg' border=0></a></span>
			<span><a href='<%dir%>view/<%m_user%>.html'><%m_user%></a></span>
			<span><%m_rating%></span>
			<br class="clearfloat" />
			</li>
		<!--[If Start <%loops_left%> == 0]-->
	            </ul>
      	      <br class="clearfloat" />
		<!--[If End]-->
		<!--[Loop End]-->
  	<!--[If End]-->

	<p class="title3"><%mm_user%></p>
	<ul>
		<li>
		    <a href='<%dir%>index.php?req=favs&act=add&user=<%mm_user%>'><%_add_f%> 
		    <%mm_user%><%_to_favs%></a>
		</li>
		<li>
		    <a href='<%dir%>index.php?req=compose&to=<%mm_user%>'>
		    <%_send_msg_to%> <%mm_user%></a>
		</li>
	</ul>
<!-- #end favourites --></div>
<!--[If End]-->



<!--[If Start $en['showtops'] != 'no']-->
<!-- #start top images --> 
<div class="women">
	<!--[Loop Start QUERY:SELECT * FROM $typetable WHERE t_enable_voting=0 ORDER BY t_order]-->
	<p class="title3"><?echo $en['t_name_plural_'.lang].' '._in_images; ?></p>
	<br class="clearfloat" />
	<ul>            
	<? $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['order'] = ((int)voting_type == 0 ? 'm_rating' : 'i_rating'); ?>
	<!--[Loop Start QUERY:SELECT * FROM $membtable LEFT JOIN $picstable ON i_user=m_id WHERE i_video=0 AND $en[where] >= <%min_ratings%> ORDER BY $en[order] DESC LIMIT <%list_limit%>]-->
		<? $en['m_rating'] = round(((int)voting_type == 0 ? $en['m_rating'] : $en['i_rating']),2); ?>
		 <li>
			<span>
				<a href='<%dir%>view/<%m_user%>.html'>
				<img src='<%dir%>images/small/<%m_id%>-<%i_id%>.jpg' width="50" height="50" border=0>
				</a>
			</span>
			<span>
				<a href='<%dir%>view/<%m_user%>.html'>
				<%m_user%></a>
			</span>
			<span>
				<%m_rating%>
			</span>
			<br class="clearfloat" />
		</li>
	<!--[Loop End]-->
	</ul>
	<!--[Loop End]-->
<!-- #end top images --></div>
<!--[If End]-->


<!--[If Start $en['showtops'] != 'no']-->
<!-- #start top videos --> 
<div class="men">
	<!--[Loop Start QUERY:SELECT * FROM $typetable WHERE t_enable_voting=0 ORDER BY t_order]-->
	<p class="title3"><?echo $en['t_name_plural_'.lang].' '._in_videos; ?></p>
	<br class="clearfloat" />
	<ul>            
	<? $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['order'] = ((int)voting_type == 0 ? 'm_rating' : 'i_rating'); ?>
	<!--[Loop Start QUERY:SELECT * FROM $membtable LEFT JOIN $picstable ON i_user=m_id WHERE 		i_video=1 AND $en[where] >= <%min_ratings%> ORDER BY $en[order] DESC LIMIT <%list_limit%>]-->
		<? $en['m_rating'] = round(((int)voting_type == 0 ? $en['m_rating'] : $en['i_rating']),2); ?>
		 <li>
			<span>
				<a href='<%dir%>view/<%m_user%>.html'>
				<img src='<%dir%>images/small/<%m_id%>-<%i_id%>.jpg' width="50" height="50" border=0>
				</a>
			</span>
			<span>
				<a href='<%dir%>view/<%m_user%>.html'>
				<%m_user%></a>
			</span>
			<span>
				<%m_rating%>
			</span>
			<br class="clearfloat" />
		</li>
	<!--[Loop End]-->
	</ul>
	<!--[Loop End]-->
<!-- #end top videos --></div>
<!--[If End]-->

<!--[Loop Start QUERY:SELECT *,(<%time%> >= p_starts AND <%time%> <= p_expires) AS n_active FROM $polltable HAVING n_active=1 ORDER BY RAND() LIMIT 1]-->
<div class="poll">
<p class="title3"><%_poll%>
<p><%p_question%></p>
<form action="<%root%>index.php" method=post>
<input type=hidden name=req value=post_poll>
<input type=hidden name=poll_id value='<%p_id%>'>
<? $en['ret'] = $_SERVER[REQUEST_URI]; ?>
<input type=hidden name=poll_return value="<%ret%>">
<?
        $cn = 0;
        if ($_COOKIE['voted_'.$en['p_id']] || strpos($_SERVER[REQUEST_URI],'results=true')) {
           //already voted, show results

              //get question count
                $res = sql_query("SELECT SUM(q_count) AS tot FROM $pollqtable WHERE q_poll=$en[p_id]") or die(__line__.sql_error());
                $l = sql_fetch_assoc($res); $tot = $l[tot];

                $res = sql_query("SELECT * FROM $pollqtable WHERE q_poll=$en[p_id] ORDER BY q_count DESC") or die(__line__.sql_error());
                $colors = array('black','red','green','blue','yellow','brown','black','#AAAAAA','red','green','blue','yellow','brown','black','#AAAAAA');
                $cn = 0;
                while ($line = sql_fetch_assoc($res)) {
                         $cn++;
                         echo '<label>'.$line[q_question].' ('.$line[q_count].' '._votes_count.')</label><br />';
                         echo '<label>'.(round(($line[q_count]/max($tot,1))*100)).'%<label><div style="width:'.(round(($line[q_count]/max($tot,1))*100)).'%; height: 10px; background-color:'.$colors[$cn].';"> </div></label><br />';
                         }
                echo '<tr><td colspan=2 align=center>'.$tot.' '._votes_total.'</td></tr>';
                } else {
                //not voted
                        $res = sql_query("SELECT * FROM $pollqtable WHERE q_poll=$en[p_id] ORDER BY q_id ASC") or die(sql_error());
                        while ($li = sql_fetch_assoc($res))
                                echo '<input type=radio id=poll_'.$li[q_id].' name=poll_a value='.$li[q_id].'><label for=poll_'.$li[q_id].'>'.$li[q_question].'</label><br />';
                                echo '<p class="align-center"><input type="submit" class="button" name=vote value="'._vote_poll.'">&nbsp;<input type="submit" class="button" name=results value="'._vote_results.'" ></p>';
                                }

?>
</form>
<!-- #end poll --></div>
<!--[Loop End]-->



<!--[If Start $_COOKIE['last_pr'] && display_prev == 'Yes']-->
<!--[Array $en SELECT *, m_id AS verify FROM $membtable LEFT JOIN $picstable ON m_id=i_user 	WHERE i_status=2 AND m_id=$_COOKIE[last_pr]]-->
<!--[If Start $en['verify'] == $_COOKIE['last_pr']]-->
<!-- #start previous --> 
  <div class="previous">
	<p class="title3"><%_p_prof%></p>
	<br class="clearfloat" />    
      <ul>
	   <li>
		<span>
			<a href='<%dir%>view/<%m_user%>.html'>
				<img border=0 src='<%dir%>images/small/<%m_id%>-<%i_id%>.jpg'>
			</a>
		</span>
		<span>
			<b><a href='<%dir%>view/<%m_user%>.html'>
				<%m_user%>
			</a></b>
		</span>
	    </li>
	</ul>
<!-- #end previous --></div>
<!--[If End]-->
<!--[If End]-->


<!-- #start profile -->
<form action='<%dir%>index.php' method=post>
<div class="profile">
     <p class="title3"><%_get_profile%></p>
	  <input type=hidden name=req value='do_get_profile'>
        <label><%_g_enter_user%></label>
           <input name="user" type="text" class="input-180" />
        <br />               
           <input name="sm" type="submit" class="button" value='<%_find_it%>'/>
<!-- #end profile --></div>
</form>

<!-- #start languages -->
<!--[If Start allow_choose_langs == 'Yes']-->
<div class="language">
      <!--[Loop Start QUERY:SELECT * FROM $langtable WHERE l_active=1 ORDER BY l_default DESC, 	l_id ASC]-->
		<!--[If Start $en['total_count'] > 1]-->
			<!--[If Start $en['loops_index'] == 1]-->
				<p class="title3"><%_languages%></p>
					<table width="100%" border="0" cellpadding="0" cellspacing="0">					<tr><td align=center>
			<!--[If End]-->
			<!--[If Start lang_type == 1]-->
				<a href='<%dir%>lang/<%l_code%>'><%l_name%></a>&nbsp;
			<!--[If Else]-->
				<a href='<%dir%><%l_code%>'><img src='<%dir%>images/flags/<%					l_code%>.png' border=0 alt='<%l_name%>' title='<%l_name%>'></a>&nbsp;
			<!--[If End]-->
			<!--[If Start $en['loops_left'] == 0]-->
				</td></tr></table>
			<!--[If End]-->
		<!--[If End]-->
	<!--[Loop End]-->
<!-- #end languages --></div>
<!--[If End]-->
            

<!-- #end rightbar --></div>
<!--[If End]-->



Youez - 2016 - github.com/yon3zu
LinuXploit