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/seller/assets/backend/filter/add_product_filter_update.php | seller/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 p_filter where pid='$productId'");
for($i=0;$i<count($value)-1;$i++){
$query='insert into p_filter (pid,fid) values("'.$productId.'","'.$value[$i].'")';
mysqli... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/filter/add_product_filter.php | seller/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 p_filter (pid,fid) 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/seller/assets/backend/filter/get_subfilter.php | seller/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)){
... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/updatefimage.php | seller/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{
$temp = explode(".", $_FILES["file"][... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/pt_acdc.php | seller/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/seller/assets/backend/product/updateproductlist.php | seller/assets/backend/product/updateproductlist.php | <?php
require('../../../../utility/utility.php');
$sellerid=$_SESSION['ID'];
$query="select * from product where added_by='$sellerid' 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['product_name'];
$id=$row['id'... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/addfimage.php | seller/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{
$temp = explode(".", $_FILES["file"][... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/addproduct.php | seller/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,$_POS... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/updatetimage.php | seller/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{
$temp = explode(".", $_FILES["file"]["... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/updatesimage.php | seller/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{
$temp = explode(".", $_FILES["file"][... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/product_delete.php | seller/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";... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/updateproduct.php | seller/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,$_POS... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/updatemainimage.php | seller/assets/backend/product/updatemainimage.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 First Image Is Not supported";
echo $msg;
}else{
$temp = explode(".", $_FILES["file"]["... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/addtimage.php | seller/assets/backend/product/addtimage.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{
$temp = explode(".", $_FILES["file"]["... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/addsimage.php | seller/assets/backend/product/addsimage.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{
$temp = explode(".", $_FILES["file"][... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/product/addmainimage.php | seller/assets/backend/product/addmainimage.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 First Image Is Not supported";
echo $msg;
}else{
$temp = explode(".", $_FILES["file"]["... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/promo/add.php | seller/assets/backend/promo/add.php | <?php
require('../../../../utility/utility.php');
$response=array();
$scat=get_safe_value($con,$_POST['scat']);
$code=get_safe_value($con,$_POST['code']);
$minbal=get_safe_value($con,$_POST['minbal']);
$disc=get_safe_value($con,$_POST['disc']);
$seller_id=$_SESSION['SELLER_ID'];
$u=mysqli_num_rows(mysqli_query($con,"se... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/promo/del.php | seller/assets/backend/promo/del.php | <?php
require('../../../../utility/utility.php');
$response=array();
$id=get_safe_value($con,$_POST['oid']);
$response['error_code']=1;
$response['msg']="Deleted successfully";
mysqli_query($con,"delete from promo where id='$id'");
echo json_encode($response);
?> | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/witdraw/witdraw.php | seller/assets/backend/witdraw/witdraw.php | <?php
require('../../../../utility/utility.php');
$response=array();
$value=get_safe_value($con,$_POST['oid']);
$seller_id=$_SESSION['SELLER_ID'];
$u=mysqli_fetch_assoc(mysqli_query($con,"select * from seller_wallet where seller_id='$seller_id'"));
$e_a=$u['ballance'];
if($value>$e_a){
$response['error_code']=0;
... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/profile/addgstcfrt.php | seller/assets/backend/profile/addgstcfrt.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 GST Certificate Is Not supported";
echo $msg;
}else{
$temp = explode(".", $_FILES["file... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/profile/addadhar.php | seller/assets/backend/profile/addadhar.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 Adhar Card Is Not supported";
echo $msg;
}else{
$temp = explode(".", $_FILES["file"]["n... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/profile/addpan.php | seller/assets/backend/profile/addpan.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 Pan Card Is Not supported";
echo $msg;
}else{
$temp = explode(".", $_FILES["file"]["nam... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/profile/updateall_d.php | seller/assets/backend/profile/updateall_d.php | <?php
require('../../../../utility/utility.php');
$fullname=get_safe_value($con,$_POST['fullname']);
$type=get_safe_value($con,$_POST['type']);
$bname=get_safe_value($con,$_POST['bname']);
$cntry=get_safe_value($con,$_POST['cntry']);
$state=get_safe_value($con,$_POST['state']);
$city=get_safe_value($con,$_POST['... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/profile/updateadhar.php | seller/assets/backend/profile/updateadhar.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['msg']="Format of Business Certificate Is Not supported";
$msg['code']=0;
echo json_encode($msg);
... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/profile/updatepan.php | seller/assets/backend/profile/updatepan.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['msg']="Format of Business Certificate Is Not supported";
$msg['code']=0;
echo json_encode($msg);
... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/profile/update.php | seller/assets/backend/profile/update.php | <?php
require('../../../../utility/utility.php');
$fullname=get_safe_value($con,$_POST['fullname']);
$type=get_safe_value($con,$_POST['type']);
$bname=get_safe_value($con,$_POST['bname']);
$cntry=get_safe_value($con,$_POST['cntry']);
$state=get_safe_value($con,$_POST['state']);
$city=get_safe_value($con,$_POST['... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/profile/updatebscfrt.php | seller/assets/backend/profile/updatebscfrt.php | <?php
require('../../../../utility/utility.php');
$msg=array();
if($_FILES['file']['type']!='' && $_FILES['file']['type']!='image/jpeg' && $_FILES['file']['type']!='image/jpg'&& $_FILES['file']['type']!='image/png'){
$msg['msg']="Format of Business Certificate Is Not supported";
$msg['code']=0;
echo json... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/profile/addbscfrt.php | seller/assets/backend/profile/addbscfrt.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 Business Certificate Is Not supported";
echo $msg;
}else{
$temp = explode(".", $_FILES[... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/profile/addall_d.php | seller/assets/backend/profile/addall_d.php | <?php
require('../../../../utility/utility.php');
$fullname=get_safe_value($con,$_POST['fullname']);
$type=get_safe_value($con,$_POST['type']);
$bname=get_safe_value($con,$_POST['bname']);
$cntry=get_safe_value($con,$_POST['cntry']);
$state=get_safe_value($con,$_POST['state']);
$city=get_safe_value($con,$_POST['... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/profile/updategst.php | seller/assets/backend/profile/updategst.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['msg']="Format of Business Certificate Is Not supported";
$msg['code']=0;
echo json_encode($msg);
... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/location/getpinlist.php | seller/assets/backend/location/getpinlist.php | <?php
require('../../../../utility/utility.php');
$name=get_safe_value($con,$_POST['id']);
$query2="select * from pin where c_id='$name' order by id desc";
$res2=mysqli_query($con,$query2);
$r=mysqli_num_rows($res2);
$template='';
if($r==0){
$template='<option value="#">No Pincode Listed</option>';
}else{
$temp... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/location/getstatelist.php | seller/assets/backend/location/getstatelist.php | <?php
require('../../../../utility/utility.php');
$name=get_safe_value($con,$_POST['id']);
$query2="select * from state where c_id='$name' order by id desc";
$res2=mysqli_query($con,$query2);
$r=mysqli_num_rows($res2);
$template='';
if($r==0){
$template='<option value="#">No State Listed</option>';
}else{
$temp... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/assets/backend/location/getcitylist.php | seller/assets/backend/location/getcitylist.php | <?php
require('../../../../utility/utility.php');
$name=get_safe_value($con,$_POST['id']);
$query2="select * from city where s_id='$name' order by id desc";
$res2=mysqli_query($con,$query2);
$r=mysqli_num_rows($res2);
$template='';
if($r==0){
$template='<option value="#">No City Listed</option>';
}else{
$templa... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/require/head.php | seller/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></s... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/require/top.php | seller/require/top.php | <?php
require("../utility/utility.php");
authorise($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>Seller Dashboard</title>
<lin... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/seller/require/foot.php | seller/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/seller/require/nav.php | seller/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" fo... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/auth/logout.php | assets/backend/auth/logout.php | <?php
require('../../../utility/utility.php');
$result=array();
unset($_SESSION['USER_LOGIN']);
unset($_SESSION['USER_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/assets/backend/auth/verify_otp_email.php | assets/backend/auth/verify_otp_email.php | <?php
require('../../../utility/utility.php');
$otp=get_safe_value($con,$_POST['id']);
$email=get_safe_value($con,$_POST['email']);
$s_otp=$_SESSION['OTP'];
$result=array();
if($s_otp==$otp){
unset($_SESSION['OTP']);
$uid=$_SESSION['USER_ID'];
mysqli_query($con,"update us... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/auth/register.php | assets/backend/auth/register.php | <?php
require('../../../utility/utility.php');
$email=get_safe_value($con,$_POST['email']);
$password=get_safe_value($con,$_POST['password']);
$mobile=get_safe_value($con,$_POST['mobile']);
$name=get_safe_value($con,$_POST['name']);
$q="select * from users where email='$email' and status='1'";
$result=arr... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/auth/sent_otp_mobile.php | assets/backend/auth/sent_otp_mobile.php | <?php
require('../../../utility/utility.php');
$otp=OTP($con);
$_SESSION['OTP']=$otp;
echo $otp;
?> | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/auth/sent_otp_email.php | assets/backend/auth/sent_otp_email.php | <?php
require('../../../utility/utility.php');
$otp=OTP($con);
$_SESSION['OTP']=$otp;
echo $otp;
?> | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/auth/verify_otp_mobile.php | assets/backend/auth/verify_otp_mobile.php | <?php
require('../../../utility/utility.php');
$otp=get_safe_value($con,$_POST['id']);
$mobile=get_safe_value($con,$_POST['mobile']);
$s_otp=$_SESSION['OTP'];
$result=array();
if($s_otp==$otp){
unset($_SESSION['OTP']);
$uid=$_SESSION['USER_ID'];
mysqli_query($con,"update ... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/auth/validate.php | 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 users where email='$username' and status='1'";
$q2="select * from users where mobile='$username' and status='1'";
$rs=mysqli_query($con,$q)... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/wishlist/wish.php | assets/backend/wishlist/wish.php | <?php
require('../../../utility/utility.php');
$id=get_safe_value($con,$_POST['id']);
$return_msg=array();
if(!isset($_SESSION['USER_LOGIN'])){
$return_msg['err_code']=0;
$return_msg['msg']="Login to access wishlist";
echo json_encode($return_msg);
}else{
$uid=$_SESSI... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/wishlist/del_wish.php | assets/backend/wishlist/del_wish.php | <?php
require('../../../utility/utility.php');
$id=get_safe_value($con,$_POST['id']);
mysqli_query($con,"delete from wishlist where id='$id'");
?> | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/user/match_address.php | assets/backend/user/match_address.php | <?php
require('../../../utility/utility.php');
$id=get_safe_value($con,$_POST['id']);
$uid=$_SESSION['USER_ID'];
$utm=$_SESSION['utm_source'];
$res=mysqli_fetch_assoc(mysqli_query($con,"select * from user_address where id='$id'"));
if($res['user_city']==$utm){
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/assets/backend/user/add_new_address.php | assets/backend/user/add_new_address.php | <?php
require('../../../utility/utility.php');
$name=get_safe_value($con,$_POST['name']);
$mobile=get_safe_value($con,$_POST['mobile']);
$city=get_safe_value($con,$_POST['city']);
$address=get_safe_value($con,$_POST['address']);
$pin=get_safe_value($con,$_POST['pin']);
$locality=get_safe_value($con,$_POST['landm... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/user/update_address.php | assets/backend/user/update_address.php | <?php
require('../../../utility/utility.php');
$name=get_safe_value($con,$_POST['name']);
$mobile=get_safe_value($con,$_POST['mobile']);
$city=get_safe_value($con,$_POST['city']);
$address=get_safe_value($con,$_POST['address']);
$pin=get_safe_value($con,$_POST['pin']);
$locality=get_safe_value($con,$_POST['landm... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/user/delete_address.php | assets/backend/user/delete_address.php | <?php
require('../../../utility/utility.php');
$id=get_safe_value($con,$_POST['id']);
$query="delete from user_address where id='$id'";
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/assets/backend/user/fetch_address.php | assets/backend/user/fetch_address.php | <?php
require('../../../utility/utility.php');
$template='';
$uid=$_SESSION['USER_ID'];
$res=mysqli_query($con,"select user_address.*,city.city_name from user_address,city where user_address.uid='$uid' and user_address.user_city=city.id");
while($row=mysqli_fetch_assoc($res)){
$template=$template.'
<d... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/order/remove_promo.php | assets/backend/order/remove_promo.php | <?php
require('../../../utility/utility.php');
$result=array();
$utm=$_SESSION['utm_source'];
$uid=$_SESSION['USER_ID'];
$rs=mysqli_query($con,"select * from cart where u_id='$uid' and belonging_city='$utm'");
$ct=mysqli_fetch_assoc($rs);
$cid=$ct['id'];
$promo=$ct['promo'];
$promo=$promo+$ct['final_amt'];
my... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/order/apply_wallet.php | assets/backend/order/apply_wallet.php | <?php
require('../../../utility/utility.php');
$promo=get_safe_value($con,$_POST['promo']);
$result=array();
$uid=$_SESSION['USER_ID'];
$res=mysqli_query($con,"select * from user_wallet where user_id='$uid'");
$wt=mysqli_fetch_assoc($res);
$d=mysqli_fetch_assoc($res);
if($wt['ballance']==0){
$result['statu... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/order/remove_wallet.php | assets/backend/order/remove_wallet.php | <?php
require('../../../utility/utility.php');
$result=array();
$utm=$_SESSION['utm_source'];
$uid=$_SESSION['USER_ID'];
$rs=mysqli_query($con,"select * from cart where u_id='$uid' and belonging_city='$utm'");
$ct=mysqli_fetch_assoc($rs);
$cid=$ct['id'];
$promo=$ct['wl_amt'];
$pm=$promo;
$promo=$promo+$ct['fi... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/order/cnfrm.php | assets/backend/order/cnfrm.php | <?php
require('../../../utility/utility.php');
$oid=get_safe_value($con,$_POST['id']);
mysqli_query($con,"delete from cnfrm_delivery where od_id='$oid'");
mysqli_query($con,"update orders set u_cnfrm='1' where id='$oid'");
?> | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/order/ncnfrm.php | assets/backend/order/ncnfrm.php | <?php
require('../../../utility/utility.php');
$oid=get_safe_value($con,$_POST['id']);
mysqli_query($con,"insert into isue(oid) values('$oid')");
mysqli_query($con,"insert into order_time(oid,o_status) values('$oid','7')");
mysqli_query($con,"delete from cnfrm_delivery where od_id='$oid'");
mysqli_query($con,"upda... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/order/apply_promo.php | assets/backend/order/apply_promo.php | <?php
require('../../../utility/utility.php');
$promo=get_safe_value($con,$_POST['promo']);
$result=array();
$res=mysqli_query($con,"select * from promo where code='$promo'");
$isExists=mysqli_num_rows($res);
if($isExists==0){
$result['status_code']=0;
$result['msg']="Enter a vald promocode";
}else{
... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/order/checkout.php | assets/backend/order/checkout.php | <?php
require('../../../utility/utility.php');
$address=get_safe_value($con,$_POST['address']);
$time=get_safe_value($con,$_POST['time']);
$time_type=get_safe_value($con,$_POST['time_type']);
$pay=get_safe_value($con,$_POST['pay']);
$order_id=get_new_orderid();
$uid=$_SESSION['USER_ID'];
$utm=$_SESSION['utm_sou... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/cart/del_cart.php | assets/backend/cart/del_cart.php | <?php
require('../../../utility/utility.php');
$productid=get_safe_value($con,$_POST['id']);
if(!isset($_SESSION['USER_LOGIN'])){
$index=array_search($productid,$_SESSION['USER_CART']);
unset($_SESSION['CART_QTY'][$index]);
unset($_SESSION['USER_CART'][$index]);
}else{
$uid=$_SESSION['USER_ID'];
$... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/cart/cart_i.php | assets/backend/cart/cart_i.php | <?php
require('../../../utility/utility.php');
$productid=get_safe_value($con,$_POST['id']);
$qty=get_safe_value($con,$_POST['cq']);
$d=mysqli_fetch_assoc(mysqli_query($con,"select * from product where id='$productid'"));
$cqty=$d['qty'];
$result=array();
if($qty==$cqty){
$result['msg']="Out of Stock";
$... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/cart/add.php | assets/backend/cart/add.php | <?php
require('../../../utility/utility.php');
$productid=get_safe_value($con,$_POST['id']);
$qty=get_safe_value($con,$_POST['qty']);
$d=mysqli_fetch_assoc(mysqli_query($con,"select * from product where id='$productid'"));
$cqty=$d['qty'];
$result=array();
if($qty>$cqty){
$result['msg']="Out of Stock";
$... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/assets/backend/cart/cart_d.php | assets/backend/cart/cart_d.php | <?php
require('../../../utility/utility.php');
$productid=get_safe_value($con,$_POST['id']);
$qty=get_safe_value($con,$_POST['cq']);
if(!isset($_SESSION['USER_LOGIN'])){
$index=array_search($productid,$_SESSION['USER_CART']);
$qty--;
$_SESSION['CART_QTY'][$index]=$qty;
}else{
$uid=$_SESSION['USER_I... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/require/csOwl.php | require/csOwl.php | <script>
$(document).ready(function () {
$(".owl-carousel").owlCarousel();
});
var owl = $(".main-slider");
owl.owlCarousel({
items: 4,
loop: true,
responsive: {
0: {
items: 1,
},
600: {
items: 2,
},
... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/require/last.php | require/last.php | </body>
</html> | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/require/ac-left.php | require/ac-left.php | <div class="left">
<div class="ul-wrapper">
<ul>
<li <?php if($_SERVER['PHP_SELF']==D."/myac.php"){ echo "class='active'"; } ?>>
<i class="uil uil-box"></i>
<a href="myac.php">My Orders</a>
</li>
<li <?php if($... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/require/headbanner.php | require/headbanner.php | <?php
$userid=$_SESSION['USER_ID'];
$userData=mysqli_fetch_assoc(mysqli_query($con,"select users.*,user_wallet.ballance from users,user_wallet where users.id='$userid' and user_wallet.user_id=users.id"));
?>
<div class="headbanner">
<div class="userimage">
<img src="assets/images/img-5.jpg" alt="" />
</... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/require/top.php | require/top.php | <?php
require("utility/utility.php");
?>
<!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" />
<link rel="shortcut icon" href="assets/images/logo.png" type="im... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/require/foot.php | require/foot.php | <section class="defaultPadding mt4 footer">
<div class="footer-row1">
<div class="container">
<div class="row flex">
<ul class="ul1">
<li>
<a href="#">
<i class="uil uil-dialpad-alt"></i>
... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/utility/function.php | utility/function.php | <?php
function pre($arr)
{
echo '<pre>';
print_r($arr);
}
function prx($arr)
{
echo '<pre>';
print_r($arr);
die();
}
function get_safe_value($con, $str)
{
if ($str != '') {
$str = trim($str);
return mysqli_real_escape_string($con, $str);
}
}
function redirect($path)
{
?>
<script>
window.location.href = '... | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/utility/connection.php | utility/connection.php | <?php
session_start();
$con= mysqli_connect('db','root','passwd');
mysqli_select_db($con,'grocerry');
define('D',"/backend_projects/grocerry");
?> | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
detronetdip/E-commerce | https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/utility/utility.php | utility/utility.php | <?php
require('connection.php');
require('function.php');
?> | php | MIT | a9368863c2fb493bb9f14582bcf6410377e06521 | 2026-01-05T05:22:32.990752Z | false |
Voronenko/PHPOTP | https://github.com/Voronenko/PHPOTP/blob/901d2024ce3754d9cd57c6bb7e8f84b44dbbdbc9/code/example.php | code/example.php | <?php
require_once('rfc6238.php');
$secretkey = 'GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ';
$currentcode = '571427';
if (TokenAuth6238::verify($secretkey,$currentcode)) {
echo "Code is valid\n";
} else {
echo "Invalid code\n";
}
print sprintf('<img src="%s"/>',TokenAuth6238::getBarCodeUrl('','',$secretkey,'My%2... | php | MIT | 901d2024ce3754d9cd57c6bb7e8f84b44dbbdbc9 | 2026-01-05T05:22:36.337638Z | false |
Voronenko/PHPOTP | https://github.com/Voronenko/PHPOTP/blob/901d2024ce3754d9cd57c6bb7e8f84b44dbbdbc9/code/base32static.php | code/base32static.php | <?php
/**
* Encode in Base32 based on RFC 4648.
* Requires 20% more space than base64
* Great for case-insensitive filesystems like Windows and URL's (except for = char which can be excluded using the pad option for urls)
*
* @package default
* @author Bryan Ruiz
**/
class Base32Static {
private static $... | php | MIT | 901d2024ce3754d9cd57c6bb7e8f84b44dbbdbc9 | 2026-01-05T05:22:36.337638Z | false |
Voronenko/PHPOTP | https://github.com/Voronenko/PHPOTP/blob/901d2024ce3754d9cd57c6bb7e8f84b44dbbdbc9/code/rfc6238.php | code/rfc6238.php | <?php
// http://www.faqs.org/rfcs/rfc6238.html
require_once(dirname(__FILE__).'/base32static.php');
class TokenAuth6238 {
/**
* verify
*
* @param string $secretkey Secret clue (base 32).
* @return bool True if success, false if failure
*/
public static function verify($secretkey, $code, ... | php | MIT | 901d2024ce3754d9cd57c6bb7e8f84b44dbbdbc9 | 2026-01-05T05:22:36.337638Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/NumberBase/NumberBase.php | src/Crisu83/Conversion/NumberBase/NumberBase.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\NumberBase;
/**
* Class NumberBase
* @package Crisu83\Conversion\NumberBase... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Currency/Currency.php | src/Crisu83/Conversion/Currency/Currency.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Currency;
/**
* Class Currency
* @package Crisu83\Conversion\Currency
*/
c... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Currency/CurrencyData.php | src/Crisu83/Conversion/Currency/CurrencyData.php | <?php
namespace Crisu83\Conversion\Currency;
class CurrencyData
{
private $currencies = array();
private $native;
public function addCurrency($name, $value)
{
$this->currencies[$name] = $value;
}
public function setNative($name)
{
$this->currencies[$name] = 1;
$t... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Size/Size.php | src/Crisu83/Conversion/Size/Size.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Size;
/**
* Class Size
* @package Crisu83\Conversion\Size
*/
class Size
{
... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Size/System.php | src/Crisu83/Conversion/Size/System.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Size;
/**
* Class System
* @package Crisu83\Conversion\Size
*/
class Syste... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Size/ShoeSize/System.php | src/Crisu83/Conversion/Size/ShoeSize/System.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Size\ShoeSize;
use \Crisu83\Conversion\Size\System as BaseSystem;
/**
* Cla... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Size/ShoeSize/ChildShoeSize.php | src/Crisu83/Conversion/Size/ShoeSize/ChildShoeSize.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Size\ShoeSize;
/**
* Class ChildShoe
* @package Crisu83\Conversion\Size\Sho... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Size/ShoeSize/ShoeSize.php | src/Crisu83/Conversion/Size/ShoeSize/ShoeSize.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Size\ShoeSize;
use Crisu83\Conversion\Size\Size;
/**
* Class Shoe
* @packa... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Size/HatSize/HatSize.php | src/Crisu83/Conversion/Size/HatSize/HatSize.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Size\HatSize;
use Crisu83\Conversion\Size\Size;
/**
* Class HatSize
* @pac... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Size/HatSize/System.php | src/Crisu83/Conversion/Size/HatSize/System.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Size\HatSize;
use \Crisu83\Conversion\Size\System as BaseSystem;
/**
* Clas... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Quantity.php | src/Crisu83/Conversion/Quantity/Quantity.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity;
/**
* Class Quantity
* @package Crisu83\Conversion\Quantity
*/
a... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Unit.php | src/Crisu83/Conversion/Quantity/Unit.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity;
/**
* Class Unit
* @package Crisu83\Conversion\Quantity
*/
class... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Mass/Mass.php | src/Crisu83/Conversion/Quantity/Mass/Mass.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\Mass;
use Crisu83\Conversion\Quantity\Quantity;
/**
* Class Mass
... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Mass/Unit.php | src/Crisu83/Conversion/Quantity/Mass/Unit.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\Mass;
use \Crisu83\Conversion\Quantity\Unit as BaseUnit;
/**
* Cla... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Pressure/Pressure.php | src/Crisu83/Conversion/Quantity/Pressure/Pressure.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\Pressure;
use Crisu83\Conversion\Quantity\Quantity;
/**
* Class Pr... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Pressure/Unit.php | src/Crisu83/Conversion/Quantity/Pressure/Unit.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\Pressure;
use \Crisu83\Conversion\Quantity\Unit as BaseUnit;
/**
*... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/ElectricCurrent/ElectricCurrent.php | src/Crisu83/Conversion/Quantity/ElectricCurrent/ElectricCurrent.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\ElectricCurrent;
use Crisu83\Conversion\Quantity\Quantity;
/**
* C... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/ElectricCurrent/Unit.php | src/Crisu83/Conversion/Quantity/ElectricCurrent/Unit.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\ElectricCurrent;
use \Crisu83\Conversion\Quantity\Unit as BaseUnit;
... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Power/Unit.php | src/Crisu83/Conversion/Quantity/Power/Unit.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\Power;
use \Crisu83\Conversion\Quantity\Unit as BaseUnit;
/**
* Cl... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Power/Power.php | src/Crisu83/Conversion/Quantity/Power/Power.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\Power;
use Crisu83\Conversion\Quantity\Quantity;
/**
* Class Power... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Energy/Energy.php | src/Crisu83/Conversion/Quantity/Energy/Energy.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\Energy;
use Crisu83\Conversion\Quantity\Quantity;
/**
* Class Ener... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Energy/Unit.php | src/Crisu83/Conversion/Quantity/Energy/Unit.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\Energy;
use Crisu83\Conversion\Quantity\Unit as BaseUnit;
/**
* Cl... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Length/Unit.php | src/Crisu83/Conversion/Quantity/Length/Unit.php | <?php
namespace Crisu83\Conversion\Quantity\Length;
use \Crisu83\Conversion\Quantity\Unit as BaseUnit;
/**
* Class Unit
* @package Crisu83\Conversion\Quantity\Length
*/
class Unit extends BaseUnit
{
// Metric system
const MILLIMETRE = 'mm';
const CENTIMETRE = 'cm';
const METRE ... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Length/Length.php | src/Crisu83/Conversion/Quantity/Length/Length.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\Length;
use Crisu83\Conversion\Quantity\Quantity;
/**
* Class Leng... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Angle/Angle.php | src/Crisu83/Conversion/Quantity/Angle/Angle.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\Angle;
use Crisu83\Conversion\Quantity\Quantity;
/**
* Class Angle... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
crisu83/php-conversion | https://github.com/crisu83/php-conversion/blob/0dff0e374a49070b436188dced52226bbc4cbe3c/src/Crisu83/Conversion/Quantity/Angle/Unit.php | src/Crisu83/Conversion/Quantity/Angle/Unit.php | <?php
/*
* This file is part of Conversion.
*
* (c) 2013 Christoffer Niska
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Crisu83\Conversion\Quantity\Angle;
use \Crisu83\Conversion\Quantity\Unit as BaseUnit;
/**
* Cl... | php | Apache-2.0 | 0dff0e374a49070b436188dced52226bbc4cbe3c | 2026-01-05T05:22:45.144188Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.