OXIESEC PANEL
- Current Dir:
/
/
home
/
u432548786
/
domains
/
it-tas.com
/
public_html
/
includes
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/13/2025 03:36:42 PM
rwxr-xr-x
📄
best-product.php
13.53 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
brands.php
726 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
css.php
1.63 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
db_config.php
215 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
delete_cart.php
298 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
feature-product.php
2.03 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
footer.php
4.6 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
header.php
17.88 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
js.php
1.23 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
orderwhatsapp.php
448 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
slider.php
483 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
Editing: header.php
Close
<h1 class="d-none">TAS Vision</h1> <header class="header"> <div class="header-top"> <div class="container"> <div class="header-left"> <p class="welcome-msg">Welcome to TAS Vision </p> </div> <div class="header-right"> <div class="dropdown"> <a href="#language"><img src="https://www.it-tas.com/img/eng.png" alt="ENG Flag" width="14" height="8" class="dropdown-image" /> Language</a> <div class="dropdown-box"> <a href="#ENG"> <img src="https://www.it-tas.com/img/eng.png" alt="" width="14" height="8" class="dropdown-image" /> English </a> <a href="#FRA"> <img src="https://www.it-tas.com/img/fra.png" alt="" width="14" height="8" class="dropdown-image" /> العربية </a> </div> </div> <span class="divider d-lg-show"></span> <?php if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true) { $user_id=$_SESSION['id']; $sql_usr="select * from user_profile where id='".$user_id."'"; $result_usr = mysqli_query($conn, $sql_usr); $res_usr= mysqli_fetch_array($result_usr); ?> <a href="https://www.it-tas.com/my-profile.php" class="d-lg-show">My Account</a> <span class="delimiter d-lg-show">|</span> <a href="https://www.it-tas.com/logout.php" class="d-lg-show">Logout</a> <?php } else{ ?> <a href="https://www.it-tas.com/login.php" class="d-lg-show login sign-in"><i class="w-icon-account"></i>Sign In</a> <span class="delimiter d-lg-show">|</span> <a href="https://www.it-tas.com/signup.php" class="ml-0 d-lg-show login register">Register</a> <?php } ?> </div> </div> </div> <!-- End of Header Top --> <div class="header-middle"> <div class="container"> <div class="header-left mr-md-4"> <a href="#" class="mobile-menu-toggle w-icon-hamburger" aria-label="menu-toggle"> </a> <a href="https://www.it-tas.com/index.php" class="logo ml-lg-0"> <img src="https://www.it-tas.com/img/logo.png" alt="logo" width="265" height="45" /> </a> <form method="get" action="https://www.it-tas.com/product-search.php" class="header-search hs-expanded hs-round d-none d-md-flex input-wrapper"> <input type="text" class="form-control" name="search" id="search" placeholder="Search in..." required /> <button class="btn btn-search" type="submit"><i class="w-icon-search"></i> </button> </form> </div> <div class="header-right ml-4"> <div class="header-call d-xs-show d-lg-flex align-items-center"> <a href="tel:+966542558786" class="w-icon-call"></a> <div class="call-info d-lg-show"> <h4 class="chat font-weight-normal font-size-md text-normal ls-normal text-light mb-0"> <a href="tel:+966542558786" class="phone-number font-weight-bolder ls-50">+966-542558786</a> </h4> <a href="tel:+966556924028" class="phone-number font-weight-bolder ls-50">+966-556924028</a> </div> </div> <?php if(isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true){ ?> <a class="wishlist label-down link d-xs-show" href="https://www.it-tas.com/wishlist.php"><i class="w-icon-heart"></i><span class="wishlist-label d-lg-show">Wishlist</span></a> <?php }else{ ?> <a class="wishlist label-down link d-xs-show" href="https://www.it-tas.com/login.php"><i class="w-icon-heart"></i><span class="wishlist-label d-lg-show">Wishlist</span></a> <?php } ?> <div class="dropdown cart-dropdown cart-offcanvas mr-0 mr-lg-2"> <div class="cart-overlay"></div> <?php $session=$_SESSION['prd_session_id']; $user_id=$_SESSION['id']; $sql_cart="select count(*) as cart from addto_cart where (session_id='$session' OR user_id='$user_id') and invoice_id='1'"; $result_cart = mysqli_query($conn, $sql_cart); $res_cart= mysqli_fetch_array($result_cart); ?> <a href="https://www.it-tas.com/cart.php" class="label-down link"> <i class="w-icon-cart"> <span class="cart-count"><?= $res_cart['cart']; ?></span> </i> <span class="cart-label">Cart</span> </a> <div class="dropdown-box"> <div class="cart-header"> <span>Shopping Cart</span> <a href="https://www.it-tas.com/cart.php" class="btn-close">Close<i class="w-icon-long-arrow-right"></i></a> </div> <div class="products"> <?php $session=$_SESSION['prd_session_id']; if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true) { $user_id=$_SESSION['id']; }else{ $user_id ="0"; } $sqls_qry="select addto_cart.*,product.prod_img1 from addto_cart join product on addto_cart.prod_id=product.id where (addto_cart.user_id='".$user_id."' OR addto_cart.session_id='".$session_id."') and invoice_id='1'"; $resultss = mysqli_query($conn, $sqls_qry); while($ress_data= mysqli_fetch_assoc($resultss)){ ?> <div class="product product-cart"> <div class="product-detail"> <a href="#" class="product-name"><?= $ress_data['prod_name'];?></a> <div class="price-box"> <span class="product-quantity"><?php echo $ress_data['quantity']; ?></span> <span class="product-price">SAR <?php echo $ress_data['price'];?></span> </div> </div> <figure class="product-media"> <a href="#"> <img src="https://www.it-tas.com/admin/product/<?php echo $ress_data['prod_img1'];?>" alt="product" height="84" width="94" /> </a> </figure> <a href="javascript:delete_carts_by_ID('<?php echo $ress_data['id'] ?>');"><button class="btn btn-link btn-close" aria-label="button"> <i class="fas fa-times"></i> </button></a> </div> <?php } ?> </div> <?php $sql_ttl="select SUM(quantity * price) as ttl from addto_cart where (addto_cart.user_id='".$user_id."' OR addto_cart.session_id='".$session_id."') and addto_cart.invoice_id='1'"; $resu_ttl = mysqli_query($conn, $sql_ttl); $res_ttl= mysqli_fetch_assoc($resu_ttl); ?> <div class="cart-total"> <label>Subtotal:</label> <span class="price">SAR <?= $dis_price=$res_ttl['ttl']; ?></span> </div> <div class="cart-action"> <a href="https://www.it-tas.com/cart.php" class="btn btn-dark btn-outline btn-rounded">View Cart</a> <a href="https://www.it-tas.com/checkout.php" class="btn btn-primary btn-rounded">Checkout</a> </div> </div> </div> </div> </div> </div> <div class="header-bottom sticky-content fix-top sticky-header has-dropdown"> <div class="container"> <div class="inner-wrap"> <div class="header-left"> <div class="dropdown category-dropdown has-border" data-visible="true"> <a href="#" class="category-toggle text-dark" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" data-display="static" title="Browse Categories"> <i class="w-icon-category"></i> <span>Browse Categories</span> </a> <div class="dropdown-box"> <ul class="menu vertical-menu category-menu"> <?php $sql_cat=mysqli_query($conn,"select * from category"); while($res_cat= mysqli_fetch_array($sql_cat)){ $cid=$res_cat['id']; $sql_scat="select * from sub_category where category_id='".$cid."'"; $result_scat = mysqli_query($conn, $sql_scat); $cat_name=$res_cat['cat_name']; $category = strtolower(str_replace(" ", "-", $cat_name)); while($res_scat= mysqli_fetch_array($result_scat)){ $scid=$res_scat['id']; $scat_name=$res_scat['sub_category_name']; $sub_cat = strtolower(str_replace(" ", "-", $scat_name)); ?> <li> <a href="https://www.it-tas.com/<?= "$category/$sub_cat/$sub_cat"; ?>"> <?php echo ucfirst($res_scat['sub_category_name']); ?> </a> <ul class="megamenu"> <li class="brdss"> <h4 class="menu-title">Brands</h4> <hr class="divider"> <ul> <?php $cid=$res_cat['id']; $sql_bn="select manufacturer.* from manufacturer join product on manufacturer.id=product.manufacturer where product.sub_category_id='".$scid."' group by manufacturer.id"; $resultbn=mysqli_query($conn,$sql_bn); while($res_bn= mysqli_fetch_array($resultbn)){ ?> <li><a href="https://www.it-tas.com/product-brand.php?id=<?= $res_bn['id'];?>"><img src="https://www.it-tas.com/admin/img/brand/<?= $res_bn['image']; ?>" style="height:20px"> <?= $res_bn['mname']; ?></a> </li> <?php } ?> </ul> </li> <li class=""> <?php $scat_name=$res_scat['sub_category_name']; $sub_cat = strtolower(str_replace(" ", "-", $scat_name)); $scid=$res_scat['id']; $sql_sscat=mysqli_query($conn,"select * from sub_sub_category where sub_category_id='".$scid."'"); while($result_sscat = mysqli_fetch_array($sql_sscat)){ $sscat_name=$result_sscat['sub_sub_cat_name']; $ssub_cat = strtolower(str_replace(" ", "-", $sscat_name)); ?> <h4 class="menu-title"><?= $result_sscat['sub_sub_cat_name'] ?></h4> <hr class="divider"> <ul><?php $sscid=$result_sscat['id']; $sql_sprd=mysqli_query($conn,"select * from product where sub_sub_cat_id='".$sscid."'"); while($result_ssprd = mysqli_fetch_array($sql_sprd)){ $ssprd_name=$result_ssprd['prod_name']; $ssprd = strtolower(str_replace(" ", "-", $ssprd_name)); ?> <li><a href="https://www.it-tas.com/<?= "$category/$sub_cat/$ssub_cat/$ssprd"; ?>"><?= $result_ssprd['prod_name'] ?></a></li> <?php } ?> </ul> <?php } ?> </li> </ul> </li> <?php } } ?> </ul> </div> </div> <nav class="main-nav"> <ul class="menu active-underline"> <li class=""> <a href="https://www.it-tas.com/index.php">Home</a> </li> <li class=""> <a href="https://www.it-tas.com/about-us.php">About Us</a> </li> <li class=""> <a href="https://www.it-tas.com/brands.php">Brands</a> </li> <li class=""> <a href="https://www.it-tas.com/contact-us.php">Contact Us</a> </li> </ul> </nav> </div> </div> </div> </div> </header> <div class="mobile-menu-wrapper"> <div class="mobile-menu-overlay"></div> <a href="#" class="mobile-menu-close"><i class="close-icon"></i></a> <div class="mobile-menu-container scrollable"> <form action="https://www.it-tas.com/product-search.php" method="get" class="input-wrapper"> <input type="text" class="form-control" name="search" autocomplete="off" placeholder="Search" required /> <button class="btn btn-search" type="submit"> <i class="w-icon-search"></i> </button> </form> <div class="tab"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"> <a href="#main-menu" class="nav-link active">Main Menu</a> </li> <li class="nav-item"> <a href="#categories" class="nav-link">Categories</a> </li> </ul> </div> <div class="tab-content"> <div class="tab-pane active" id="main-menu"> <ul class="mobile-menu"> <li><a href="https://www.it-tas.com/">Home</a></li> <li><a href="https://www.it-tas.com/about-us.php">About Us</a></li> <li><a href="https://www.it-tas.com/brands.php">Brands</a></li> <li><a href="https://www.it-tas.com/contact-us.php">Contact Us</a></li> <?php if(isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true){ $user_id=$_SESSION['id']; ?> <li class=""> <a href="https://www.it-tas.com/my-profile.php">My Acoount</a></li> <li class=""> <a href="https://www.it-tas.com/logout.php">Logout</a> </li> <?php }else{ ?> <li class=""> <a href="https://www.it-tas.com/login.php">Sign In</a></li> <li class=""> <a href="https://www.it-tas.com/signup.php">Register</a> </li> <?php } ?> </ul> </div> <div class="tab-pane" id="categories"> <ul class="mobile-menu"> <?php $sql_cats=mysqli_query($conn,"select * from category"); while($res_cats= mysqli_fetch_array($sql_cats)){ $cids=$res_cats['id']; $sql_scats="select * from sub_category where category_id='".$cids."'"; $result_scats = mysqli_query($conn, $sql_scats); $cats_name=$res_cats['cat_name']; $categorys = strtolower(str_replace(" ", "-", $cats_name)); while($res_scats= mysqli_fetch_array($result_scats)){ $scid=$res_scats['id']; $scat_name=$res_scats['sub_category_name']; $sub_cats = strtolower(str_replace(" ", "-", $scat_name)); ?> <li> <a href="https://www.it-tas.com/<?= "$categorys/$sub_cats/$sub_cats"; ?>"><?php echo ucfirst($res_scats['sub_category_name']); ?> </a> </li><?php } } ?> </ul> </div> </div> </div> </div> <script type="text/javascript"> function delete_carts_by_ID(id) { if (confirm('Do You Want to Deleting This \nContinue anyway?')) { window.location.href = 'https://www.it-tas.com/delete_cart.php?id=' + id; } } </script>