📁
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
5329.11 KB
0644
🗑️
⬇️
✏️
🔒
Editing: logexpense.php
<?php include "admin_header.php"; ?> <!-- Begin Page Content --> <div class="container-fluid"> <style> .form-control{ font-size:13px; border-radius: 0; font-weight:500; color:black; } .col-form-label,.input-group-text{ font-size:13px; border-radius: 0; font-weight:500; color:black; } </style> <!-- Page Heading --> <p style="color:#FF339A;"><?php include "addexpense.php";?></p> <h1 class="h3 mb-4 text-gray-800">Log Expense</h1> <!-- Begin Add Stock Form --> <!-- Basic Layout --> <div class="col-xxl-12"> <div class="card mb-4"> <div class="card-body"> <form method="post" enctype="multipart/form-data"> <p><select name="tit" class="form-control" required> <option value="" selected>- Select Expense Title -</option> <?php // Get all staff $sql = "SELECT * FROM expense_titles WHERE s!=''"; $sql2 = mysqli_query($con,$sql); while ($row = mysqli_fetch_array($sql2)) { echo "<option value='" . $row['title'] . "'>" . $row['title'] . "</option>"; } ?> </select></p> <p><input type="number" class="form-control" placeholder="*Amount" name="car" required /></p> <p><textarea class="form-control" placeholder="*Description" name="de" required></textarea></p> <div class="row mb-3"> <div class="col-sm-12"> <button type="submit" name="submit" value="update" class="btn btn-primary w-100">Log Expense</button> </div> </div> </form> </div> </div> </div> </div> <!-- /.container-fluid --> </div> <!-- End of Main Content --> <?php include "footer.php"; ?>
💾 Save Changes