Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: rtlservice.php
<style type="text/css"> .fieldOtherNameContainer { position: relative; } .fieldOtherNameContainer a { position: absolute; top: 0px; right: 0px; color: red; z-index: 9; width: 18px; height: 18px; text-align: center; line-height: 18px; background: #ddd; } </style> <?php include 'rtlservices_header.php';?> <div class="page-header border-bottom-0"> <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 if($type==1) { echo $this->lang->line('CUST_LBL_199') . " " ; } elseif($type==0) { echo $this->lang->line('CUST_CODE_4') . " " ; } echo $this->lang->line('BE_LBL_582'); ?> </h4> </div> </div> </div> <div class="content pt-0"> <div class="card"> <div class="row"> <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12"> <div class="card-body"> <? if($message != '') echo '<div class="alert alert-success">'.$message.'</div>'; if($existingImage != '') echo '<img style="max-height:200px;margin-left:auto;margin-right:auto;" src="'.base_url($existingImage).'" />'; if($fs>0){ $tpe = 'type=1'; }else{ $tpe = ''; } ?> <div class="form-group row"> <div class="col-md-12"> <?php echo form_open(base_url($this->config->item('apanel_name').'/retail/rtlservice?'.$tpe.'frmId=239&fTypeId=20'),'class="form-horizontal" name="frm" method="post" id="frm" enctype="multipart/form-data"') ?> <input type="hidden" id="id" name="id" value="<? echo($id); ?>" /> <input type="hidden" id="fs" name="fs" value="<? echo($fs); ?>" /> <input type="hidden" name="type" value="<? echo($type); ?>" /> <input type="hidden" id="hdAPIIdForBrand" name="hdAPIIdForBrand" value="<? echo($apiIdForBrand); ?>" /> <input type="hidden" id="existingImage" name="existingImage" value="<? echo $existingImage; ?>" /> <input type="hidden" name="exAPIId" id="exAPIId" value="<? echo $onlyAPIId; ?>" /> <input type="hidden" id="exAPIServiceId" name="exAPIServiceId" value="<? echo $extNetworkId; ?>" /> <div class="tabbable tabbable-custom boxless"> <ul id="tabsControls" class="nav nav-tabs nav-tabs-solid rounded"> <li class="active nav-item"> <a class="nav-link active" href="#tab_0" data-toggle="tab"><? echo $this->lang->line('BE_LBL_380'); ?></a> </li> <? if($id > 0) { ?> <li class="nav-item"> <a class="nav-link" href="#tab_1" data-toggle="tab"><? echo $this->lang->line('BE_PCK_15'); ?></a> </li> <li class="nav-item"> <a class="nav-link" href="#tab_2" data-toggle="tab"><? echo $this->lang->line('BE_LBL_377'); ?></a> </li> <li class="nav-item"> <a class="nav-link" href="#tab_3" data-toggle="tab"><? echo $this->lang->line('BE_LBL_529'); ?></a> </li> <li class="nav-item"> <a class="nav-link" href="#tab_4" data-toggle="tab"><? echo $this->lang->line('BE_LBL_689'); ?></a> </li> <li class="nav-item"> <a class="nav-link" href="#tab_5" data-toggle="tab">Promotion</a> </li> <? } ?> </ul> <div class="tab-content"> <div class="tab-pane active" id="tab_0"> <div class="portlet box blue"> <div class="portlet-body form"> <div class="form-body"> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_MR_26'); ?>:*</label> <div class="col-lg-5"> <input type="text" class="form-control" placeholder="Enter Service" maxlength="100" name="txtTitle" id="txtTitle" value="<? echo($packageTitle);?>" /> </div> </div> <? if($id == 0) { ?> <div class="form-group row"> <label class="col-lg-3 text-right control-label">Duplicate:</label> <div class="col-lg-5"> <select name="dupSrvcId" id="dupSrvcId" class="form-control select2me"> <option value="0">Select a Service</option> <? FillCombo($id, $services); ?> </select> </div> </div> <? } ?> <div id="dvGeneral"> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_LBL_841'); ?>:*</label> <div class="col-lg-5"> <select name="categoryId" id="categoryId" class="form-control select2me" data-placeholder="<? echo $this->lang->line('BE_LBL_255'); ?>"> <option value="0">Choose a Manufacturer</option> <? FillCombo($categoryId, $menufacturer); ?> </select> </div> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_LBL_201'); ?>:*</label> <div class="col-lg-5"> <input type="text" class="form-control" placeholder="Enter Price" name="txtPrice" id="txtPrice" maxlength="10" value="<? echo roundMe($price);?>" /> </div> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_LBL_651'); ?>:</label> <div class="col-lg-5"> <input type="text" class="form-control" placeholder="Enter Cost Price" name="txtCostPrice" id="txtCostPrice" maxlength="10" value="<? echo roundMe($costPrice);?>" /> </div> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_LBL_344'); ?>:</label> <div class="col-lg-5"> <input type="text" class="form-control" placeholder="Enter Supplier" maxlength="100" name="txtSupplier" value="<? echo($supplier);?>" /> </div> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_PCK_10'); ?>:</label> <div class="col-lg-5"> <input type="text" class="form-control" placeholder="Enter Delivery Time" name="txtTimeTaken" id="txtTimeTaken" maxlength="100" value="<? echo($timeTaken);?>" /> </div> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_LBL_839'); ?>:</label> <div class="col-lg-5"> <input type="text" class="form-control" placeholder="Enter <? echo $this->lang->line('BE_LBL_839');?>" name="txtRedirection" maxlength="100" value="<? echo($redirect);?>" /> </div> <span class="help-block"> Sample URL: http://www.example.com/<br /> Client will be sent to this URL on choosing this service. </span> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_PCK_21'); ?>:</label> <div class="col-md-7 radio-list"> <label class="radio-inline mr-2"> <input class="mr-1" type="radio" name="rdServiceType" id="rdServiceType0" value="0" checked /><? echo $this->lang->line('BE_LBL_832'); ?> </label> <label class="radio-inline"> <input class="mr-1" type="radio" name="rdServiceType" id="rdServiceType1" value="1" <? if($srvType == '1') echo 'checked'; ?> /><? echo $this->lang->line('BE_LBL_833'); ?> </label> </div> </div> <div class="form-group row"> <label for="txtImage" class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_PCK_3'); ?>:</label> <div class="col-lg-6"> <input type="file" id="txtImage" name="txtImage"> <p class="help-block"> .jpg, .gif, .png <strong>IDEAL IMAGE SIZE IS WIDTH: 800px HEIGHT: 800px</strong> </p> </div> </div> <? if($existingImage != '') { ?> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_LBL_609'); ?>:</label> <div class="col-lg-4"> <!--<div class="make-switch switch-small" data-on-label="YES" data-off-label="NO"> <input type="checkbox" name="chkDelImg" id="chkDelImg" class="toggle"/> </div>--> <div class="switch-button switch-button-lg" data-on-label="YES" data-off-label="NO"> <input type="checkbox" class="chkSelect" name="chkDelImg" id="chkDelImg" class="toggle" <?php if ($chkDelImg == '1') echo 'checked'; ?> /> <span><label for="chkDelImg"></label></span> </div> </div> </div> <? } ?> <div class="form-group row "> <label class="control-label text-right col-lg-3"><? echo $this->lang->line('BE_LBL_105'); ?>:</label> <div class="col-lg-9"> <textarea class="ckeditor form-control" name="txtMustRead" rows="6"><? echo $mustRead; ?></textarea> </div> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_LBL_849'); ?>:</label> <div class="col-lg-4"> <!--<div class="make-switch switch-small" data-on-label="YES" data-off-label="NO"> <input type="checkbox" id="chkHome" name="chkHome" <?/* echo $showAtHome == 1 ? 'checked' : '';*/?> class="toggle" /> </div>--> <div class="switch-button switch-button-lg" data-on-label="YES" data-off-label="NO"> <input type="checkbox" class="chkSelect" name="chkHome" id="chkHome" class="toggle" <?php if ($showAtHome == '1') echo 'checked'; ?> /> <span><label for="chkHome"></label></span> </div> </div> </div> <? if($type == 0) { ?> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_LBL_180'); ?>:</label> <div class="col-lg-4"> <!--<div class="make-switch switch-small" data-on-label="YES" data-off-label="NO"> <input type="checkbox" id="dupIMEI" name="dupIMEI" <?/* echo $dupIMEI == 1 ? 'checked' : '';*/?> class="toggle"/> </div>--> <div class="switch-button switch-button-lg" data-on-label="YES" data-off-label="NO"> <input type="checkbox" class="chkSelect" name="dupIMEI" id="dupIMEI" class="toggle" <?php if ($showAtHome == '1') echo 'checked'; ?> /> <span><label for="dupIMEI"></label></span> </div> </div> </div> <? } ?> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_GNRL_1'); ?>:</label> <div class="col-lg-4"> <!--<div class="make-switch switch-small" data-on-label="YES" data-off-label="NO"> <input type="checkbox" name="chkDisablePackage" id="chkDisablePackage" <?/* echo $disablePackage == 1 ? 'checked' : '';*/?> class="toggle"/> </div>--> <div class="switch-button switch-button-lg" data-on-label="YES" data-off-label="NO"> <input type="checkbox" class="chkSelect" name="chkDisablePackage" id="chkDisablePackage" class="toggle" <?php if ($disablePackage == '1') echo 'checked'; ?> /> <span><label for="chkDisablePackage"></label></span> </div> </div> </div> </div> </div> </div> </div> <div class="offset-xl-3 offset-lg-3 col-lg-9 mt-3"> <button type="submit" <?php if($IS_DEMO) echo 'disabled="disabled"';?> class="btn ThemeColorButton green"><?php echo $this->lang->line('BE_LBL_72'); ?></button> </div> </div> <?php if($id > 0) { ?> <div class="tab-pane" id="tab_1"> <div class="form-body"> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_PCK_6'); ?>:</label> <div class="col-md-5"> <select name="apiId" id="apiId" class="form-control select2me" data-placeholder="<? echo $this->lang->line('BE_LBL_278'); ?>"> <option value="-1~0~0"><? echo $this->lang->line('BE_LBL_278'); ?></option> <? FillCombo($apiId, $APIS); ?> </select><img style="display:none;" id="imgSrvcLoader" src="<?php echo base_url();?>assets/images/loading2.gif" border="0" alt="Please wait..." /> </div> </div> <div class="form-group row" id="dvExtNetworkId"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_LBL_293'); ?>:</label> <div class="col-md-5"> <select name="supplierPackId" id="supplierPackId" class="form-control select2me" data-placeholder="<? echo $this->lang->line('BE_LBL_274'); ?>"> <option value="0"><? echo $this->lang->line('BE_LBL_274'); ?></option> <? FillCombo($extNetworkId, $apiServices); ?> </select><img style="display:none;" id="imgSrvcToolLoader" src="<?php echo base_url();?>assets/images/loading2.gif" border="0" alt="Please wait..." /> </div> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><? echo $this->lang->line('BE_LBL_836'); ?>:</label> <div class="col-lg-5"> <input type="text" class="form-control" placeholder="Enter <? echo $this->lang->line('BE_LBL_836'); ?>" name="txtCronTiming" id="txtCronTiming" maxlength="4" value="<? echo($cronDelayTm);?>" /> </div> <span class="help-block"> In minutes </span> </div> </div> <div class="offset-3 col-lg-9 mt-3"> <button type="submit" <?php if($IS_DEMO) echo 'disabled="disabled"';?> class="btn ThemeColorButton"><?php echo $this->lang->line('BE_LBL_72'); ?></button> </div> <br /> <?php if($onlyAPIId && $fs == 0) {?> <div class="form-group row"> <div class="col-lg-12"> <span class="help-block"> If main API does not return result, provide here the list of APIs to be connected to in the order. Darg and drop to change the order of connections. </span> </div> <div class="col-lg-12 text-right"> <a href="<?php echo base_url($this->config->item('apanel_name').'/services/alternateapi?id=' . $id . '&sc=' . $fs . '&pn=' . str_replace(' ', 'S_P_', $packageTitle)); ?>" class="fancybox fancybox.ajax btn GreenThemeButton green" title="Apply an alternate API, if main API rejects an order then system will automatically apply alternate API with an order."><i class="fa fa-plus"></i> Add</a> </div> </div> <div class="table-responsive mb-2"> <?php if(isset($_REQUEST['jd']) && $_REQUEST['jd'] == '1') echo '<div class="alert alert-success">'.$this->lang->line('BE_GNRL_11').'</div>'; ?> <table class="table table-striped table-bordered table-advance table-hover"> <thead> <tr> <th nowrap="nowrap" width="4%">Sr. #</th> <th><? echo $this->lang->line('BE_MR_19'); ?></th> <th nowrap="nowrap"><? echo $this->lang->line('BE_PCK_HD_4'); ?></th> <th><? echo $this->lang->line('BE_PCK_14'); ?></th> <th></th> <th></th> </tr> </thead> <tbody id="sortableLst"> <? if($cntAltAPIH != 0) { $u = 0; foreach($rsAltAPIH as $row) { ?> <tr id="listItem_<? echo $row->AltAPISrvcId; ?>"> <td nowrap="nowrap"><i class="fa fa-sort"></i> <? echo $u+1; ?>.</td> <td><? echo stripslashes($row->APITitle);?></td> <td><? echo stripslashes($row->ServiceName);?></td> <td><? echo roundMe($row->ServicePrice);?></td> <td style="text-align:center" valign="middle"> <a href="<?php base_url($this->config->item('apanel_name').'/services/') ?>alternateapi?id=<? echo $id?>&sc=<? echo $fs;?>&pn=<? echo str_replace(' ', 'S_P_', $packageTitle); ?>&altId=<? echo $row->AltAPISrvcId;?>" class="fancybox fancybox.ajax"><i class="fa fa-pencil"></i> </a> </td> <td style="text-align:center" valign="middle"> <a href="<?php base_url($this->config->item('apanel_name').'/services/') ?>package?id=<? echo $id;?>&fs=<? echo$fs; ?>&altId=<? echo $row->AltAPISrvcId;?>&del=1#tab_2" onclick="return confirm('<? echo $this->lang->line('BE_LBL_32'); ?>')"><i class="fa fa-trash-o"></i> </a> </td> </tr> <? $u++; } } else echo "<tr><td colspan='7'>".$this->lang->line('BE_GNRL_9')."</td></tr>"; ?> </tbody> </table> </div> <?php } ?> <h3>API History</h3> <div class="table-responsive"> <table class="table table-striped table-bordered table-advance table-hover"> <thead> <tr> <th><? echo $this->lang->line('BE_MR_19'); ?></th> <th nowrap="nowrap"><? echo $this->lang->line('BE_PCK_HD_4'); ?></th> <th><? echo $this->lang->line('BE_PCK_14'); ?></th> <!--<th><? //echo $BE_CR_3; ?></th>--> <th></th> </tr> </thead> <tbody> <? if($cntAPIH != 0) { foreach($rsAPIHistory as $row) { ?> <tr> <td><? echo stripslashes($row->APITitle);?></td> <td><? echo stripslashes($row->ServiceName);?></td> <td><? echo roundMe($row->ServicePrice);?></td> <!--<td><? //echo $row->DtTm; ?></td>--> <td><a href="<?php base_url($this->config->item('apanel_name').'/services/') ?>package?fs=<? echo $fs; ?>&id=<? echo $id;?>&crAPIId=<? echo $row->APIId;?>&crAPISrvId=<? echo $row->APIServiceId;?>&applyAPI=1#tab_2" onclick="return confirm('Are you sure to apply this API?')" class="btn default ThemeColorButton btn-xs purple"><i class="fa fa-cog"></i> Apply API</a></td> </tr> <? }?> <? }else{ ?> <tr><td colspan="5"><strong><?php echo $this->lang->line('BE_GNRL_9'); ?></strong></td></tr> <? } ?> </tbody> </table> </div> </div> <div class="tab-pane" id="tab_2"> <input type="hidden" id="activeTab" name="activeTab" value="3"> <?php if($type == 1) { ?> <?php $allowQnt = 0; $quantityFieldObject = new stdClass; $quantityFieldObject->Id = ''; $quantityFieldObject->FieldLabel = ''; $quantityFieldObject->MinQnt = ''; $quantityFieldObject->MaxQnt = ''; $quantityFieldObject->FieldOptions = ''; foreach($userApiFields as $userApiField) { if($userApiField->UseAsQuantity) { $allowQnt = 1; $quantityFieldObject = $userApiField; } } ?> <div class="row"> <div class="col-lg-12"> <div class="form-group row"> <label class="col-lg-3 text-right control-label">Allow Quantity:</label> <div class="col-lg-4"> <div class="switch-button switch-button-lg" data-on-label="YES" data-off-label="NO"> <input type="checkbox" class="chkSelect" name="fieldAllowQnt" id="fieldAllowQnt" value="1" <?php echo $allowQnt == 1 ? 'checked=""' : ''; ?> class="toggle"/> <span> <label for="fieldAllowQnt"></label> </span> </div> </div> </div> <div class="form-group"></div> </div> <div class="col-lg-12" id="qnty_fields" style="display: <?php echo ($allowQnt == 1 ? 'block' : 'none'); ?>"> <div class="form-group row"> <label class="col-lg-3 text-right control-label">Predefined Quantities:</label> <div class="col-lg-4"> <input class="form-control" type="text" value="<?php echo $quantityFieldObject->FieldOptions; ?>" name="fieldPreDefQnt"> <span>Please enter predefine ranges like: 10,20,30</span> <input type="hidden" name="QntFieldId" value="<?= $quantityFieldObject->Id ?>"> </div> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label">OR</label> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label">Quantity Range:</label> <div class="col-lg-3"> <input class="form-control" type="text" value="<?php echo $quantityFieldObject->MinQnt ?: ''; ?>" name="fieldMinQnt"> </div> <div class="col-lg-3"> <input class="form-control" type="text" value="<?php echo $quantityFieldObject->MaxQnt ?: ''; ?>" name="fieldMaxQnt"> </div> </div> </div> </div> <script type="text/javascript"> $(function(){ $("#fieldAllowQnt").on('change',function(){ if($(this).is(':checked')){ $("#qnty_fields").show(); }else{ $("#qnty_fields").hide(); } }); }); </script> <?php } ?> <div class="col-lg-12"> <?php if ($fs == '0') { ?> <?php $isBulk = $useAsIMEI = $IsCustomIMEI = $AllowDigits = $AllowSmallAlphabets = $AllowCapitalAlphabets = 0; $IMEIFieldId = ''; $customFieldsObject = new stdClass; $customFieldsObject->FieldLabel = ''; $customFieldsObject->MinLen = ''; $customFieldsObject->MaxLen = ''; $customFieldsObject->Description = ''; foreach($userApiFields as $userApiField) { if($userApiField->Bulk) { $isBulk = 1; } if($userApiField->UseAsIMEI) { $IMEIFieldId = $userApiField->Id; $useAsIMEI = 1; } if($userApiField->AllowDigits) { $AllowDigits = 1; } if($userApiField->AllowSmallAlphabets) { $AllowSmallAlphabets = 1; } if($userApiField->AllowCapitalAlphabets) { $AllowCapitalAlphabets = 1; } if($userApiField->IsCustomIMEI) { $IsCustomIMEI = 1; $customFieldsObject = $userApiField; } } ?> <div class="form-group row"> <label class="col-lg-3 text-right control-label"> <?php echo $this->lang->line('BE_LBL_136'); ?>: </label> <div class="col-lg-7 radio-list"> <div class="form-check form-check-inline mt-0"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" name="fieldIMEI" onclick="$('[name=fieldIMEICustom]').prop('checked', false); $('#dvCustFld').hide();" value="1" <?php echo $useAsIMEI && !($IsCustomIMEI) ? 'checked' : ''; ?> /><?php echo $this->lang->line('BE_LBL_138b'); ?> <input type="hidden" name="IMEIFieldId" value="<?= $IMEIFieldId; ?>"> </label> </div> <div class="form-check form-check-inline mt-0"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" name="fieldIMEICustom" onclick="$('[name=fieldIMEI]').prop('checked', false); $('#dvCustFld').show();" value="1" <?php echo $IsCustomIMEI ? 'checked' : ''; ?> /><?php echo $this->lang->line('BE_LBL_378'); ?> </label> </div> </div> </div> <div class="container" id="dvCustFld" style=" display: <?php echo $IsCustomIMEI ? 'block' : 'none'; ?>"> <div class="form-group row"> <label class="col-lg-3 text-right control-label">Custom IMEI Name</label> <div class="col-lg-4"> <input type="text" name="IMEIFieldName" class="form-control" value="<?php echo $customFieldsObject->FieldLabel; ?>"> </div> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label">IMEI Minimum Length</label> <div class="col-lg-4"> <input type="number" value="<?php echo $customFieldsObject->MinLen ?: ''; ?>" name="IMEIFieldMinLen" class="form-control"> </div> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label">IMEI Maximum Length</label> <div class="col-lg-4"> <input type="number" value="<?php echo $customFieldsObject->MaxLen ?: ''; ?>" name="IMEIFieldMaxLen" class="form-control"> </div> </div> <div class="form-group row"> <label class="col-lg-3 text-right control-label">Custom IMEI Information</label> <div class="col-lg-4"> <input type="text" value="<?php echo $customFieldsObject->Description; ?>" name="IMEIFieldDescription" class="form-control"> <br> <div class="form-check form-check-inline mt-0"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" name="IMEIAllowDigits" value="1" <?php if ($AllowDigits) echo 'checked'; ?> /><?php echo $this->lang->line('BE_LBL_871b'); ?> </label> </div> <div class="form-check form-check-inline mt-0"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" name="IMEIAllowSmallAlphabets" value="1" <?php if ($AllowSmallAlphabets) echo 'checked'; ?> /><?php echo $this->lang->line('BE_LBL_871c'); ?> </label> </div> <div class="form-check form-check-inline mt-0"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" name="IMEIAllowCapitalAlphabets" value="1" <?php if ($AllowCapitalAlphabets) echo 'checked'; ?> /><?php echo $this->lang->line('BE_LBL_871d'); ?> </label> </div> </div> </div> </div> <?php } ?> <div class="row"> <div class="col-lg-12 text-right"> <button type="button" <?php if($IS_DEMO) echo 'disabled="disabled"';?> id="addrow" name="btnSave" class="btn GreenThemeButton">+ <?php echo $this->lang->line('CUST_CH_123'); ?></button> </div> <div class="col-lg-12 form-group"> <div class="table-responsive"> <table id="dynamic_field" class="MinWidthTd"> <tr> <td>Field Type</td> <td>Field Label</td> <td>Description</td> <td>Field Options</td> <td>Required</td> <td>Action</td> </tr> <?php $customFieldFound = false; $index = 0; ?> <?php foreach($userApiFields as $apiField) { ?> <?php if($apiField->UseAsIMEI || $apiField->UseAsQuantity) continue; ?> <tr style="vertical-align: top;"> <td class="myselect"> <select name="fieldType[]" class="form-control" data-placeholder="Select..."> <option value="0" selected><?php echo $this->lang->line('BE_LBL_623'); ?></option> <option value="text" <?php if($apiField->FieldType == 'text') echo 'selected'; ?>>Text Box</option> <option value="textarea" <?php if($apiField->FieldType == 'textarea') echo 'selected'; ?>>Text Area</option> <option value="dropdown" <?php if($apiField->FieldType == 'dropdown') echo 'selected'; ?>>Drop Down</option> <option value="radio" <?php if($apiField->FieldType == 'radio') echo 'selected'; ?>>Radio Button</option> </select> </td> <td> <input type="text" class="form-control" placeholder="Enter Field Label" maxlength="100" name="txtFieldName[]" value="<?php echo($apiField->FieldLabel);?>" > <?php if(trim($apiField->FieldName)) { ?> <?php foreach(array_map('trim', explode('|', $apiField->FieldName)) as $ApiFieldName) { ?> <div class="removeInClone fieldOtherNameContainer"> <input type="text" class="form-control" placeholder="Enter Field Label" value="<?= $ApiFieldName; ?>" maxlength="100" name="txtFieldOtherName[<?= $index; ?>][]" /> <a href="javascript:;" onclick="$(this).closest('div').remove();"> <i class="fa fa-times"></i> </a> </div> <?php } ?> <?php } ?> <button type="button" class="btn removeInClone ThemeColorButton" onclick="$(this).before('<input type=\'text\' class=\'removeInClone form-control\' placeholder=\'Enter Field Label\' maxlength=\'100\' name=\'txtFieldOtherName[<?= $index; ?>][]\' />');">More Fields Name</button> <input type="hidden" name="FieldId[]" value="<?php echo $apiField->Id; ?>" /> </td> <td> <textarea class="form-control" rows="2" name="txtDescription[]"><?php echo replaceBRTag($apiField->Description); ?></textarea> </td> <td> <textarea class="form-control" rows="2" name="txtFieldOptions[]"><?php echo replaceBRTag($apiField->FieldOptions); ?></textarea> </td> <td> <select name="chkMandatory[]" class="form-control" data-placeholder="Select..."> <option value="0" selected><?php echo $this->lang->line('BE_LBL_623'); ?></option> <option value="1" <?php if($apiField->Required == 1) echo 'selected'; ?>>Yes</option> <option value="0" <?php if($apiField->Required == 0) echo 'selected'; ?>>No</option> </select> </td> <td> <button type="button" class="btn btn-delete btn_remove"><i class="fa icon-trash"></i></button> </td> </tr> <?php $customFieldFound = true; $index++; } ?> <?php if(!$customFieldFound) { ?> <tr style="vertical-align: top;"> <td class="myselect"> <select name="fieldType[]" class="form-control" data-placeholder="Select..."> <option value="0" selected><?php echo $this->lang->line('BE_LBL_623'); ?></option> <option value="text">Text Box</option> <option value="textarea">Text Area</option> <option value="dropdown">Drop Down</option> <option value="radio">Radio Button</option> </select> </td> <td> <input type="text" class="form-control" placeholder="Enter Field Label" maxlength="100" name="txtFieldName[]" > <input type="hidden" name="FieldId[]" /> </td> <td> <textarea class="form-control" rows="2" name="txtDescription[]"></textarea> </td> <td> <textarea class="form-control" rows="2" name="txtFieldOptions[]"></textarea> </td> <td> <select name="chkMandatory[]" class="form-control" data-placeholder="Select..."> <option value="0" selected><?php echo $this->lang->line('BE_LBL_623'); ?></option> <option value="1">Yes</option> <option value="0">No</option> </select> </td> <td> </td> </tr> <?php } ?> </table> </div> </div> <div class="col-lg-12 form-group"> <div class="row"> <div class="col-lg-9"> <p>+More Fields Name: Different names known in other fusion or other scripts e.g. SERIAL_NUMBER, SRNO, Serial No etc</p> <?php if($apiType == 6) { ?> <p style="color: red;">If you have connected with GSM TOOL Version 1, please use these fields in `More Fields Name`. Like for `Username` use `username_K4I8` in `More Fields Name` field. For more fields please <a href="#" data-toggle="modal" class="ThemeColorButton btn-sm" data-target="#moreFieldsModal">Click Here</a></p> <?php } ?> </div> <div class="col-lg-3 text-right"> <button <?php if($type == 0) { ?>onclick="return validate_imei_check();"<?php } ?> type="submit" <?php if ($IS_DEMO) echo 'disabled="disabled"'; ?> class="btn btn-primary ThemeColorButton"><?php echo $this->lang->line('BE_LBL_72'); ?></button> </div> </div> </div> <?php if(!empty($apiFields)) { ?> <?php $apiFieldsTypes = [ 'text' => 'Text Box', 'textarea' => 'Text Area', 'dropdown' => 'Drop Down', 'radio' => 'Radio Button', ]; ?> <div class="col-lg-12"> <h3>API Custom Fields</h3> <div class="table-responsive"> <table class="table"> <thead> <tr> <th class="text-left">API Field Type</th> <th class="text-left">API Field Name</th> <?php if($type == 1) { ?> <th class="text-left">API Field Min Qnt</th> <th class="text-left">API Field Max Qnt</th> <?php } else { ?> <th class="text-left">API Field Min Len</th> <th class="text-left">API Field Max Len</th> <?php } ?> <th class="text-left">API Field Description</th> <th class="text-left">API Field Options</th> <th class="text-left">API Field Required</th> </tr> </thead> <tbody> <?php foreach($apiFields as $apiField) { ?> <tr> <td><?= $apiFieldsTypes[$apiField->FieldType]; ?></td> <td><?= $apiField->FieldLabel; ?></td> <?php if($type == 1) { ?> <td><?= $apiField->MinQnt ?: '-'; ?></td> <td><?= $apiField->MaxQnt ?: '-'; ?></td> <?php } else { ?> <td><?= $apiField->MinLen ?: '-'; ?></td> <td><?= $apiField->MaxLen ?: '-'; ?></td> <?php } ?> <td><?= $apiField->Description ?: '-'; ?></td> <td><?= $apiField->FieldOptions ?: '-'; ?></td> <td><?= $apiField->Required ? 'Yes' : 'No'; ?></td> </tr> <?php } ?> </tbody> </table> </div> </div> <?php } ?> </div> </div> </div> <div class="tab-pane" id="tab_3"> <div class="form-group row"> <label class="col-lg-3 text-right control-label"><?php echo $this->lang->line('BE_LBL_104'); ?>:</label> <div class="col-lg-5"> <input type="text" class="form-control" placeholder="Enter File Name" maxlength="100" name="txtFileName" id="txtFileName" value="<? echo($fName);?>" /> </div> </div> <div class="form-group row"> <label class="col-md-3 text-right control-label"><? echo $this->lang->line('BE_LBL_212'); ?>:</label> <div class="col-md-5"> <input type="text" class="form-control" placeholder="Enter HTML Title" maxlength="100" name="txtHTMLTitle" id="txtHTMLTitle" value="<? echo($htmlTitle);?>" /> </div> </div> <div class="form-group row"> <label class="col-md-3 text-right control-label"><? echo $this->lang->line('BE_LBL_213'); ?>:</label> <div class="col-md-5"> <input type="text" class="form-control" placeholder="Enter SEO Name" maxlength="100" name="txtSEOName" id="txtSEOName" value="<? echo($seoName);?>" /> </div> </div> <div class="form-group row"> <label class="col-md-3 text-right control-label"><? echo $this->lang->line('BE_MR_38'); ?>:</label> <div class="col-md-5"> <textarea class="form-control" rows="3" id="txtMetaTags" name="txtMetaTags"><? echo $metaTags; ?></textarea> </div> </div> <div class="form-group row"> <label class="col-md-3 text-right control-label"><? echo $this->lang->line('BE_LBL_214'); ?>:</label> <div class="col-md-5"> <textarea class="form-control" rows="3" id="txtMetaKW" name="txtMetaKW"><? echo $metaKW; ?></textarea> </div> </div> <div class="col-lg-9 offset-3"> <button name="seoBtn" type="submit" <?php if($IS_DEMO) echo 'disabled="disabled"';?> class="btn ThemeColorButton"><?php echo $this->lang->line('BE_LBL_72'); ?></button> </div> </div> <div class="tab-pane" id="tab_4"> <div class="form-group row"> <?php $api_data = get_api_data(); if($apiIdForBrand==-1){ $selected_class = 'selected'; }else{ $selected_class = ''; } ?> <label class="col-lg-3 text-right control-label"><?php echo $this->lang->line('BE_LBL_691'); ?> :</label> <div class="col-lg-6"> <select name="apiIdForBrand" id="apiIdForBrand" class="form-control select2me" data-placeholder="<?php echo $this->lang->line('BE_LBL_278'); ?>"> <option value="0">Choose</option> <option <?php echo $selected_class; ?> value="-1">Our Brands</option> <?php FillCombo($apiIdForBrand, $api_data); ?> </select><img style="display:none;" id="imgBrndLoader" src="<?php echo base_url('assets/images/loading.gif'); ?>" border="0" alt="Please wait..."/> </div> </div> <div class="form-group row"> <label class="col-lg-3 control-label"> </label> <div class="col-lg-6"> <div class="table-responsive"> <table cellpadding="1" cellspacing="1" width="100%"> <tr> <td width="50%" valign="top"> <button type="button" <?php if ($IS_DEMO) echo 'disabled="disabled"'; ?> class="btn ThemeColorButton" id="btnModels" <?php if ($apiIdForBrand == 0) echo 'style="display:none"'; ?>> Get Models </button> <img style="display:none;" id="imgMdlsLoader" src="<?php echo base_url('assets/images/loading.gif'); ?>" border="0" alt="Please wait..."/> <div class="col-lg-9" id="dvBrands" <?php if ($apiIdForBrand == 0) echo 'style="display:none"'; ?>> <?php echo $brandsData; ?> </div> <input type="hidden" id="totalBrands" name="totalBrands" value="<?php echo $totalBrandsData;?>"/> </td> <td width="50%" valign="top"> <div class="col-lg-9" id="dvModels" <?php if ($apiIdForBrand == 0) echo 'style="display:none"'; ?>> <?php echo $brandsModelData; ?> </div> </td> </tr> </table> </div> </div> </div> <div class="form-group row" id="dvBrandsMain"> </div> <div class="form-group row" id="dvModelsMain" <?php if ($apiIdForBrand == 0) echo 'style="display:none"'; ?>> </div> <div class="form-group row"> <div class="col-lg-3"></div><div class="col-lg-4"> <button name="BrandsSubmit" value="103" type="submit" <?php if ($IS_DEMO) echo 'disabled="disabled"'; ?> class="btn ThemeColorButton"><?php echo $this->lang->line('BE_LBL_72'); ?></button> </div> </div> </div> <div class="tab-pane" id="tab_5"> <div class="form-body"> <div class="form-group row"> <label class="col-md-3 text-right control-label">Promotion Start Date:*</label> <div class="col-md-5"> <input class="form-control form-control-inline input-largest date-picker" placeholder="yyyy-mm-dd" value="<? echo $promoStDt;?>" type="text" name="txtStDt" id="txtStDt" /> </div> </div> <div class="form-group row"> <label class="col-md-3 text-right control-label">Promotion End Date:*</label> <div class="col-md-5"> <input class="form-control form-control-inline input-largest date-picker" placeholder="yyyy-mm-dd" value="<? echo $promoEndDt;?>" type="text" name="txtEndDt" id="txtEndDt" /> </div> </div> <div class="form-group row"> <label class="col-md-3 text-right control-label">Promotion Discount:*</label> <div class="col-md-5"> <input type="text" class="form-control" maxlength="10" id="txtPDiscount" name="txtPDiscount" value="<?php echo $promoDiscount;?>" /> </div> </div> <div class="form-actions fluid"> <div class="offset-3 col-md-7"> <button type="button" <?php if($IS_DEMO) echo 'disabled="disabled"';?> id="btnPromo" name="btnPromo" class="btn ThemeColorButton green"><? echo $this->lang->line('BE_LBL_72'); ?></button> <img style="display:none;" id="promoLdr" src="<?php echo base_url();?>assets/images/loading2.gif" border="0" alt="Please wait..." /> </div> </div> </div> <div class="col-lg-12"> <h4>Promos History</h4> <div class="table-responsive"> <table class="table table-striped table-bordered table-advance table-hover"> <thead> <tr> <th>Promotion Start Date</th> <th>Promotion End Date</th> <th>Promotion Discount</th> <? if(!$IS_DEMO) { ?> <th></th> <? } ?> </tr> </thead> <tbody> <?php if($promos != 0) { foreach($rsPromos as $row) { ?> <tr> <td nowrap="nowrap"><?php echo $row->StartDate;?></td> <td nowrap="nowrap"><?php echo $row->EndDate;?></td> <td><?php echo roundMe($row->Discount);?></td> <? if(!$IS_DEMO) { ?> <td style="text-align:center" valign="middle"> <a href="rtlservice.php?id=<? echo $id;?>&del=1&hstryId=<?php echo($row->HistoryId); ?>#tab_5" onclick="return confirm('<?php echo $this->lang->line('BE_LBL_32'); ?>')"><i class="fa fa-trash-o"></i></a></td> <? } ?> </tr> <? }?> <? }else{ ?> <tr><td colspan="4"><strong><?php echo $this->lang->line('BE_GNRL_9'); ?></strong></td></tr> <?php } ?> </tbody> </table> </div> </div> </div> <? } ?> </div> </div> <?php echo form_close();?> </div> </div> </div> </div> </div> </div> </div> <!-- Modal --> <div class="modal fade" id="moreFieldsModal" tabindex="-1" role="dialog" aria-labelledby="moreFieldsModal" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="moreFieldsModal">Add Following Fields In `More Fields Name`</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <table class="table"> <tr> <td>Serial No</td> <td>`serialno_U4L6` and `serialno_Z2O5`</td> </tr> <tr> <td> Email </td> <td>email_B5D9</td> </tr> <tr> <td> Quantity</td> <td>quantity_G7V7</td> </tr> <tr> <td>Username</td> <td>username_K4I8</td> </tr> <tr> <td> Serial No</td> <td>serialno_Z2O5</td> </tr> <tr> <td>ProductId Code</td> <td>productidcode_E0U2</td> </tr> <tr> <td>Phone No</td> <td>phoneno_C2Q9</td> </tr> <tr> <td>MEID</td> <td>meid_Z5H1</td> </tr> <tr> <td>Country</td> <td>country_V6A3</td> </tr> <tr> <td>Network</td> <td>network_S4A4</td> </tr> <tr> <td> Provider Id</td> <td>providerid_H1Y9</td> </tr> <tr> <td>Mep Code</td> <td>mepcode_J8G4</td> </tr> <tr> <td>PRD Number</td> <td>prdnumber_Q3V3</td> </tr> <tr> <td>CheckMend Report</td> <td>checkmendreport_V7B8</td> </tr> <tr> <td>Model No</td> <td>modelno_T3R8</td> </tr> <tr> <td>iCloud Email ID</td> <td>icloudemailid_G0D4</td> </tr> <tr> <td>UDID</td> <td>udid_I1A9</td> </tr> <tr> <td>KBH KRH</td> <td>kbhkrh_B7K3</td> </tr> <tr> <td>Image URL</td> <td>imageurl_F8O2</td> </tr> <tr> <td>Sent Pictures</td> <td>sentpictures_L1T0</td> </tr> <tr> <td>MEP CODES</td> <td>mepcodes_P7Y0</td> </tr> <tr> <td>PRD CODES</td> <td>prdcodes_D3O0</td> </tr> <tr> <td>Dongle ID</td> <td>dongleid_D7V1</td> </tr> <tr> <td>Active Code</td> <td>activecode_Q7B2</td> </tr> <tr> <td>Password</td> <td>pasward_V6I0</td> </tr> <tr> <td>Type Screen Hint</td> <td>U4G4T7U9K8R6F3L1J9</td> </tr> <tr> <td>MSLsn</td> <td>N2B4R0Y7T4W5D0I4K3</td> </tr> <tr> <td>SWID</td> <td>K9Y2N8V1A4X1C4Y7Y8</td> </tr> <tr> <td>Service Terms</td> <td>E4C6G0W5U1K0X4K7P5</td> </tr> <tr> <td>FingerPrint</td> <td>Q6H1H9H4I2H2I4Y2K6</td> </tr> <tr> <td>USERNAME/SN</td> <td>O7V8E3J2J4X6X1V6V2</td> </tr> <tr> <td>Z3X Credit Counts</td> <td>R5C9X7Y9C2J3K9J9P0</td> </tr> <tr> <td>GC Pro Credit</td> <td>P8V9H2R1G5H6E6X7K5</td> </tr> <tr> <td>HWID</td> <td>S7G1J5G0T9G8K5V8N5</td> </tr> <tr> <td>Type</td> <td>R9Z6A8F8J6F3G8Y2J2</td> </tr> <tr> <td>E-Mail:</td> <td>Q4X7N6P2D5U4Q4U4G7</td> </tr> <tr> <td>Types</td> <td>A5C9F8O2Y0W8Q9M7C7</td> </tr> <tr> <td>SamKey TMO</td> <td>I9E8C7S2D7I3R0T7Z1</td> </tr> <tr> <td>Sold By info</td> <td>S9Z5X9R6B4M8C9J5L5</td> </tr> <tr> <td>Pasward</td> <td>Y1S9G8O0G7U3L5O0J9</td> </tr> <tr> <td>User Type</td> <td>W6A2C3K7V9A4Z1D1R2</td> </tr> <tr> <td>Part Number</td> <td>O9N7W0F1N0E8L2V0U9</td> </tr> <tr> <td>NTool Credit</td> <td>S1Y0W7L6M6N7Q6U8F3</td> </tr> <tr> <td>EFT Serial</td> <td>L5J5U2U0M0W7C3A6B3</td> </tr> <tr> <td>CPU</td> <td>F0O6I9O9F2P8F4H5M6</td> </tr> <tr> <td>Lost/Clean Report </td> <td>Q2Y9P4W8E2I4A9I0Q5</td> </tr> <tr> <td>HWID:</td> <td>A7X7P9A0A3H6A9P2X8</td> </tr> <tr> <td> GSX Info</td> <td>L0Z0Z9F8X3H5A3G3W9</td> </tr> <tr> <td> Infinity Box Serial </td> <td>U3F7X2Z1M4A1W3C6Y8</td> </tr> <tr> <td>Best Dongle Serial</td> <td>X9Z7Z7H1I6K8A7D7X1</td> </tr> <tr> <td>infinity CDMA Tool Serial</td> <td>J5O5R3C3Q7Z9S3L7V8</td> </tr> <tr> <td> Whatsapp No</td> <td>S5G3Q8P6Q0Q8C4A6U9</td> </tr> <tr> <td>User Types</td> <td>C1B4H7B2O4A8H3K1U8</td> </tr> <tr> <td>KeyLock</td> <td>A7G1Q6U1M3W9V1W4L1</td> </tr> <tr> <td>UMT Serial</td> <td>K1Y3K9E2C6A7L9Q7D1</td> </tr> <tr> <td>Account ID</td> <td>T4Y3T4S9U5F2O4W5R3</td> </tr> <tr> <td>USER_CARD_ID</td> <td>K2S3Q9F1N3H7D9B2L3</td> </tr> <tr> <td> DT Smart PRO Finger ID</td> <td>O6T7E4L5K4N0R3J6Z1</td> </tr> <tr> <td>DT Manager PRO Finger ID</td> <td>E4F8O8H5S1E9R5H9T8</td> </tr> <tr> <td> Player ID </td> <td>X2Z8Q6F8V5M8V0K9I5</td> </tr> <tr> <td>Nick Name</td> <td>N2E9M8K9T7X7Z5R6O5</td> </tr> <tr> <td>Nick Name</td> <td>D1I3V3B9Z1L7S7K2O8</td> </tr> <tr> <td>Player ID</td> <td>X5D6T0A2D3N9J6P9H6</td> </tr> <tr> <td>Player_id</td> <td>E4J2K7C2T2R8Q8G8B9</td> </tr> <tr> <td>Player_Id</td> <td>V0Z1D2V0L8C1O8Z5X8</td> </tr> <tr> <td>Pubg id</td> <td>Y6T0L3Q0T6L8R1Y7I1</td> </tr> <tr> <td>Username/HWID</td> <td>V1Y3F8Z1E6Q1E9X2M6</td> </tr> <tr> <td>Hardware ID</td> <td>E3T4M1Z1R5G4Z9W8C0</td> </tr> <tr> <td>User ID</td> <td>USER_ID</td> </tr> <tr> <td>Zone ID</td> <td>ZONE_ID</td> </tr> <tr> <td>Garena or Facebook </td> <td>GARENA_OR_FACEBOOK</td> </tr> <tr> <td>IMEI 2</td> <td>IMEI_2</td> </tr> <tr> <td>Token</td> <td>TOKEN</td> </tr> <tr> <td>ID info</td> <td>ID_INFO</td> </tr> <tr> <td>IMEI or Serial</td> <td>IMEI_OR_SERIAL</td> </tr> <tr> <td> MI ID</td> <td>MI_ID</td> </tr> <tr> <td> FSN OR IMEI</td> <td>FSN_OR_IMEI</td> </tr> </table> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary ThemeColorButton" data-dismiss="modal">Close</button> </div> </div> </div> </div> <style> var base_url = '<?php echo base_url(); ?>'; </style> <script type="text/javascript" src="<?php echo base_url('assets/js/jquery-ui-1.7.1.custom.min.js') ?>"></script> <script language="javascript" src="<?php echo base_url('assets/plugins/ckeditor/ckeditor.js') ?>"></script> <!--<script type="text/javascript" src="assets/sortable/jquery-ui-1.7.1.custom.min.js"></script>--> <script type="text/javascript"> function validate_imei_check() { if($('[name="fieldIMEI"]').is(':checked')) { return true; }else if($('[name="fieldIMEICustom"]').is(':checked')) { return true; } alert('Please check at least 1 IMEI Field Type.'); return false; } $(function(){ $(document).on('change', 'select[name="apiFieldName[]"]', function(){ if($(this).val()) { var value = $(this).val(); var value_split = value.split('|'); var id = value_split[0]; var name = value_split[1]; var fieldType = $(this).find('option:selected').data('field-type'); var description = $(this).find('option:selected').data('description'); var fieldOptions = $(this).find('option:selected').data('field-options'); var required = $(this).find('option:selected').data('required'); if(fieldType == 'text') { $(this).closest('tr').find('[name="fieldType[]"]').val('Text Box'); }else if(fieldType == 'dropdown') { $(this).closest('tr').find('[name="fieldType[]"]').val('Drop Down'); }else if(fieldType == 'textarea') { $(this).closest('tr').find('[name="fieldType[]"]').val('Text Area'); }else if(fieldType == 'radio') { $(this).closest('tr').find('[name="fieldType[]"]').val('Radio Button'); } $(this).closest('tr').find('[name="txtFieldName[]"]').val(name); $(this).closest('tr').find('[name="txtDescription[]"]').val(description); $(this).closest('tr').find('[name="txtFieldOptions[]"]').val(fieldOptions); $(this).closest('tr').find('[name="chkMandatory[]"]').val(required); } }); $('#tabsControls [data-toggle="tab"]').on('show.bs.tab', function(e){ var tabNum = parseInt($(this).attr('href').match(/\d+$/)); var url = '<?php echo base_url($this->config->item('apanel_name').'/retail/rtlservice') . get_query_string(); ?>'; url = url.replace(/.activeTab=\d+/g, ''); var joiner = url.indexOf('?') > -1 ? '&' : '?'; url = url + joiner+'activeTab='+tabNum; $('#frm').attr('action', url); $('[name="submitUrl"]').val(url); }); }); </script> <script language="javascript" src="<?php echo base_url('assets/js/rservice.js') ?>?v=<?php echo $this->config->item('assets_version'); ?>"></script>