ok
Direktori : /home2/selectio/public_html/y1jobportal.in/admin/ui-pages/ |
Current File : /home2/selectio/public_html/y1jobportal.in/admin/ui-pages/client-home-data.php |
<div class="card card-body"> <div class="row "> <div class="col-md-12"> <h2 style="font-family: SFProDisplay-Bold; font-size: 20px; margin-bottom: 2rem; font-weight">Get started in a few easy steps:</h2> </div> <div class="col-md-4"> <div class="card radius-10"> <div class="card-body" style="background-color: aliceblue;"> <?php $conditions = ''; if($_SESSION['y1_jobs']['id'] && $_SESSION['y1_jobs_1']==2){ $id = $_SESSION['y1_jobs']['id']; $conditions.='and client_id='.$id; } $statement = $pdo->prepare("SELECT count(id) as total FROM `shipment` where 1=1 $conditions"); $statement->execute(); $create_first_order = $statement->fetchAll(PDO::FETCH_ASSOC); $total = $statement->rowCount(); if($total && $create_first_order[0]['total']){ ?> <img src="assets/img/home/success-tag.png" > <b style="margin-left: -25%;color: white;">Success</b> <div class="text-center"> <div class="widgets-icons rounded-circle mx-auto bg-light-primary text-primary mb-3"> <img src="assets/img/home/check2.png" style="width: 62px;"> </div> <h4 class="my-1" style="font-family: SFProDisplay-Medium!important;line-height: 44px;"><b>First Order Added</b></h4> <p class="mb-0 text-secondary" style="margin-top: 21px;"> Your first order created succcessfully.<br> more info click here. </p> <a href="orders.php"><button type="button" class="btn btn-outline-success px-5" style="margin-top: 34px;">View Order</button></a> <?php }else{ ?> <img src="assets/img/home/pending-tag.png" > <b style="margin-left: -25%;color: #f89633;">Pending</b> <div class="text-center"> <div class="widgets-icons rounded-circle mx-auto bg-light-primary text-primary mb-3"> <!--<img src="assets/img/order/create_order.png" style="width: 62px;">--> <img src="assets/img/home/check2.png" style="width: 62px;"> </div> <h4 class="my-1" style="font-family: SFProDisplay-Medium!important;line-height: 44px;"><b>Create Your First Order</b></h4> <p class="mb-0 text-secondary" style="margin-top: 21px;"> Start your mannual first order.<br> condignee & Consigner details.. </p> <a href="order-create.php"> <button type="button" class="btn btn-outline-primary px-5" style="margin-top: 34px; background-color: #f89633;border-color: #f89633; color:white;">Add Manual Order</button></a> <?php } ?> </div> </div> </div> </div> <div class="col-md-4"> <div class="card radius-10"> <div class="card-body" style="background-color: aliceblue;"> <?php $conditions = ''; if($_SESSION['y1_jobs']['id'] && $_SESSION['y1_jobs_1']==2){ $id = $_SESSION['y1_jobs']['id']; $conditions.='and id='.$id; } $statement = $pdo->prepare("SELECT wallet_status,wallet_balance FROM `client` where 1=1 $conditions"); $statement->execute(); $create_first_order = $statement->fetchAll(PDO::FETCH_ASSOC); $total = $statement->rowCount(); if($total && $create_first_order[0]['wallet_status']){ ?> <img src="assets/img/home/success-tag.png" > <b style="margin-left: -25%;color: white;">Success</b> <div class="text-center"> <div class="widgets-icons rounded-circle mx-auto bg-light-danger text-danger mb-3"> <img src="assets/img/home/success.png" style="width: 62px;"> </div> <h4 class="my-1" style="font-family: SFProDisplay-Medium!important;line-height: 44px;"><b>Wallet Recharged</b></h4> <p class="mb-0 text-secondary" style="margin-top: 21px;">Your recharge successfully done.<br>available balance is . <span class='wallet_amounts'></span>/- to your wallet</p> <button type="button" class="btn btn-outline-success px-5" style="margin-top: 34px;">View More Info</button> </div> <?php }else{ ?> <img src="assets/img/home/pending-tag.png" > <b style="margin-left: -25%;color: #f89633;">Pending</b> <div class="text-center"> <div class="widgets-icons rounded-circle mx-auto bg-light-danger text-danger mb-3"> <img src="assets/img/order/recharge.png" style="width: 62px;"> </div> <h4 class="my-1" style="font-family: SFProDisplay-Medium!important;line-height: 44px;"><b>Recharge Your Wallet</b></h4> <p class="mb-0 text-secondary" style="margin-top: 21px;">Start your shipping journey with a recharge as low as Rs. 500 to your wallet</p> <button type="button" class="btn btn-outline-primary px-5" style="margin-top: 34px; background-color: #f89633;border-color: #f89633; color:white;">Recharge</button> </div> <?php } ?> </div> </div> </div> <div class="col-md-4" hidden> <div class="card radius-10"> <div class="card-body" style="background-color: aliceblue;"> <?php $conditions = ''; if($_SESSION['y1_jobs']['id'] && $_SESSION['y1_jobs_1']==2){ $id = $_SESSION['y1_jobs']['id']; $conditions.='and client_id='.$id; } $statement = $pdo->prepare("SELECT count(id) as total FROM `shipment` where shipment_updated_status>2 $conditions"); $statement->execute(); $create_first_order = $statement->fetchAll(PDO::FETCH_ASSOC); $total = $statement->rowCount(); if($total && $create_first_order[0]['total']){ ?> <img src="assets/img/home/success-tag.png" > <b style="margin-left: -25%;color: white;">Success</b> <div class="text-center"> <div class="widgets-icons rounded-circle mx-auto bg-light-danger text-danger mb-3"> <img src="assets/img/home/check2.png" style="width: 62px;"> </div> <h4 class="my-1" style="font-family: SFProDisplay-Medium!important; line-height: 44px;"><b>Your First Order Shipped</b></h4> <p class="mb-0 text-secondary" style="margin-top: 21px;">Successfully shipped first order.<br> more info click here</p> <a href="orders.php"><button type="button" class="btn btn-outline-success px-5" style="margin-top: 34px;">View Order</button></a> </div> <?php }else{ ?> <img src="assets/img/home/pending-tag.png" > <b style="margin-left: -25%;color: #f89633;">Pending</b> <div class="text-center"> <div class="widgets-icons rounded-circle mx-auto bg-light-danger text-danger mb-3"> <img src="assets/img/order/ship.png" style="width: 62px;"> </div> <h4 class="my-1" style="font-family: SFProDisplay-Medium!important; line-height: 44px;"><b>Ship Your First Order</b></h4> <p class="mb-0 text-secondary" style="margin-top: 21px;">Select a courier of your choice and schedule a pickup when ready.</p> <button type="button" class="btn btn-outline-primary px-5" style="margin-top: 34px; background-color: #f89633;border-color: #f89633; color:white;">Ship Now</button> </div> <?php } ?> </div> </div> </div> </div> </div> <div class="card bg-transparent shadow-none"> <div class="card-body"> <div class="alert border-0alert-dismissible fade show" id="alert-info"> <div class="text-dark"><img src="assets/img/exclamation.png"><span id="note"> Please note: </span><span id="kyc"><a href="#">KYC verification is mandatory for shipping yours orders. Complete your KYC now</a></span> <button type="button" class="btn btn-secondary" id="buttonstyle">Proceed To Verify KYC </button></div> </div> </div> </div> <div class="card card-body"> <div class="row"> <div class="col-md-12 col-sm-12 col-xl-12"> <h2 style="font-family: SFProDisplay-Bold; font-size: 20px; margin-bottom: 2rem; font-weight">Help Resources</h2> </div> <div class="col-md-6 col-sm-12 col-xl-6"> <div class="card radius-10 border-start border-0 border-4"> <div class="card-body" style="background-color: #eff5fe;"> <div class="d-flex align-items-center"> <div> <p class="text-secondary1">SpeedConnect <br> Knowledge Centre</p> <p class="font-12">Browse through various self-help articles to learn more.</p> <a href="#" class="btn btn-primary2" style="font-size: 11px;color: #fff;background-color: #745be7;border-color: #745be7;"> Visit Knowledge Center </a> </div> <div class="widgets-icons-4 rounded-circle text-white ms-auto"><img src="assets/img/student.png" style="width: 115px;"></i> </div> </div> </div> </div> </div> <div class="col-md-6 col-sm-12 col-xl-6"> <div class="card radius-10 border-start border-0 border-4"> <div class="card-body" style="background-color: #eff5fe;"> <div class="d-flex align-items-center"> <div> <p class="text-secondary1">Watch Tutorials</p> <br><br> <p class="font-12" style="margin-top: -24px;">Watch tutorials on Youtube to learn about getting<br> started and processing orders.</p> <a href="#" class="btn btn-primary2" style="font-size: 11px;color: #fff;background-color: #745be7;border-color: #745be7;">Watch Tutorials</a> </div> <div class="widgets-icons-4 rounded-circle text-white ms-auto"><img src="assets/img/video-tutorial.png" style="width: 115px;"></i> </div> </div> </div> </div> </div> </div> </div> </div>