📁
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
22980.28 KB
0644
🗑️
⬇️
✏️
🔒
Editing: incompletestocks.php
<?php include "admin_header.php"; $_SESSION['previous_pages'] = $_SERVER['REQUEST_URI']; ?> <script type="text/javascript" src="categories.js"></script> <style>.btn{font-size:12px; font-weight:600; }</style> <!-- Begin Page Content --> <div class="container-fluid"> <p style="color:#FF339A; text-align:center;"> <?php if(isset($_SESSION['suc'])){ $sucmessage=$_SESSION['suc']; global $sucmessage; echo $sucmessage; unset ($_SESSION["suc"]); } ?></p> <div style="overflow-x:scroll;" id="def"> <p style="color:black; font-weight:500; font-size :27px;">Incomplete Stocks</p> <table class='table table-condensed table-hover ' style="color:black; font-size:13px; font-weight:500;" data-toggle='bootgrid'> <thead><tr bgcolor="#FF339A" style="color:white;"> <th data-column-id='employee_name' width='200px'>Media</th> <th data-column-id='employee_name' width='200px'>Barcode</th> <th data-column-id='employee_name' width='200px'>Item</th> <th data-column-id='employee_salary' width='200px'></th> </tr> </thead> <?php $sql = "SELECT all* from stocks WHERE retail_price='' OR wholesales_price='' OR weigh ='' OR maincat ='' OR altname='' OR details='' GROUP BY group_id ORDER BY name ASC LIMIT 60"; $sql2 = mysqli_query($con,$sql); $count = mysqli_num_rows($sql2); if ($count <= 0) { echo "No Deficient Stocks Available!"; } else{ while ($row = mysqli_fetch_array($sql2)) { $ord=$row['id']; $group=$row['group_id']; //Get media $sqla = "SELECT * from stock_images WHERE id='$group' order by s ASC "; $sql2a = mysqli_query($con,$sqla); while($rowa = mysqli_fetch_array($sql2a)) { $imageURL='stocks/'.$rowa["media"]; } echo " <tr bgcolor='#fff' > <td><img src='".$imageURL ."' class='img' width='50px' height='50px'/></td> <td width='200px' style='color:".$bg."; font-weight:600;'>" . $row['group_id'] . "</td> <td width='200px' >" . $row['name'] . "</td> <td ><form action='stockedit.php?incomplete=1' method='post'> <input type='text' name='orderid' value='" . $row['s'] . "' required hidden> <input type='text' name='incomplete' value='1' required hidden> <input type='submit' name='submi' value='Edit' class='btn btn-sm btn-primary shadow-sm'></form></td> </tr>"; }}?> </table> </div> <!-- /.container-fluid --> </div> <!-- End of Main Content --> <?php include "footer.php"; ?>
💾 Save Changes