OXIESEC PANEL
- Current Dir:
/
/
home
/
u432548786
/
domains
/
it-tas.com
/
public_html
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
07/14/2019 08:26:14 AM
rwxr-xr-x
📄
.htaccess
297 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
PHPMailer
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
about-us.php
1.9 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
add-sell-product.php
18.32 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
admin
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
ajax_city.php
3.33 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
ajax_get_subsub_cat.php
1.35 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
ajax_prd_get_price.php
438 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
ajax_prd_price.php
411 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
android-invoice.php
15.16 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
autosearch.php
1.7 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
book_payment.php
2.41 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
brands.php
2.07 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
cart.php
19.61 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
carts.php
17.97 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
change-password.php
5.66 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
check-login.php
5.66 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
checkout.php
29.95 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
cod_email_send.php
8.62 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
config.php
534 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
constant.php
120 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
contact-insert.php
1.96 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
contact-us.php
9.07 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
create.php
1 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
css
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
db_config.php
215 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
dddd.php
19.43 KB
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-
📄
delete_carts.php
302 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
delete_chcart.php
302 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
delete_wishlist.php
305 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
document
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
edit-address.php
10.29 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
edit-profile.php
7.99 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
fonts
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
forgot-password.php
6.87 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
fpdf
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
free_product.php
7.19 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
google559cbc7861e1a83d.html
53 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
googleapi
135 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
googlebdc637812fd99722.html
53 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
handler.php
5.07 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
hw.php
1.64 KB
08/13/2025 03:36:42 PM
rw-r--r--
📁
images
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📁
img
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📁
includes
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
index.php
3.66 KB
05/19/2025 03:00:38 AM
rw-r--r--
📄
insert_tocart.php
1.19 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
insert_towishlist.php
1.13 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
invoice-pdf.php
3.72 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
invoice.php
14.41 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
item-search.php
20.74 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
item.php
5.15 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
js
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
login-check.php
2.02 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
login.php
9.44 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
logout.php
162 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
mad.php
5.96 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
manage-address.php
7.16 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
menu.min.css
431.11 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
my-coins.php
5.49 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
my-order-details.php
8.64 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
my-order.php
7.96 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
my-profile.php
6.79 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
neeee
-
07/14/2025 01:18:55 PM
rwxr-xr-x
📄
new-address.php
5.94 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
offline-payment.php
10.52 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
opayment.php
14.07 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
pay
12.41 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
paymail_android.php
5.65 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
payment.php
11.42 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
payment_offline.php
5.75 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
pdf-invoice
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
preowned_product.php
7.17 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
privacy-policy.php
1.95 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
product-brand.php
17.65 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
product-detail.php
20.05 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
product-detail2.php
20.75 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
product-search.php
17.98 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
product.php
21.18 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
products
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📁
razorpay-php
-
01/20/2024 07:33:04 AM
rwxr-xr-x
📄
referral-code.php
4.1 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
reg_validation.php
971 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
return-order.php
7 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
return-refund-policy.php
1.88 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
robots.txt
72 bytes
04/18/2025 06:55:08 AM
rw-r--r--
📄
sell-product.php
6.9 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
shipping-policy.php
1.87 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
shop-item.php
7.44 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
signup-insert.php
5.85 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
signup.php
14.25 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
stripe-payment.php
8.13 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
style.css
49.03 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
terms-conditions.php
1.88 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
thank-you.php
1.57 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
upd_cart.php
258 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
update_qty.php
319 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
update_qtys.php
627 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
uploads
-
01/20/2024 07:33:04 AM
rwxr-xr-x
📄
verify-strip.php
4.41 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
verify.php
9.39 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
web.config
221 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
wish_tocart.php
1.49 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
wishlist.php
8.96 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
Editing: product-detail.php
Close
<?php include("db_config.php"); if(isset($_POST['addto_cart'])){ extract($_POST); date_default_timezone_set('Asia/Kolkata'); $date = date('Y-m-d H:i:s'); $prod_id= $_POST['prod_id']; $prd_name= $_POST['prd_name']; $sql_qrr="select * from product where id='".$prod_id."'"; $res_qrr = mysqli_query($conn, $sql_qrr); $data_qrr= mysqli_fetch_array($res_qrr); $sql1="select * from product_detail where prod_id='$prod_idd'"; $res1 = mysqli_query($conn, $sql1); $data= mysqli_fetch_array($res1); $price=$data['prod_price']; $prd_details=$data['id']; $quantity=$_POST['quantity']; $session=$_SESSION['prd_session_id']; if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true) { $user_id=$_SESSION['id']; }else{ $user_id =""; } $sql="INSERT into addto_cart(prod_details_id,prod_id,session_id,user_id,prod_name,quantity,price,created_date) values ('$prd_details','$prod_id','$session','$user_id','$prd_name','$quantity','$price','$date')"; if(mysqli_query($conn, $sql)) { unset($_SESSION['Prd_price']); header("location:https://www.it-tas.com/cart.php"); } } if(isset($_POST['prd_enq'])){ extract($_POST); date_default_timezone_set('Asia/Kolkata'); $date = date('Y-m-d H:i:s'); $ip=$_SERVER['REMOTE_ADDR']; $page_name = str_replace(".php", "", basename($_SERVER['PHP_SELF'])); $Current_URL = basename(dirname(__FILE__)); $findid = (mysqli_query($conn, "SELECT * FROM product")); while ($res2=mysqli_fetch_array($findid)) { if(strtolower(str_replace(" ", "-", $res2["prod_name"])) == $page_name){ $pid = $res2["id"]; } } $pid=$pid; $sql="INSERT into user_faq(pid,name,email_id,topic,msg) values ('$pid','$name','$email_id','$topic','$message')"; $result = mysqli_query($conn, $sql); if($result){ echo '<script>alert("Thank You! We Will Get Back To You.")</script>'; } } ?> <!DOCTYPE html> <html lang="en"> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=" "> <meta name="author" content=""> <meta name="google-site-verification" content="" /> <title>TAS Vision</title> <?php include("css.php");?> <style type="">.ingst{font-size:15px!important;color:#636161!important;font-weight:500!important;padding-left:3px;text-transform:capitalize;}.phname{padding-right:2px!important;padding-left:1px!important;}.phname strong{font-size:13.8px;}.adcrtbtn{border:0px !important;background-color:#336699!important;color:#fff !important;padding:0.5rem !important;font-size:13px!important;border-radius:4px;}.adcrtbtn:hover{background-color:#026e3a!important;}span.discounted-prize{font-size: 25px!important;}</style> <body> <?php $page_name = str_replace(".php", "", basename($_SERVER['PHP_SELF'])); $Current_URL = basename(dirname(__FILE__)); $findid = (mysqli_query($conn, "SELECT * FROM product")); while ($res2=mysqli_fetch_array($findid)) { if(strtolower(str_replace(" ", "-", $res2["prod_name"])) == $page_name){ $pid = $res2["id"]; } } ?> <?php include("header.php");?> <?php $pid=$pid; $sql_prd=mysqli_query($conn,"select sub_category.sub_category_name,category.cat_name,sub_sub_category.sub_sub_cat_name,product.* from product join category on product.category_id=category.id join sub_category on product.sub_category_id=sub_category.id join sub_sub_category on product.sub_sub_cat_id=sub_sub_category.id where product.id='".$pid."'"); $res_prds= mysqli_fetch_array($sql_prd); $prd_id=$res_prds['id']; $sql_pd="SELECT * from product_detail where prod_id='$prd_id'"; $exe_pd=mysqli_query($conn,$sql_pd); $res_pd=mysqli_fetch_array($exe_pd); $cat_name=$res_prds['cat_name']; $scat_name=$res_prds['sub_category_name']; $sub_sub_cat_name=$res_prds['sub_sub_cat_name']; $prod_name=$res_prds['prod_name']; $category = strtolower(str_replace(" ", "-", $cat_name)); $sub_category = strtolower(str_replace(" ", "-", $scat_name)); $ssub_category = strtolower(str_replace(" ", "-", $sub_sub_cat_name)); $product_name = strtolower(str_replace(" ", "-", $prod_name));?> <section class="page-info section-padding border-bottom topthumb"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <a href="https://www.it-tas.com/index.php"> <span class="mdi mdi-home"></span> Home</a> <span class="mdi mdi-chevron-right"></span> <a href="https://www.it-tas.com/"><?= $sub_sub_cat_name;?></a> <span class="mdi mdi-chevron-right"></span> <a href="#"><?= $res_prds['product_name']; ?></a> </div> </div> </div> </section> <section class="shop-single section-padding pt-3"> <div class="container"> <form method="post" action=""> <div class="row anajghar-productdetail"> <div class="col-md-5"> <div class="shop-detail-left"> <div class="shop-detail-slider"> <div class="favourite-icon"> </div> <div id="sync1" class="owl-carousel"> <div class="item"><img alt="<?= $res_prds['product_name']; ?>" title="<?= $res_prds['product_name']; ?>" src="https://www.it-tas.com/admin/product/<?= $res_prds['prod_img1'];?>" class="img-fluid img-center"></div> <?php $extension2 = end(explode(".", $res_prds["prod_img2"])); if(!empty($extension2)){ ?> <div class="item"><img alt="<?= $res_prds['product_name']; ?>" title="<?= $res_prds['product_name']; ?>" src="https://www.it-tas.com/admin/product/<?= $res_prds['prod_img2'];?>" class="img-fluid img-center"></div> <?php } $extension3 = end(explode(".", $res_prd["prod_img3"])); if(!empty($extension3)){ ?> <div class="item"><img alt="<?= $res_prds['product_name']; ?>" title="<?= $res_prds['product_name']; ?>" src="https://www.it-tas.com/admin/product/<?= $res_prds['prod_img3'];?>" class="img-fluid img-center"></div> <?php } $extension4 = end(explode(".", $res_prd["prod_img4"])); if(!empty($extension4)){ ?> <div class="item"><img alt="<?= $res_prds['product_name']; ?>" title="<?= $res_prds['product_name']; ?>" src="https://www.it-tas.com/admin/product/<?= $res_prds['prod_img4'];?>" class="img-fluid img-center"></div> <?php } $extension5 = end(explode(".", $res_prd["prod_img5"])); if(!empty($extension5)){ ?> <div class="item"><img alt="<?= $res_prds['product_name']; ?>" title="<?= $res_prds['product_name']; ?>" src="https://www.it-tas.com/admin/product/<?= $res_prds['prod_img5'];?>" class="img-fluid img-center"></div><?php } ?> </div> <div id="sync2" class="owl-carousel"> <div class="item"><img alt="<?= $res_prds['product_name']; ?>" title="<?= $res_prds['product_name']; ?>" src="https://www.it-tas.com/admin/product/<?= $res_prds['prod_img1'];?>" class="img-fluid img-center"></div> <?php $extension2 = end(explode(".", $res_prds["prod_img2"])); if(!empty($extension2)){ ?> <div class="item"><img alt="<?= $res_prds['product_name']; ?>" title="<?= $res_prds['product_name']; ?>" src="https://www.it-tas.com/admin/product/<?= $res_prds['prod_img2'];?>" class="img-fluid img-center"></div> <?php } $extension3 = end(explode(".", $res_prd["prod_img3"])); if(!empty($extension3)){ ?> <div class="item"><img alt="<?= $res_prds['product_name']; ?>" title="<?= $res_prds['product_name']; ?>" src="https://www.it-tas.com/admin/product/<?= $res_prds['prod_img3'];?>" class="img-fluid img-center"></div> <?php } $extension4 = end(explode(".", $res_prd["prod_img4"])); if(!empty($extension4)){ ?> <div class="item"><img alt="<?= $res_prds['product_name']; ?>" title="<?= $res_prds['product_name']; ?>" src="https://www.it-tas.com/admin/product/<?= $res_prds['prod_img4'];?>" class="img-fluid img-center"></div> <?php } $extension5 = end(explode(".", $res_prd["prod_img5"])); if(!empty($extension5)){ ?> <div class="item"><img alt="<?= $res_prds['product_name']; ?>" title="<?= $res_prds['product_name']; ?>" src="https://www.it-tas.com/admin/product/<?= $res_prds['prod_img5'];?>" class="img-fluid img-center"></div><?php } ?> </div> </div> </div> </div> <div class="col-md-7"> <div class="shop-detail-right"> <div class="product-header"> <h2 class="spprodnames text-left"><?= $res_prds['product_name']; ?></h2> <div class="col-md-12 prod_cross_price-prize pl-0 text-left"> <span class="discounted-prize"> <?php if($res_pd['prod_price'] != ""){ ?> SAR <span id="divShowHide1"><?= $res_pd['prod_price']; ?></span><span id="prod_price"></span><?php } ?></span> </div> </div> <input name="prod_id" id="prod_id" value="<?php echo $res_prds['id']; ?>" class="prd_id" type="hidden"> <input name="prd_name" id="name" class="name" value="<?php echo $res_prds['product_name']; ?>" type="hidden"> <input type="hidden" id="prod_idd" name="prod_idd" value="<?php echo $res_pd['id']; ?>"> <div class="clearfix"></div> <div class="col-md-12"> <div class="row text-black"> <div class="col-md-3 col-5 phname"><strong>• Model Number :</strong></div> <div class="col-md-9 col-7"> <?= $res_prds['model_no']; ?></div> <div class="clearfix"></div> <div class="col-md-3 col-5 phname"><strong>• Condition :</strong></div> <div class="col-md-9 col-7"> <?= $res_prds['conditions']; ?></div> <div class="col-md-3 col-5 phname"><strong>• Warranty :</strong></div> <div class="col-md-9 col-7"><?= $res_prds['warranty']; ?></div> <div class="clearfix"></div> <div class="col-md-3 col-5 phname"><strong>• Stock :</strong></div> <div class="col-md-9 col-7"><?php if($res_prds['status'] == "Available"){ ?> <span class="badge badge-success">In Stock -<?= $res_pd['total_no_prod_quantity'];?></span><?php } else if($res_prds['status'] == "Out_Of_Stock") { ?><span class="badge badge-success">Out Of Stock </span> <?php }else{ ?> <span class="badge badge-dengar">In Stock -<?= $res_pd['total_no_prod_quantity'];?></span><?php } ?> </div> <div class="clearfix"></div> <div class="col-md-3 col-5 phname"><strong>• Est. Shipping :</strong></div> <div class="col-md-9 col-7 text-capitalize"><?= $res_prds['shipping_estimate']; ?></div><?php if($res_prds['ean'] != ""){ ?> <div class="clearfix"></div> <div class="col-md-3 col-5 phname"><strong>• EAN :</strong></div> <div class="col-md-9 col-7"><?= $res_prds['ean']; ?></div><?php } if($res_prds['xsin'] != ""){ ?> <div class="clearfix"></div> <div class="col-md-3 col-5 phname"><strong>• XSIN :</strong></div> <div class="col-md-9 col-7"><?= $res_prds['xsin']; ?></div> <?php } ?> <div class="clearfix"></div> </div> <div class="row"> <div class="col-md-4 product-add-to-cart-btn mt-10 qty prdqty" width="10%"> <div class="quantity" style="padding-top: 1px; width:150px; height:40px;"> <input type="button" class="dec button quantity-left-minus" value="-" style="border:none;padding:5px;width:40px;font-size: 40px;background-color:#b6deef;color:#000;float:left;line-height:30px;height:40px;text-align:center"> <input type="text" name="quantity" value="1" maxlength="2" max="10" size="1" id="quantity" class="qtts" data-qty="<?= $res_pd['total_no_prod_quantity']; ?>" style="border:1px solid #ccc;font-size: 15px;width:60px;padding:13px 13px 14px 13px;height: 40px;background-color: #ebf9fe;float:left"> <input type="button" class="inc button quantity-right-plus" style="border:none;padding:5px;width:40px;font-size: 35px;background-color:#b6deef;color:#000;float:left;line-height:30px;height:40px;text-align:center" value="+"> </div> </div> <?php if($res_pd['prod_price'] != ""){ ?> <div class="col-md-3 product_details_box product-add-to-cart-btn mt-10"> <button type="submit" name="addto_cart" id="cartsave" class="adcrtbtn"><i class="mdi mdi-cart-outline" aria-hidden="true"></i> Add To Cart</button></div><?php }else{ ?> <div class="col-md-3 product_details_box product-add-to-cart-btn mt-10"><a href="https://www.it-tas.com/carts.php" class="adcrtbtn"><button type="button" style="border:0px;background-color:transparent;color: #fff;font-size: 15px;line-height: 26px;"><i class="mdi mdi-cart-outline" aria-hidden="true"></i> Ask To Price</button></a> </div><?php } ?> <div class="col-md-3 mt-10 col-6"> <a href="https://www.it-tas.com/login.php"> <button type="button" class="btn btn-secondary btn-md" style="padding:10px 14px 10px 16px;"><i class="mdi mdi-cart-outline"></i> Wishlist</button></a> </div> </div> </div> </div> </div> </div> </form> </div> </section> <section class="shop-single section-padding pb-20" style="padding:20px 0px;"> <div class="container"> <div class="col-xs-12"> <div class="card-body"> <div class="accordion" id="accordionExample"> <div class="card mb-0"> <div class="card-header" id="headingOne"> <h6 class="mb-0"> <a href="#" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> <i class="mdi mdi-arrow-all"></i> Product Descriptions / Specification </a> </h6> </div> <div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordionExample"> <div class="card-body text-black text-justify"> <?= html_entity_decode($res_prds['prod_desp']); ?><br/> <?= html_entity_decode($res_prds['features']); ?> </div> </div> </div> </div> </div> </div> </div> </section> <?php include("footer.php");?> <?php include("js.php");?> <script type="text/javascript"> $(document).ready(function() { $('.product-variant-btn-active').click(function() { var getid = $(this).val(); if (getid) { $.ajax({ type: 'POST', url: 'https://www.it-tas.com/ajax_prd_get_price.php', data: 'getid=' + getid, dataType: 'JSON', success: function(data) { $('#prod_idd').text(data.id); $('#prod_price').text(data.prod_price); $('#prod_price1').text(data.prod_price); $('#prod_cross').text(data.prod_cross_price); $('#prod_discount').text(data.prod_discount); console.log(data); } }); } }); }); $(function() { $('body').on('click', '#btnShowHide', function() { var getid = $(this).val(); if (this.value == '0') { $("#divShowHide").show(); $("#divShowHide1").show(); } else { $("#divShowHide").hide(); $("#divShowHide1").hide(); } }); }); $(function() { $('body').on('click', '.add_to_wishlist', function() { var $container = $(this).closest(".container"); var product_name = $container.find("#name").val(); var prod_id = $container.find("#prod_id").val(); var prod_idd = $container.find("#prod_idd").val(); var action = "add"; $.ajax({ url: "https://www.it-tas.com/insert_towishlist.php", method: "POST", data: { prd_name: product_name, prod_id: prod_id, prod_quanttity: prod_idd, action: action }, success: function(dataResult) { console.log(dataResult); var dataResult = JSON.parse(dataResult); if (dataResult.statusCode == 200) { alert("added successfully !"); } else if (dataResult.statusCode == 201) { //alert("Error occured !"); } } }); }); }); $(document).ready(function() { var quantitiy = 1; $('.quantity-right-plus').click(function(e) { // Stop acting like a button e.preventDefault(); // Get the field name var quantity = parseInt($('#quantity').val()); var tqty = $('.prdqty').find('.qtts').data('qty'); // If is not undefined if (quantity < tqty) { $('#quantity').val(quantity + 1); } }); $('.quantity-left-minus').click(function(e) { // Stop acting like a button e.preventDefault(); // Get the field name var quantity = parseInt($('#quantity').val()); // If is not undefined // Increment if (quantity > 1) { $('#quantity').val(quantity - 1); } }); }); </script> </body> </html>