Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: track_order.php
<style> .featured-box-primary .box-content { border-top-color: #00ae00 !important; } figure { display: flex; } figure img { width: 8rem; height: 8rem; filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(58deg) brightness(26%) contrast(39%); border-radius: 15%; /* border: 1.5px solid #00ae00; */ margin-right: 1.5rem; padding:1rem; } figure figcaption { display: flex; flex-direction: column; justify-content: space-evenly; } figure figcaption h4 { font-size: 1.4rem; font-weight: 500; color: #00ae00 !important; } figure figcaption h6 { font-size: 1rem; font-weight: 300; } figure figcaption h2 { font-size: 1.6rem; font-weight: 500; } .submit-btn { font-size: 15px; border-radius: 25px; font-weight: bold; border: 0; background: #5cb85c; margin-top: 10px; color: #FFF; padding: 8px 22px; border: 1px solid #5cb85c !important; } .submit-btn:hover{ background-color: white !important; border: 1px solid #5cb85c !important; color: #5cb85c !important; } .font-20{ font-size: 20px; } .borderd-dashes{ border-bottom: 1px dashed lightgray } </style> <div role="main" class="main"> <div class="container"> <div class="row"> <div class="col-md-12"> <p class="borderd-dashes font-20 pb-2" style="color: var(--site-main-color) !important;">Order Tracking</p> </div> </div> </div> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="featured-boxes"> <div class="row"> <div class="col-sm-4 m-auto " style="margin-top: 0px !important"> <div class="featured-box featured-box-primary align-left"> <div class="box-content p-4 pb-0" style="border-top-color: var(--site-main-color) !important;"> <h5 class="text-uppercase mb-md" style="color: var(--site-main-color) !important;">Track Your Order With Us</h5> <form id="frmSignIn" method="post"> <div class="row w-100 pr-0 mr-0"> <div class="col-md-12 pr-0"> <label class="mb-1"><?php echo $this->lang->line('BE_LBL_961'); ?></label> <input type="text" name="txtOrderId" required="required" id="txtOrderId" class="form-control" /> </div> <div class="col-md-12 pr-0"> <label class="mb-1 mt-2"><?php echo $this->lang->line('CUST_LBL_222'); ?></label> <input type="text" name="txtEmail" required="required" id="txtEmail" class="form-control" /> </div> <div class="col-md-12 text-left" style="padding-top:11px;"> <button type="submit" class="submit-btn" style="border: 1px solid var(--site-main-color) !important; background: var(--site-main-color) !important;">Track Order</button> </div> </div> </form> </div> </div> </div> <?php if($this->input->post()) { ?> <div class="col-sm-8 m-auto"> <div class="featured-box featured-box-primary align-left"> <div class="box-content p-4"> <?php if($rsRetail) { foreach ($rsRetail as $row) { ?> <figure> <img src="https://image.flaticon.com/icons/svg/970/970514.svg" alt=""> <figcaption> <h4>Tracking Details</h4> <h6>Order Number</h6> <h2><?php echo $row->RetailOrderId;?></h2> </figcaption> </figure> <table class="table table-bordered table-striped mb-none" id="datatable-default"> <tr> <th width="50%">Order Date</th> <td class="font-weight-light"><?php echo $row->RequestedAt;?></td> </tr> <tr> <th width="50%">Replied Date</th> <td class="font-weight-light"><?php echo $row->ReplyDtTm;?></td> </tr> <tr> <th width="50%"><?php echo $this->lang->line('BE_LS_3'); ?></th> <td class="font-weight-light"><?php echo $row->CodeStatus;?></td> </tr> <tr> <th width="50%" align="left"> <?php echo $this->lang->line('BE_CODE_6'); ?></th> <td class="font-weight-light"><span class="font-weight-bold">Info:</span><br/> <?php $codeArray = explode("\n", $row->Code); $iRow = 1; foreach($codeArray as $arrayRow) { echo $iRow++ . " " . $arrayRow . "<br/>"; } //echo str_replace("\n", "<br>", $row->Code);?> </td> </tr> <?php } } else { echo "<tr class='clsEven'><td colspan='4'> No Order Found!</tr>"; } ?> </table> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </div> </div>