GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/includes/
Upload File :
Current File : /home/serb/public_html/includes/boysright_contain.php

                                <div class="rightct_midtopp">
        							<h1>Latest Flirt</h1>
                                    <div style="width:220px; margin:0 auto; height:5px;"></div>
                               		<div style="width:230px; margin:0 auto;">
                                    	<?
											$twct=0;
											$sql_tweet="SELECT * FROM tweet where gender='Male' ORDER BY id DESC LIMIT 0,5";
											$res_tweet=execute_query($sql_tweet);
											while($row_tweet=mysql_fetch_array($res_tweet))
											{
												
												
												$sql_img="select * from escort_photo where userid='".$row_tweet['userid']."'";
												$res_img=execute_query($sql_img);
												$row_img=mysql_fetch_array($res_img);
												
												$sql_estdt="SELECT * FROM escort_details WHERE id='".$row_tweet['postid']."'";
												$res_estdt=execute_query($sql_estdt);
												$row_estdt=mysql_fetch_array($res_estdt);
												
												//$phone22=preg_replace('/[^A-Za-z0-9]/',"",$row_estdt['tel_national']);
												
												if($twct==0)
												{
													$class="tweetbox";
													$twct++;
												}
												else
												{
													$class="tweetbox2222";
													$twct--;
												}
												if($row_estdt['status']=='a')
												{
                          $citynameParsed = getUrlAttrib($row_estdt['escort_city']);
                          $title = getTitle($row_estdt['slogan']);
                          $url = "http://{$citynameParsed}.{$serverName}/MaleEscorts/{$row_estdt['nickname']}".($title ? "/{$title}" : null)."/{$row_estdt['id']}";
													?>
													<div class="<? echo $class; ?>">
														<div class="leftimage">
															<a class="menuitem"  <? if($row_estdt['status']=='a') { ?> href="<?php echo $url; ?>" <? } else { ?> href="#" <? } ?>><img class="twtimage" src="avtar/<?=$row_img['picture']?>" /></a>
														</div>
														<div class="righttweetct">
															<?=stripslashes($row_tweet['tweetcontain'])?><br/>
															<span style="float:right;"><?=$row_tweet['city']?></span>
														</div>
														<br class="spacer" />
													</div>
													<br/>
												 <? }
												 
										 } ?>
                                        
                                    
                                    </div>
        
                           		</div>
                                <div class="rightct_midtopp" style="margin-top:10px;">
        							<h1>Guys of the weeks</h1>
                               		<div class="imgclhover" style="width:180px; margin-top:10px; margin:0 auto; text-align:center;">
                                    	<div class="leftpic"> 
                                        	<div class="leftpic-crop">
                                        		<?
											$sql_weekescort="SELECT `postid`, count('postid') FROM `popularity` where gender='Male' AND `hitdate` >= DATE_SUB(CURDATE(), INTERVAL 10 DAY) group by `postid` ORDER BY count('postid') DESC";
											$res_weekescort=execute_query($sql_weekescort);
											$row_weekescort=mysql_fetch_array($res_weekescort);
											//$row_weekescort['nickname'];
											
													$sql_estdtls="SELECT * FROM escort_details where id='".$row_weekescort['postid']."'";
													$res_estdtls=execute_query($sql_estdtls);
													$row_estdtls=mysql_fetch_array($res_estdtls);
													
													//$phone23=preg_replace('/[^A-Za-z0-9]/',"",$row_estdtls['tel_national']);
													
													$sql_image11="SELECT * FROM escort_photo where postid='".$row_weekescort['postid']."'";
													$res_image11=execute_query($sql_image11);
													$row_image11=mysql_fetch_array($res_image11);
                          $citynameParsed = getUrlAttrib($row_estdtls['escort_city']);
                          $title = getTitle($row_estdtls['slogan']);
                          $url = "http://{$citynameParsed}.{$serverName}/MaleEscorts/{$row_estdtls['nickname']}".($title ? "/{$title}" : null)."/{$row_estdtls['id']}";
                          
                                                    if($row_image11['picture']!="")
                                                    {
                                                    ?>
                                                         <a <? if($row_estdtls['status']=='a') { ?> href="<?php echo $url; ?>" <? } else { ?> href="#"  <? } ?>><img src="avtar/<?=$row_image11['picture']?>" /></a>
                                                  <? } else
													  { ?>
													    <a <? if($row_estdtls['status']=='a') { ?> href="<?php echo $url; ?>" <? } else { ?> href="#"  <? } ?>> <img src="images/no_photo_female.gif" /></a>
													  
													  <? } ?>    	
                                            </div>
                                        
                                        </div>
                                        <div class="leftpictext">
                                        	<?=$row_estdtls['nickname']?><br/>
                                            
                                        <?=$row_estdtls['escort_city']?>
                                        </div>
                                    
                                    	                                     
                                        
                                        
                                        
                                    </div>
        
                           		</div>
                                <script type="text/javascript" src="js/jquery.als-1.7.min.js"></script>
                                 <div class="rightct_midtopp" style="margin-top:10px;">
        							
                               		<div style="width:230px; margin:0 auto;">
                                    	<div class="als-container" id="escortHelp">
                                        <div class="bigstrip">
                                            <span>ESCORT HELP</span> <span class="als-prev"><img src="images/thin_left_arrow_333.png" alt="prev" title="previous" /></span><span class="als-next"><img src="images/thin_right_arrow_333.png" alt="next" title="next" /></span>
                                        </div>
                                        
                                            <div class="escortHelpText">
                                                <div class="als-viewport" style="width:225px !important;">
                                                    <ul class="als-wrapper">
                                                    <?
														$sql_help="SELECT * FROM escort_help";
														$res_help=execute_query($sql_help);
														while($row_help=mysql_fetch_array($res_help))
														{
													
														?>
                                                          <li class="als-item">
                                                                <h3 class="title"><?=$row_help['question']?></h3>
                                                                <div class="description"><?=stripslashes($row_help['answare'])?></div><br/>
                                                            </li>
                                                            
                                                            
                                                            <? } ?>
                                                                          
                                                      </ul>
                                                </div>
                                    
                                                <div class="links" style="width:220px !important; margin:0 auto;">
                                                	<?
														$Sql_ques="SELECT * FROM escort_help ORDER BY RAND() LIMIT 0,3";
														$res_ques=execute_query($Sql_ques);
														while($row_ques=mysql_fetch_array($res_ques))
														{
														?>
                                                      		<a href="escort-help.php?qid=<?=$row_ques['id']?>"><?=$row_ques['question']?></a><br />
                                                      <? } ?>
                                                                        
                                                   </div>
                                                <div class="moreLink">
                                                    <a href="escort-help.php">All Escort Help</a>
                                                </div>
                                                <br class="spacer" />
                                            </div>
                                        
                                    </div>
                                    
                                    </div>
                                    <script type="text/javascript">
									$(function() {
										$("#escortHelp").als({
											visible_items: 1,
											scrolling_items: 1,
											speed:400,
											orientation: "horizontal",
											circular: "yes",
											autoscroll: "no"
										});
									});
								</script>
        
                           		</div>
                                
                                <?
								$todaydate=date('Y-m-d');
								$sql_advertise="SELECT * FROM advertise_banner Where (expairday>='$todaydate') AND targetcountry='".$_SESSION['countryname']."'";
							    $res_advertise=execute_query($sql_advertise);
								$num_advertise=mysql_num_rows($res_advertise);
								if($num_advertise<=0)
								 {?>
                                <div class="advertisementdiv" style="margin-top:10px;">
        							
                                  
                                    <div style="height:44px;"></div>
                                    <div style="width:155px; margin-left:24px; height:197px;">
                                    	<span class="advertiseText">Advertise</span>
                                        <span class="hereText">Here</span>
                                        <span class="targetText">
                                            Get targeted traffic
                                            <br>
                                            to your website
                                         </span>
                                         <br />
                                         <div class="buttonOuterRed">
                                         	
                                           		<a href="advertise-banner.php"><img src="images/buynow.png" style="padding:4px;" /></a>
											
												
                                         </div>
                                    
                                    </div>
                                     
                           		</div>
                                <? } else { ?>
                                <div class="advertisementdiv222" style="margin-top:10px;">
                                <link rel="stylesheet" href="bjqs.css">								
                                <script src="js/bjqs-1.3.js"></script>
                                	<div style="width:250px; height:250px; margin:0 auto;">

                                     <div id="banner-slide">
                                     <?
									 $ct=0;
									 $todaydate=date('Y-m-d');
                                      $sql_ftescort="SELECT * FROM advertise_banner Where (expairday>='$todaydate')  ORDER BY RAND() LIMIT 0,1";
                                      $res_ftescort=execute_query($sql_ftescort);
                                       ?>
                                 <!-- start Basic Jquery Slider -->
                                      
                                        <?
                                        while($row_ftescort=mysql_fetch_array($res_ftescort))
                                          { 
										  												
                                             ?>
                                            
											
                                               		 <a style="color:#ab0c88;" href="<?=$row_ftescort['website']?>" target="_blank"><img  src="banner/<?=$row_ftescort['bannerimage'] ?>" style="width:250px; height:250px;"></a>
                                               <? }
											                
                                         
                                          ?>
                                            
                                            
        
                                            <!-- end Basic jQuery Slider -->
        
                                    
        
                                          </div>

											<!--<script class="secret-source">
                                                  jQuery(document).ready(function($) {
                                                  $('#banner-slide').bjqs({
                                                  animtype      : 'slide',
                                                  height        : 250,
                                                  width         : 250,
                                                  responsive    : true,
                                                  randomstart   : true
                                                  });
                                               });
                                          </script>-->

                           				</div>
                                              
                                    
                                </div>
                                
                                <? } ?>
                                
                                <!--<div class="rightct_top">
        
                               		<img src="images/banner_header.png" />
        
                           		</div>-->
                                <br/>
                                <div class="rightct_mid">
        							<div style="width:250px; margin:0 auto;">
									
									<? 
									
									$sql_banner="SELECT * FROM banners WHERE gender='Male' ORDER BY RAND() LIMIT 0,1";
									$res_banner=execute_query($sql_banner);
									while($row_banner=mysql_fetch_array($res_banner))
									 {
									
										if($row_banner['banner_image']=="")
										{									
										?>
										
										<a href="<?=$row_ad['website'] ?>" target="_blank"><?=stripslashes($row_banner['text_banner'])?></a>
										<? }else { ?>
                                        <a href="<?=$row_banner['banner_url'] ?>" target="_blank"><img src="ads/<?=$row_banner['banner_image'] ?>" style="width:250px; height:250px;" /></a>

                                        <? } 
									
									 }?>
									</div>
        
                           		</div><!--/*****end right_contain mid*****/-->
        
                       

./BlackJoker Mini Shell 1.0