Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: order.php
<div role="main" class="main"> <section class="page-header"> <div class="container"> <div class="row"> <div class="col-md-12"> <h1><? echo $this->lang->line('CDVAR178') . $title; ?></h1> </div> </div> </div> </section> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="featured-boxes"> <? if ($message != '') echo '<div class="alert alert-success mt-lg" id="contactSuccess"><strong>Success!</strong> ' . $message . '</div>'; if (trim($errorMsg) != '') echo '<div class="alert alert-danger mt-lg" id="contactError"><strong>Error!</strong> ' . $errorMsg . '</div>'; ?> <h2 class="mb-sm mt-sm"><strong><? echo $title; ?></strong></h2> <div class="row"> <div class="col-sm-6"> <? if ($img != '') { ?> <img src="<? echo $img; ?>" alt="<? echo $title; ?>" width="300" height="251" /> <? } ?> <br /> <? if ($promoPrice != $price) echo '<del><h3 class="amount"><b>' . $this->lang->line('CDVAR4') . ': ' . $this->session->userdata('CurrencySymbol') . ' ' . $price . '</b></h3></del>'; ?> <h3 style="font-size:28px; color:green;"><b id="lblCustPrice"><? echo $this->lang->line('CDVAR4') . ': ' . $this->session->userdata('CurrencySymbol') . ' ' . $promoPrice; ?></b></h3> <? if($strOtherCurr != '') echo '<h3 style="font-size:22px; color:#0088CC;"><b>Prices in Other Currencies</b></h3>'.$strOtherCurr; ?> <h4 id="lblQtyPrice" style="display:none; font-size:28px; color:blue;"> </h4> <h2><? echo $this->lang->line('CDVAR5') . ': ' . $delTime; ?></h2> <p align="justify"><? echo $desc; ?></p> </div> <div class="col-sm-6"> <?php echo form_open(base_url().'home/order'.get_query_string(),'class="contact-form" method="post" name="frmOrder" id="frmOrder"');?> <div class="row"> <? if ($rtlType == '0') { ?> <div class="form-group"> <div class="col-md-10"> <?php if ($customFldId > 0) { if (isset($rwCustFld->FieldLabel) && $rwCustFld->FieldLabel != '') { echo '<label>' . $rwCustFld->FieldLabel . '</label>'; echo '<input name="txtCustomFld" placeholder="Please Enter ' . $rwCustFld->FieldLabel . '" maxlength="' . $rwCustFld->MaxLength . '" id="txtCustomFld" type="text" class="form-control">'; } } elseif ($customimeiFType > 0 && $bulkimeiFType==0) { if (isset($imei_custom_name)!= '') { echo '<label>' . $imei_custom_name . '</label>'; echo '<textarea name="txtCustomFld" placeholder="Please Enter ' . $imei_custom_information . '" minlength="' .$imei_custom_length. '" maxlength="' . $imei_custom_max_length . '" id="txtCustomFld" type="text" class="form-control"></textarea><br><span>'.$imei_custom_information.'</span>'; } }elseif ($customimeiFType > 0 && $bulkimeiFType > 0) { if (isset($imei_custom_name)!= '') { echo '<label>' . $imei_custom_name . '</label>'; echo '<textarea name="txtCustomFld" placeholder="Please Enter ' . $imei_custom_information . '" minlength="' .$imei_custom_length. '" maxlength="' . $imei_custom_max_length . '" id="txtCustomFld" type="text" class="form-control"></textarea><br><span>'.$imei_custom_information.'</span>'; } /*echo '<label> Bilk IMEI # *</label>'; echo '<textarea name="txtBulkCustomFld" minlength="15" placeholder="Please Enter IMEI Numbers" id="txtCustomFld" type="text" class="form-control"></textarea><br><span>One IMEI in one line</span>';*/ }elseif ($bulkimeiFType > 0 && $imeiFType == 0) { echo '<label>IMEI # *</label>'; echo '<textarea name="txtCustomFld" minlength="15" placeholder="Please Enter IMEI Numbers" id="txtCustomFld" type="text" class="form-control"></textarea><br><span>One IMEI in one line</span>'; }elseif ($bulkimeiFType > 0 && $imeiFType > 0) { /*echo '<label> Bilk IMEI # *</label>'; echo '<textarea name="txtBulkCustomFld" minlength="15" placeholder="Please Enter IMEI Numbers" id="txtCustomFld" type="text" class="form-control"></textarea><br><span>One IMEI in one line</span>';*/ echo '<label>IMEI # *</label> <input name="txtIMEI" id="txtIMEI" maxlength="15" value="'.$imei.'" type="text" class="form-control">'; }else { ?> <label>IMEI # *</label> <input name="txtIMEI" id="txtIMEI" maxlength="15" value="<? echo $imei; ?>" type="text" class="form-control"> <? } ?> </div> </div> <? } echo $strFields; if ($totalBrands > 0) { ?> <div class="form-group"> <div class="col-md-10"> <label style="text-transform:capitalize;">Brands *</label> <select name="brandId" id="brandId" class="form-control"> <option value="0" selected="selected"><? echo $this->lang->line('CDVAR179'); ?></option> <? foreach ($rsBrands as $row ) { $brandAPIId = $row->APIId; ?> <option value="<? echo $row->Id; ?>"><? echo $row->Value; ?></option> <? } ?> </select> <span id="spnBrLoader" style="display:none;"><img src="<? echo base_url(); ?>assets/img/loading.gif" /></span> </div> </div> <div class="form-group" id="dvModels"> <div class="col-md-10"> <label style="text-transform:capitalize;">Model *</label> <select name="modelId" id="modelId" class="form-control"> <option value="0" selected="selected"><? echo $this->lang->line('CDVAR180'); ?></option> </select> </div> </div> <? } ?> <div class="form-group"> <div class="col-md-10"> <label>Your Name *</label> <input name="txtName" id="txtName" value="<?php echo $name; ?>" type="text" class="form-control" required="required" /> </div> </div> <div class="form-group"> <div class="col-md-10"> <label>Your Email Address *</label> <input name="txtEmail" id="txtEmail" value="<?php echo $email; ?>" type="text" class="form-control" required="required" /> </div> </div> <div class="form-group"> <div class="col-md-10"> <label>Your Phone *</label> <input name="txtPhone" id="txtPhone" value="<? echo $phone; ?>" type="text" class="form-control" required="required" /> </div> </div> <input type="hidden" id="serviceId" name="serviceId" value="<? echo $id; ?>" /> <input type="hidden" id="hdPckTitle" name="hdPckTitle" value="<?php echo $pckTitle; ?>" /> <input type="hidden" id="brandAPIId" name="brandAPIId" value="<?php echo $brandAPIId; ?>" /> <input type="hidden" id="imeiFType" name="imeiFType" value="<? echo $imeiFType; ?>" /> <input type="hidden" id="customimeiFType" name="customimeiFType" value="<? echo $customimeiFType; ?>" /> <input type="hidden" id="customFldMinLen" name="customFldMinLen" value="<? echo $imei_custom_length; ?>" /> <input type="hidden" id="customFldMaxLen" name="customFldMaxLen" value="<? echo $imei_custom_max_length; ?>" /> <input type="hidden" id="imei_allow_alphabit" name="imei_allow_alphabit" value="<? echo $imei_allow_alphabit; ?>" /> <input type="hidden" id="imei_allow_digits" name="imei_allow_digits" value="<? echo $imei_allow_digits; ?>" /> <input type="hidden" id="imei_capital_alphabets" name="imei_capital_alphabets" value="<? echo $imei_capital_alphabets; ?>" /> <input type="hidden" id="imei_small_alphabets" name="imei_small_alphabets" value="<? echo $imei_small_alphabets; ?>" /> <input type="hidden" id="bulkimeiFType" name="bulkimeiFType" value="<? echo $bulkimeiFType; ?>" /> <input type="hidden" id="baseURL" name="baseURL" value="<? echo base_url('home'); ?>" /> <input type="hidden" id="serviceType" name="serviceType" value="<? echo $serviceType; ?>" /> <input type="hidden" name="mdlVal" id="mdlVal" value="" /> <input type="hidden" name="rtlType" value="<? echo $rtlType; ?>" /> <input type="hidden" id="pPrice" name="pPrice" value="<? echo $promoPrice; ?>" /> <input type="hidden" id="currSymbol" name="currSymbol" value="<? echo $this->session->userdata('CurrencySymbol'); ?>" /> <div class="form-group"> <div class="col-md-10"> <label><? echo $this->lang->line('CDVAR21'); ?></label> <textarea name="txtComments" id="txtComments" cols="" rows="" class="form-control"><?php echo $comments; ?></textarea> </div> </div> <? $k = 0; foreach ($rsPMethods as $row) { $imgName = 'file.png'; if ($row->PayMethodTypeId == '1') $imgName = 'paypal.png'; else if ($row->PayMethodTypeId == '10') $imgName = 'easypaisa.png'; else if ($row->PayMethodTypeId == '11') $imgName = 'stripe.png'; ?> <div class="form-group"> <div class="col-md-10"> <input type="radio" style="margin:0;" class="gateways" name="pMethod" value="<? echo $row->PayMethodTypeId . '|' . $row->PaymentMethodId; ?>" <? if ($row->PaymentMethodId == 1 || $k == 0) echo 'checked'; ?> /> <img style="max-width: 130px;" src="<?php echo base_url('assets')?>/images/<? echo $imgName; ?>" /> <b><? echo stripslashes($row->PaymentMethod) . ' (' . $row->RetailFee . '% fee)'; ?></b> </div> </div> <? $k++; } ?> <div class="form-group"> <div class="col-md-10"> <label class="hidden-xs"> </label> <button type="submit" class="btn btn-primary btn-lg mb-xlg"><? echo ($this->lang->line('CDVAR165')?:'Unlock Now'); ?></button> </div> </div> </div> <?php echo form_close();?> </div> </div> </div> </div> </div> </div> </div> <script language="javascript" src="<?php echo base_url('assets');?>/js/functions.js"></script> <script language="javascript" src="<?php echo base_url('assets');?>/js/order.js?v=<?php echo $this->config->item('assets_version'); ?>"></script>