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/simded.com/wallpaper/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/simded.com/wallpaper/include/class.php
<?php
session_start();
require_once("../../class2/actionClass.php");
require_once("../../class2/view_Class.php");
require_once("../../class2/imageClass.php");
require_once("../../class2/util_Class.php");
require_once("../../class2/user_Class.php");
require_once("../../class2/phone_Class.php");
require_once("../../class2/order_Class.php");

$actiondata_db = new actiondata;
$view_db = new Viewdata;
$image_class = new imageClass;
$util_class = new Util;
$User_db = new User;
$Phone_class = new Phone;
$order_class = new Order;
$upload ='../../redbag/';
$urlimg_main ='../../';

function page_news($page_number,$total_pages,$url,$get)
{
	?>
		<nav aria-label="Page navigation" style="height: 100%;">
		<ul class="pagination">
		<li <?php  if($page_number == 0){?>class="active"<?php }?>><a href="<?php echo $url; ?>?page_number=0<?php echo $get; ?>">1</a></li><?php
		if($total_pages >= 7)
		{
			$n = $page_number-1;
			if($n < 0){$n = 0;}
			?><li><a href="<?php echo $url; ?>?page_number=<?php echo $n ?><?php echo $get; ?>"> << </a></li><?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)
			{
				?><li class="active"><a href="<?php echo $url; ?>?page_number=<?php echo $a?><?php echo $get; ?>" ><?php echo $b; ?></a></li><?php
			}
			else
			{
				?><li><a href="<?php echo $url; ?>?page_number=<?php echo $a?><?php echo $get; ?>" ><?php echo $b; ?></a></li><?php
			}
		}
		if($total_pages >= 7)
		{
			$p = $page_number+1;
			if($p >= $total_pages){$p = $total_pages;}
			?><li><a href="<?php echo $url; ?>?page_number=<?php echo $p ?><?php echo $get; ?>"> >> </a></li><?php
		}
		if($total_pages > 0)
		{
			?><li <?php  if($page_number == $total_pages){?>class="active"<?php }?>>
			<a href="<?php echo $url; ?>?page_number=<?php echo $total_pages ?><?php echo $get; ?>"><?php echo  $total_pages+1 ?></a></li><?php
		}
		?>
		</ul>
	</nav>
	<?php
}



?>
<?php function page_news2($page_number,$total_pages)
{
	?>
	<div class="btn-toolbar" 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-warning-sim rounded-pill  me-1  <?php if($page_number == 0){?>active-warning-sim<?php }?>"
				onclick="window.location.href='<?php echo $url; ?>?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-warning-sim rounded-pill  me-1 "
			onclick="window.location.href='<?php echo $url; ?>?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-warning-sim rounded-pill  me-1 <?php if($page_number == $a){?>active-warning-sim<?php }?>"
			onclick="window.location.href='<?php echo $url; ?>?page_number=<?php echo $a?><?php echo $get; ?>'"><?php echo $b; ?></button>
			<?php
			}else{
			?>
			<button type="button" class="btn btn-warning-sim rounded-pill  me-1 "
			onclick="window.location.href='<?php echo $url; ?>?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-warning-sim rounded-pill  me-1  "
			onclick="window.location.href='<?php echo $url; ?>?page_number=<?php echo $p ?><?php echo $get; ?>'"> > </button>
			<?php
				}if($total_pages > 0){
			?>
			<button type="button" class="btn btn-warning-sim rounded-pill  me-1  <?php  if($page_number == $total_pages){?>active-warning-sim<?php }?>"
				onclick="window.location.href='<?php echo $url; ?>?page_number=<?php echo $total_pages ?><?php echo $get; ?>'">
				<?php echo  $total_pages+1 ?></button>
			<?php	}	?>

		</div>
	</div>


	<?php
}

Anon7 - 2022
AnonSec Team