Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: file_services_new_layout.php
<!-- Page header --> <style> .btn-order{ color: #fff; background-color: #324148; } .pkg_section{ overflow-y: scroll; height: 500px; overflow-x: hidden; border: 1px solid #e6e5e7; padding: 15px; } .left_package h5{ font-size: 15px !important; } #content{ font-size: .75em; width: 100.875%; max-width: 480px; text-align: left; } .columns{ -moz-column-width: 11.5em; /* Firefox */ -webkit-column-width: 11.5em; /* webkit, Safari, Chrome */ column-width: 15em; } @media screen and (max-width: 1440px){ .columns{ -moz-column-width: 10em; /* Firefox */ -webkit-column-width: 10em; /* webkit, Safari, Chrome */ column-width: 10em !important; } } .columns ul { margin: 0; padding: 0; list-style-type: none; } .columns ul li:first-child { margin-top:0px; } .GrayColor{ color: #b5b5b5 !important; } label { margin-bottom: 0 !important; } .uniform-uploader{ width:100%; } .select2-container--default .select2-selection--single .select2-selection__clear{ display: none; } .select2-container--default .select2-selection--single .select2-selection__arrow{ display: none !important; } .new_service_list{ position: relative; } .new_service_list:before{ content:''; position: absolute; right: 10px; top: 50%; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid gray; z-index: 1; } </style> <div class="page-header border-bottom-0"> <div class="container"> <div class="page-header-content header-elements-md-inline"> <div class="page-title d-flex"> <h4><a href="javascript:void(0)" class="BackButton-Link" onclick="goBack()"><i class="icon-arrow-left52 mr-2"></i></a> <?php /*echo $this->lang->line('CUST_LBL_181'); */?><?php echo $this->lang->line('CUST_LBL_184'); ?></h4> </div> </div> </div> </div> <!-- /page header --> <!-- Content area --> <div class="content bg-white pt-0 pb-5 client-panel-main-box select2_design"> <div class="container"> <div class="form-group row"> <div class="col-12 col-lg-12 col-md-12 col-lg-12 col-xl-12"> <div class="card-body" style="padding: 10px !important;"> <!-- Our Working Area Start --> <div class="form-group row"> <div class="col-lg-12"> <?php if($success){ echo '<div class="alert alert-success">'.$this->lang->line('CUST_LBL_181').'</div>'; } ?> <?php if($dupMsg != '') echo '<div class="alert alert-danger">IMEI(s) '.$dupMsg.' are already in the system, so can not be placed again!</div>'; if($message != '') echo '<div class="alert alert-success">'.$message.'</div>'; if($message == '' && $msg != '' && $_POST['isError'] == '1') echo '<div class="alert alert-danger">'.$msg.'</div>'; ?> </div> </div> <?php echo form_open_multipart(base_url('page/file_services') , "name=frm id=frmfile");?> <div class="form-group row"> <div class="col-lg-12"> <div class="row" style="margin-bottom: 15px"> <div class="col-lg-8"> <div class="form-group form-group-feedback form-group-feedback-left"> <input onkeyup="getFileGroups(this.value)" type="text" class="form-control form-control-lg" placeholder="Search"> <div class="form-control-feedback form-control-feedback-lg"> <i class="fa fa-search"></i> </div> </div> </div> <div class="col-lg-4"> <!--<button id="allGroup" onclick="getAllFileGroups()" type="button" class="btn btn-light">All Groups</button>--> <?php $cat = getServicesCategories(0,0,1); ?> <select onchange="getAllFileGroups(this.value)" data-placeholder="Select a Group" class="form-control select-clear" data-fouc> <option value="allgroup">ALL GROUP</option> <?php foreach($cat as $c){?> <option value="<?php echo $c->CategoryId; ?>"><?php echo $c->Category; ?></option> <?php } ?> </select> </div> </div> <div class="new_service_list"> <select class="form-control mb-3 my_pack select2me"> <option value="">Select Service</option> <?php $rsPackages = get_rsPackages(); $prevCatId = 0; foreach($rsPackages as $row) { $changeBGColor = ''; $myPackPrice = $row->PackagePrice; if(isset($PACK_PRICES_USER[$row->PackageId])) $myPackPrice = $PACK_PRICES_USER[$row->PackageId]; else if(isset($PACK_PRICES_PLAN[$row->PackageId])) $myPackPrice = $PACK_PRICES_PLAN[$row->PackageId]; else { if (isset($PACK_PRICES_BASE[$row->PackageId])) $myPackPrice = $PACK_PRICES_BASE[$row->PackageId]; } /*if($myPackPrice < $PACK_PRICES_BASE[$row->PackageId]) $changeBGColor = 'class="discount_text"';*///offset here e if($prevCatId > 0) { if($row->CategoryId != $prevCatId){ echo '<optgroup label="'.stripslashes($row->Category).'">'; } } else echo '<optgroup label="'.stripslashes($row->Category).'">'; ?> <option value="<?php echo $row->PackageId?>" title="<?php echo $row->PackageId?>"><?php echo stripslashes($row->PackageTitle); ?> - <?php echo stripslashes($row->TimeTaken);?> - <?php echo $myPackPrice; ?></option> <?php if($prevCatId > 0){ if($prevCatId != $row->CategoryId){ echo '</optgroup>'; } }else{ echo '</optgroup>'; } $prevCatId = $row->CategoryId; } ?> </select> </div> <input type="hidden" id="packageId" details2="0" name="packageId" value="0"> </div> <div class="col-lg-12" id="empty_section"> <div class="empty_section_heading"> <div class="icon"> <i class="fa fa-toggle-up"></i> </div> <div class=""> <h3>Select Service</h3> </div> </div> </div> <div id="second_section" style="display: none" class="col-lg-12 mt-4"> <h2 id="dvSN" style="color: #3a6593"></h2> <div class="row"> <div class="col-lg-6" id="orderForm"> <div class="form-group"> <div class="edit-cont mb-3"> <div class="form-group"> <label class=""><?php echo $this->lang->line('CUST_LBL_159'); ?></label> <div class="input-group "> <input style="width: 100%" type="file" id="txtFile" name="txtFile" class="form-control-uniform" data-fouc> <div><?php echo $this->lang->line('CUST_LBL_171');?> .log .fnx .bcl .txt .sha .ask</div> </div> </div> <div class="form-group"> <label class=""><?php echo 'Multiple Files'; ?></label> <div class="input-group "> <input style="width: 100%" type="file" id="txtZipFile" name="txtZipFile" class="form-control-uniform" accept="application/zip"> <div><?php echo $this->lang->line('CUST_LBL_171');?> .zip</div> </div> </div> <!--<div class="form-group"> <label><?php /*echo $this->lang->line('CUST_LBL_159'); */?>:<span class="required_field"><span class="required_field">*</span></span></label> <div class="input-group"> <input required="required" type="file" id="txtFile" name="txtFile"> <small><?php /*echo $this->lang->line('CUST_LBL_171');*/?> .log .fnx .bcl .txt .sha .ask</small> </div> </div>--> <div class="form-group"> <label><?php echo $this->lang->line('CUST_CODE_10'); ?>:</label> <textarea rows="1" class="form-control" id="txtNotes" name="txtNotes" placeholder="Notes"><?php echo $notes; ?></textarea> </div> <!-- end col --> <div class="form-group"> <label><?php echo $this->lang->line('CUST_CODE_11'); ?>:</label> <textarea rows="1" class="form-control" id="txtComments" name="txtComments" placeholder="Comments"><?php echo $comments; ?></textarea> </div> <!-- end col --> <div class="form-group"> <label><?php echo $this->lang->line('CUST_CH_98'); ?>:</label> <input type="text" class="form-control" placeholder="Response E-mail:" name="txtAltEmail" maxlength="100" id="txtAltEmail" value="<?php echo($altEmail);?>"> </div> <!-- end col --> <?php if($userDetails->PinCode != '') { ?> <div class="form-group"> <label><?php echo $this->lang->line('CUST_LBL_178'); ?>:<span class="required_field"><span class="required_field">*</span></span></label> <input type="text" autocomplete="off" class="form-control" placeholder="Enter your Pin Code" name="txtPinCode" maxlength="4" id="txtPinCode" value="" /> </div> <!-- end col --> <?php } ?> <div class="form-group"> <!--<button type="submit" class="clsBigBtn btn btn-primary" onClick="setValue('2');"><?php /*echo $this->lang->line('CUST_MENU_CODES'); */?></button>--> <input type="hidden" id="cldFrm" name="cldFrm" /> <input type="hidden" id="ddType" name="ddType" value="<?php echo $settings->FileOrderDropDownType; ?>" /> <input type="hidden" id="currAbb" name="currAbb" value="<?php echo $userDetails->CurrencyAbb; ?>" /> <input type="hidden" id="currSymbol" name="currSymbol" value="<?php echo $userDetails->CurrencySymbol; ?>" /> </div> <div class="form-group"> <div class="alert alert-danger clsError" id="dvError" style="display:none;"> </div> </div> </div> </div> <div class="PlaceOrderBtn"> <button class="clsBigBtn btn btn-order" id="frmImeiBtn" onClick="setValue('2');"><? echo 'Place Order'; ?></button> </div> </div> <div class="col-lg-6"> <div id="tblInfo" style="display:none; margin-top:10px" class="card m-b-30 card-info"> <div class="card-body" style="background-color:#f9f9f9;"> <blockquote class="card-bodyquote"> <!--<p id="dvSN" style="font-weight:bold; font-size:20px;"> </p>--> <div class="row" style="border-bottom: 1px solid #e1dfdf;padding-bottom: 10px; margin-bottom: 15px;"> <div class="col-md-4" style="border-right: 1px solid #e1dfdf"> <div class="" style="color:green; font-size:22px; font-weight:bold;" id="lblCustPrice"></div> <div class="time" id="dvTT"></div> </div> <div class="col-md-8 pr-0"> <!--<p style="font-size: 15px;" class="mb-0">Available Balance</p> <h3 style="font-size: 30px;" id="total_blnc"><?php /*echo $userDetails->CurrencySymbol.' '. roundMe($userDetails->Credits); */?></h3>--> <div id="content"> <div class="columns"> <ul style="display:none;" id="dvFeatures"> </ul> </div> </div> </div> </div> <p id="dvSrvImg" style="display:none;"><img id="imgSrv" src="" /></p> <p style="color:green;"><span id="dvTT" style="color:#000000;"></span></p> <!--<p id="dvFeatures"></p>--> <div id="dvMR"> <?php if($mustRead){ echo $mustRead; }; ?> </div> <p id="dvTOC" style="display:none;"><input type="checkbox" id="chkTOC" name="chkTOC" /> I agree with terms of services</p> </blockquote> </div> </div> </div> </div> </div> </div> <?php echo form_close(); ?> </div> </div> </div> </div> </div> <script> var base_url = '<?php echo base_url();?>' </script> <script language="JavaScript"> <?php if($rsStngs->orderForms == 2) { ?> var orderForms = 2; <?php } else { ?> var orderForms = 1; <?php } ?> </script> <script language="javascript" src="<?php echo base_url('assets/js/functions.js?v='.$this->config->item('assets_version'));?>"></script> <script language="javascript" src="<?php echo base_url('assets/js/fileorder.js?v='.$this->config->item('assets_version'));?>"></script> <script> function getFileGroups(groupName){ var csrfName = '<?php echo $this->security->get_csrf_hash(); ?>'; console.log(csrfName,groupName); $.ajax({ type: "POST", data: {csrf_test_name:csrfName,text:groupName}, url:baseurl+'page/searchFileServerNew', success:function(response){ $(".my_pack").html(response); } }); } function getAllFileGroups(val){ var csrfName = '<?php echo $this->security->get_csrf_hash(); ?>'; console.log(csrfName); if(val=='allgroup'){ $.ajax({ type: "POST", data: {csrf_test_name:csrfName}, url:baseurl+'page/searchAllFileServersNew', success:function(response){ $(".my_pack").html(response); } }); }else{ $.ajax({ type: "POST", data: {csrf_test_name:csrfName,cat:val}, url:baseurl+'page/searchCatAllFileServersNew', success:function(response){ $(".my_pack").html(response); } }); } } </script>