Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: brand.php
<!-- Page header --> <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="<?php echo base_url($this->config->item('apanel_name').'/services/brands?frmId=349&fTypeId=2'); ?>" class="BackButton-Link" ><i class="icon-arrow-left52 mr-2"></i></a> <?php echo $this->lang->line('BE_LBL_921'); ?></h4> </div> </div> </div> <!-- /page header --> <!-- Content area --> <div class="content pt-0"> <div class="card"> <div class="row"> <div class="col-12 col-sm-12 col-md-12 col-lg-10 col-xl-10"> <div class="card-body"> <!-- Our Working Area Start --> <?php if ($this->session->flashdata('message')) { ?> <div class="form-group row"> <div class="col-lg-12"> <div class="alert alert-success"><?php echo $this->session->flashdata('message'); ?></div> </div> </div> <?php } if($id>0){ $url = '?id='.$id.'&frmId=349&fTypeId=2'; }else{ $url= ''; } ?> <!-- Copy till this to paste to other pages --> <?php echo form_open(base_url($this->config->item('apanel_name').'/services/brand'.$url),array('class'=>"form-horizontal",'name'=>"frm",'method'=>"post",'id'=>"frm",'enctype'=>"multipart/form-data"));?> <form > <input type="hidden" id="id" name="id" value="<?php echo($id); ?>" /> <div class="form-body"> <div class="form-group row"> <label class="col-lg-3 control-label text-right"><? echo $this->lang->line('BE_MR_26'); ?>:</label> <div class="col-lg-8"> <input type="text" <?php echo ($id>0?'readonly':''); ?> class="form-control" placeholder="Enter Title" maxlength="100" name="brandtitle" id="brandtitle" value="<? echo($brand);?>" /> </div> </div> <div class="form-group row"> <label class="col-lg-3 control-label text-right">Model List:</label> <div class="col-lg-8"> <textarea type="text" class="form-control" placeholder="Enter Model List" name="models" id="models" ></textarea> </div> </div> <?php if($id==''){?> <div class="form-group row"> <label class="col-lg-3 control-label text-right">Model List File:</label> <div class="col-lg-8"> <input type="file" class="form-control" name="txtFile" id="txtFile" value="" /> </div> </div> <?php } ?> </div> <div class="form-group row"> <div class="col-md-3"></div><div class="col-lg-9"> <button type="submit" name="brandSubmit" <?php if($IS_DEMO) echo 'disabled="disabled"';?> class="btn ThemeColorButton"><? echo $this->lang->line('BE_LBL_72'); ?></button> </div> </div> <?php echo form_close();?> <!-- END FORM--> <?php if($models){?> <div class="col-lg-12 row mb-3"> <h5>Models</h5> <div class="table-responsive"> <table class="table"> <tbody> <tr> <?php $i=1; foreach ($models as $model){ $model_title = $model->model_title; ?> <td><?php echo $model_title; ?> <a href="JavaScript:void(0)" onclick="modelDelete(this)" id="<?php echo $model->model_id; ?>" data-id="<?php echo $id; ?>"><i class="fa fa-times-circle"></i></a></td> <?php if($i==5){ $i=0;?> </tr> <?php } $i++; } ?> </tbody> </table> </div> </div> <?php } ?> </div> </div> </div> </div> </div> <script language="javascript" src="<?php echo base_url('assets/');?>js/brand.js?v=<?php echo $this->config->item('assets_version'); ?>"></script>