repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/issue.php
deliveryBoy/issue.php
<?php require("require/top.php"); $did = $_SESSION['DELIVERY_ID']; $res = mysqli_query($con, "select orders.o_id,orders.id,order_time.added_on from orders,order_time where orders.delivered_by='$did' and order_time.oid=orders.id and order_time.o_status=orders.order_status and orders.order_status='7'"); ?> <div class="path"> <div class="container"> <a href="index.php">Home</a> / <a href="delivery_confirmation.php">Delivery confirmations</a> </div> </div> <div class="cartrow" id="catrow"> <div class="gh"> <div class="heading"> <h3>Delivery Issue</h3> </div> <div class="maincontainer"> <table class="wishlist"> <thead> <th>#</th> <th>Id</th> <th>Time</th> <th>Status</th> <th>Confirmed</th> </thead> <tbody> <?php $i = 1; while ($rw = mysqli_fetch_assoc($res)) { ?> <tr> <td><?php echo $i; $i++; ?></td> <td><?php echo $rw['o_id']; ?></td> <td><?php echo $rw['added_on']; ?></td> <td> <span class="badge green"> Delivered</span> </td> <td> <span class="badge orange"> No </span> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <?php require("require/foot.php"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/undelivered.php
deliveryBoy/undelivered.php
<?php require("require/top.php"); $did = $_SESSION['DELIVERY_ID']; $res = mysqli_query($con, "select orders.o_id,orders.id,order_time.added_on from orders,order_time where orders.delivered_by='$did' and order_time.oid=orders.id and order_time.o_status=orders.order_status and orders.order_status='6'"); ?> <div class="path"> <div class="container"> <a href="index.php">Home</a> / <a href="delivery_confirmation.php">Delivery confirmations</a> </div> </div> <div class="cartrow" id="catrow"> <div class="gh"> <div class="heading"> <h3>Delivery confirmation</h3> </div> <div class="maincontainer"> <table class="wishlist"> <thead> <th>#</th> <th>Id</th> <th>Time</th> <th>Status</th> <th>Confirmed</th> </thead> <tbody> <?php $i = 1; while ($rw = mysqli_fetch_assoc($res)) { $did = $_SESSION['DELIVERY_ID']; $oid = $rw['id']; $query = "select * from cnfrm_undelivery where od_id='$oid' and dv_id='$did'"; $rs = mysqli_query($con, $query); if (mysqli_num_rows($rs) == 0) { ?> <tr> <td><?php echo $i; $i++; ?></td> <td><?php echo $rw['o_id']; ?></td> <td><?php echo $rw['added_on']; ?></td> <td> <span class="badge green"> undelivered</span> </td> <td> <span class="badge green"> Yes </span> </td> </tr> <?php } } ?> </tbody> </table> </div> </div> </div> <?php require("require/foot.php"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/delivered.php
deliveryBoy/delivered.php
<?php require("require/top.php"); $did = $_SESSION['DELIVERY_ID']; $res = mysqli_query($con, "select orders.o_id,orders.id,order_time.added_on from orders,order_time where orders.delivered_by='$did' and order_time.oid=orders.id and order_time.o_status=orders.order_status and orders.order_status='5'"); ?> <div class="path"> <div class="container"> <a href="index.php">Home</a> / <a href="delivery_confirmation.php">Delivery confirmations</a> </div> </div> <div class="cartrow" id="catrow"> <div class="gh"> <div class="heading"> <h3>Delivered</h3> </div> <div class="maincontainer"> <table class="wishlist"> <thead> <th>#</th> <th>Id</th> <th>Time</th> <th>Status</th> <th>Confirmed</th> <th>Action</th> </thead> <tbody> <?php $i = 1; while ($rw = mysqli_fetch_assoc($res)) { $did = $_SESSION['DELIVERY_ID']; $oid = $rw['id']; $query = "select * from cnfrm_delivery where od_id='$oid' and dv_id='$did'"; $rs = mysqli_query($con, $query); if (mysqli_num_rows($rs) == 0) { ?> <tr> <td><?php echo $i; $i++; ?></td> <td><?php echo $rw['o_id']; ?></td> <td><?php echo $rw['added_on']; ?></td> <td> <span class="badge green"> Delivered</span> </td> <td> <span class="badge green"> Yes </span> </td> <td> <div class="acn"> <a href="order-detail.php?id=<?php echo $rw['id'] ?>" class="view"> <i class="uil uil-eye"></i> </a> </div> </td> </tr> <?php } } ?> </tbody> </table> </div> </div> </div> <?php require("require/foot.php"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/delivery_confirmation.php
deliveryBoy/delivery_confirmation.php
<?php require("require/top.php"); $did = $_SESSION['DELIVERY_ID']; $res = mysqli_query($con, "select cnfrm_delivery.od_id,orders.o_id,orders.id,order_time.added_on from cnfrm_delivery,orders,order_time where cnfrm_delivery.dv_id='$did' and cnfrm_delivery.od_id=orders.id and order_time.oid=orders.id and order_time.o_status=orders.order_status"); ?> <div class="path"> <div class="container"> <a href="index.php">Home</a> / <a href="delivery_confirmation.php">Delivery confirmations</a> </div> </div> <div class="cartrow" id="catrow"> <div class="gh"> <div class="heading"> <h3>Delivery confirmation</h3> </div> <div class="maincontainer"> <table class="wishlist"> <thead> <th>#</th> <th>Id</th> <th>Time</th> <th>Status</th> <th>Confirmed</th> <th>Action</th> </thead> <tbody> <?php $i = 1; while ($rw = mysqli_fetch_assoc($res)) { ?> <tr> <td><?php echo $i; $i++; ?></td> <td><?php echo $rw['o_id']; ?></td> <td><?php echo $rw['added_on']; ?></td> <td> <span class="badge green"> Delivered</span> </td> <td> <span class="badge orange"> No </span> </td> <td> <div class="acn"> <a href="order-detail.php?id=<?php echo $rw['id'] ?>" class="view"> <i class="uil uil-eye"></i> </a> </div> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <?php require("require/foot.php"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/outfordelivery.php
deliveryBoy/outfordelivery.php
<?php require("require/top.php"); $did = $_SESSION['DELIVERY_ID']; $res = mysqli_query($con, "select ofd.od_id,orders.o_id,orders.id,order_time.added_on from ofd,orders,order_time where ofd.dv_id='$did' and ofd.od_id=orders.id and order_time.oid=orders.id and order_time.o_status=orders.order_status"); ?> <div class="path"> <div class="container"> <a href="index.php">Home</a> / <a href="outfordelivery.php">Out for Delivery</a> </div> </div> <div class="cartrow" id="catrow"> <div class="gh"> <div class="heading"> <h3>Out for Delivery</h3> </div> <div class="maincontainer"> <table class="wishlist"> <thead> <th>#</th> <th>Id</th> <th>Time</th> <th>Status</th> <th>Action</th> </thead> <tbody> <?php $i = 1; while ($rw = mysqli_fetch_assoc($res)) { ?> <tr> <td><?php echo $i; $i++; ?></td> <td><?php echo $rw['o_id']; ?></td> <td><?php echo $rw['added_on']; ?></td> <td> <span class="badge green"> Out for Delivery </span> </td> <td> <div class="acn"> <a href="order-detail.php?id=<?php echo $rw['id'] ?>" class="view"> <i class="uil uil-eye"></i> </a> </div> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <?php require("require/foot.php"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/assets/backend/auth/logout.php
deliveryBoy/assets/backend/auth/logout.php
<?php require('../../../../utility/utility.php'); $result=array(); unset($_SESSION['DELIVERY_LOGIN']); unset($_SESSION['DELIVERY_ID']); $result['status']=1; echo json_encode($result); die(); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/assets/backend/auth/validate.php
deliveryBoy/assets/backend/auth/validate.php
<?php require('../../../../utility/utility.php'); $username=get_safe_value($con,$_POST['username']); $password=get_safe_value($con,$_POST['password']); $q="select * from delivery_boy where dv_email='$username'"; $q2="select * from delivery_boy where dv_mobile='$username'"; $q3="select * from delivery_boy where dv_username='$username'"; $rs=mysqli_query($con,$q); $rs2=mysqli_query($con,$q2); $rs3=mysqli_query($con,$q3); $nor=mysqli_num_rows($rs); $nor2=mysqli_num_rows($rs2); $nor3=mysqli_num_rows($rs3); $result=array(); if ($password == "") { $result['status']=0; $result['msg']="Enter Password"; } else if ($username == "") { $result['status']=0; $result['msg']="Enter Username"; }else if($nor==0 && $nor2==0 && $nor3==0){ $result['status']=0; $result['msg']="Invalid Credentials"; }else{ if($nor>0){ $rs=$rs; }else if($nor2>0){ $rs=$rs2; }else{ $rs=$rs3; } $row=mysqli_fetch_assoc($rs); $dps=$row['dv_password']; $verify = password_verify($password, $dps); if ($verify) { $_SESSION['DELIVERY_LOGIN']="YES"; $_SESSION['DELIVERY_ID']=$row['id']; $result['status']=1; $result['msg']="Login Successfull"; } else { $result['status']=2; $result['msg']="Something Went Wrong"; } } echo json_encode($result); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/assets/backend/delivery/final.php
deliveryBoy/assets/backend/delivery/final.php
<?php require('../../../../utility/utility.php'); $oid=get_safe_value($con,$_POST['oid']); $pid=get_safe_value($con,$_POST['pid']); $qty=get_safe_value($con,$_POST['qty']); mysqli_query($con,"update order_detail set delivered_qty='$qty' where oid='$oid' and p_id='$pid'"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/assets/backend/delivery/out.php
deliveryBoy/assets/backend/delivery/out.php
<?php require('../../../../utility/utility.php'); $oid=get_safe_value($con,$_POST['oid']); $did=$_SESSION['DELIVERY_ID']; mysqli_query($con,"delete from assigned_orders where od_id='$oid' and dv_id='$did'"); mysqli_query($con,"insert into ofd(od_id,dv_id) values('$oid','$did')"); mysqli_query($con,"update orders set order_status='4' where id='$oid'"); mysqli_query($con,"insert into order_time(oid,o_status) values('$oid','4')"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/assets/backend/delivery/handover.php
deliveryBoy/assets/backend/delivery/handover.php
<?php require('../../../../utility/utility.php'); $oid=get_safe_value($con,$_POST['oid']); $pid=get_safe_value($con,$_POST['pid']); mysqli_query($con,"update order_detail set rcvd='1' where oid='$oid' and p_id='$pid'"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/assets/backend/delivery/undelivered.php
deliveryBoy/assets/backend/delivery/undelivered.php
<?php require('../../../../utility/utility.php'); $oid=get_safe_value($con,$_POST['oid']); $did=$_SESSION['DELIVERY_ID']; mysqli_query($con,"delete from ofd where od_id='$oid' and dv_id='$did'"); mysqli_query($con,"insert into cnfrm_undelivery(od_id,dv_id) values('$oid','$did')"); mysqli_query($con,"update orders set order_status='6',delivered_by='$did' where id='$oid'"); mysqli_query($con,"insert into order_time(oid,o_status) values('$oid','6')"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/assets/backend/delivery/delivered.php
deliveryBoy/assets/backend/delivery/delivered.php
<?php require('../../../../utility/utility.php'); $oid=get_safe_value($con,$_POST['oid']); $did=$_SESSION['DELIVERY_ID']; mysqli_query($con,"delete from ofd where od_id='$oid' and dv_id='$did'"); mysqli_query($con,"insert into cnfrm_delivery(od_id,dv_id) values('$oid','$did')"); mysqli_query($con,"update orders set order_status='5',delivered_by='$did' where id='$oid'"); mysqli_query($con,"insert into order_time(oid,o_status) values('$oid','5')"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/require/head.php
deliveryBoy/require/head.php
<div class="head"> <div class="ham-name"> <div class="mnu vy" onclick="hide()" id="mn"> <span></span> <span></span> <span></span> </div> <div class="mnu ty" onclick="op_n()" id="mn"> <span></span> <span></span> <span></span> </div> <div class="nm">Dashbord</div> </div> <div class="profile"> <a href="javascript:void(0)"> <img src="assets/images/pic1.jpg" alt="" /> </a> <div class="name"> <span>jhon</span> <small>Delivery</small> </div> <div class="hover-bot"> <ul> <li> <a href="javascript:void(0)" onclick="logout()"> <i class="uil uil-sign-out-alt"></i> <span>Logout</span> </a> </li> <li style="opacity:0"> <a href=""> <i class="uil uil-user"></i> <span>Profile</span> </a> </li> </ul> </div> </div> </div>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/require/top.php
deliveryBoy/require/top.php
<?php require("../utility/utility.php"); authorise_delivery($con); ?> <!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.0" /> <title>Document</title> <link rel="stylesheet" href="assets/css/style.css" /> <script src="assets/js/jquery.js"></script> <script src="assets/js/sweetalert.js"></script> <link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css" /> </head> <body> <section class="main"> <?php require("nav.php"); ?> <div class="right-part"> <?php require("head.php"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/require/foot.php
deliveryBoy/require/foot.php
</div> </section> <script src="assets/js/script.js"></script> </body> </html>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/require/nav.php
deliveryBoy/require/nav.php
<div class="left-part" id="lft"> <div class="logo"> <a href="javascript:void(0)"> <img src="../assets/images/logo.png" alt="logo" /> </a> <svg viewBox="0 0 339.4 75.201" xmlns="http://www.w3.org/2000/svg"> <g id="svgGroup" stroke-linecap="round" fill-rule="evenodd" font-size="19pt" stroke="#000" stroke-width="0.25mm" fill="none" style=" stroke: rgb(255, 255, 255); stroke-width: 0.35mm; fill: #fff; " > <path d="M 18.4 38 L 50.1 68.4 L 43.5 75.2 L 9.5 41.8 L 9.5 74 L 0 74 L 0 4 L 9.5 4 L 9.5 35.9 L 39.3 3.7 L 45.7 9.6 L 18.4 38 Z M 300.1 69.8 L 303.9 62.3 A 17.402 17.402 0 0 0 307.252 64.603 A 23.322 23.322 0 0 0 310.45 66 A 24.791 24.791 0 0 0 317.922 67.383 A 28.367 28.367 0 0 0 318.9 67.4 Q 324.292 67.4 327.135 65.685 A 7.738 7.738 0 0 0 327.35 65.55 Q 330.2 63.7 330.2 60.8 A 7.211 7.211 0 0 0 329.816 58.432 A 6.796 6.796 0 0 0 329.65 58 A 5.377 5.377 0 0 0 328.937 56.803 Q 328.549 56.304 328.019 55.821 A 10.185 10.185 0 0 0 327.65 55.5 A 12.59 12.59 0 0 0 326.415 54.607 Q 325.731 54.169 324.902 53.737 A 27.422 27.422 0 0 0 323.7 53.15 Q 322.02 52.377 319.664 51.492 A 115.589 115.589 0 0 0 317.2 50.6 A 47.106 47.106 0 0 1 312.946 48.945 Q 308.675 47.022 306.2 44.65 A 11.347 11.347 0 0 1 302.969 38.736 A 16.941 16.941 0 0 1 302.6 35.1 Q 302.6 32.1 303.95 29.5 A 13.242 13.242 0 0 1 306.936 25.704 A 15.791 15.791 0 0 1 307.85 24.95 A 17.33 17.33 0 0 1 311.266 22.934 A 22.664 22.664 0 0 1 314.05 21.9 A 24.963 24.963 0 0 1 318.192 21.046 A 34.316 34.316 0 0 1 322.4 20.8 Q 327.052 20.8 330.664 21.674 A 24.48 24.48 0 0 1 331.35 21.85 A 38.541 38.541 0 0 1 335.657 23.291 A 31.513 31.513 0 0 1 338.3 24.5 L 335.8 31.9 Q 333.1 30.3 329.65 29.3 A 25.024 25.024 0 0 0 325.167 28.453 A 31.837 31.837 0 0 0 322 28.3 A 20.632 20.632 0 0 0 319.063 28.495 Q 315.977 28.94 314.1 30.4 A 9.322 9.322 0 0 0 312.742 31.673 Q 312.04 32.492 311.705 33.365 A 4.529 4.529 0 0 0 311.4 35 A 5.568 5.568 0 0 0 311.594 36.488 A 4.93 4.93 0 0 0 311.85 37.2 Q 312.224 38.032 313.117 38.794 A 7.753 7.753 0 0 0 313.5 39.1 Q 314.7 40 316.7 40.9 A 38.11 38.11 0 0 0 318.341 41.589 Q 319.825 42.175 321.7 42.8 Q 325.452 44.102 328.324 45.432 A 45.049 45.049 0 0 1 330 46.25 A 27.212 27.212 0 0 1 332.715 47.841 Q 334.015 48.713 335.041 49.659 A 15.68 15.68 0 0 1 335.5 50.1 A 13.836 13.836 0 0 1 337.438 52.502 A 11.394 11.394 0 0 1 338.5 54.65 A 14.613 14.613 0 0 1 339.294 58.102 A 18.255 18.255 0 0 1 339.4 60.1 A 14.031 14.031 0 0 1 338.871 64.009 A 12.235 12.235 0 0 1 337.9 66.4 Q 336.4 69.2 333.7 71.15 A 17.953 17.953 0 0 1 330.194 73.104 A 23.774 23.774 0 0 1 327.15 74.15 Q 323.3 75.2 318.6 75.2 A 41.103 41.103 0 0 1 313.093 74.848 A 30.514 30.514 0 0 1 307.9 73.7 A 30.72 30.72 0 0 1 304.094 72.215 Q 302.125 71.283 300.544 70.133 A 18.536 18.536 0 0 1 300.1 69.8 Z M 157.7 74 L 157.7 0 L 166.7 0 L 166.7 27.4 A 17.447 17.447 0 0 1 167.671 26.418 Q 168.185 25.936 168.788 25.436 A 29.965 29.965 0 0 1 169.2 25.1 A 19.429 19.429 0 0 1 171.869 23.315 A 22.041 22.041 0 0 1 172.55 22.95 A 18.788 18.788 0 0 1 175.038 21.899 A 23.04 23.04 0 0 1 176.7 21.4 A 18.56 18.56 0 0 1 179.971 20.865 A 22.623 22.623 0 0 1 181.7 20.8 Q 186.2 20.8 190.35 22.6 Q 194.5 24.4 197.65 27.8 A 23.706 23.706 0 0 1 201.246 32.952 A 29.885 29.885 0 0 1 202.7 36.2 Q 204.6 41.2 204.6 47.5 A 33.315 33.315 0 0 1 203.913 54.388 A 27.75 27.75 0 0 1 202.6 58.8 A 30.149 30.149 0 0 1 199.592 64.609 A 25.829 25.829 0 0 1 197.3 67.55 Q 194 71.2 189.75 73.2 A 20.584 20.584 0 0 1 183.154 75.09 A 19.225 19.225 0 0 1 181.1 75.2 A 22.394 22.394 0 0 1 173.177 73.805 A 21.462 21.462 0 0 1 172.65 73.6 Q 168.7 72 166.1 69.7 L 166.1 74 L 157.7 74 Z M 292.3 51.7 L 255.9 51.7 A 24.088 24.088 0 0 0 257.039 56.725 Q 258.375 60.538 261 63.1 Q 265.2 67.2 272.1 67.2 Q 276.6 67.2 280.2 66.25 Q 283.8 65.3 287.1 63.8 L 289.2 71.5 A 35.406 35.406 0 0 1 284.381 73.342 A 44.267 44.267 0 0 1 281.1 74.2 A 40.711 40.711 0 0 1 276.008 74.98 A 54.607 54.607 0 0 1 271 75.2 A 29.178 29.178 0 0 1 265.204 74.647 A 23.608 23.608 0 0 1 260.9 73.35 Q 256.4 71.5 253.25 68.05 A 22.127 22.127 0 0 1 249.604 62.55 A 27.574 27.574 0 0 1 248.4 59.55 A 31.581 31.581 0 0 1 247.049 53.593 A 42.813 42.813 0 0 1 246.7 48 A 34.878 34.878 0 0 1 247.504 40.403 A 30.597 30.597 0 0 1 248.4 37.2 A 27.699 27.699 0 0 1 251.214 31.251 A 24.152 24.152 0 0 1 253.2 28.55 Q 256.3 24.9 260.6 22.85 Q 264.9 20.8 270.2 20.8 A 27.908 27.908 0 0 1 275.104 21.211 A 20.619 20.619 0 0 1 280 22.7 Q 284.2 24.6 287 27.9 Q 289.8 31.2 291.2 35.6 A 30.348 30.348 0 0 1 292.597 44.442 A 34.055 34.055 0 0 1 292.6 44.9 A 75.204 75.204 0 0 1 292.309 51.597 A 69.426 69.426 0 0 1 292.3 51.7 Z M 131.6 26.2 L 131.6 22 L 139.8 22 L 139.8 61.4 A 12.15 12.15 0 0 0 139.902 63.036 Q 140.234 65.47 141.65 66.35 Q 143.5 67.5 145.7 67.5 L 143.8 74.5 A 17.722 17.722 0 0 1 139.535 74.028 Q 133.898 72.628 132.303 67.08 A 13.59 13.59 0 0 1 132.2 66.7 Q 131 68.3 129.45 69.85 A 18.204 18.204 0 0 1 126.156 72.444 A 20.291 20.291 0 0 1 125.9 72.6 A 17.462 17.462 0 0 1 122.767 74.067 A 20.704 20.704 0 0 1 121.4 74.5 A 18.765 18.765 0 0 1 118.08 75.102 A 23.457 23.457 0 0 1 115.9 75.2 Q 111 75.2 106.75 73.3 Q 102.5 71.4 99.35 67.9 A 24.891 24.891 0 0 1 95.493 62.12 A 30.206 30.206 0 0 1 94.35 59.45 Q 92.5 54.5 92.5 48.3 Q 92.5 42.5 94.3 37.45 A 27.784 27.784 0 0 1 97.46 31.144 A 24.797 24.797 0 0 1 99.35 28.7 Q 102.6 25 107.15 22.9 A 23.124 23.124 0 0 1 115.929 20.825 A 27.082 27.082 0 0 1 117.1 20.8 A 22.584 22.584 0 0 1 121.894 21.29 A 18.703 18.703 0 0 1 125.25 22.35 A 26.002 26.002 0 0 1 129.537 24.644 A 22.103 22.103 0 0 1 131.6 26.2 Z M 225.6 0 L 225.6 56.8 A 20.644 20.644 0 0 0 225.788 59.688 Q 226.25 62.952 227.85 64.8 A 7.363 7.363 0 0 0 232.434 67.276 A 10.724 10.724 0 0 0 234.1 67.4 Q 236 67.4 237.8 66.95 Q 239.6 66.5 241 65.9 L 243.2 73.2 Q 241.801 73.822 239.888 74.323 A 34.978 34.978 0 0 1 238.75 74.6 A 23.816 23.816 0 0 1 235.595 75.085 A 30.514 30.514 0 0 1 232.9 75.2 A 21.419 21.419 0 0 1 228.789 74.819 A 18.058 18.058 0 0 1 226.45 74.2 Q 223.5 73.2 221.3 71.1 A 13.281 13.281 0 0 1 218.822 67.827 A 16.994 16.994 0 0 1 217.85 65.7 Q 216.6 62.4 216.6 57.7 L 216.6 0 L 225.6 0 Z M 90 21.4 L 87.3 30.7 A 9.763 9.763 0 0 0 85.155 30.088 Q 84.059 29.9 82.8 29.9 Q 80 29.9 77.35 31.1 A 13.202 13.202 0 0 0 73.238 34.049 A 15.59 15.59 0 0 0 72.65 34.7 Q 70.661 37.029 69.425 40.628 A 26.039 26.039 0 0 0 69.35 40.85 A 22.895 22.895 0 0 0 68.453 44.662 Q 68.166 46.554 68.112 48.697 A 40 40 0 0 0 68.1 49.7 L 68.1 74 L 59.1 74 L 59.1 22 L 67.8 22 L 67.8 33.3 Q 68.7 30.9 70.2 28.6 Q 71.7 26.3 73.75 24.6 A 16.676 16.676 0 0 1 77.591 22.23 A 19.32 19.32 0 0 1 78.5 21.85 Q 81.2 20.8 84.5 20.8 Q 86 20.8 87.45 20.95 A 19.695 19.695 0 0 1 88.652 21.11 Q 89.244 21.209 89.764 21.338 A 11.443 11.443 0 0 1 90 21.4 Z M 130.8 60.7 L 130.8 32.8 Q 128.1 30.9 124.85 29.75 Q 121.6 28.6 118 28.6 A 16.142 16.142 0 0 0 113.533 29.203 A 14.448 14.448 0 0 0 111.4 30 Q 108.4 31.4 106.25 33.95 A 17.393 17.393 0 0 0 103.743 37.953 A 21.502 21.502 0 0 0 102.9 40.1 A 23.426 23.426 0 0 0 101.817 45.381 A 28.621 28.621 0 0 0 101.7 48 A 25.723 25.723 0 0 0 102.169 52.996 A 21.781 21.781 0 0 0 102.9 55.75 A 19.283 19.283 0 0 0 104.776 59.774 A 16.545 16.545 0 0 0 106.3 61.85 Q 108.5 64.4 111.45 65.8 A 14.679 14.679 0 0 0 117.249 67.188 A 17.126 17.126 0 0 0 117.9 67.2 Q 121.7 67.2 125.1 65.4 Q 128.5 63.6 130.8 60.7 Z M 166.7 35.4 L 166.7 63.2 A 17.99 17.99 0 0 0 170.33 65.385 A 21.802 21.802 0 0 0 172.1 66.1 A 19.462 19.462 0 0 0 178.264 67.196 A 22.039 22.039 0 0 0 178.7 67.2 A 16.26 16.26 0 0 0 184.518 66.166 A 15.526 15.526 0 0 0 185.4 65.8 Q 188.5 64.4 190.7 61.85 A 17.95 17.95 0 0 0 193.442 57.514 A 21.678 21.678 0 0 0 194.15 55.75 A 21.806 21.806 0 0 0 195.222 50.996 A 27.857 27.857 0 0 0 195.4 47.8 Q 195.4 43.3 194.15 39.75 Q 192.9 36.2 190.75 33.7 Q 188.6 31.2 185.75 29.9 Q 182.9 28.6 179.7 28.6 A 14.741 14.741 0 0 0 174.073 29.663 A 14.054 14.054 0 0 0 171.95 30.75 Q 168.5 32.9 166.7 35.4 Z M 255.8 44.4 L 284.3 44.4 A 24.355 24.355 0 0 0 283.896 39.815 Q 283.4 37.231 282.296 35.207 A 12.422 12.422 0 0 0 280.5 32.7 A 12.488 12.488 0 0 0 273.539 28.924 A 18.395 18.395 0 0 0 270 28.6 Q 264.1 28.6 260.35 32.6 A 14.739 14.739 0 0 0 257.557 37.005 Q 256.732 38.961 256.252 41.361 A 32.287 32.287 0 0 0 255.8 44.4 Z" vector-effect="non-scaling-stroke" /> </g> </svg> <div class="close-left-nav" onclick="close_res_nav()"> <i class="uil uil-times"></i> </div> </div> <div class="list-nav"> <ul class="nav-list"> <li class="outer-list"> <a href="index.php"> <i class="uil uil-estate"></i> <span>Dashbaord</span> </a> </li> <li class="outer-list"> <a href="order_assigned.php"> <i class="uil uil-parcel"></i> <span>Order Assigned</span> </a> </li> <li class="outer-list"> <a href="outfordelivery.php"> <i class="uil uil-car-sideview"></i> <span>Out For Delivery</span> </a> </li> <li class="outer-list"> <a href="delivery_confirmation.php"> <i class="uil uil-voicemail-rectangle"></i> <span>Delivered Confirmation</span> </a> </li> <li class="outer-list"> <a href="delivered.php"> <i class="uil uil-gift"></i> <span>Delivered</span> </a> </li> <li class="outer-list"> <a href="issue.php"> <i class="uil uil-toilet-paper"></i> <span>Issue</span> </a> </li> <li class="outer-list"> <a href="undelivery_cnfrm.php"> <i class="uil uil-channel"></i> <span>Undeliver Confirmation</span> </a> </li> <li class="outer-list"> <a href="undelivered.php"> <i class="uil uil-cube"></i> <span>Undelivered</span> </a> </li> </ul> </div> <div class="copyright"> <p>Developed by Ayondip Jana</p> </div> </div>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/dv_confirm.php
Admin/dv_confirm.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="order.html">Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select orders.id,orders.o_id,order_status.o_status,order_time.added_on from orders,order_status,order_time where orders.order_status='5' and orders.u_cnfrm='0' and orders.order_status=order_status.id and order_time.o_status=orders.order_status and order_time.oid=orders.id order by orders.id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['o_status']; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('showOrderDetail.php?id=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/adduser.php
Admin/adduser.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="adduser.php">Add User </a> </div> <div class="catbox-row"> <div class="catboxp"> <h1><?php echo "Add User"; ?> </h1> <div class="formrow"> <div class="heading"> Name </div> <div class="catselect"> <input type="text" placeholder="Enter name" id="u-name"> </div> </div> <div class="formrow"> <div class="heading"> Email </div> <div class="catselect"> <input type="email" placeholder="Enter Email" id="umail"> </div> </div> <div class="formrow"> <div class="heading"> Mobile </div> <div class="catselect"> <input type="number" placeholder="Enter Mobile" id="umobile"> </div> </div> <div class="formrow"> <div class="heading"> Password </div> <div class="catselect"> <input type="password" placeholder="Enter Password" id="upass"> </div> </div> <div class="formrow"> <span id='pdstatus' style='font-size:1.3rem; color:#556ee6;'></span> <button class='add' onclick='add_neew_user()'> <i class='fa fa-plus' aria-hidden='true'></i> Edit</button> </div> </div> </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/ofd.php
Admin/ofd.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="order.html">Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select orders.id,orders.o_id,order_status.o_status,order_time.added_on from orders,order_status,order_time where orders.order_status='4' and orders.order_status=order_status.id and order_time.o_status=orders.order_status and order_time.oid=orders.id order by orders.id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['o_status']; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('showOrderDetail.php?id=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/nonsellerapprove.php
Admin/nonsellerapprove.php
<?php require('require/top.php'); $z = 0; $o = 0; $q = "select * from sellers where isapp='$z' and is_cp='$o'"; $r = mysqli_query($con, $q); while ($g = mysqli_fetch_assoc($r)) { $ids = $g['id']; mysqli_query($con, "update sellers set is_new='0' where id='$ids'"); } ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="nonsellerapprove.php">Non Approve Sellers</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Name" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_image">Email</div> <div class="p_status">Status</div> <div class="p_action">Action</div> </div> <div class="bspace"> <?php $i = 1; $q = "select * from sellers where isapp='$z' and is_cp='$o'"; $r = mysqli_query($con, $q); while ($row = mysqli_fetch_assoc($r)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; ?></div> <div class="p_image"><?php echo $row['email']; ?></div> <div class="p_status"> <span class="active_span" style="color: red">Profile Compele Pending</span> </div> <div class="p_action"> <button class="edit" onclick="delete_seller(<?php echo $row['id']; ?>)"> <i class="fa fa-trash" aria-hidden="true"></i>Delete </button> </div> </div> <?php $i++; } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/locationpin.php
Admin/locationpin.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="locationpin.php">Add Pincode</a> </div> <div class="rowbtn"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem" id="cpl"> <select name="" id="fsc" onchange="getstatelist()"> <option value="#">Select Country</option> <?php $query = "select * from country order by id desc"; $res = mysqli_query($con, $query); while ($row = mysqli_fetch_assoc($res)) { ?> <option value="<?php echo $row['id']; ?>"><?php echo $row['cntry_name']; ?></option> <?php } ?> </select> <select name="" id="fscb" style="margin:1rem 0 0 0;" onchange="getcitylist()"> <option value="#">Select State</option> </select> <select name="" id="fscb2" style="margin:1rem 0 0 0;"> <option value="#">Select City</option> </select> <input type="text" placeholder="Enter Pincode" id="sfield" style="width:98.5%;margin:1rem 0;" /> <button class="add" onclick="addpin()" id="adpn"> <i class="fa fa-plus" aria-hidden="true"></i> &nbsp;Add </button> <span style="font-size:1.2rem;margin-top:0.8rem;" id="erm"></span> </div> </div> <div class="rowbtn" style="margin:3rem 0 0 0;" id="filterlist"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Slno </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Country </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> State </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> City </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Pin </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Action </div> </div> </div> <?php $query2 = "SELECT p.*, ci.city_name, s.state_name, co.cntry_name FROM pin AS p JOIN city AS ci ON p.c_id = ci.id JOIN state AS s ON ci.s_id = s.id JOIN country AS co ON s.c_id = co.id ORDER BY p.id DESC; "; $res2 = mysqli_query($con, $query2); $i = 1; while ($rowt = mysqli_fetch_assoc($res2)) { ?> <div class="b" style="display:flex;flex-direction:column;padding:0.4rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $i; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['cntry_name']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['state_name']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['city_name']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['pincode']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <i class="fa fa-pencil" aria-hidden="true" style="margin-right:1.2rem;" class="k" onclick="editpin(<?php echo $rowt['id']; ?>)"></i> <i class="fa fa-trash" aria-hidden="true" onclick="deletepin(<?php echo $rowt['id']; ?>)"></i> </div> </div> </div> <?php $i++; } ?> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/deliveryboy.php
Admin/deliveryboy.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="seller.php">Sellers</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Name" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Name</div> <div class="p_image">Email</div> <div class="p_statuse">Mobile</div> <div class="p_action">Action</div> </div> <div class="bspace" id="sellersecroww"> <?php $query = "select * from delivery_boy order by id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { $st = ''; $cb = ''; $idd = $row['id']; ?> <div class="p_row"> <div class="slno"><?php echo $i; ?></div> <div class="p_name"><?php echo $row['dv_name']; ?></div> <div class="p_image"><?php echo $row['dv_email']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['dv_mobile'];; ?></span> </div> <div class="p_action"> <button class="edit" onclick="del_dv(<?php echo $row['id']; ?>)"> <i class="fa fa-trash" aria-hidden="true"></i>Delete </button> </div> </div> <?php $i++; } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/myorders.php
Admin/myorders.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="order.html">Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select * from orders where seller_id='ADMIN' order by id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['order_status']; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('showOrderDetail.php?id=<?php echo $row['o_id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/Settelment.php
Admin/Settelment.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="allorder.php">Orders</a> <span>/</span> <a href="Settelment.php">Settelment</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $sid = $_SESSION['ID']; $query = "select * from orders order by id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { $oid = $row['o_id']; $innerres = mysqli_query($con, "select * from order_detail where order_id='$oid' and status='Delivered' and stlment='0' and clearence='1'"); $tw = mysqli_fetch_assoc($innerres); if (mysqli_num_rows($innerres) > 0) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo "Delivered"; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('settelmentDetail.php?id=<?php echo $row['o_id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/exclude.php
Admin/exclude.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="exclude.php">Exclude Pin</a> </div> <div class="rowbtn"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem" id="cpl"> <input type="text" placeholder="Enter Pincode" id="sfield" style="width:98.5%;margin:1rem 0;" /> <button class="add" onclick="addexcludepin()"> <i class="fa fa-plus" aria-hidden="true"></i> &nbsp;Add </button> <span style="font-size:1.2rem;margin-top:0.8rem;" id="erm"></span> </div> </div> <div class="rowbtn" style="margin:3rem 0 0 0;" id="filterlist"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Slno </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Pin </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Action </div> </div> </div> <?php $query2 = "select * from expin order by id desc"; $res2 = mysqli_query($con, $query2); $i = 1; while ($rowt = mysqli_fetch_assoc($res2)) { ?> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $i; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['pin']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <i class="fa fa-trash" aria-hidden="true" onclick="deleteexclude(<?php echo $rowt['id']; ?>)"></i> </div> </div> </div> <?php $i++; } ?> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/setelmentpending.php
Admin/setelmentpending.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="order.html">Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select orders.id,orders.o_id,order_status.o_status,order_time.added_on from orders,order_status,order_time where orders.order_status='5' and orders.u_cnfrm='1' and orders.order_status=order_status.id and order_time.o_status=orders.order_status and order_time.oid=orders.id and orders.ptu='1' order by orders.id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { $odidd = $row['id']; $n = mysqli_num_rows(mysqli_query($con, "select * from order_stlmnt where oid='$odidd'")); if ($n == 0) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['o_status']; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('showOrderDetail_.php?id=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/view_seller_wallet_history.php
Admin/view_seller_wallet_history.php
<?php require('require/top.php'); $id = $_GET['sid']; $q = "select * from sellers where id='$id'"; $r = mysqli_query($con, $q); $row = mysqli_fetch_assoc($r); $q1 = "select * from seller_wallet where seller_id='$id'"; $r1 = mysqli_query($con, $q1); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="view_seller_wallet_history.php?sid=<?php echo $_GET['sid']; ?>">Wallet history of seller </a> </div> <div class="headrow"> <div class="wrap"> <div class="detail" style="float: right"> <h3>Wallet Balance: &#8377;<span style="color:#6a7187;"> <?php $y = mysqli_fetch_assoc(mysqli_query($con, "select * from seller_wallet where seller_id='$id'")); $r = $y['ballance']; echo $r; ?></span></h3> </div> </div> <div style="background:#fff;padding:2rem 0"> <table style="width:100%"> <thead> <th style="font-size:1.4rem;font-weight:400;text-align:left;padding:0.2rem 1rem;border-bottom:1px solid #e2e2e2;"> <h4>Date</h4> </th> <th style="font-size:1.4rem;font-weight:400;text-align:left;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> <h4>Message</h4> </th> <th style="font-size:1.4rem;font-weight:400;text-align:left;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> <h4>Balance</h4> </th> </thead> <tbody> <?php $res = mysqli_query($con, "select * from seller_w_msg where s_id='$id'"); while ($roww = mysqli_fetch_assoc($res)) { ?> <tr> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;font-size:1.4rem;"> <?php echo $roww['added_on'] ?> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;font-size:1.4rem;"> <?php echo $roww['msg'] ?> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;font-size:1.4rem;"> &#8377;<?php echo $roww['balance'] ?> ( <?php if ($roww['cod'] == 1) { echo "+"; } else { echo "-"; } ?> ) </td> </tr> <?php } ?> </tbody> </table> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/showOrderDetail__.php
Admin/showOrderDetail__.php
<?php require('require/top.php'); $oid = $_GET['id']; $allSeller = array(); $sellerInfo = array(); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="showOrderDetail.php?id=<?php echo $_GET['id']; ?>">Order Detail</a> </div> <div class="catbox-row"> <div class="catbox"> <section class="myorders"> <section class="myac-body"> <div class="flex row"> <div class="right"> <div class="col-lg-12 col-md-12" id="bill-sec"> <?php $query = "select orders.payment_type,orders.dv_time,orders.order_status,orders.id,orders.o_id,orders.total_amt,orders.ship_fee_order,orders.final_val,dv_time.from,dv_time.tto,order_status.o_status from orders,dv_time,order_status where orders.id='$oid' and orders.dv_date=dv_time.id and not orders.order_status='1' and orders.order_status=order_status.id and orders.ptu='0'"; $res = mysqli_query($con, $query); if (mysqli_num_rows($res) > 0) { while ($row = mysqli_fetch_assoc($res)) { ?> <div class="call-bill"> <div class="order-bill-slip"> <span style=" padding: 0.6rem 1rem; font-size:1.3rem; border-radius: 15px; background-color: #e6faee; color: #43dc80; "> <?php echo $row['o_status']; ?> </span> </div> </div> <div class="pdpt-bg"> <div class="pdpt-title flex justify-between"> <h4>Order Id: <?php echo $row['o_id']; ?></h4> <h6>Delivery Timing: <?php echo $row['dv_time']; ?>,<?php echo $row['from']; ?> - <?php echo $row['tto']; ?></h6> <h6><?php $fg = mysqli_query($con, "select order_time.added_on,order_status.o_status from order_time,order_status where order_time.oid='$oid' and order_time.o_status=order_status.id"); while ($rw = mysqli_fetch_assoc($fg)) { echo $rw['o_status'] . " : " . $rw['added_on'] . "<br>"; } ?></h6> </div> <div class="order-body10"> <?php $oid = $row['id']; $rs = mysqli_query($con, "select order_detail.delivered_qty,order_detail.hover,order_detail.rcvd,order_detail.qty,product.product_name,product.img1,product.id,product.fa,product.added_by,sellers.f_name,commission.com from order_detail,product,sellers,commission where order_detail.oid='$oid' and order_detail.p_id=product.id and product.added_by=sellers.id and product.scat_id=commission.scat_id"); $totalOrderedPricePerSeller = 0; $totalReceivedPricePerSeller = 0; while ($rw = mysqli_fetch_assoc($rs)) { $totalOrderedPricePerSeller += $rw['qty'] * $rw['fa']; $totalReceivedPricePerSeller += $rw['delivered_qty'] * $rw['fa']; $g = $rw['added_by']; ?> <ul class="order-dtsll"> <li> <div class="order-dt-img"> <img src="../media/product/<?php echo $rw['img1']; ?>" alt="" /> </div> </li> <li> <div class="order-dt47"> <h4><?php echo $rw['product_name']; ?></h4> <div class="order-title"> Ordered: <?php echo $rw['qty']; ?> Items </div> <div class="order-title"> Received: <?php echo $rw['delivered_qty']; ?> Items </div> </div> </li> <li> <div class="order-dt47"> <h4>Price</h4> <div class="order-title"> &#8377;<?php echo $rw['qty'] * $rw['fa']; ?> </div> <div class="order-title"> &#8377;<?php echo $rw['delivered_qty'] * $rw['fa']; ?> </div> </div> </li> </ul> <?php } ?> <div class="total-dt"> <div class="total-checkout-group"> <div class="cart-total-dil"> <h4>Sub Total</h4> <span>&#8377;<?php echo $row['total_amt']; ?></span> </div> <div class="cart-total-dil pt-3"> <h4>Delivery Charges</h4> <span>&#8377;<?php echo $row['ship_fee_order']; ?></span> </div> <div class="cart-total-dil pt-3"> <h4>Payment Mode</h4> <span><?php if ($row['payment_type'] == 1) { echo "COD"; } else { echo "Online"; } ?></span> </div> </div> <div class="main-total-cart"> <h2>Total</h2> <span>&#8377;<?php echo $row['final_val']; ?></span> </div> <div class="main-total-cart"> <h2>User Paid</h2> <span>&#8377;<?php echo $row['final_val']; ?></span> </div> <?php if ($row['payment_type'] == 2 && ($totalOrderedPricePerSeller - $totalReceivedPricePerSeller) > 0) { ?> <div class="main-total-cart"> <input type="text" style="border:1px solid #eaeaea;" id='dfghert' value="<?php $gg = ($totalOrderedPricePerSeller - $totalReceivedPricePerSeller) + $row['ship_fee_order']; echo $gg; ?>"> <button style=" border-radius: 4px; padding: 0.8rem; background-color: #556ee6; color: #fff; float: right; " onclick="finalizewithuser(<?php echo $oid; ?>)">Finalize</button> </div> <?php } else { ?> <div class="main-total-cart"> <button style=" border-radius: 4px; padding: 0.8rem; background-color: #556ee6; color: #fff; float: right; " onclick="finalize(<?php echo $oid; ?>)">Finalize</button> </div> <?php } ?> </div> </div> </div> <?php } } ?> <br> </div> </div> </div> </section> </section> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/seller.php
Admin/seller.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="seller.php">Sellers</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Name" id="sfield" onkeyup="search('sfield','p_name')" /> <select name="" id="filterseller" onchange="filterseller()"> <option value="#">Filter By</option> <option value="Active">Active</option> <option value="Deactive">Deactive</option> </select> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Name</div> <div class="p_image">Email</div> <div class="p_statuse">Status</div> <div class="p_action">Action</div> </div> <div class="bspace" id="sellersecroww"> <?php $query = "select * from sellers where isapp='1' order by id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { $st = ''; $cb = ''; $idd = $row['id']; if ($row['status'] == 1) { $st = "Active"; $cb = "<button class='deactive' onclick='seller_acdc($idd, 0)'> <i class='fa fa-eye-slash' aria-hidden='true'></i>Deactive </button>"; } else { $st = "Deactive"; $cb = " <button class='active' onclick='seller_acdc($idd, 1)'> <i class='fa fa-eye' aria-hidden='true'></i>Active </button> "; } ?> <div class="p_row"> <div class="slno"><?php echo $i; ?></div> <div class="p_name"><?php echo $row['f_name']; ?></div> <div class="p_image"><?php echo $row['email']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $st; ?></span> </div> <div class="p_action"> <button class="edit" onclick="redirect_to('seller_detail.php?sid=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> <?php echo $cb; ?> <button class="delete" onclick="deleteseller(<?php echo $row['id']; ?>)"> <i class="fa fa-trash" aria-hidden="true"></i>Delete </button> </div> </div> <?php $i++; } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/addDeliveryBoy.php
Admin/addDeliveryBoy.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="addseller.php">Add Deliveryboy </a> </div> <div class="catbox-row"> <div class="catboxp"> <h1><?php echo "Add Deliveryboy"; ?> </h1> <div class="formrow"> <div class="heading"> Name </div> <div class="catselect"> <input type="text" placeholder="Enter Name" id="dName"> </div> </div> <div class="formrow"> <div class="heading"> Username </div> <div class="catselect"> <input type="text" placeholder="Enter Username" id="dUsername"> </div> </div> <div class="formrow"> <div class="heading"> Email </div> <div class="catselect"> <input type="email" placeholder="Enter Email" id="dEmail"> </div> </div> <div class="formrow"> <div class="heading"> Mobile </div> <div class="catselect"> <input type="mobile" placeholder="Enter Mobile" id="dMobile"> </div> </div> <div class="formrow"> <div class="heading"> Password </div> <div class="catselect"> <input type="password" placeholder="Enter Password" id="dPassword"> </div> </div> <div class="formrow"> <span id='pdstatus' style='font-size:1.3rem; color:#556ee6;'></span> <button class='add' onclick='add_neew_dv()'> <i class='fa fa-plus' aria-hidden='true'></i> Add</button> </div> </div> </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/showOrderDetail_.php
Admin/showOrderDetail_.php
<?php require('require/top.php'); $oid = $_GET['id']; $allSeller = array(); $sellerInfo = array(); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="showOrderDetail.php?id=<?php echo $_GET['id']; ?>">Order Detail</a> </div> <div class="catbox-row"> <div class="catbox"> <section class="myorders"> <section class="myac-body"> <div class="flex row"> <div class="right"> <div class="col-lg-12 col-md-12" id="bill-sec"> <?php $query = "select orders.payment_type,orders.dv_time,orders.order_status,orders.id,orders.o_id,orders.total_amt,orders.ship_fee_order,orders.final_val,dv_time.from,dv_time.tto,order_status.o_status from orders,dv_time,order_status where orders.id='$oid' and orders.dv_date=dv_time.id and not orders.order_status='1' and orders.order_status=order_status.id"; $res = mysqli_query($con, $query); if (mysqli_num_rows($res) > 0) { while ($row = mysqli_fetch_assoc($res)) { ?> <div class="call-bill"> <div class="order-bill-slip"> <span style=" padding: 0.6rem 1rem; font-size:1.3rem; border-radius: 15px; background-color: #e6faee; color: #43dc80; "> <?php echo $row['o_status']; ?> </span> </div> </div> <div class="pdpt-bg"> <div class="pdpt-title flex justify-between"> <h4>Order Id: <?php echo $row['o_id']; ?></h4> <h6>Delivery Timing: <?php echo $row['dv_time']; ?>,<?php echo $row['from']; ?> - <?php echo $row['tto']; ?></h6> <h6><?php $fg = mysqli_query($con, "select order_time.added_on,order_status.o_status from order_time,order_status where order_time.oid='$oid' and order_time.o_status=order_status.id"); while ($rw = mysqli_fetch_assoc($fg)) { echo $rw['o_status'] . " : " . $rw['added_on'] . "<br>"; } ?></h6> </div> <div class="order-body10"> <?php $oid = $row['id']; $rs = mysqli_query($con, "select order_detail.delivered_qty,order_detail.hover,order_detail.rcvd,order_detail.qty,product.product_name,product.img1,product.id,product.fa,product.added_by,sellers.f_name,commission.com from order_detail,product,sellers,commission where order_detail.oid='$oid' and order_detail.p_id=product.id and product.added_by=sellers.id and product.scat_id=commission.scat_id"); $totalOrderedPricePerSeller = 0; $totalReceivedPricePerSeller = 0; while ($rw = mysqli_fetch_assoc($rs)) { $totalOrderedPricePerSeller = $rw['qty'] * $rw['fa']; $totalReceivedPricePerSeller = $rw['delivered_qty'] * $rw['fa']; $commissionperproduct = ($rw['fa'] * $rw['com']) / 100; $actualcommission = $commissionperproduct * $rw['qty']; $g = $rw['added_by']; if (count($allSeller) == 0) { array_push($allSeller, $rw['added_by']); $sellerInfo[$g]["ordered"] = $totalOrderedPricePerSeller; $sellerInfo[$g]["received"] = $totalReceivedPricePerSeller; $sellerInfo[$g]["commission"] = $actualcommission; } else if (!in_array($rw['added_by'], $allSeller)) { array_push($allSeller, $rw['added_by']); $sellerInfo[$g]["ordered"] = $totalOrderedPricePerSeller; $sellerInfo[$g]["received"] = $totalReceivedPricePerSeller; $sellerInfo[$g]["commission"] = $actualcommission; } else { $sellerInfo[$g]["ordered"] = $totalOrderedPricePerSeller + $sellerInfo[$g]["ordered"]; $sellerInfo[$g]["received"] = $totalReceivedPricePerSeller + $sellerInfo[$g]["received"]; $sellerInfo[$g]["commission"] = $actualcommission + $sellerInfo[$g]["commission"]; } ?> <ul class="order-dtsll"> <li> <div class="order-dt-img"> <img src="../media/product/<?php echo $rw['img1']; ?>" alt="" /> </div> </li> <li> <div class="order-dt47"> <h4><?php echo $rw['product_name']; ?></h4> <div class="order-title"> Ordered: <?php echo $rw['qty']; ?> Items </div> <div class="order-title"> Received: <?php echo $rw['delivered_qty']; ?> Items </div> </div> </li> <li> <div class="order-dt47"> <h4>Price</h4> <div class="order-title"> &#8377;<?php echo $rw['qty'] * $rw['fa']; ?> </div> <div class="order-title"> &#8377;<?php echo $rw['delivered_qty'] * $rw['fa']; ?> </div> </div> </li> <li> <div class="order-dt47"> <h4>Commission</h4> <div class="order-title"> &#8377;<?php echo $actualcommission; ?> </div> </div> </li> </ul> <?php } ?> <div class="total-dt"> <div class="total-checkout-group"> <div class="cart-total-dil"> <h4>Sub Total</h4> <span>&#8377;<?php echo $row['total_amt']; ?></span> </div> <div class="cart-total-dil pt-3"> <h4>Delivery Charges</h4> <span>&#8377;<?php echo $row['ship_fee_order']; ?></span> </div> <div class="cart-total-dil pt-3"> <h4>Payment Mode</h4> <span><?php if ($row['payment_type'] == 1) { echo "COD"; } else { echo "Online"; } ?></span> </div> </div> <div class="main-total-cart"> <h2>Total</h2> <span>&#8377;<?php echo $row['final_val']; ?></span> </div> <div class="main-total-cart"> <h2>User Paid</h2> <span>&#8377;<?php echo $row['final_val']; ?></span> </div> </div> </div> </div> <?php } } ?> <br> </div> <div class="pdpt-bg"> <div class="pdpt-title flex justify-between"> <h4>Info</h4> </div> <div class="order-body10"> <div class="total-dt"> <?php foreach ($allSeller as $seller) { $rs2 = mysqli_query($con, "select sellers.f_name from sellers where id='$seller'"); $sellerRes = mysqli_fetch_assoc($rs2); ?> <div class="total-checkout-group bt0"> <div class="cart-total-dil"> <h4>Seller Name</h4> <span><?php echo $sellerRes['f_name'] ?></span> </div> <div class="cart-total-dil pt-3"> <h4>Ordered Price</h4> <span>&#8377;<?php echo $sellerInfo[$seller]["ordered"] ?></span> </div> <div class="cart-total-dil pt-3"> <h4>Received Price</h4> <span style="word-wrap:break-word;"> &#8377;<?php echo $sellerInfo[$seller]["received"] ?> </span> </div> <div class="cart-total-dil pt-3"> <h4>Commission</h4> <span style="word-wrap:break-word;"> &#8377;<?php echo $sellerInfo[$seller]["commission"] ?> </span> </div> <div class="cart-total-dil pt-3"> <h4>Final Payable</h4> <span style="word-wrap:break-word;"> &#8377;<?php echo ($sellerInfo[$seller]["received"] - $sellerInfo[$seller]["commission"]) ?> </span> </div> <?php $sts = mysqli_query($con, "select * from order_stlmnt where oid='$oid' and sid='$seller'"); if (mysqli_num_rows($sts) == 0) { ?> <div class="cart-total-dil pt-3"> <h4>Pay</h4> <span style="word-wrap:break-word;"> <input type="text" id="finalpay" style="border:1px solid #eaeaea;padding:0.8rem;" value="<?php echo ($sellerInfo[$seller]["received"] - $sellerInfo[$seller]["commission"]) ?>"> <button style=" border-radius: 4px; padding: 0.8rem; background-color: #556ee6; color: #fff; float: right; " onclick="pay('<?php echo $oid; ?>','<?php echo $seller; ?>')">Pay</button> </span> </div> <?php } else { echo '<div class="cart-total-dil pt-3"> <h4>Pay</h4> <span style="word-wrap:break-word;"> Paid </span> </div> '; } ?> </div> <?php } ?> </div> </div> </div> </div> </div> </section> </section> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/incompleteorder.php
Admin/incompleteorder.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="incomplete.php">Incomplete Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select orders.id,orders.o_id,order_status.o_status from orders,order_status where orders.order_status='1' and orders.order_status=order_status.id order by orders.id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['o_status']; ?></span> </div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="delete_order('<?php echo $row['o_id']; ?>')"> <i class="fa fa-trash" aria-hidden="true"></i>Delete </button> </div> </div> <?php } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/showOrderDetail-undelivered.php
Admin/showOrderDetail-undelivered.php
<?php require('require/top.php'); $oid = $_GET['id']; $rw = mysqli_fetch_assoc(mysqli_query($con, "select * from orders where o_id='$oid'")); $qu = "select order_detail.*,orders.payment_type,product.img1,product.fa,product.name,commition.commission from order_detail,orders,product,commition where order_detail.order_id='$oid' and product.id=order_detail.product_id and commition.subcat=product.subcat and order_detail.status='Undelivered' and orders.o_id=order_detail.order_id"; $rs = mysqli_query($con, $qu); $t = array(); while ($rt = mysqli_fetch_assoc($rs)) { $t[] = $rt; } ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="showOrderDetail.html">Order Detail</a> </div> <div class="catbox-row"> <div class="catbox"> <div class="bspace"> <div class="head" style="display:block"> <div class="orderid"> <?php echo $oid; ?></div> </div> <table style="width:100%"> <thead> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Image</th> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Name</th> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Quantity</th> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Total price</th> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Status</th> </thead> <tbody> <?php $tp = 0; $i = 0; $slinfo = array(); foreach ($t as $p) { $shipid = get_id(); $shipnameid = get_id(); $oidd = $p['order_id']; $pid = $p['product_id']; $mm = mysqli_num_rows(mysqli_query($con, "select * from reforrep where oid='$oidd'")); ?> <tr> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> <img src="../media/product/<?php echo $p['img1']; ?>" alt="product" style="height:8rem;width:8rem"> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> <?php echo $p['name']; ?> <br><br> <?php if ($mm > 0) { $r = mysqli_fetch_assoc(mysqli_query($con, "select * from reforrep where oid='$oidd' and pid='$pid'")); if ($r['isdone'] == 0) { ?> <span style="font-size: 1.1rem; padding:0.5rem; background:#ffa500a3;border-radius:10px"> <?php echo $r['repref']; ?> Requested </span> <?php } else { ?> <span style="font-size: 1.1rem; padding:0.5rem; background:#ffa500a3;border-radius:10px"> <?php echo $r['repref']; ?> Done </span> <?php } } ?> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> <?php echo $p['qty']; ?> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> &#8377; <?php $o = $p['qty'] * $p['fa']; echo $o; ?> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> <?php echo $p['status']; ?> </td> </tr> <?php if ($p['status'] == "Placed" || $p['status'] == "") { ?> <tr> <td style="border-bottom:1px solid #e2e2e2;"> <input type="text" id="<?php echo $shipnameid ?>" placeholder="Courier name" style="border:1px solid #e2e2e2;padding:0.5rem;width:10rem;margin-left:auto"> </td> <td style="border-bottom:1px solid #e2e2e2;"> <input type="text" id="<?php echo $shipid ?>" placeholder="Shipping Id" style="border:1px solid #e2e2e2;padding:0.5rem;width:10rem"> </td> <td style="border-bottom:1px solid #e2e2e2;"> <button style="height: 3.2rem; width: 8rem; border-radius: 5px; background-color: #556ee6; color: #fff;" onclick=" ship_product('<?php echo $p['id']; ?>','<?php echo $shipid ?>','<?php echo $shipnameid ?>')">Submit</button> </td> <td style="border-bottom:1px solid #e2e2e2;"></td> <td style="border-bottom:1px solid #e2e2e2;"></td> </tr> <?php } else if ($p['status'] == "Placed" || $p['status'] == "Shipped") { ?> <tr> <td style="border-bottom:1px solid #e2e2e2;"> <button style="height: 3.2rem; width: 8rem; border-radius: 5px; background-color: #556ee6; color: #fff;" onclick="deliver_product('<?php echo $p['id']; ?>')">Delivered</button> </td> <td style="border-bottom:1px solid #e2e2e2;"> <button style="height: 3.2rem; width: 8rem; border-radius: 5px; background-color: #556ee6; color: #fff;" onclick="ship_product('<?php echo $p['id']; ?>','<?php echo $shipid ?>','<?php echo $shipnameid ?>')">Undelivered</button> </td> <td style="border-bottom:1px solid #e2e2e2;"></td> <td style="border-bottom:1px solid #e2e2e2;"> </td> </tr> <?php } $tp += $o; if ($p['payment_type'] != "COD") { $slinfo[$i] = 1; $payable[$i] = $p['qty'] * $p['fa']; $order_detail_id[$i] = $p['id']; $auw[$i] = $p['auw']; } $i++; } ?> </tbody> </table> <table style="margin-top:2rem;"> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Name: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"><?php echo $rw['name']; ?></td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Address: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> <?php echo $rw['city']; ?>, <?php echo $rw['landmark']; ?>, <?php echo $rw['state']; ?>, <?php echo $rw['country']; ?>,<?php echo $rw['pin']; ?>.<br> <?php echo $rw['mobile']; ?> </td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Date: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> <?php echo $rw['added_on']; ?></td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Total Price: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> &#8377; <?php echo $tp; ?></td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Discount: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> <?php if (empty($rw['discount'])) { echo "0"; } else { echo $rw['discount']; } ?>%</td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Grand Total: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> &#8377; <?php echo $rw['total_price']; ?> </td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Payment Mode: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> <?php echo $rw['payment_type']; ?></td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Payment Status: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> <?php echo $rw['payment_status']; ?></td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Txn Id: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"><?php echo $rw['txnid']; ?></td> </tr> <?php $h = 0; $v = 1; foreach ($slinfo as $stlinfo) { $cd = get_id(); ?> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Product <?php echo $v; ?>: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"><?php echo $payable[$h]; ?></td> <?php if ($auw[$h] == 0) { ?> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> Pay to user: <input type="text" value="<?php echo $payable[$h]; ?>" id="<?php echo $cd; ?>" style="border:1px solid #e2e2e2;padding:0.5rem;width:10rem;margin-left:auto"> <button style="height: 3.2rem; width: 8rem; border-radius: 5px; background-color: #556ee6; color: #fff;" onclick="pay_user_wallet('<?php echo $order_detail_id[$h]; ?>','<?php echo $cd; ?>')">Pay</button> </td> <?php } else if ($auw[$h] == 1) { ?> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"><?php echo "Credited"; ?></td> <?php } ?> </tr> <?php $h++; $v++; } ?> </table> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/business.php
Admin/business.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="business.php">Business</a> </div> <div class="rowbtn"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <input type="text" placeholder="Enter Business Type" id="sfield" style="width:98.5%;margin:1rem 0;" /> <button class="add" onclick="addbusiness()" id='adbs'> <i class="fa fa-plus" aria-hidden="true"></i> &nbsp;Add </button> <span style="font-size:1.2rem;margin-top:0.8rem;" id="erm"></span> </div> </div> <div class="rowbtn" style="margin:3rem 0 0 0;" id="filterlist"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Slno </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Business Type </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Action </div> </div> </div> <?php $query2 = "select * from business_type order by id desc"; $res2 = mysqli_query($con, $query2); $i = 1; while ($rowt = mysqli_fetch_assoc($res2)) { ?> <div class="b" style="display:flex;flex-direction:column;padding:0.4rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $i; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['type']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <i class="fa fa-trash" aria-hidden="true" onclick="deletebusiness(<?php echo $rowt['id']; ?>)"></i> </div> </div> </div> <?php $i++; } ?> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/addseller.php
Admin/addseller.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="addseller.php">Add Seller </a> </div> <div class="catbox-row"> <div class="catboxp"> <h1><?php echo "Add Seller"; ?> </h1> <div class="formrow"> <div class="heading"> Email </div> <div class="catselect"> <input type="email" placeholder="Enter Email" id="umail"> </div> </div> <div class="formrow"> <div class="heading"> Mobile </div> <div class="catselect"> <input type="mobile" placeholder="Enter Mobile" id="umobile"> </div> </div> <div class="formrow"> <div class="heading"> Password </div> <div class="catselect"> <input type="password" placeholder="Enter Password" id="upass"> </div> </div> <div class="formrow"> <span id='pdstatus' style='font-size:1.3rem; color:#556ee6;'></span> <button class='add' onclick='add_neew_seller()'> <i class='fa fa-plus' aria-hidden='true'></i> Add</button> </div> </div> </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/sellerapprove.php
Admin/sellerapprove.php
<?php require('require/top.php'); $z = 0; $o = 1; $q = "select * from sellers where isapp='$z' and is_cp='$o'"; $r = mysqli_query($con, $q); while ($g = mysqli_fetch_assoc($r)) { $ids = $g['id']; mysqli_query($con, "update sellers set is_new='0' where id='$ids'"); } ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="sellerapprove.php">Approve Sellers</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Name" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Name</div> <div class="p_image">Email</div> <div class="p_status">Status</div> <div class="p_action">Action</div> </div> <div class="bspace"> <?php $i = 1; $q = "select * from sellers where isapp='$z' and is_cp='$o'"; $r = mysqli_query($con, $q); while ($row = mysqli_fetch_assoc($r)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; ?></div> <div class="p_name"><?php echo $row['f_name']; ?></div> <div class="p_image"><?php echo $row['email']; ?></div> <div class="p_status"> <span class="active_span" style="color: red">Pending</span> </div> <div class="p_action"> <button class="edit" onclick="redirect_to('view_seller_approve.php?sid=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php $i++; } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/sub-cat.php
Admin/sub-cat.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="categories.php">Categories</a><span> /</span> <a href="sub-cat.php">Sub-Categories</a> </div> <div class="rowbtn"> <div class="b"> <button class="add" onclick="showadsctfa()"> <i class="fa fa-plus" aria-hidden="true"></i> &nbsp;Add </button> <input type="text" placeholder="Search by Category" id="sfield" onkeyup="search('sfield','catname')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="sl">SL no</div> <div class="catnameh">Sub Category</div> <div class="nos">Main Category</div> <div class="nos">Comission</div> <div class="status"> <span class="active_span">Status</span> </div> <div class="action">Action</div> </div> <div class="bspace" id="subcatrows"> <?php $query = "select * from subcategories order by id desc"; $res = mysqli_query($con, $query); $i = 1; $template = ''; while ($row = mysqli_fetch_assoc($res)) { $st = ''; $cb = ''; $idd = $row['id']; $scat = $row['id']; $query2 = "select * from commission where scat_id='$scat'"; $res2 = mysqli_query($con, $query2); $rowt = mysqli_fetch_assoc($res2); $cmsn = $rowt['com']; if ($row['status'] == 1) { $st = "Active"; $cb = "<button class='deactive' onclick='subcat_acdc($idd, 0)'> <i class='fa fa-eye-slash' aria-hidden='true'></i>Deactive </button>"; } else { $st = "Deactive"; $cb = " <button class='active' onclick='subcat_acdc($idd, 1)'> <i class='fa fa-eye' aria-hidden='true'></i>Active </button> "; } $id = $row['id']; $name = $row['subcat']; $pcat = $row['cat_id']; $h = mysqli_fetch_assoc(mysqli_query($con, "select * from categories where id='$pcat'")); $pcat = $h['category']; $template = $template . " <div class='detailrow'> <div class='sl'> $i </div> <div class='catname'> $name</div> <div class='nos'> $pcat </div> <div class='nos'>$cmsn%</div> <div class='status'> <span class='active_span'> $st </span> </div> <div class='action'> <button class='edit' onclick='editsubcat($id)'> <i class='fa fa-pen' aria-hidden='true'></i>Edit </button> $cb <button class='delete' onclick='subcatdelete($id)'> <i class='fa fa-trash' aria-hidden='true'></i>Delete </button> </div> </div> "; $i++; } echo $template; ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/loacationci.php
Admin/loacationci.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="loacationci.php">Add City</a> </div> <div class="rowbtn"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem" id="cpl"> <select name="" id="fsc" onchange="getstatelist()"> <option value="#">Select Country</option> <?php $query = "select * from country order by id desc"; $res = mysqli_query($con, $query); while ($row = mysqli_fetch_assoc($res)) { ?> <option value="<?php echo $row['id']; ?>"><?php echo $row['cntry_name']; ?></option> <?php } ?> </select> <select name="" id="fscb" style="margin:1rem 0 0 0;"> <option value="#">Select State</option> </select> <input type="text" placeholder="Enter City Name" id="sfield" style="width:98.5%;margin:1rem 0;" /> <button class="add" onclick="addcity()" id='adcit'> <i class="fa fa-plus" aria-hidden="true"></i> &nbsp;Add </button> <span style="font-size:1.2rem;margin-top:0.8rem;" id="erm"></span> </div> </div> <div class="rowbtn" style="margin:3rem 0 0 0;" id="filterlist"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Slno </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Country </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> State </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> City </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Action </div> </div> </div> <?php $query2 = "select city.*,country.cntry_name,state.state_name from city,country,state where city.s_id=state.id and state.c_id=country.id order by city.id desc"; $res2 = mysqli_query($con, $query2); $i = 1; while ($rowt = mysqli_fetch_assoc($res2)) { ?> <div class="b" style="display:flex;flex-direction:column;padding:0.4rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $i; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['cntry_name']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['state_name']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['city_name']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <i class="fa fa-pencil" aria-hidden="true" style="margin-right:1.2rem;" class="k" onclick="editcity(<?php echo $rowt['id']; ?>)"></i> <i class="fa fa-trash" aria-hidden="true" onclick="deletecity(<?php echo $rowt['id']; ?>)"></i> </div> </div> </div> <?php $i++; } ?> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/orderassigned.php
Admin/orderassigned.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="order.html">Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select orders.id,orders.o_id,order_status.o_status,order_time.added_on from orders,order_status,order_time where orders.order_status='3' and orders.order_status=order_status.id and order_time.o_status=orders.order_status and order_time.oid=orders.id order by orders.id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['o_status']; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('showOrderDetail.php?id=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/subfilters.php
Admin/subfilters.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="subfilters.php">Sub-Filter</a> </div> <div class="rowbtn"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <select name="" id="fsc"> <option value="#">Select Filter</option> <?php $query = "select * from filter order by id desc"; $res = mysqli_query($con, $query); while ($row = mysqli_fetch_assoc($res)) { ?> <option value="<?php echo $row['id']; ?>"><?php echo $row['filter']; ?></option> <?php } ?> </select> <input type="text" placeholder="Enter Sub-Filter Name" id="sfield" style="width:98.5%;margin:1rem 0;" /> <button class="add" onclick="addsubfilters()" id="adsfltr"> <i class="fa fa-plus" aria-hidden="true"></i> &nbsp;Add </button> <span style="font-size:1.2rem;margin-top:0.8rem;" id="erm"></span> </div> </div> <div class="rowbtn" style="margin:3rem 0 0 0;" id="filterlist"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Slno </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Filter </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Subfilter </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Action </div> </div> </div> <?php $query2 = "select sub_filter.*,filter.filter from sub_filter,filter where sub_filter.filter_id=filter.id order by sub_filter.id desc"; $res2 = mysqli_query($con, $query2); $i = 1; while ($rowt = mysqli_fetch_assoc($res2)) { ?> <div class="b" style="display:flex;flex-direction:column;padding:0.4rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $i; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['filter']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['subfilter']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <i class="fa fa-trash" aria-hidden="true" onclick="deletesubfilter(<?php echo $rowt['id'] ?>)"></i> </div> </div> </div> <?php $i++; } ?> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/product.php
Admin/product.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="product.html">Product</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Name" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_image">Image</div> <div class="p_namee">Name</div> <div class="p_status">Status</div> <div class="p_action">Action</div> </div> <div class="bspace" id="productsecrow"> <?php $query = "select * from product where isappp='1' order by id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { $st = ''; $cb = ''; $idd = $row['id']; if ($row['status'] == 1) { $st = "Active"; $cb = "<button class='deactive' onclick='product_acdc($idd, 0)'> <i class='fa fa-eye-slash' aria-hidden='true'></i>Deactive </button>"; } else { $st = "Deactive"; $cb = " <button class='active' onclick='product_acdc($idd, 1)'> <i class='fa fa-eye' aria-hidden='true'></i>Active </button> "; } ?> <div class="p_row"> <div class="slno"><?php echo $i; ?></div> <div class="p_image"> <img src="../media/product/<?php echo $row['img1']; ?>" alt="product" /> </div> <div class="p_name"><?php echo $row['product_name']; ?> </div> <div class="p_status"> <?php echo $st; ?> </div> <div class="p_action"> <button class="edit" onclick="showdetailproduct(<?php echo $row['id']; ?>)"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> <?php echo $cb; ?> <button class="delete" onclick="delete_product(<?php echo $row['id']; ?>)"> <i class="fa fa-trash" aria-hidden="true"></i>Delete </button> </div> </div> <?php $i++; } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/udv_confirm.php
Admin/udv_confirm.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="order.html">Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select orders.id,orders.o_id,order_status.o_status,order_time.added_on from orders,order_status,order_time where orders.order_status='6' and orders.u_cnfrm='0' and orders.order_status=order_status.id and order_time.o_status=orders.order_status and order_time.oid=orders.id and orders.udvc='0' order by orders.id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['o_status']; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('showOrderDetail.php?id=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/seller_detail.php
Admin/seller_detail.php
<?php require('require/top.php'); $id = $_GET['sid']; $q = "select sellers.*,country.cntry_name,state.state_name,city.city_name,pin.pincode,business_type.type from sellers,country,state,city,pin,business_type where sellers.id='$id' and sellers.country=country.id and sellers.state=state.id and sellers.city=city.id and sellers.pin=pin.id and sellers.tob=business_type.id"; $ts = mysqli_query($con, "select * from seller_wallet where seller_id='$id'"); $k = mysqli_num_rows($ts); if ($k > 0) { $t = mysqli_fetch_assoc($ts); $wb = $t['ballance']; } else { $wb = 0; } $r = mysqli_query($con, $q); $row = mysqli_fetch_assoc($r); $is_gst = $row['is_gst']; ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="seller.php">Sellers </a><span>/</span> <a href="seller_detail.php">View</a> </div> <div class="headrow"> <div class="wrap" style="height: 30rem;"> <div class="pp"> <img src="assets/images/2.jpg" alt="" /> </div> <div class="detail"> <h3><?php echo $row['f_name']; ?></h3> <h2><?php echo $row['b_name']; ?></h2> <h4><?php echo $row['email']; ?></h4> <h4><?php echo $row['mobile']; ?></h4> <p> <?php echo $row['address']; ?> </p> <br><br><br><br> <h2>Business address</h2> <br> <p> <?php echo $row['city_name']; ?>, <?php echo $row['state_name']; ?>, <?php echo $row['cntry_name']; ?>, <?php echo $row['pincode']; ?> </p> </div> <div class="detail"> <h3>Bank Details</h3> <h4><?php echo $row['acc_num']; ?></h4> <h4><?php echo $row['acc_holder']; ?></h4> <p> <?php echo $row['bank']; ?> (<?php echo $row['branch']; ?> )</p> <h4> <?php echo $row['ifsc']; ?></h4> <br><br><br><br> </div> <div class="detail" style="float: right"> <h4>GST Number: <span style="color:#6a7187;"><?php echo $row['gst_id']; ?></span></h4> <a href="../media/seller_profile/<?php echo $row['b_crft']; ?>" target="_blank"> <button class="upw" style="width:14rem;"> View Certificate </button> </a> <?php if ($is_gst == 1) { ?> <a href="../media/seller_profile/<?php echo $row['gst_crft']; ?>" target="_blank"> <button class="upw" style="width:14rem;"> View GST Proof </button> </a> <?php } ?> <br> <a href="../media/seller_profile/<?php echo $row['adhar']; ?>" target="_blank"> <button class="upw" style="width:14rem;"> View Adhar </button> </a> <br> <a href="../media/seller_profile/<?php echo $row['pan']; ?>" target="_blank"> <button class="upw" style="width:14rem;"> View PAN </button> </a> </div> </div> <div class="wrap"> <div class="detail" style="margin-bottom:4rem"> <h3>Wallet Balance: &#8377;<span><?php echo $wb; ?></span></h3> <a style="font-size:1.3rem; color:#40464d; text-decoration:underline" href="manual_update.php?sid=<?php echo $_GET['sid'] ?>">Manual Update</a> &nbsp; <a style="font-size:1.3rem; color:#40464d; text-decoration:underline" href="view_seller_wallet_history.php?sid=<?php echo $_GET['sid'] ?>">View Wallet History</a> </div> <?php if (isset($_GET['req']) && $_GET['req'] == 1) { $o = mysqli_fetch_assoc(mysqli_query($con, "select * from witdraw_req where s_id='$id'")); ?> <div class="detail" style="margin-bottom:4rem"> <h3>Requested: &#8377;<span><?php echo $o['amount_r']; ?></span></h3> <button style="background:#556ee6;color:#fff; padding:0.8rem; border-radius:5px" onclick="redirect_to('txn.php?sid=<?php echo $id; ?>')">Approve Request</button> <button style="background:#556ee6;color:#fff; padding:0.8rem; border-radius:5px" onclick="reject_req(<?php echo $id; ?>)">Reject</button> </div> <?php } ?> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/order.php
Admin/order.php
<?php require('require/top.php'); $q = "select * from orders where isnew='1'"; $r = mysqli_query($con, $q); while ($g = mysqli_fetch_assoc($r)) { $ids = $g['id']; mysqli_query($con, "update orders set isnew='0' where id='$ids'"); } ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="order.html">Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select orders.id,orders.o_id,order_status.o_status,order_time.added_on from orders,order_status,order_time where orders.order_status='2' and orders.order_status=order_status.id and order_time.o_status=orders.order_status and order_time.oid=orders.id order by orders.id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['o_status']; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('showOrderDetail.php?id=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/product_management.php
Admin/product_management.php
<?php require('require/top.php'); $h_t = get_safe_value($con, $_GET['b']); if (isset($_GET['idp'])) { $productid = get_safe_value($con, $_GET['idp']); } $name = ''; $category = ''; $subcategory = ''; $qty = ''; $price = ''; $sellprice = ''; $tax = ''; $fa = '0.00'; $sku = ''; $sd = ''; $dc = ''; $bs = ''; $filter = ''; $subfilter = ''; $tc = ''; $rday = ''; $return_p = ''; $repref = ''; $shipping = ''; $shippingex = ''; $sku = get_code(); $img1 = "assets/images/2.jpg"; $img2 = "assets/images/2.jpg"; $img3 = "assets/images/2.jpg"; $img4 = "assets/images/2.jpg"; if ($h_t == '1973') { $heading = "Add Product"; $cb = "<button class='add' onclick='add_product()' id='pbtn'> <i class='fa fa-plus' aria-hidden='true'></i> Add</button>"; } else if ($h_t == '2846') { $heading = "Edit Product"; $productid = get_safe_value($con, $_GET['idp']); $cq = "select * from product where id='$productid'"; $cr = mysqli_query($con, $cq); $nor = mysqli_num_rows($cr); if ($nor > 0) { $r = mysqli_fetch_assoc($cr); $name = $r['name']; $category = $r['category']; $subcategory = $r['subcat']; $qty = $r['qty']; $price = $r['price']; $sellprice = $r['sellprice']; $tax = $r['tax']; $fa = $r['fa']; $sku = $r['sku']; $sd = $r['sd']; $dc = $r['dc']; $bs = $r['bs']; $return_p = $r['return_p']; $tc = $r['tc']; $rday = $r['rday']; $repref = $r['repref']; $shipping = $r['shippingcharge']; $shippingex = $r['scpe']; $img1 = "../media/product/" . $r['img1']; $img2 = "../media/product/" . $r['img2']; if (!empty($r['img3'])) { $img3 = "../media/product/" . $r['img3']; } if (!empty($r['img4'])) { $img4 = "../media/product/" . $r['img4']; } $cb = "<button class='add' onclick='edit_product($productid)' id='pbtn'> <i class='fa fa-pen' aria-hidden='true'></i> Edit</button>"; } else { redirect('product.php'); } } else { redirect('product.php'); } ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="product.php">Product </a><span>/</span> <a href="product_management.php">Product Management</a> </div> <div class="catbox-row"> <div class="catboxp"> <h1><?php echo $heading; ?> </h1> <div class="formrow"> <div class="heading"> Category </div> <div class="catselect"> <select class="select" name="addcatname" id="addcatname" onchange="get_subcatfa()"> <option value="#">Select Category</option> <?php $query = "select * from categories order by id desc"; $resi = mysqli_query($con, $query); $i = 1; while ($ropw = mysqli_fetch_assoc($resi)) { $cname = $ropw['name']; if ($cname == $category) { echo "<option value='$cname' selected>$cname</option> "; } else { echo "<option value='$cname'>$cname</option> "; } } ?> </select> </div> </div> <div class="formrow"> <div class="heading"> Sub Category </div> <select class="select" name="addscatname" id="addscatname" onchange="get_filterfa()"> <option value="#">Select Sub Category</option> <?php if ($h_t == 2846) { $query2 = "select * from sub_cat where p_cat='$category' order by id desc"; $resi2 = mysqli_query($con, $query2); while ($ropw2 = mysqli_fetch_assoc($resi2)) { $cname2 = $ropw2['name']; if ($cname2 == $subcategory) { echo "<option value='$cname2' selected>$cname2</option>"; } else { echo "<option value='$cname2'>$cname2</option> "; } } } ?> </select> </div> <div id="filters"> <?php if ($h_t == 2846) { $productSubFilters = array(); $subfilterRes = mysqli_query($con, "select * from product_subfilters where pid='$productid'"); while ($subfilterRow = mysqli_fetch_assoc($subfilterRes)) { $productSubFilters[] = $subfilterRow['subfilter']; } $qn = "select * from filters where subcat='$subcategory'"; $resn = mysqli_query($con, $qn); $template = ''; while ($rown = mysqli_fetch_assoc($resn)) { $template = $template . ' <div class="formrow"> <div class="heading"> Filter </div> <select class="select" name="productFiltersName" id="addfiltername"> <option value="' . $rown['name'] . '">' . $rown['name'] . '</option> </select> </div> <div class="formrow"> <div class="heading"> Sub Filter </div> <div id="subfilters" style="background-color: #f8f8fb;width:100%;padding: 0.8rem; border: 0.5px solid #74788d; border-radius: 5px;">'; $filtername = $rown['name']; $q2 = "select * from subfilter where p_filter='$filtername'"; $res2 = mysqli_query($con, $q2); while ($row2 = mysqli_fetch_assoc($res2)) { if (in_array($row2['name'], $productSubFilters)) { $template = $template . '<span style="font-size:1.2rem;float:left; margin:0 0.8rem"> <input type="checkbox" name="productSubFiltersName" style="display:block;height: 1.5rem; background-color: #f8f8fb; width: 1.5rem; padding: 0 0.8rem; border: 0.5px solid #74788d; border-radius: 5px;float:left" value="' . $row2['name'] . '" checked> &nbsp; ' . $row2['name'] . ' </span>'; } else { $template = $template . '<span style="font-size:1.2rem;float:left; margin:0 0.8rem"> <input type="checkbox" name="productSubFiltersName" style="display:block;height: 1.5rem; background-color: #f8f8fb; width: 1.5rem; padding: 0 0.8rem; border: 0.5px solid #74788d; border-radius: 5px;float:left" value="' . $row2['name'] . '"> &nbsp; ' . $row2['name'] . ' </span>'; } } $template = $template . '</div> </div>'; } echo $template; unset($productSubFilters); } ?> </div> <div class="formrow"> <div class="heading"> Best Sell </div> <select class="select" name="addscatname" id="addbs"> <option value="0">Best Sell</option> <?php if ($h_t == 2846) { if ($bs == 1) { $t = " <option value='1' selected>Yes</option> <option value='0'>No</option> "; echo $t; } else { $t = " <option value='1' >Yes</option> <option value='0' selected>No</option> "; echo $t; } } else { ?> <option value="1">Yes</option> <option value="0">No</option> <?php } ?> </select> </div> <?php if ($return_p == 'Custom') { ?> <div class="formrow"> <div class="heading"> Return </div> <select class="select" name="addscatname" id="return_selector" onchange="checkpolicy()"> <option value="7 days return">7 days return</option> <option value="No Return">No return</option> </select> </div> <?php } else if ($return_p == 'No Return') { ?> <div class="formrow"> <div class="heading"> Return </div> <select class="select" name="addscatname" id="return_selector" onchange="checkpolicy()"> <option value="7 days return">7 days return</option> <option value="No Return" selected>No return</option> </select> </div> <?php } else { ?> <div class="formrow"> <div class="heading"> Return </div> <select class="select" name="addscatname" id="return_selector" onchange="checkpolicy()"> <option value="7 days return" selected>7 days return</option> <option value="No Return">No return</option> </select> </div> <?php } ?> <div class="formrow" id="custom_return"> <div class="heading"> Refund or Replace </div> <?php if ($repref == 'Refund') { ?> <select class="select" name="addscatname" id="return_refund"> <option value="0">Select Refund or Replace</option> <option value="Refund" selected>Refund</option> <option value="Replace">Replace</option> </select> <?php } else if ($repref == 'Replace') { ?> <select class="select" name="addscatname" id="return_refund"> <option value="0">Select Refund or Replace</option> <option value="Refund">Refund</option> <option value="Replace" selected>Replace</option> </select> <?php } else { ?> <select class="select" name="addscatname" id="return_refund"> <option value="0">Select Refund or Replace</option> <option value="Refund">Refund</option> <option value="Replace">Replace</option> </select> <?php } ?> </div> <div class="formrow"> <div class="heading"> T&C </div> <textarea name="shrtdsc" id="tc" placeholder="Terms & Condition *" style="height:10rem"><?php echo $tc; ?></textarea> </div> <div class="formrow"> <div class="heading"> Name </div> <input type="text" placeholder="Enter Product Name *" id="pname" value="<?php echo $name; ?>" /> </div> <div class="formrow"> <div class="heading"> Actual Price </div> <input type="number" placeholder="Enter Product Price *" id="pprice" value="<?php echo $price; ?>" onkeyup="putacp()" /> </div> <div class="formrow"> <div class="heading"> Selling Price </div> <input type="number" placeholder="Enter Product Selling Price *" id="psprice" value="<?php echo $sellprice; ?>" onkeyup="checkprice()" /> </div> <div style="display:flex;justify-content: flex-end; min-height:0;"> <span style="color:red;font-size:1.2rem;" id="ermsg"></span> </div> <div class="formrow"> <div class="heading"> Tax </div> <input type="number" placeholder="Enter Product Tax *" id="tax" onkeyup="tax()" value="<?php echo $tax; ?>" /> </div> <div class="formrow"> <div class="heading"> Final Ammount </div> <input type="number" placeholder="Enter Product Price *" id="fa" value="<?php echo $fa; ?>" readonly /> </div> <div class="formrow"> <div class="heading"> Shipping Charge </div> <input type="number" placeholder="Enter Product Shipping Charge *" id="shippimg" value="<?php echo $shipping; ?>" /> </div> <div class="formrow"> <div class="heading"> Charge Per Extra Qty </div> <input type="number" placeholder="Enter Product Shipping Charge per extra qty *" id="shippingex" value="<?php echo $shippingex; ?>" /> </div> <div class="formrow"> <div class="heading"> SKU </div> <input type="text" id="sku" value="<?php echo $sku; ?>" readonly /> </div> <div class="formrow"> <div class="heading"> Quantity </div> <input type="number" placeholder="Enter Product Quantity *" id="pqty" value="<?php echo $qty; ?>" /> </div> <div class="formrow"> <span style="font-size: 14px; font-weight: 600"> Chose Images </span> </div> <div class="formrow"> <div class="imgdiv"> <div class="img"> <img src="<?php echo $img1; ?>" alt="" id="preview1" /> </div> <div class="file"> <span class="colors">*</span> <input type="file" name="productimage1" id="uploadimage1" onchange="show_preview('preview1')" /> </div> </div> <div class="imgdiv"> <div class="img"> <img src="<?php echo $img2; ?>" alt="" id="preview2" /> </div> <div class="file"> <span class="colors">*</span> <input type="file" name="productimage2" id="uploadimage2" onchange="show_preview('preview2')" /> </div> </div> <div class="imgdiv"> <div class="img"> <img src="<?php echo $img3; ?>" alt="" id="preview3" /> </div> <div class="file"> <input type="file" name="productimage3" id="uploadimage3" onchange="show_preview('preview3')" /> </div> </div> <div class="imgdiv"> <div class="img"> <img src="<?php echo $img4; ?>" alt="" id="preview4" /> </div> <div class="file"> <input type="file" name="productimage4" id="uploadimage4" onchange="show_preview('preview4')" /> </div> </div> </div> <div class="formrow"> <div class="heading"> Short Description </div> <textarea name="shrtdsc" id="shrtdsc" placeholder="Short Description *"><?php echo $sd; ?></textarea> </div> <div class="formrow"> <div class="heading"> Description </div> <textarea class="desc" name="dsc" id="dsc" placeholder="Description *"><?php echo $dc; ?></textarea> </div> <div class="formrow"> <span id='pdstatus' style='font-size:1.3rem; color:#556ee6;'></span> <?php echo $cb; ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/showOrderDetail.php
Admin/showOrderDetail.php
<?php require('require/top.php'); $oid = $_GET['id']; $qu = "select order_detail.*,product.img1,product.fa,product.product_name from order_detail,product where order_detail.oid='$oid' and product.id=order_detail.p_id"; $rs = mysqli_query($con, $qu); $t = array(); while ($rt = mysqli_fetch_assoc($rs)) { $t[] = $rt; } ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="showOrderDetail.php?id=<?php echo $_GET['id']; ?>">Order Detail</a> </div> <div class="catbox-row"> <div class="catbox"> <section class="myorders"> <section class="myac-body"> <div class="flex row"> <div class="right"> <div class="col-lg-12 col-md-12" id="bill-sec"> <?php $query = "select orders.is_p_app,orders.is_w_ap,orders.prmo,orders.wlmt,orders.dv_time,orders.order_status,orders.id,orders.o_id,orders.total_amt,orders.ship_fee_order,orders.final_val,dv_time.from,dv_time.tto,order_status.o_status from orders,dv_time,order_status where orders.id='$oid' and orders.dv_date=dv_time.id and not orders.order_status='1' and orders.order_status=order_status.id"; $res = mysqli_query($con, $query); if (mysqli_num_rows($res) > 0) { while ($row = mysqli_fetch_assoc($res)) { ?> <div class="call-bill"> <div class="order-bill-slip"> <span style=" padding: 0.6rem 1rem; font-size:1.3rem; border-radius: 15px; background-color: #e6faee; color: #43dc80; "> <?php echo $row['o_status']; ?> </span> </div> </div> <div class="pdpt-bg"> <div class="pdpt-title flex justify-between"> <h4>Order Id: <?php echo $row['o_id']; ?></h4> <h6>Delivery Timing: <?php echo $row['dv_time']; ?>,<?php echo $row['from']; ?> - <?php echo $row['tto']; ?></h6> <h6><?php $fg = mysqli_query($con, "select order_time.added_on,order_status.o_status from order_time,order_status where order_time.oid='$oid' and order_time.o_status=order_status.id"); while ($rw = mysqli_fetch_assoc($fg)) { echo $rw['o_status'] . " : " . $rw['added_on'] . "<br>"; } ?></h6> </div> <div class="order-body10"> <?php $oid = $row['id']; $rs = mysqli_query($con, "select order_detail.hover,order_detail.rcvd,order_detail.qty,product.product_name,product.img1,product.id from order_detail,product where order_detail.oid='$oid' and order_detail.p_id=product.id"); while ($rw = mysqli_fetch_assoc($rs)) { ?> <ul class="order-dtsll"> <li> <div class="order-dt-img"> <img src="../media/product/<?php echo $rw['img1']; ?>" alt="" /> </div> </li> <li> <div class="order-dt47"> <h4><?php echo $rw['product_name']; ?></h4> <div class="order-title"> <?php echo $rw['qty']; ?> Items </div> </div> </li> <li> <div class="order-dt47"> <h4>Handed Over <?php if ($rw['hover'] == 1) { ?> <input type="checkbox" id="h-hover" checked disabled> <?php if ($rw['rcvd'] == 1) { echo "&nbsp; Confirmed <i class='fa fa-check-square' aria-hidden='true' style='color:#0066ff'></i>"; } else { echo "&nbsp; Not Confirmed"; } } else { ?> <input type="checkbox" id="h-hover" value="<?php echo $rw['id'] ?>" oninput="hvr(this,<?php echo $oid; ?>)"> <?php } ?> </h4> <div class="order-title"> </div> </div> </li> </ul> <?php } ?> <div class="total-dt"> <div class="total-checkout-group"> <div class="cart-total-dil"> <h4>Sub Total</h4> <span>&#8377;<?php echo $row['total_amt']; ?></span> </div> <div class="cart-total-dil pt-3"> <h4>Delivery Charges</h4> <span>&#8377;<?php echo $row['ship_fee_order']; ?></span> </div> <?php if ($row['is_p_app'] == 1) { ?> <div class="cart-total-dil pt-3"> <h4>From Promo</h4> <span>-&#8377;<?php echo $row['prmo']; ?></span> </div> <?php } if ($row['is_w_ap'] == 1) { ?> <div class="cart-total-dil pt-3"> <h4>From Wallet</h4> <span>-&#8377;<?php echo $row['wlmt']; ?></span> </div> <?php } ?> </div> <div class="main-total-cart"> <h2>Total</h2> <span>&#8377;<?php echo $row['final_val']; ?></span> </div> </div> <div class="call-bill"> <?php $n = mysqli_num_rows(mysqli_query($con, "select * from assigned_orders where od_id='$oid'")); $n2 = mysqli_num_rows(mysqli_query($con, "select * from ofd where od_id='$oid'")); if ($n == 0 && $n2 == 0 && $row['order_status'] < 5) { ?> <div class="delivery-man"> Assign To - <select name="" id="dvselect" style="border:1px solid #cecbcb;"> <option value="#">Select delivery Boy</option> <?php $rse = mysqli_query($con, "select * from delivery_boy"); while ($r = mysqli_fetch_assoc($rse)) { ?> <option value="<?php echo $r['id']; ?>"><?php echo $r['dv_name']; ?> </option> <?php } ?> </select> </div> <div class="order-bill-slip"> <a href="javascript:void()0" onclick="assign(<?php echo $oid; ?>)" class="bill-btn5 hover-btn">Assign</a> </div> <?php } else { $rs1 = mysqli_query($con, "select assigned_orders.*,delivery_boy.dv_name from assigned_orders,delivery_boy where assigned_orders.od_id='$oid' and assigned_orders.dv_id=delivery_boy.id"); $rs2 = mysqli_query($con, "select ofd.*,delivery_boy.dv_name from ofd,delivery_boy where ofd.od_id='$oid' and ofd.dv_id=delivery_boy.id"); $rs3 = mysqli_query($con, "select cnfrm_delivery.*,delivery_boy.dv_name from cnfrm_delivery,delivery_boy where cnfrm_delivery.od_id='$oid' and cnfrm_delivery.dv_id=delivery_boy.id"); $rs4 = mysqli_query($con, "select cnfrm_undelivery.*,delivery_boy.dv_name from cnfrm_undelivery,delivery_boy where cnfrm_undelivery.od_id='$oid' and cnfrm_undelivery.dv_id=delivery_boy.id"); if (mysqli_num_rows($rs1) > 0) { $d = mysqli_fetch_assoc($rs1); } else if (mysqli_num_rows($rs2)) { $d = mysqli_fetch_assoc($rs2); } else if (mysqli_num_rows($rs3)) { $d = mysqli_fetch_assoc($rs3); } else if (mysqli_num_rows($rs4)) { $d = mysqli_fetch_assoc($rs4); echo '<div class="delivery-man"> <a href="javascript:void()0" onclick="reassign(' . $oid . ')" class="bill-btn5 hover-btn">Reassign</a> <a href="javascript:void()0" onclick="reassign_finalize(' . $oid . ')" class="bill-btn5 hover-btn">Finalize</a> </div> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'; } else { $d = mysqli_fetch_assoc(mysqli_query($con, "select delivery_boy.dv_name,orders.delivered_by from delivery_boy,orders where orders.delivered_by=delivery_boy.id")); } ?> <div class="delivery-man"> Assigned To - <?php echo $d['dv_name']; ?> </div> <?php } ?> </div> </div> </div> <?php } } ?> </div> </div> </div> </section> </section> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/witdraw.php
Admin/witdraw.php
<?php require('require/top.php'); $query = "select witdraw_req.*,sellers.f_name from witdraw_req,sellers where sellers.id=witdraw_req.s_id"; $res = mysqli_query($con, $query); $h = mysqli_query($con, "select * from witdraw_req where isnew='1'"); while ($w = mysqli_fetch_assoc($h)) { $jid = $w['id']; mysqli_query($con, "update witdraw_req set isnew='0' where id='$jid'"); } ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="witdraw.php">Withdraw</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Name" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Name</div> <div class="p_status">Wallet</div> <div class="date">Requested</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $i = 1; while ($row = mysqli_fetch_assoc($res)) { ?> <div class="p_row" style="height: 3rem;"> <div class="slno"><?php echo $i; ?></div> <div class="p_name"><?php echo $row['f_name']; ?></div> <div class="p_status"> &#8377; <?php echo $row['amount_w']; ?> </div> <div class="date">&#8377; <?php echo $row['amount_r']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('seller_detail.php?sid=<?php echo $row['s_id']; ?>&req=1')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/loacationc.php
Admin/loacationc.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="loacationc.php">Add Country</a> </div> <div class="rowbtn"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem" id="cpl"> <input type="text" placeholder="Enter Country Name" id="sfield" style="width:98.5%;margin:1rem 0;" /> <button class="add" onclick="addcountry()" id='adcntry'> <i class="fa fa-plus" aria-hidden="true"></i> &nbsp;Add </button> <span style="font-size:1.2rem;margin-top:0.8rem;" id="erm"></span> </div> </div> <div class="rowbtn" style="margin:3rem 0 0 0;" id="filterlist"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Slno </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Country </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Action </div> </div> </div> <?php $query2 = "select * from country order by id desc"; $res2 = mysqli_query($con, $query2); $i = 1; while ($rowt = mysqli_fetch_assoc($res2)) { ?> <div class="b" style="display:flex;flex-direction:column;padding:0.4rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $i; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['cntry_name']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <i class="fa fa-pencil" aria-hidden="true" style="margin-right:1.2rem;" class="k" onclick="editcountry(<?php echo $rowt['id']; ?>)"></i> <i class="fa fa-trash" aria-hidden="true" onclick="deletecountry(<?php echo $rowt['id']; ?>)"></i> </div> </div> </div> <?php $i++; } ?> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/login.php
Admin/login.php
<?php require('../utility/utility.php'); if (isset($_SESSION['IS_LOGIN_ADMIN'])) { redirect('index.php'); } else { ?> <!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Login</title> <link rel="stylesheet" href="assets/css/index.css" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" /> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap" rel="stylesheet" /> <link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="css/animate.js"></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" /> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <div class="row py-5 mt-4 align-items-center"> <!-- For Demo Purpose --> <div class="col-md-5 pr-lg-5 mb-5 mb-md-0"> <img src="assets/images/form_d9sh6m.svg" alt="" class="img-fluid mb-3 d-none d-md-block" /> <h1>Log Into Your Account</h1> </div> <div class="col-md-7 col-lg-6 ml-auto"> <form action="" id="frm"> <div class="row"> <div class="input-group col-lg-12 mb-4"> <div class="input-group-prepend"> <span class=" input-group-text bg-white px-4 border-md border-right-0 "> <i class="fa fa-envelope text-muted"></i> </span> </div> <input id="seller_email" type="email" placeholder="Email Address" class="form-control bg-white border-left-0 border-md" /> </div> <div class="input-group col-lg-12 mb-4"> <div class="input-group-prepend"> <span class=" input-group-text bg-white px-4 border-md border-right-0 "> <i class="fa fa-lock text-muted"></i> </span> </div> <input id="seller_password" type="password" placeholder="Password" class="form-control bg-white border-left-0 border-md" /> </div> <div class="form-group col-lg-12 mx-auto mb-3"> <input class="btn btn-block py-2 font-weight-bold" id="seller_login" value="Submit" style="background-color: #556ee6; color: #fff;" onclick="checklogin()" readonly /> </div> </div> </form> </div> </div> </div> <script src="assets/js/script.js"></script> </body> </html> <?php } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/index.php
Admin/index.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href=""><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> </div> <div class="row"> <div class="card" style="border:1px solid #e1e4e8;border-radius:0 5px 5px 0"> <div class="logo"> <i class="fa fa-list" aria-hidden="true"></i> </div> <div class="rest"> <h4>Total Categories</h4> <h3><?php echo get_total_categories($con); ?></h3> </div> </div> <div class="card" style="border:1px solid #e1e4e8;border-radius:0 5px 5px 0"> <div class="logo"> <i class="fa fa-briefcase" aria-hidden="true"></i> </div> <div class="rest"> <h4>Total Products</h4> <h3><?php echo get_total_product($con); ?></h3> </div> </div> <div class="card" style="border:1px solid #e1e4e8;border-radius:0 5px 5px 0"> <div class="logo"> <i class="fa fa-users" aria-hidden="true"></i> </div> <div class="rest"> <h4>Total Sellers</h4> <h3><?php echo get_total_seller($con); ?></h3> </div> </div> <div class="card" style="border:1px solid #e1e4e8;border-radius:0 5px 5px 0"> <div class="logo"> <i class="fa fa-cart-arrow-down" aria-hidden="true"></i> </div> <div class="rest"> <h4>Total Orders</h4> <h3><?php echo get_total_order($con); ?></h3> </div> </div> </div> <div class="rowbtn"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem" id="cpl"> <?php $t = mysqli_fetch_assoc(mysqli_query($con, "select * from dc where id='1'")); ?> <h2>Current Minimum Order Amount Without Delivery Charge: <?php echo $t['dc']; ?></h2> <input value="<?php echo $t['dc']; ?>" type="text" placeholder="Enter minimum amount for delivery charge" id="sfield" style="width:98.5%;margin:1rem 0;" /> <h2>Delivery Charge: <?php echo $t['pc']; ?></h2> <input value="<?php echo $t['pc']; ?>" type="text" placeholder="Enter minimum amount for delivery charge" id="sfield2" style="width:98.5%;margin:1rem 0;" /> <button class="add" onclick="dv_charge()"> <i class="fa fa-plus" aria-hidden="true"></i> &nbsp;Update </button> <span style="font-size:1.2rem;margin-top:0.8rem;" id="erm"></span> </div> </div> <div class="row2"> <div class="chart"> <div class="row"> <h4>All Sales</h4> </div> <div class="sd" id="chart_div"></div> </div> <div class="right"> <div class="row"> <h4>All Orders</h4> </div> <div class="sd" id="piechart"></div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <script type="text/javascript"> google.charts.load("current", { packages: ["corechart"] }); google.charts.setOnLoadCallback(drawChart); google.charts.setOnLoadCallback(drawChartV); let y = 20; function drawChart() { var data = google.visualization.arrayToDataTable([ ["Task", "Hours per Day"], ["Total Orders", 20], ["Pending", 20], ["Confirm", 20], ["Intransit", y], ["Delivered", 20], ]); var options = { title: "Orders Chart", is3D: true, }; var chart = new google.visualization.PieChart( document.getElementById("piechart") ); chart.draw(data, options); } function drawChartV() { var data = google.visualization.arrayToDataTable([ ["Year", "Sales", ""], ["12", 1000, 0], ["2014", 1170, 0], ["2015", 660, 0], ["2016", 1030, 0], ]); var options = { title: "All Sales", hAxis: { title: "Day", titleTextStyle: { color: "#333" } }, vAxis: { title: "Product", minValue: 0 }, }; var chart = new google.visualization.AreaChart( document.getElementById("chart_div") ); chart.draw(data, options); } </script> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/loacations.php
Admin/loacations.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="loacations.php">Add State</a> </div> <div class="rowbtn"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem" id="cpl"> <select name="" id="fsc"> <option value="#">Select Country</option> <?php $query = "select * from country order by id desc"; $res = mysqli_query($con, $query); while ($row = mysqli_fetch_assoc($res)) { ?> <option value="<?php echo $row['id']; ?>"><?php echo $row['cntry_name']; ?></option> <?php } ?> </select> <input type="text" placeholder="Enter State Name" id="sfield" style="width:98.5%;margin:1rem 0;" /> <button class="add" onclick="addstate()" id="adstct"> <i class="fa fa-plus" aria-hidden="true"></i> &nbsp;Add </button> <span style="font-size:1.2rem;margin-top:0.8rem;" id="erm"></span> </div> </div> <div class="rowbtn" style="margin:3rem 0 0 0;" id="filterlist"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Slno </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Country </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> State </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Action </div> </div> </div> <?php $query2 = "SELECT s.*, c.cntry_name FROM state AS s JOIN country AS c ON s.c_id = c.id ORDER BY s.id DESC;"; $res2 = mysqli_query($con, $query2); $i = 1; while ($rowt = mysqli_fetch_assoc($res2)) { ?> <div class="b" style="display:flex;flex-direction:column;padding:0.4rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $i; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['cntry_name']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['state_name']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <i class="fa fa-pencil" aria-hidden="true" style="margin-right:1.2rem;" class="k" onclick="editstate(<?php echo $rowt['id']; ?>)"></i> <i class="fa fa-trash" aria-hidden="true" onclick="deletestate(<?php echo $rowt['id']; ?>)"></i> </div> </div> </div> <?php $i++; } ?> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/ad_dv_time.php
Admin/ad_dv_time.php
<?php require('require/top.php'); if (isset($_POST['submit'])) { $id = get_safe_value($con, $_POST['sfield']); $to = get_safe_value($con, $_POST['sfield2']); if ($id == '' && $to == '') { ?> <script> alert("Enter value") </script> <?php } else { mysqli_query($con, "INSERT INTO `dv_time`(`from`, `tto`) VALUES ('$id','$to')"); } } ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="filters.php">Filter</a> </div> <div class="rowbtn"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <form action="ad_dv_time.php" method="post"> <label for="sfield" style="font-size:1.2rem">From</label> <input type="time" placeholder="Enter Filter Name" name="sfield" style="width:98.5%;margin:1rem 0;" /> <label for="sfields" style="font-size:1.2rem">To</label> <input type="time" placeholder="Enter Filter Name" name="sfield2" style="width:98.5%;margin:1rem 0;" /> <input type="submit" value="Submit" name="submit"> </form> <span style="font-size:1.2rem;margin-top:0.8rem;" id="erm"></span> </div> </div> <div class="rowbtn" style="margin:3rem 0 0 0;" id="filterlist"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Slno </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Time </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Action </div> </div> </div> <?php $query2 = "select * from dv_time"; $res2 = mysqli_query($con, $query2); $i = 1; while ($rowt = mysqli_fetch_assoc($res2)) { ?> <div class="b" style="display:flex;flex-direction:column;padding:0.4rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $i; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['from']; ?> -&nbsp;<?php echo $rowt['tto']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <i class="fa fa-trash" aria-hidden="true" onclick="deletedvtime(<?php echo $rowt['id']; ?>)"></i> </div> </div> </div> <?php $i++; } ?> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/earning.php
Admin/earning.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="earning.php">Earnngs</a> </div> <div class="row"> <div class="card"> <div class="logo"> <i class="fa fa-cart-arrow-down" aria-hidden="true"></i> </div> <div class="rest"> <h4>Total Orders</h4> <h3 id="ttlod"><?php echo get_total_orders($con); ?></h3> </div> </div> <div class="card"> <div class="logo"> <i class="fa fa-money" aria-hidden="true"></i> </div> <div class="rest"> <h4>Total Revenue</h4> <h3 id="t">&#8377;<?php echo get_total_revenew($con); ?></h3> </div> </div> <div class="card"> <div class="logo"> <i class="fa fa-cart-arrow-down" aria-hidden="true"></i> </div> <div class="rest"> <h4>Successfull Orders</h4> <h3 id="scod"><?php echo get_total_orders_successfull($con); ?></h3> </div> </div> <div class="card"> <div class="logo"> <i class="fa fa-cart-arrow-down" aria-hidden="true"></i> </div> <div class="rest"> <h4>Unsuccessfull Orders</h4> <h3 id="uscod"><?php echo (get_total_orders($con) - get_total_orders_successfull($con)); ?></h3> </div> </div> </div> <br><br> <div class="rowbtn"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="mask" style="display:flex;flex-direction:row;align-items:center"> <h1 style="color:#40464d">From:&nbsp;&nbsp; </h1> <input type="date" placeholder="Enter Business Type" id="sfield1" style="width:98.5%;margin:1rem 0;" /> </div> <div class="mask" style="display:flex;flex-direction:row;align-items:center"> <h1 style="color:#40464d">To:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </h1> <input type="date" placeholder="Enter Business Type" id="sfield2" style="width:98.5%;margin:1rem 0;" /> </div> <div class="mask" style="display:flex;flex-direction:row;align-items:end"> <button class="add" onclick="earning_search()" id="btn">Search</button> </div> <span style="font-size:1.2rem;margin-top:0.8rem;" id="erm"></span> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/manual_update.php
Admin/manual_update.php
<?php require('require/top.php'); $id = $_GET['sid']; $o = mysqli_fetch_assoc(mysqli_query($con, "select * from seller_wallet where seller_id='$id'")); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="manual_update.php">Manual Update </a> </div> <div class="catbox-row"> <div class="catboxp"> <h1><?php echo "Manual Update"; ?> </h1> <div class="formrow"> <div class="heading"> Wallet Amount </div> <div class="catselect"> <input type="number" placeholder="Enter Email" id="bal" value="<?php echo $o['ballance']; ?>" readonly> </div> </div> <div class="formrow"> <div class="heading"> Choose Methode </div> <div class="catselect"> <select name="" id="mtd" class="select"> <option value="#">--Chose Mode--</option> <option value="1">Credit</option> <option value="0">Debit</option> </select> </div> </div> <div class="formrow"> <div class="heading"> Amount </div> <div class="catselect"> <input type="number" placeholder="Enter amount" id="abal"> </div> </div> <div class="formrow"> <div class="heading"> Message </div> <div class="catselect"> <textarea name="" id="txn" placeholder="Enter txn Details"></textarea> </div> </div> <div class="formrow"> <span id='pdstatus' style='font-size:1.3rem; color:#556ee6;'></span> <button class='add' onclick="manual_add(<?php echo $id; ?>)"> Update</button> </div> </div> </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/issue.php
Admin/issue.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="order.html">Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select orders.id,orders.o_id,order_status.o_status,order_time.added_on,isue.oid from orders,order_status,order_time,isue where orders.order_status='7' and orders.u_cnfrm='0' and orders.order_status=order_status.id and order_time.o_status=orders.order_status and order_time.oid=orders.id and orders.ptu='0' and isue.oid=orders.id order by orders.id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['o_status']; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('showOrderDetail__.php?id=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/view_seller_approve.php
Admin/view_seller_approve.php
<?php require('require/top.php'); $id = $_GET['sid']; $q = "select sellers.*,country.cntry_name,state.state_name,city.city_name,pin.pincode,business_type.type from sellers,country,state,city,pin,business_type where sellers.id='$id' and sellers.country=country.id and sellers.state=state.id and sellers.city=city.id and sellers.pin=pin.id and sellers.tob=business_type.id"; $r = mysqli_query($con, $q); $row = mysqli_fetch_assoc($r); $is_gst = $row['is_gst']; ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="sellerapprove.html">Approve Sellers </a><span>/</span> <a href="view_seller_approve.html">View</a> </div> <div class="headrow"> <div class="wrap" style="height: 30rem;"> <div class="pp"> <img src="assets/images/2.jpg" alt="" /> </div> <div class="detail"> <h3><?php echo $row['f_name']; ?></h3> <h2><?php echo $row['b_name']; ?></h2> <h4><?php echo $row['email']; ?></h4> <h4><?php echo $row['mobile']; ?></h4> <p> <?php echo $row['address']; ?> </p> <br><br><br><br> <h2>Business address</h2> <br> <p> <?php echo $row['cntry_name']; ?>, <?php echo $row['state_name']; ?>, <?php echo $row['city_name']; ?>, <?php echo $row['pincode']; ?> </p> </div> <div class="detail"> <h3>Bank Details</h3> <h4><?php echo $row['acc_num']; ?></h4> <h4><?php echo $row['acc_holder']; ?></h4> <p> <?php echo $row['bank']; ?> (<?php echo $row['branch']; ?> )</p> <h4><?php echo $row['ifsc']; ?></h4> </div> <div class="detail" style="float: right"> <h4>GST Number: <span style="color:#6a7187;"><?php echo $row['gst_id']; ?></span></h4> <a href="../media/seller_profile/<?php echo $row['b_crft']; ?>" target="_blank"> <button class="upw" style="width:14rem;"> View Certificate </button> </a> <?php if ($is_gst == 1) { ?> <a href="../media/seller_profile/<?php echo $row['gst_crft']; ?>" target="_blank"> <button class="upw" style="width:14rem;"> View GST Proof </button> </a> <?php } ?> <br> <a href="../media/seller_profile/<?php echo $row['adhar']; ?>" target="_blank"> <button class="upw" style="width:14rem;"> View Adhar </button> </a> <br> <a href="../media/seller_profile/<?php echo $row['pan']; ?>" target="_blank"> <button class="upw" style="width:14rem;"> View PAN </button> </a> </div> </div> </div> <textarea name="" id="rejection" style="width:99%;resize:none;padding:1.5rem;outline:none;" rows="8" placeholder="In case of rejection plese specify the reason"></textarea> <div class="row_a"> <button class="upw" style="width:14rem;" onclick="approve_seller('<?php echo $row['id'] ?>')"> <i class="fa fa-check-circle-o" aria-hidden="true"></i> Approve </button> <button class="upw" style="width:14rem;" onclick="reject_seller('<?php echo $row['id'] ?>')"> <i class="fa fa-times" aria-hidden="true"></i> Reject </button> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/Setteled.php
Admin/Setteled.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="order.html">Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select orders.id,orders.o_id,order_status.o_status,order_time.added_on from orders,order_status,order_time where orders.order_status='5' and orders.u_cnfrm='1' and orders.order_status=order_status.id and order_time.o_status=orders.order_status and order_time.oid=orders.id and orders.ptu='1' order by orders.id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { $odidd = $row['id']; $n = mysqli_num_rows(mysqli_query($con, "select * from order_stlmnt where oid='$odidd'")); if ($n > 0) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['o_status']; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('showOrderDetail_.php?id=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/settelmentDetail.php
Admin/settelmentDetail.php
<?php require('require/top.php'); $oid = $_GET['id']; $rw = mysqli_fetch_assoc(mysqli_query($con, "select * from orders where o_id='$oid'")); $qu = "select order_detail.*,product.img1,product.fa,product.name,commition.commission from order_detail,product,commition where order_detail.order_id='$oid' and product.id=order_detail.product_id and commition.subcat=product.subcat"; $rs = mysqli_query($con, $qu); $t = array(); while ($rt = mysqli_fetch_assoc($rs)) { $t[] = $rt; } // prx($t); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="showOrderDetail.html">Order Detail</a> </div> <div class="catbox-row"> <div class="catbox"> <div class="bspace"> <div class="head" style="display:block"> <div class="orderid"> <?php echo $oid; ?></div> </div> <table style="width:100%"> <thead> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Image</th> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Name</th> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Quantity</th> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Total price</th> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Status</th> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Shipping Id</th> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Company</th> <th style="font-size:1.4rem;font-weight:400;padding:0.2rem;border-bottom:1px solid #e2e2e2;"> Commission</th> </thead> <tbody> <?php $tp = 0; $i = 0; $j = 0; $total_com = 0; foreach ($t as $p) { //prx($p); $shipid = get_id(); $shipnameid = get_id(); $oidd = $p['id']; $pid = $p['product_id']; $mm = mysqli_num_rows(mysqli_query($con, "select * from reforrep where oid='$oidd' and isappr='1' or isappr='0'")); if ($mm != 1) { $rq = mysqli_fetch_assoc(mysqli_query($con, "select * from product where id='$pid'")); ?> <tr> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> <img src="../media/product/<?php echo $p['img1']; ?>" alt="product" style="height:8rem;width:8rem"> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> <?php echo $p['name']; ?> <br><br> <?php if ($mm > 0) { $r = mysqli_fetch_assoc(mysqli_query($con, "select * from reforrep where oid='$oidd' and pid='$pid'")); if ($r['isdone'] == 0) { ?> <span style="font-size: 1.1rem; padding:0.5rem; background:#ffa500a3;border-radius:10px"> <?php echo $r['repref']; ?> Requested </span> <?php } else { ?> <span style="font-size: 1.1rem; padding:0.5rem; background:#ffa500a3;border-radius:10px"> <?php echo $r['repref']; ?> Done </span> <?php } } ?> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> <?php echo $p['qty']; ?> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> &#8377; <?php $o = $p['qty'] * $p['fa']; echo $o; ?> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> <?php echo $p['status']; ?> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> <?php echo $p['shipping_id']; ?> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> <?php echo $p['ship_name']; ?> </td> <td style="padding: 1rem 0.8rem;border-bottom:1px solid #e2e2e2;text-align:center;font-size:1.4rem;"> &#8377; <?php echo ($p['commission'] * $o) / 100; $total_com += ($p['commission'] * $o) / 100; ?> </td> </tr> <?php if ($rq['added_by'] == "ADMIN") { if ($p['status'] == "Placed") { ?> <tr> <td style="border-bottom:1px solid #e2e2e2;"> <input type="text" id="<?php echo $shipnameid ?>" placeholder="Courier name" style="border:1px solid #e2e2e2;padding:0.5rem;width:10rem;margin-left:auto"> </td> <td style="border-bottom:1px solid #e2e2e2;"> <input type="text" id="<?php echo $shipid ?>" placeholder="Shipping Id" style="border:1px solid #e2e2e2;padding:0.5rem;width:10rem"> </td> <td style="border-bottom:1px solid #e2e2e2;"> <button style="height: 3.2rem; width: 8rem; border-radius: 5px; background-color: #556ee6; color: #fff;" onclick=" ship_product('<?php echo $p['id']; ?>','<?php echo $shipid ?>','<?php echo $shipnameid ?>')">Submit</button> </td> <td style="border-bottom:1px solid #e2e2e2;"></td> <td style="border-bottom:1px solid #e2e2e2;"></td> </tr> <?php } else { ?> <tr> <td style="border-bottom:1px solid #e2e2e2;"> <button style="height: 3.2rem; width: 8rem; border-radius: 5px; background-color: #556ee6; color: #fff;" onclick=" ship_product('<?php echo $p['id']; ?>','<?php echo $shipid ?>','<?php echo $shipnameid ?>')">Delivered</button> </td> <td style="border-bottom:1px solid #e2e2e2;"> <button style="height: 3.2rem; width: 8rem; border-radius: 5px; background-color: #556ee6; color: #fff;" onclick="ship_product('<?php echo $p['id']; ?>','<?php echo $shipid ?>','<?php echo $shipnameid ?>')">Undelivered</button> </td> <td style="border-bottom:1px solid #e2e2e2;"></td> <td style="border-bottom:1px solid #e2e2e2;"> </td> </tr> <?php } } $tp += $o; if ($p['status'] == "Delivered") { if ($p['stlment'] == 0) { $slinfo[$i] = "Pending"; } else { $slinfo[$i] = "Done"; } $i++; } if ($p['clearence'] == 1) { $payable[$i] = $o - ($p['commission'] * $o) / 100; $order_detail_id[$i] = $p['id']; $payable2[$i] = $p['cdeduct']; } } } ?> </tbody> </table> <table style="margin-top:2rem;"> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Name: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"><?php echo $rw['name']; ?></td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Address: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> <?php echo $rw['city']; ?>, <?php echo $rw['landmark']; ?>, <?php echo $rw['state']; ?>, <?php echo $rw['country']; ?>,<?php echo $rw['pin']; ?>.<br> <?php echo $rw['mobile']; ?> </td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Date: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> <?php echo $rw['added_on']; ?></td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Total Price: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> &#8377; <?php echo $tp; ?></td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Discount: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> <?php if (empty($rw['discount'])) { echo "0"; } else { echo $rw['discount']; } ?>%</td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Grand Total: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> &#8377; <?php echo $rw['total_price']; ?> </td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Payment Mode: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> <?php echo $rw['payment_type']; ?></td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Payment Status: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> <?php echo $rw['payment_status']; ?></td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Txn Id: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"><?php echo $rw['txnid']; ?></td> </tr> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Total Commission: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"> &#8377;<?php echo $total_com; ?></td> </tr> <?php $h = 1; foreach ($slinfo as $stlinfo) { $cd = get_id(); ?> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Product <?php echo $h; ?>: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Selletment <?php echo $stlinfo; ?></td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"><?php if (isset($payable[$h]) && $stlinfo != "Done") { ?> Pay to Seller: <input type="text" value="<?php echo $payable[$h]; ?>" id="<?php echo $cd; ?>" style="border:1px solid #e2e2e2;padding:0.5rem;width:10rem;margin-left:auto"> <button style="height: 3.2rem; width: 8rem; border-radius: 5px; background-color: #556ee6; color: #fff;" onclick="pay('<?php echo $order_detail_id[$h]; ?>','<?php echo $cd; ?>')">Pay</button> <?php } ?> </td> </tr> <?php if ($stlinfo == "Done") { ?> <tr> <td style="padding: 1rem 0.8rem;font-size:1.5rem;">Product <?php echo $h; ?>: </td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"><?php echo "Expected Payment: &#8377;" . $payable[$h]; ?></td> <td style="padding: 1rem 0.8rem;font-size:1.5rem;"><?php echo "Paid: &#8377;" . $payable2[$h]; ?></td> </tr> <?php } $h++; } ?> </table> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/txn.php
Admin/txn.php
<?php require('require/top.php'); $id = $_GET['sid']; $o = mysqli_fetch_assoc(mysqli_query($con, "select * from witdraw_req where s_id='$id'")); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="txn.php">Txn Details </a> </div> <div class="catbox-row"> <div class="catboxp"> <h1><?php echo "Transaction Detail"; ?> </h1> <div class="formrow"> <div class="heading"> Amount </div> <div class="catselect"> <input type="number" placeholder="Enter Email" id="bal" value="<?php echo $o['amount_r']; ?>"> </div> </div> <div class="formrow"> <div class="heading"> Txn Detail </div> <div class="catselect"> <textarea name="" id="txn" placeholder="Enter txn Details"></textarea> </div> </div> <div class="formrow"> <span id='pdstatus' style='font-size:1.3rem; color:#556ee6;'></span> <button class='add' onclick="approve_req(<?php echo $id; ?>)"> Approve</button> </div> </div> </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/productapprove.php
Admin/productapprove.php
<?php require('require/top.php'); $q = "select * from product where isappp='0'"; $r = mysqli_query($con, $q); while ($g = mysqli_fetch_assoc($r)) { $ids = $g['id']; mysqli_query($con, "update product set isnew='0' where id='$ids'"); } ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="productapprove.php">Product Approve</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Name" id="sfield" onkeyup="search('sfield','p_name')" /> <div style="display:none;width:0rem;transition:0.8s;" id="reasonbox"> <input type="text" placeholder="Enter Reason" id="sfield2" /> <button style="background:#556ee6;color:white;padding:0 0.5rem;margin-left:0.8rem;border-radius:5px;">Submit</button> </div> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_image">Image</div> <div class="p_namee">Name</div> <div class="p_status">Status</div> <div class="p_action">Action</div> </div> <div class="bspace" id="productsecrow"> <?php $query = "select * from product where isappp='0' order by id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { $st = ''; $cb = ''; $idd = $row['id']; if ($row['status'] == 1) { $st = "Active"; $cb = "<button class='deactive' onclick='product_acdc($idd, 0)'> <i class='fa fa-eye-slash' aria-hidden='true'></i>Deactive </button>"; } else { $st = "Deactive"; $cb = " <button class='active' onclick='product_acdc($idd, 1)'> <i class='fa fa-eye' aria-hidden='true'></i>Active </button> "; } ?> <div class="p_row"> <div class="slno"><?php echo $i; ?></div> <div class="p_image"> <img src="../media/product/<?php echo $row['img1']; ?>" alt="product" /> </div> <div class="p_name"><?php echo $row['product_name']; ?> </div> <div class="p_status"> <span class="active_span" style="color: red">Pending</span> </div> <div class="p_action"> <button class="edit" onclick="showdetailproduct(<?php echo $row['id']; ?>)"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> <button class="active" onclick="approve_product(<?php echo $row['id']; ?>)"> <i class="fa fa-check-circle-o" aria-hidden="true"></i>Approve </button> <button class="delete" onclick="reject_product(<?php echo $row['id']; ?>)"> <i class="fa fa-times" aria-hidden="true"></i>Reject </button> </div> </div> <?php $i++; } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/undelivered.php
Admin/undelivered.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="order.html">Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select orders.id,orders.o_id,order_status.o_status,order_time.added_on from orders,order_status,order_time where orders.order_status='6' and orders.u_cnfrm='0' and orders.order_status=order_status.id and order_time.o_status=orders.order_status and order_time.oid=orders.id and orders.udvc='1' order by orders.id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['o_status']; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('showOrderDetail.php?id=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/user.php
Admin/user.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="user.php">Users</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Name" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_image">Email</div> <div class="p_image">Mobile</div> <div class="p_status">Wallet</div> <div class="p_action">Action</div> </div> <div class="bspace" id="sellersecroww"> <?php $query = "select * from users order by id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { $idd = $row['id']; if ($row['status'] == 1) { $st = "Active"; $cb = "<button class='deactive' onclick='user_acdc($idd, 0)'> <i class='fa fa-eye-slash' aria-hidden='true'></i>Deactive </button>"; } else { $st = "Deactive"; $cb = " <button class='active' onclick='user_acdc($idd, 1)'> <i class='fa fa-eye' aria-hidden='true'></i>Active </button> "; } ?> <div class="p_row"> <div class="slno"><?php echo $i; ?></div> <div class="p_image"> <?php echo $row['email']; echo "&nbsp;"; if ($row['e_vfd'] == 1) { ?> <i class="fa fa-check-circle" aria-hidden="true" style="color:orange;"></i> <?php } else { ?> <i class="fa fa-times-circle" aria-hidden="true" style="color:orange;"></i> <?php } ?> </div> <div class="p_image"> <?php echo $row['mobile']; echo "&nbsp;"; if ($row['m_vfd'] == 1) { ?> <i class="fa fa-check-circle" aria-hidden="true" style="color:orange;"></i> <?php } else { ?> <i class="fa fa-times-circle" aria-hidden="true" style="color:orange;"></i> <?php } ?> </div> <div class="p_status"> <span> &#8377; <?php $u_id = $row['id']; $ro = mysqli_fetch_assoc(mysqli_query($con, "select * from user_wallet where user_id='$u_id'")); echo $ro['ballance']; ?> </span> </div> <div class="p_action"> <?php echo $cb; ?> </div> </div> <?php $i++; } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/delivered.php
Admin/delivered.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path" id="path"> <a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="order.html">Orders</a> </div> <div class="rowbtn"> <div class="b"> <input type="text" placeholder="Search by Order Id" id="sfield" onkeyup="search('sfield','p_name')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="slno">Sl no</div> <div class="p_namee">Order Id</div> <div class="p_status">Status</div> <div class="date">Date</div> <div class="p_action" style="width: 7rem">Action</div> </div> <div class="bspace"> <?php $query = "select orders.id,orders.o_id,order_status.o_status,order_time.added_on from orders,order_status,order_time where orders.order_status='5' and orders.u_cnfrm='1' and orders.order_status=order_status.id and order_time.o_status=orders.order_status and order_time.oid=orders.id and orders.ptu='0' order by orders.id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { ?> <div class="p_row"> <div class="slno"><?php echo $i; $i++; ?></div> <div class="p_name"><?php echo $row['o_id']; ?></div> <div class="p_status"> <span class="active_span"><?php echo $row['o_status']; ?></span> </div> <div class="date"><?php echo $row['added_on']; ?></div> <div class="p_action" style="width: 7rem"> <button class="edit" onclick="redirect_to('showOrderDetail__.php?id=<?php echo $row['id']; ?>')"> <i class="fa fa-wifi" aria-hidden="true"></i>View </button> </div> </div> <?php } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/filters.php
Admin/filters.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="filters.php">Filter</a> </div> <div class="rowbtn"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <select name="" id="fsc"> <option value="#">Select Sub Category</option> <?php $query = "select * from subcategories order by id desc"; $res = mysqli_query($con, $query); while ($row = mysqli_fetch_assoc($res)) { ?> <option value="<?php echo $row['id']; ?>"><?php echo $row['subcat']; ?></option> <?php } ?> </select> <input type="text" placeholder="Enter Filter Name" id="sfield" style="width:98.5%;margin:1rem 0;" /> <button class="add" onclick="addfilters()" id="adfltr"> <i class="fa fa-plus" aria-hidden="true"></i> &nbsp;Add </button> <span style="font-size:1.2rem;margin-top:0.8rem;" id="erm"></span> </div> </div> <div class="rowbtn" style="margin:3rem 0 0 0;" id="filterlist"> <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Slno </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Filter </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Sub Category </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Action </div> </div> </div> <?php $query2 = "select filter.*,subcategories.subcat from filter,subcategories where filter.subcat_id=subcategories.id order by filter.id desc"; $res2 = mysqli_query($con, $query2); $i = 1; while ($rowt = mysqli_fetch_assoc($res2)) { ?> <div class="b" style="display:flex;flex-direction:column;padding:0.4rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $i; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['filter']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <?php echo $rowt['subcat']; ?> </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <i class="fa fa-trash" aria-hidden="true" onclick="deletefilter(<?php echo $rowt['id']; ?>)"></i> </div> </div> </div> <?php $i++; } ?> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/categories.php
Admin/categories.php
<?php require('require/top.php'); ?> <div class="wrwr"> <div class="path"> <a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> Dashboard</a> <span>/</span> <a href="categories.php">Categories</a> </div> <div class="rowbtn"> <div class="b"> <button class="add" onclick="showadctfa()"> <i class="fa fa-plus" aria-hidden="true"></i> &nbsp;Add </button> <input type="text" placeholder="Search by Category" id="sfield" onkeyup="search('sfield','catname')" /> </div> </div> <div class="catbox-row"> <div class="catbox"> <div class="heading"> <div class="sl">SL no</div> <div class="catnameh">Category</div> <div class="nos">Sub category</div> <div class="status"> <span class="active_span">Active</span> </div> <div class="action">Action</div> </div> <div class="bspace" id='catrows'> <?php $query = "select * from categories order by id desc"; $res = mysqli_query($con, $query); $i = 1; while ($row = mysqli_fetch_assoc($res)) { $st = ''; $cb = ''; $idd = $row['id']; if ($row['status'] == 1) { $st = "Active"; $cb = "<button class='deactive' onclick='cat_acdc($idd, 0)'> <i class='fa fa-eye-slash' aria-hidden='true'></i>Deactive </button>"; } else { $st = "Deactive"; $cb = " <button class='active' onclick='cat_acdc($idd, 1)'> <i class='fa fa-eye' aria-hidden='true'></i>Active </button> "; } ?> <div class="detailrow"> <div class="sl"><?php echo $i; ?></div> <div class="catname"><?php echo $row['category']; ?></div> <?php $nm = $row['id']; $q = "select * from subcategories where cat_id='$nm'"; $r = mysqli_query($con, $q); $nor = mysqli_num_rows($r); ?> <div class="nos"><?php echo $nor; ?></div> <div class="status"> <span class="active_span"> <?php echo $st; ?> </span> </div> <div class="action"> <button class="edit" onclick="editcat(<?php echo $row['id']; ?>)"> <i class="fa fa-pen" aria-hidden="true"></i>Edit </button> <?php echo $cb; ?> <button class="delete" onclick="catdelete(<?php echo $row['id']; ?>)"> <i class="fa fa-trash" aria-hidden="true"></i>Delete </button> </div> </div> <?php $i++; } ?> </div> </div> </div> <div class="row" style=" display: block; margin-bottom: 2rem; font-size: 1.2rem; color: #6a7187; "> @ Developed by Ayondip Jana </div> </div> <?php require('require/foot.php'); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/subcat/addsubcat.php
Admin/assets/backend/subcat/addsubcat.php
<?php require('../../../../utility/utility.php'); $value=get_safe_value($con,$_POST['name']); $pcat=get_safe_value($con,$_POST['pcat']); $sale=get_safe_value($con,$_POST['sale']); $status=1; $cq="select * from subcategories where subcat='$value'"; $cr=mysqli_query($con,$cq); $cro=mysqli_num_rows($cr); $result=array(); if($cro==0){ $cq2="select * from subcategories where cat_id='$pcat'"; $cr2=mysqli_query($con,$cq2); $cro2=mysqli_num_rows($cr2); if($cro2<5){ $qyery="insert into subcategories(subcat,cat_id,status) values('$value','$pcat','$status')"; if(mysqli_query($con,$qyery)){ $id=mysqli_fetch_assoc(mysqli_query($con,"select * from subcategories where subcat='$value'")); $result['id']=$id['id']; $result['status']=1; echo json_encode($result); }else{ $result['status']=0; echo json_encode($result); } }else{ $result['status']=2; echo json_encode($result); } }else{ $result['status']=3; echo json_encode($result); } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/subcat/updatesubcatlist.php
Admin/assets/backend/subcat/updatesubcatlist.php
<?php require('../../../../utility/utility.php'); $query="select * from subcategories order by id desc"; $res=mysqli_query($con,$query); $i=1; $template=''; while($row=mysqli_fetch_assoc($res)){ $st=''; $cb=''; $idd=$row['id']; $scat=$row['id']; $query2="select * from commission where scat_id='$scat'"; $res2=mysqli_query($con,$query2); $rowt=mysqli_fetch_assoc($res2); $cmsn=$rowt['com']; if($row['status']==1){ $st="Active"; $cb="<button class='deactive' onclick='subcat_acdc($idd, 0)'> <i class='fa fa-eye-slash' aria-hidden='true'></i>Deactive </button>"; }else{ $st="Deactive"; $cb=" <button class='active' onclick='subcat_acdc($idd, 1)'> <i class='fa fa-eye' aria-hidden='true'></i>Active </button> "; } $id=$row['id']; $name=$row['subcat']; $pcat=$row['cat_id']; $h=mysqli_fetch_assoc(mysqli_query($con,"select * from categories where id='$pcat'")); $pcat=$h['category']; $template=$template." <div class='detailrow'> <div class='sl'> $i </div> <div class='catname'> $name</div> <div class='nos'> $pcat </div> <div class='nos'>$cmsn%</div> <div class='status'> <span class='active_span'> $st </span> </div> <div class='action'> <button class='edit' onclick='editsubcat($id)'> <i class='fa fa-pen' aria-hidden='true'></i>Edit </button> $cb <button class='delete' onclick='subcatdelete($id)'> <i class='fa fa-trash' aria-hidden='true'></i>Delete </button> </div> </div> "; $i++; } echo $template; ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/subcat/subcat_acdc.php
Admin/assets/backend/subcat/subcat_acdc.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $status=get_safe_value($con,$_POST['status']); $q="update subcategories set status='$status' where id='$id'"; if(mysqli_query($con,$q)){ echo 1; }else{ echo 0; } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/subcat/editsubcats.php
Admin/assets/backend/subcat/editsubcats.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $q="select * from subcategories where id='$id'"; $res=mysqli_query($con,$q); $row=mysqli_fetch_assoc($res); $name=$row['subcat']; $pact=$row['cat_id']; $scat=$row['id']; $query2="select * from commission where scat_id='$scat'"; $res2=mysqli_query($con,$query2); $rowt=mysqli_fetch_assoc($res2); $cmsn=$rowt['com']; $template=" <div class='row'> <h2>Edit Sub Category</h2> </div> <div class='row ndr'> <select name='catnameadd' id='addsubcat'> <option value=' '>Select Parent Category</option>"; $query="select * from categories order by id desc"; $resi=mysqli_query($con,$query); $i=1; while($ropw=mysqli_fetch_assoc($resi)){ $cname=$ropw['id']; $cnam_e=$ropw['category']; if($pact==$cname){ $template=$template." <option value='$cname' selected>$cnam_e</option> "; }else{ $template=$template." <option value='$cname'>$cnam_e</option> "; } } $template=$template." </select> <input type='text' value='$name' id='subcatname'/> <input type='number' id='subcatsale' placeholder='Enter Sale commission in %' value='$cmsn'/> <button class='adcatbtn' onclick='updatesubcat($id)' id='esctbt'> <i class='fa fa-refresh' aria-hidden='true'></i> Update </button> </div> <div class='row nm'> <span id='msg' style='font-size:1.3rem;'></span> </div> <div class='row nm'> <button class='adcatbtn' onclick='closeadct2()'> <i class='fa fa-close' aria-hidden='true'></i> Close </button> </div> "; echo $template; ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/subcat/get_subcat.php
Admin/assets/backend/subcat/get_subcat.php
<?php require('../../../../utility/utility.php'); $pcat=get_safe_value($con,$_POST['pcat']); $template=''; $q="select * from subcategories where cat_id='$pcat'"; $res=mysqli_query($con,$q); if(mysqli_num_rows($res)==0){ $template="<option>No Data found</option>"; }else{ $template="<option value='#'>Select Sub Category</option>"; while($row=mysqli_fetch_assoc($res)){ $name=$row['subcat']; $namei=$row['id']; $template=$template." <option value='$namei'>$name</option> "; } } echo $template; ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/subcat/updatesubcat.php
Admin/assets/backend/subcat/updatesubcat.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $name=get_safe_value($con,$_POST['name']); $pcat=get_safe_value($con,$_POST['pcat']); $sale=get_safe_value($con,$_POST['sale']); $cq="select * from subcategories where subcat='$name' and cat_id='$pcat'"; $cr=mysqli_query($con,$cq); $cro=mysqli_num_rows($cr); if($cro==0){ $q="update subcategories set subcat='$name',cat_id='$pcat' where id='$id'"; if(mysqli_query($con,$q)){ mysqli_query($con,"update comission set com='$sale' where scat_id='$id'"); echo 1; }else{ echo 0; } }else{ $r=mysqli_fetch_assoc($cr); $rg=$r['id']; if($cro>=1 && $rg==$id){ $q="update subcategories set subcat='$name',cat_id='$pcat' where id='$id'"; if(mysqli_query($con,$q)){ mysqli_query($con,"update commission set com='$sale' where scat_id='$id'"); echo "update commission set com='$sale' where scat_id='$id'"; }else{ echo 0; } }else{ echo 3; } } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/subcat/subcat_delete.php
Admin/assets/backend/subcat/subcat_delete.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $q="delete from subcategories where id='$id'"; mysqli_query($con,$q); mysqli_query($con,"delete from commission where scat_id='$id'"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/subcat/show-addsubcat.php
Admin/assets/backend/subcat/show-addsubcat.php
<?php require('../../../../utility/utility.php'); $template=" <div class='row'> <h2>Add Sub Category</h2> </div> <div class='row ndr'> <select name='catnameadd' id='addsubcat'> <option value='#'>Select Parent Category</option>"; $query="select * from categories order by id desc"; $resi=mysqli_query($con,$query); $i=1; while($ropw=mysqli_fetch_assoc($resi)){ $cname=$ropw['category']; $cid=$ropw['id']; $template=$template." <option value='$cid'>$cname</option> "; } $template=$template." </select> <input type='text' id='subcatname' placeholder='Enter New Sub Category'/> <input type='number' id='subcatsale' placeholder='Enter Sale commission in %'/> <button class='adcatbtn' onclick='addnewsubcat()' id='adsctbt'> <i class='fa fa-plus' aria-hidden='true'></i> Add </button> </div> <div class='row nm'> <span id='msg' style='font-size:1.3rem;'></span> </div> <div class='row nm'> <button class='adcatbtn' onclick='closeadct2()'> <i class='fa fa-close' aria-hidden='true'></i> Close </button> </div> "; echo $template; ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/auth/logout.php
Admin/assets/backend/auth/logout.php
<?php require('../../../../utility/utility.php'); unset($_SESSION['IS_LOGIN_ADMIN']); unset($_SESSION['PVL_ADMIN']); unset($_SESSION['ADMIN_ID']); echo 1; die(); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/auth/validate.php
Admin/assets/backend/auth/validate.php
<?php require('../../../../utility/utility.php'); $username=get_safe_value($con,$_POST['un']); $password=get_safe_value($con,$_POST['up']); $q="select * from admin where username='$username'"; $rs=mysqli_query($con,$q); $nor=mysqli_num_rows($rs); if($nor==0){ echo 3; }else{ $row=mysqli_fetch_assoc($rs); $dps=$row['password']; $verify = password_verify($password, $dps); if ($verify) { $_SESSION['IS_LOGIN_ADMIN']="YES"; $_SESSION['PVL_ADMIN']="ADMIN"; $_SESSION['ADMIN_ID']=$row['id']; echo 1; } else { echo 0; } } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/filter/deletefilter.php
Admin/assets/backend/filter/deletefilter.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $q="select * from filter where id='$id'"; $r=mysqli_query($con,$q); $T=mysqli_fetch_assoc($r); $name=$T['name']; $qr="select * from subfilter where p_filter='$name'"; $ra=mysqli_query($con,$qr); while($rw=mysqli_fetch_assoc($ra)){ $sc=$rw['name']; mysqli_query($con,"delete from subfilter where name='$sc'"); } mysqli_query($con,"delete from filter where id='$id'"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/filter/add_product_sub_filter.php
Admin/assets/backend/filter/add_product_sub_filter.php
<?php require('../../../../utility/utility.php'); $value=json_decode($_POST['json']); $productId=$value[count($value)-1]; for($i=0;$i<count($value)-1;$i++){ $query='insert into product_subfilters (pid,subfilter) values("'.$productId.'","'.$value[$i].'")'; mysqli_query($con,$query); } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/filter/add_product_sub_filter_update.php
Admin/assets/backend/filter/add_product_sub_filter_update.php
<?php require('../../../../utility/utility.php'); $value=json_decode($_POST['json']); $productId=$value[count($value)-1]; mysqli_query($con,"delete from product_subfilters where pid='$productId'"); for($i=0;$i<count($value)-1;$i++){ $query='insert into product_subfilters (pid,subfilter) values("'.$productId.'","'.$value[$i].'")'; mysqli_query($con,$query); } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/filter/updatefilterlist.php
Admin/assets/backend/filter/updatefilterlist.php
<?php require('../../../../utility/utility.php'); $template='<div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Slno </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Filter </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Sub Category </div> <div class="block" style="width:15rem; font-weight: 600; color:#40464d; font-size:1.6rem; display:flex; justify-content:center; align-items:center;"> Action </div> </div> </div>'; $query2="select filter.*,subcategories.subcat from filter,subcategories where filter.subcat_id=subcategories.id order by filter.id desc"; $res2=mysqli_query($con,$query2); $i=1; while($rowt=mysqli_fetch_assoc($res2)){ $template=$template.' <div class="b" style="display:flex;flex-direction:column;padding:3rem 2rem"> <div class="row" style="height:3rem; display:flex;justify-content:space-between;"> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> '. $i.' </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> '.$rowt['filter'].' </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> '.$rowt['subcat'].' </div> <div class="block" style="width:15rem; display:flex; justify-content:center; align-items:center;font-size:1.3rem;color:#6a7187;"> <i class="fa fa-trash" aria-hidden="true" onclick="deletefilter('.$rowt['id'].')"></i> </div> </div> </div> '; $i++; } echo $template; ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/filter/add_product_filter_update.php
Admin/assets/backend/filter/add_product_filter_update.php
<?php require('../../../../utility/utility.php'); $value=json_decode($_POST['json']); $productId=$value[count($value)-1]; mysqli_query($con,"delete from product_filters where pid='$productId'"); for($i=0;$i<count($value)-1;$i++){ $query='insert into product_filters (pid,filter) values("'.$productId.'","'.$value[$i].'")'; mysqli_query($con,$query); } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/filter/add_product_filter.php
Admin/assets/backend/filter/add_product_filter.php
<?php require('../../../../utility/utility.php'); $value=json_decode($_POST['json']); $productId=$value[count($value)-1]; for($i=0;$i<count($value)-1;$i++){ $query='insert into product_filters (pid,filter) values("'.$productId.'","'.$value[$i].'")'; mysqli_query($con,$query); } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/filter/addfilter.php
Admin/assets/backend/filter/addfilter.php
<?php require('../../../../utility/utility.php'); $value=get_safe_value($con,$_POST['filter']); $subcat=get_safe_value($con,$_POST['subcat']); $cq="select * from filter where filter='$value'"; $cr=mysqli_query($con,$cq); $cro=mysqli_num_rows($cr); if($cro==0){ $qyery="insert into filter(subcat_id,filter) values('$subcat','$value')"; if(mysqli_query($con,$qyery)){ echo 1; }else{ echo 0; } }else{ echo 3; } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/filter/get_subfilter.php
Admin/assets/backend/filter/get_subfilter.php
<?php require('../../../../utility/utility.php'); $pcat=get_safe_value($con,$_POST['pcat']); $template=''; $q="select * from filter where subcat_id='$pcat'"; $res=mysqli_query($con,$q); if(mysqli_num_rows($res)==0){ $template="<option>No Data found</option>"; }else{ while($row=mysqli_fetch_assoc($res)){ $template=$template.' <div class="formrow"> <div class="heading"> Filter </div> <select name="productFiltersName" id="addfiltername"> <option value="'.$row['id'].'">'.$row['filter'].'</option> </select> </div> <div class="formrow"> <div class="heading"> Sub Filter </div> <div id="subfilters" style="background-color: #f8f8fb;width:98%;padding: 0.8rem; border: 0.5px solid #74788d; border-radius: 5px;">'; $filtername=$row['id']; $q2="select * from sub_filter where filter_id='$filtername'"; $res2=mysqli_query($con,$q2); while($row2=mysqli_fetch_assoc($res2)){ $template=$template.'<span style="font-size:1.2rem;float:left; margin:0 0.8rem"> <input type="checkbox" name="productSubFiltersName" style="display:block;height: 1.5rem; background-color: #f8f8fb; width: 1.5rem; padding: 0 0.8rem; border: 0.5px solid #74788d; border-radius: 5px;float:left" value="'.$row2['id'].'"> &nbsp; '.$row2['subfilter'].' </span>'; } $template=$template.'</div> </div>'; } } echo $template; ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/category/show-addcat.php
Admin/assets/backend/category/show-addcat.php
<?php require('../../../../utility/utility.php'); $template=" <div class='row'> <h2>Add Category</h2> </div> <div class='row ndr'> <br /> <input type='text' id='updtedcat' placeholder='Enter category name'/> <button class='adcatbtn' onclick='addnewcat()' id='adctbt'> <i class='fa fa-plus' aria-hidden='true'></i> Add </button> </div> <div class='row nm'> <span id='msg' style='font-size:1.3rem;'></span> </div> <div class='row nm'> <button class='adcatbtn' onclick='closeadct()'> <i class='fa fa-close' aria-hidden='true'></i> Close </button> </div> "; echo $template; ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/category/editcat.php
Admin/assets/backend/category/editcat.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $q="select * from categories where id='$id'"; $res=mysqli_query($con,$q); $row=mysqli_fetch_assoc($res); $name=$row['category']; $template=" <div class='row'> <h2>Edit Category</h2> </div> <div class='row ndr'> <br /> <input type='text' value='$name' id='updtedcat'/> <button class='adcatbtn' id='edctbt' onclick='updatecat($id)'> <i class='fa fa-refresh' aria-hidden='true'></i> Update </button> </div> <div class='row nm'> <span id='msg' style='font-size:1.3rem;'></span> </div> <div class='row nm'> <button class='adcatbtn' onclick='closeadct()'> <i class='fa fa-close' aria-hidden='true'></i> Close </button> </div> "; echo $template; ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/category/cat_delete.php
Admin/assets/backend/category/cat_delete.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $q="delete from categories where id='$id'"; $res=mysqli_query($con,"select * from subcategories where cat_id='$id'"); while($r=mysqli_fetch_assoc($res)){ $sid=$r['id']; mysqli_query($con,"delete from commission where scat_id='$sid'"); $res2=mysqli_query($con,"select * from filter where subcat_id='$sid'"); while($r2=mysqli_fetch_assoc($res2)){ $fid=$r2['id']; mysqli_query($con,"delete from sub_filter where filter_id='$sid'"); } mysqli_query($con,"delete from filter where subcat_id='$sid'"); } mysqli_query($con,"delete from subcategories where cat_id='$id'"); if(mysqli_query($con,$q)){ echo 1; }else{ echo 0; } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/category/cat_acdc.php
Admin/assets/backend/category/cat_acdc.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $status=get_safe_value($con,$_POST['status']); $q="update categories set status='$status' where id='$id'"; if(mysqli_query($con,$q)){ echo 1; }else{ echo 0; } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/category/catlist.php
Admin/assets/backend/category/catlist.php
<?php require('../../../../utility/utility.php'); $query="select * from categories order by id desc"; $res=mysqli_query($con,$query); $i=1; $template=''; while($row=mysqli_fetch_assoc($res)){ $st=''; $cb=''; $id=$row['id']; if($row['status']==1){ $st="Active"; $cb="<button class='deactive' onclick='cat_acdc($id, 0)'> <i class='fa fa-eye-slash' aria-hidden='true'></i>Deactive </button>"; }else{ $st="Deactive"; $cb=" <button class='active' onclick='cat_acdc($id, 1)'> <i class='fa fa-eye' aria-hidden='true'></i>Active </button> "; } $h=$row['category']; $template=$template." <div class='detailrow'> <div class='sl'> $i</div> <div class='catname'>$h</div>"; $nm=$row['id']; $q="select * from subcategories where cat_id='$nm'"; $r=mysqli_query($con,$q); $nor=mysqli_num_rows($r); $template=$template." <div class='nos'>$nor</div> <div class='status'> <span class='active_span'> $st </span> </div> <div class='action'> <button class='edit' onclick='editcat($id)'> <i class='fa fa-pen' aria-hidden='true'></i>Edit </button> $cb <button class='delete' onclick='catdelete($id)'> <i class='fa fa-trash' aria-hidden='true'></i>Delete </button> </div> </div> "; $i++; } echo $template; ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/category/updatecat.php
Admin/assets/backend/category/updatecat.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $name=get_safe_value($con,$_POST['name']); $cq="select * from categories where category='$name'"; $cr=mysqli_query($con,$cq); $cro=mysqli_num_rows($cr); if($cro==0){ $q="update categories set category='$name' where id='$id'"; if(mysqli_query($con,$q)){ echo 1; }else{ echo 0; } }else{ $r=mysqli_fetch_assoc($cr); $rg=$r['id']; if($cro>=1 && $rg==$id){ $q="update categories set category='$name' where id='$id'"; if(mysqli_query($con,$q)){ echo 1; }else{ echo 0; } }else{ echo 3; } } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/category/addcat.php
Admin/assets/backend/category/addcat.php
<?php require('../../../../utility/utility.php'); $value=get_safe_value($con,$_POST['name']); $status=1; $cq="select * from categories where category='$value'"; $cr=mysqli_query($con,$cq); $cro=mysqli_num_rows($cr); if($cro==0){ $qyery="insert into categories(category,status) values('$value','$status')"; if(mysqli_query($con,$qyery)){ echo 1; }else{ echo 0; } }else{ echo 3; } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/product/updatefimage.php
Admin/assets/backend/product/updatefimage.php
<?php require('../../../../utility/utility.php'); if($_FILES['file']['type']!='' && $_FILES['file']['type']!='image/jpeg' && $_FILES['file']['type']!='image/jpg'&& $_FILES['file']['type']!='image/png'){ $msg="Format of Fourth Image Is Not supported"; echo $msg; }else{ $filename = rand(1111111,9999999).$_FILES['file']['name']; $location = "../../../../media/product/".$filename; if(move_uploaded_file($_FILES['file']['tmp_name'],$location)) { echo $filename; } } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/product/pt_acdc.php
Admin/assets/backend/product/pt_acdc.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $status=get_safe_value($con,$_POST['status']); $q="update product set status='$status' where id='$id'"; if(mysqli_query($con,$q)){ echo 1; }else{ echo 0; } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/product/updateproductlist.php
Admin/assets/backend/product/updateproductlist.php
<?php require('../../../../utility/utility.php'); $query="select * from product order by id desc"; $res=mysqli_query($con,$query); $i=1; $template=''; while($row=mysqli_fetch_assoc($res)){ $st=''; $cb=''; $img1=$row['img1']; $name=$row['name']; $id=$row['id']; if($row['status']==1){ $st="Active"; $cb="<button class='deactive' onclick='product_acdc($id, 0)'> <i class='fa fa-eye-slash' aria-hidden='true'></i>Deactive </button>"; }else{ $st="Deactive"; $cb=" <button class='active' onclick='product_acdc($id, 1)'> <i class='fa fa-eye' aria-hidden='true'></i>Active </button> "; } $template=$template." <div class='p_row'> <div class='slno'>$i</div> <div class='p_image'> <img src='../media/product/$img1' alt='product' /> </div> <div class='p_name'>$name </div> <div class='p_status'> $st </div> <div class='p_action'> <button class='edit' onclick='showdetailproduct($id)'> <i class='fa fa-wifi' aria-hidden='true'></i>View </button> $cb <button class='delete'> <i class='fa fa-trash' aria-hidden='true'></i>Delete </button> </div> </div> "; $i++; } echo $template; ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/product/add_bs.php
Admin/assets/backend/product/add_bs.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $bs=get_safe_value($con,$_POST['val']); mysqli_query($con,"update product set bs='$bs' where id='$id'"); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/product/addfimage.php
Admin/assets/backend/product/addfimage.php
<?php require('../../../../utility/utility.php'); if($_FILES['file']['type']!='' && $_FILES['file']['type']!='image/jpeg' && $_FILES['file']['type']!='image/jpg'&& $_FILES['file']['type']!='image/png'){ $msg="Format of Fourth Image Is Not supported"; echo $msg; }else{ $filename = rand(1111111,9999999).$_FILES['file']['name']; $location = "../../../../media/product/".$filename; if(move_uploaded_file($_FILES['file']['tmp_name'],$location)) { echo $filename; } } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/product/addproduct.php
Admin/assets/backend/product/addproduct.php
<?php require('../../../../utility/utility.php'); $name=get_safe_value($con,$_POST['name']); $category=get_safe_value($con,$_POST['category']); $subcategory=get_safe_value($con,$_POST['subcat']); $img1=get_safe_value($con,$_POST['img1']); $img2=get_safe_value($con,$_POST['img2']); $img3=get_safe_value($con,$_POST['img3']); $img4=get_safe_value($con,$_POST['img4']); $qty=get_safe_value($con,$_POST['quantity']); $price=get_safe_value($con,$_POST['price']); $sellprice=get_safe_value($con,$_POST['sellprice']); $sd=get_safe_value($con,$_POST['sd']); $dc=get_safe_value($con,$_POST['d']); $bs=get_safe_value($con,$_POST['bestsell']); $tax=get_safe_value($con,$_POST['tax']); $fa=get_safe_value($con,$_POST['fa']); $sku=get_safe_value($con,$_POST['sku']); $return_p=get_safe_value($con,$_POST['return_p']); $rday=get_safe_value($con,$_POST['rday']); $repref=get_safe_value($con,$_POST['repref']); $tc=get_safe_value($con,$_POST['tc']); $shipping=get_safe_value($con,$_POST['shipping']); $shippingex=get_safe_value($con,$_POST['shippingex']); $added_by= "ADMIN"; $status=1; $inapprove=1; $cq="select * from product where name='$name'and category='$category' and subcat='$subcategory'"; $cr=mysqli_query($con,$cq); $cro=mysqli_num_rows($cr); $return=array(); if($cro==0){ $qyery="insert into product(name,img1,img2,img3,img4,category,subcat,qty,price,sellprice,tax,fa,sku,sd,dc,return_p,rday,repref,tc,bs,added_by,isapp,shippingcharge,scpe,status,isnew) values('$name','$img1','$img2','$img3','$img4','$category','$subcategory','$qty','$price','$sellprice','$tax','$fa','$sku','$sd','$dc','$return_p','$rday','$repref','$tc','$bs','$added_by','$inapprove','$shipping','$shippingex','$status','1')"; if(mysqli_query($con,$qyery)){ $row=mysqli_fetch_assoc(mysqli_query($con,"select * from product where name='$name' and category='$category' and subcat='$subcategory'")); $product_id=$row['id']; $return['code']=1; $return['id']=$product_id; echo json_encode($return); }else{ $return['code']=0; echo json_encode($return); } }else{ $return['code']=3; echo json_encode($return); } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/product/updatetimage.php
Admin/assets/backend/product/updatetimage.php
<?php require('../../../../utility/utility.php'); if($_FILES['file']['type']!='' && $_FILES['file']['type']!='image/jpeg' && $_FILES['file']['type']!='image/jpg'&& $_FILES['file']['type']!='image/png'){ $msg="Format of Third Image Is Not supported"; echo $msg; }else{ $filename = rand(1111111,9999999).$_FILES['file']['name']; $location = "../../../../media/product/".$filename; if(move_uploaded_file($_FILES['file']['tmp_name'],$location)) { echo $filename; } } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/product/updatesimage.php
Admin/assets/backend/product/updatesimage.php
<?php require('../../../../utility/utility.php'); if($_FILES['file']['type']!='' && $_FILES['file']['type']!='image/jpeg' && $_FILES['file']['type']!='image/jpg'&& $_FILES['file']['type']!='image/png'){ $msg="Format of Second Image Is Not supported"; echo $msg; }else{ $filename = rand(1111111,9999999).$_FILES['file']['name']; $location = "../../../../media/product/".$filename; if(move_uploaded_file($_FILES['file']['tmp_name'],$location)) { echo $filename; } } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/product/product_delete.php
Admin/assets/backend/product/product_delete.php
<?php require('../../../../utility/utility.php'); $id=get_safe_value($con,$_POST['id']); $query="select * from product where id='$id'"; $res=mysqli_query($con,$query); $row=mysqli_fetch_assoc($res); $img1=$row['img1']; $img2=$row['img2']; $img3=$row['img3']; $img4=$row['img4']; $link1="../../../../media/product/$img1"; $link2="../../../../media/product/$img2"; $link3="../../../../media/product/$img3"; $link4="../../../../media/product/$img4"; unlink($link1); unlink($link2); unlink($link3); unlink($link4); $q="delete from product where id='$id'"; if(mysqli_query($con,$q)){ echo 1; }else{ echo 0; } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/Admin/assets/backend/product/updateproduct.php
Admin/assets/backend/product/updateproduct.php
<?php require('../../../../utility/utility.php'); $name=get_safe_value($con,$_POST['name']); $category=get_safe_value($con,$_POST['category']); $subcategory=get_safe_value($con,$_POST['subcat']); $img1=get_safe_value($con,$_POST['img1']); $img2=get_safe_value($con,$_POST['img2']); $img3=get_safe_value($con,$_POST['img3']); $img4=get_safe_value($con,$_POST['img4']); $qty=get_safe_value($con,$_POST['quantity']); $price=get_safe_value($con,$_POST['price']); $sellprice=get_safe_value($con,$_POST['sellprice']); $tax=get_safe_value($con,$_POST['tax']); $fa=get_safe_value($con,$_POST['fa']); $sku=get_safe_value($con,$_POST['sku']); $sd=get_safe_value($con,$_POST['sd']); $id=get_safe_value($con,$_POST['id']); $dc=get_safe_value($con,$_POST['d']); $bs=get_safe_value($con,$_POST['bestsell']); $return_p=get_safe_value($con,$_POST['return_p']); $rday=get_safe_value($con,$_POST['rday']); $repref=get_safe_value($con,$_POST['repref']); $tc=get_safe_value($con,$_POST['tc']); $added_by= "ADMIN"; $status=1; $inapprove=1; $test="select * from product where id='$id'"; $testres=mysqli_query($con,$test); $testrow=mysqli_fetch_assoc($testres); if($img1==''){ $temp=$testrow['img1']; $img1=$temp; }else{ $temp=$testrow['img1']; $link="../../../../media/product/$temp"; unlink($link); } if($img2==''){ $temp=$testrow['img2']; $img2=$temp; }else{ $temp=$testrow['img2']; $link="../../../../media/product/$temp"; unlink($link); } if($img3==''){ $temp=$testrow['img3']; $img3=$temp; }else{ $temp=$testrow['img3']; $link="../../../../media/product/$temp"; unlink($link); } if($img4==''){ $temp=$testrow['img4']; $img4=$temp; }else{ $temp=$testrow['img4']; $link="../../../../media/product/$temp"; unlink($link); } $cq="select * from product where name='$name'and category='$category' and subcat='$subcategory'"; $cr=mysqli_query($con,$cq); $cro=mysqli_num_rows($cr); if($cro==0){ $qyery="update product set name='$name',img1='$img1',img2='$img2',img3='$img3',img4='$img4',category='$category',subcat='$subcategory',qty='$qty',price='$price',sellprice='$sellprice',tax='$tax',fa='$fa',sku='$sku',sd='$sd',dc='$dc',return_p='$return_p',rday='$rday',repref='$repref',tc='$tc',bs='$bs',added_by='$added_by',isapp='$inapprove',shippingcharge='$shipping',scpe='$shippingex',status='$status',isnew='1' where id='$id'"; if(mysqli_query($con,$qyery)){ $queryv="select * from prejection where p_id='$id'"; $resv=mysqli_query($con,$queryv); $rowv=mysqli_num_rows($resv); if($rowv>0){ mysqli_query($con,"delete from prejection where p_id='$id'"); } $return['code']=1; $return['id']=$id; echo json_encode($return); }else{ $return['code']=0; echo json_encode($return); } }else{ $r=mysqli_fetch_assoc($cr); $rg=$r['id']; if($cro>=1 && $rg==$id){ $q="update product set name='$name',img1='$img1',img2='$img2',img3='$img3',img4='$img4',category='$category',subcat='$subcategory',qty='$qty',price='$price',sellprice='$sellprice',tax='$tax',fa='$fa',sku='$sku',sd='$sd',dc='$dc',return_p='$return_p',rday='$rday',repref='$repref',tc='$tc',bs='$bs',added_by='$added_by',isapp='$inapprove',shippingcharge='$shipping',scpe='$shippingex',status='$status',isnew='1' where id='$id'"; if(mysqli_query($con,$q)){ $queryv="select * from prejection where p_id='$id'"; $resv=mysqli_query($con,$queryv); $rowv=mysqli_num_rows($resv); if($rowv>0){ mysqli_query($con,"delete from prejection where p_id='$id'"); } $return['code']=1; $return['id']=$id; echo json_encode($return); }else{ $return['code']=0; echo json_encode($return); } }else{ $return['code']=3; echo json_encode($return); } } ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false