Moved to PHP folder
This commit is contained in:
100
php/application/views/admin/admin-users.php
Normal file
100
php/application/views/admin/admin-users.php
Normal file
@ -0,0 +1,100 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$pagehead = "Admin Users";
|
||||
?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php $this->load->view('admin/includes/header-script')?>
|
||||
<title><?=TITLE?></title>
|
||||
<style type="text/css">
|
||||
.active {
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="pushmenu-push pushmenu-push-toright">
|
||||
<?php $this->load->view('admin/includes/left-menu')?>
|
||||
<?php $this->load->view('admin/includes/header')?>
|
||||
<section class="admin-content">
|
||||
<div class="container">
|
||||
<h2><?=$pagehead?></h2>
|
||||
<?php
|
||||
$success_msg= $this->session->flashdata('success_msg');
|
||||
$error_msg= $this->session->flashdata('error_msg');
|
||||
if($success_msg) { ?>
|
||||
<div class="alert alert-success">
|
||||
<?php echo $success_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close" >×</a>
|
||||
</div>
|
||||
<?php } if($error_msg){ ?>
|
||||
<div class="alert alert-danger">
|
||||
<?php echo $error_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close" >×</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="col-md-12 col-lg-12 admin-setting">
|
||||
<div class="class-content d-flex">
|
||||
<div class="col-md-12 class-name col-lg-6">
|
||||
<?php echo form_open('admin/user/add_user'); ?>
|
||||
<div class="d-flex">
|
||||
<span>User Name</span>
|
||||
<input type="text" name="user_name" value="<?=isset($user_name)? $user_name : ''?>" class="form-control" required>
|
||||
</div>
|
||||
<div class="d-flex">
|
||||
<span>Password</span>
|
||||
<input type="password" name="user_password" value="<?=isset($user_password)? $user_password : ''?>" class="form-control" required>
|
||||
</div>
|
||||
<div class="submit-class d-flex justify-content-end">
|
||||
<?php if(isset($user_id)) { ?>
|
||||
<input type="hidden" value="<?=isset($user_id)? $user_id : ''?>" name="user_id">
|
||||
<input type="submit" name="submit" value="Update" style="cursor: pointer;" class="submit">
|
||||
<a href="<?= base_url();?>admin/admin-user"><input type="button" value="Cancel" style="cursor: pointer;" class="reset"></a>
|
||||
<?php } else {?>
|
||||
<input type="submit" name="submit" value="Add" style="cursor: pointer;" class="submit">
|
||||
<input type="reset" value="Reset" style="cursor: pointer;" class="reset">
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php echo form_close(); ?>
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-6">
|
||||
<h2>Admin Users</h2>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>User Name</th>
|
||||
<th>Status</th>
|
||||
<th>Edit</th>
|
||||
<th>Delete</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($all_users as $val) { ?>
|
||||
<tr>
|
||||
<td><?=$val['user_name']?></td>
|
||||
<td class="text-center"><?php
|
||||
if($val['user_status'] == "active") { ?>
|
||||
<a class="<?php if($this->session->user_id == $val['user_id']){echo "active"; }?>" href="<?=site_url('admin/user/update_status/'.$val['user_id'])?>"><div class="active-swith">
|
||||
<?=$val['user_status']?>
|
||||
</div></a>
|
||||
<?php } if($val['user_status'] == "inactive"){ ?>
|
||||
<a href="<?=site_url('admin/user/update_status/'.$val['user_id'])?>"><div class="active-swith off">
|
||||
<?=$val['user_status']?>
|
||||
</div></a>
|
||||
<?php } ?></td>
|
||||
<td><a href="<?=site_url();?>admin/admin-user-edit/<?=$val['user_id']?>" title="Edit"><img src="<?=site_url();?>assets/admin/img/edit.png" alt=""><a></td>
|
||||
<td><?php if( $val['user_type']!='admin') { ?><a href="<?=site_url();?>admin/admin-user-delete/<?=$val['user_id']?>" onclick="return confirm('Are you sure want to Delete?')" title="Delete"><img src="<?=site_url();?>assets/admin/img/delete.png" alt=""><a><?php } else { echo "Can't Delete"; }?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Optional JavaScript -->
|
||||
<?php $this->load->view('admin/includes/footer-script')?>
|
||||
</body>
|
||||
</html>
|
290
php/application/views/admin/class-create.php
Normal file
290
php/application/views/admin/class-create.php
Normal file
@ -0,0 +1,290 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$pagehead = "New Class Form"; ?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php $this->load->view('admin/includes/header-script')?>
|
||||
<title><?=TITLE?></title>
|
||||
</head>
|
||||
<body class="pushmenu-push pushmenu-push-toright">
|
||||
<?php $this->load->view('admin/includes/left-menu')?>
|
||||
<?php $this->load->view('admin/includes/header')?>
|
||||
<section class="admin-content">
|
||||
<div class="container">
|
||||
<h2><?=$pagehead?></h2>
|
||||
<?php
|
||||
$success_msg= $this->session->flashdata('success_msg');
|
||||
$error_msg= $this->session->flashdata('error_msg');
|
||||
if($success_msg) { ?>
|
||||
<div class="alert alert-success">
|
||||
<?php echo $success_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close" >×</a>
|
||||
</div>
|
||||
<?php } if($error_msg){ ?>
|
||||
<div class="alert alert-danger">
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close" >×</a>
|
||||
<?php echo $error_msg; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="class-form d-flex">
|
||||
<div class="col-lg-7 col-md-12">
|
||||
<h3 class="general-h3">General Information</h3>
|
||||
<div class="general">
|
||||
<?php echo form_open('admin/class-manage'); ?>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Class Name</label>
|
||||
<select name="class_id" id="target1" style="margin-right: 10px;" required>
|
||||
<option value="">Select Class</option>
|
||||
<?php foreach ($class_name as $value)
|
||||
{
|
||||
$selected = '';
|
||||
if($value['class_id'] == $class_id)
|
||||
{
|
||||
$selected = 'selected';
|
||||
} ?>
|
||||
<option <?=$selected?> value="<?=$value['class_id']?>"><?=$value['class_name']?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad">
|
||||
<label for="">Total Seats</label>
|
||||
<input type="text" name="class_seats" value="<?=isset($class_seats)? $class_seats : ''?>" class="general-input" placeholder="No Of Seats" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Instructor:</label>
|
||||
<select name="instr_id" id="target2" style="margin-right: 10px;" required>
|
||||
<option value="">Select Instructor</option>
|
||||
<?php foreach ($class_instructor as $value)
|
||||
{
|
||||
$selected = '';
|
||||
if($value['instr_name'] == $instr_name)
|
||||
{
|
||||
$selected = 'selected';
|
||||
} ?>
|
||||
<option <?=$selected?> value="<?=$value['instr_id']?>"><?=$value['instr_name']?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad">
|
||||
<label for="">Hours:</label>
|
||||
<input type="text" name="class_hours" value="<?=isset($class_hours)? $class_hours : ''?>" class="general-input" placeholder="Class Hours" required>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
</div>
|
||||
</div>
|
||||
<h3 class="general-h3">Eligible Registrants</h3>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad">
|
||||
<span class="chk-abc"><input type="checkbox" value="M" <?php if(isset($class_registrants)) { if(in_array('M', $class_registrants)) { echo "checked"; } } ?> name="class_registrants[]" id="start" class="chk-date1"><label for="start"></label>Members / Alumni</span>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Price:</label>
|
||||
<input type="text" name="class_price_m" value="<?=isset($class_price_m)? $class_price_m : ''?>" class="general-input" placeholder="Price">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad">
|
||||
<span class="chk-abc"><input type="checkbox" value="M2" <?php if(isset($class_registrants)) { if(in_array('M2', $class_registrants)) { echo "checked"; } } ?> name="class_registrants[]" id="start1" class="chk-date1"><label for="start1"></label>Members / Alumni 2+</span>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Price:</label>
|
||||
<input type="text" name="class_price_m2" value="<?=isset($class_price_m2)? $class_price_m2 : ''?>" class="general-input" placeholder="Price">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad">
|
||||
<span class="chk-abc"> <input type="checkbox" id="start2" value="N" <?php if(isset($class_registrants)) { if(in_array('N', $class_registrants)) { echo "checked"; } } ?> name="class_registrants[]" class="chk-date2"><label for="start2"></label>Non-Member</span>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Price:</label>
|
||||
<input type="text" name="class_price_n" value="<?=isset($class_price_n)? $class_price_n : ''?>" class="general-input" placeholder="Price">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad">
|
||||
<span class="chk-abc"> <input type="checkbox" id="start3" value="N2" <?php if(isset($class_registrants)) { if(in_array('N2', $class_registrants)) { echo "checked"; } } ?> name="class_registrants[]" class="chk-date2"><label for="start3"></label>Non-Member 2+</span>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Price:</label>
|
||||
<input type="text" name="class_price_n2" value="<?=isset($class_price_n2)? $class_price_n2 : ''?>" class="general-input" placeholder="Price">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad">
|
||||
<span class="chk-abc"><input type="checkbox" id="start4" value="S" <?php if(isset($class_registrants)) { if(in_array('S', $class_registrants)) { echo "checked"; } } ?> name="class_registrants[]" class="chk-date3"><label for="start4"></label>SE</span>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Price:</label>
|
||||
<input type="text" name="class_price_s" value="<?=isset($class_price_s)? $class_price_s : ''?>" class="general-input" placeholder="Price">
|
||||
</div>
|
||||
</div>
|
||||
<div class="date-time" id="expand1">
|
||||
<h3 class="general-h3">Date and Time</h3>
|
||||
<div class="form-group d-flex">
|
||||
<span class="chk-abc"> <input type="checkbox" <?php if(isset($class_day)) { if(in_array("Mon", $class_day)) { echo "checked"; } } ?> name="class_day[]" value="Mon" id="d1" ><label for="d1"></label>Monday</span>
|
||||
<span class="chk-abc"> <input type="checkbox" <?php if(isset($class_day)) { if(in_array("Tue", $class_day)) { echo "checked"; } } ?> name="class_day[]" value="Tue" id="d2" ><label for="d2"></label>Tuesday</span>
|
||||
<span class="chk-abc"> <input type="checkbox" <?php if(isset($class_day)) { if(in_array("Wed", $class_day)) { echo "checked"; } } ?> name="class_day[]" value="Wed" id="d3" ><label for="d3"></label>Wednesday</span>
|
||||
<span class="chk-abc"> <input type="checkbox" <?php if(isset($class_day)) { if(in_array("Thu", $class_day)) { echo "checked"; } } ?> name="class_day[]" value="Thu" id="d4" ><label for="d4"></label>Thursday</span>
|
||||
<span class="chk-abc"> <input type="checkbox" <?php if(isset($class_day)) { if(in_array("Fri", $class_day)) { echo "checked"; } } ?> name="class_day[]" value="Fri" id="d5" ><label for="d5"></label>Friday</span>
|
||||
</div>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Start Date:</label>
|
||||
<input type="text" name="calss_start_date" value="<?=isset($calss_start_date)? $calss_start_date : ''?>" class="general-input datepicker" placeholder="Start Date">
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
 <label for="">End Date:</label>
|
||||
<input type="text" name="calss_end_date" value="<?=isset($calss_end_date)? $calss_end_date : ''?>" class="general-input datepicker" placeholder="End Date">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Start Time:</label>
|
||||
<input type="text" name="calss_start_time" value="<?=isset($calss_start_time)? $calss_start_time : ''?>" class="general-input m-10 timepicker" placeholder="Start Time">
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">End Time:</label>
|
||||
<input type="text" name="calss_end_time" value="<?=isset($calss_end_time)? $calss_end_time : ''?>" class="general-input timepicker" placeholder="End Time">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3 class="general-h3">Location</h3>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Location:</label>
|
||||
<select name="locat_id" style="margin-right: 10px;" id="target3" required>
|
||||
<option value="">Select Location</option>
|
||||
<?php foreach ($class_location as $value)
|
||||
{
|
||||
$selected = '';
|
||||
if($value['locat_id'] == $locat_id)
|
||||
{
|
||||
$selected = 'selected';
|
||||
} ?>
|
||||
<option <?=$selected?> value="<?=$value['locat_id']?>"><?=$value['locat_name']?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Room:</label>
|
||||
<input type="text" name="class_room" value="<?=isset($class_room)? $class_room : ''?>" class="general-input" placeholder="Room" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Physical Address:</label>
|
||||
<input type="text" name="class_address" value="<?=isset($class_address)? $class_address : ''?>" class="general-input m-10" placeholder="Address" required>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">City:</label>
|
||||
 <input type="text" name="class_city" value="<?=isset($class_city)? $class_city : ''?>" class="general-input" placeholder="City" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">State:</label>
|
||||
<input type="text" name="class_state" value="<?=isset($class_state)? $class_state : ''?>" class="general-input m-10" placeholder="State" required>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Zip Code:</label>
|
||||
<input type="text" name="class_code" value="<?=isset($class_code)? $class_code : ''?>" class="general-input" placeholder="Zip Code" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group d-flex">
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
<label for="">Phone Number:</label>
|
||||
<input type="text" name="class_phone" value="<?=isset($class_phone)? $class_phone : ''?>" class="general-input m-10 yourphone" placeholder="Phone Number" required>
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex no-pad ">
|
||||
</div>
|
||||
</div>
|
||||
<h3 class="general-h3">Class Description</h3>
|
||||
<textarea class="form-control" name="class_description" rows="5" id="comment"><?=isset($class_description)? $class_description : ''?></textarea>
|
||||
<div class="submit-class d-flex">
|
||||
<?php if(isset($form_id)) { ?>
|
||||
<div class="col6">
|
||||
<input type="hidden" name="form_id" value="<?=isset($form_id)? $form_id : ''?>">
|
||||
<input type="submit" name="submit" value="Update" style="cursor: pointer;" class="submit">
|
||||
</div>
|
||||
<div class="col6">
|
||||
<a href="<?= base_url();?>admin/create-class"><input type="button" value="Cancel" style="cursor: pointer;" class="reset"></a>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div class="col6">
|
||||
<input type="submit" name="submit" value="Add" style="cursor: pointer;" class="submit">
|
||||
</div>
|
||||
<div class="col6">
|
||||
<input type="reset" value="Reset" style="cursor: pointer;" class="reset">
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php echo form_close(); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-5 col-md-12 class-table">
|
||||
<h3 class="general-h3">List of Classes</h3>
|
||||
<?php echo form_open('admin/Createclass/delete_form'); ?>
|
||||
<select onChange="this.form.submit()" name="action" class="duplicate-sl" id="target4">
|
||||
<option value="">Action</option>
|
||||
<option value="duplicate">Duplicate Record</option>
|
||||
<option value="delete">Delete Record</option>
|
||||
</select>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span class="chk-abc"><input type="checkbox" name="chk" class="selectall" id="tb7"><label for="tb7"></label></span></th>
|
||||
<th>Form Id</th>
|
||||
<th>Created</th>
|
||||
<th>Class Name</th>
|
||||
<th>Edit</th>
|
||||
<th>Delete</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($all_class as $val) { ?>
|
||||
<tr>
|
||||
<td><span class="chk-abc"><input name="check_id[]" type="checkbox" value="<?=$val['form_id']?>" class="case" id="<?=$val['form_id']?>"><label for="<?=$val['form_id']?>"></label></span></td>
|
||||
<td><?=$val['form_id']?></td>
|
||||
<td><?=date("d-m-Y",strtotime($val['form_createddate']))?></td>
|
||||
<td><?=$val['class_name']?></td>
|
||||
<td><a href="<?=base_url();?>admin/create-class-edit/<?=$val['form_id']?>" title="Edit"><img src="<?=base_url();?>assets/admin/img/edit.png" alt=""><a></td>
|
||||
<td><a href="<?=base_url();?>admin/create-class-delete/<?=$val['form_id']?>" onclick="return confirm('Are you sure want to Delete?')" title="Delete"><img src="<?=base_url();?>assets/admin/img/delete.png" alt=""><a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php echo form_close(); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
<!-- Optional JavaScript -->
|
||||
<?php $this->load->view('admin/includes/footer-script')?>
|
||||
<script language="JavaScript">
|
||||
$(document).ready(function(){
|
||||
$('.selectall').on('click',function(){
|
||||
if(this.checked){
|
||||
$('.case').each(function(){
|
||||
this.checked = true;
|
||||
});
|
||||
}else{
|
||||
$('.case').each(function(){
|
||||
this.checked = false;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$('.case').on('click',function(){
|
||||
if($('.case:checked').length == $('.case').length){
|
||||
$('.selectall').prop('checked',true);
|
||||
}else{
|
||||
$('.selectall').prop('checked',false);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
88
php/application/views/admin/classsetting-instructor.php
Normal file
88
php/application/views/admin/classsetting-instructor.php
Normal file
@ -0,0 +1,88 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$pagehead = "Class Settings Page"; ?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php $this->load->view('admin/includes/header-script')?>
|
||||
<title><?=TITLE?></title>
|
||||
</head>
|
||||
<body class="pushmenu-push pushmenu-push-toright">
|
||||
<?php $this->load->view('admin/includes/left-menu')?>
|
||||
<?php $this->load->view('admin/includes/header')?>
|
||||
<section class="admin-content">
|
||||
<div class="container">
|
||||
<h2><?=$pagehead?></h2>
|
||||
<?php
|
||||
$success_msg= $this->session->flashdata('success_msg');
|
||||
$error_msg= $this->session->flashdata('error_msg');
|
||||
if($success_msg) { ?>
|
||||
<div class="alert alert-success">
|
||||
<?php echo $success_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close" >×</a>
|
||||
</div>
|
||||
<?php } if($error_msg){ ?>
|
||||
<div class="alert alert-danger">
|
||||
<?php echo $error_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close" >×</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="setting d-flex">
|
||||
<div class="col-md-12 col-lg-2 no-pad class-left">
|
||||
<ul class="class-nav d-flex">
|
||||
<li><a href="<?= base_url();?>admin/class-name">Class Names</a></li>
|
||||
<li><a href="<?= base_url();?>admin/class-locations">Locations</a></li>
|
||||
<li class="active"><a href="<?= base_url();?>admin/class-instructors">Instructors</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-10">
|
||||
<div class="class-content d-flex">
|
||||
<div class="col-md-12 class-name col-lg-6">
|
||||
<?php echo form_open('admin/classsetting/manage_instructor'); ?>
|
||||
<div class="d-flex">
|
||||
<span style="font-size: 13px">Approved Instructor</span>
|
||||
<input type="text" name="instr_name" value="<?=isset($instr_name)? $instr_name : ''?>" class="form-control" required>
|
||||
</div>
|
||||
<div class="submit-class d-flex justify-content-end">
|
||||
<?php if(isset($instr_id)) { ?>
|
||||
<input type="hidden" value="<?=isset($instr_id)? $instr_id : ''?>" name="instr_id">
|
||||
<input type="submit" name="submit" value="Update" style="cursor: pointer;" class="submit">
|
||||
<a href="<?= base_url();?>admin/class-instructors"><input type="button" value="Cancel" style="cursor: pointer;" class="reset"></a>
|
||||
<?php } else {?>
|
||||
<input type="submit" name="submit" value="Add" style="cursor: pointer;" class="submit">
|
||||
<input type="reset" value="Reset" style="cursor: pointer;" class="reset">
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php echo form_close(); ?>
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-6">
|
||||
<h2> Class Instructors</h2>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Created </th>
|
||||
<th>Class Instructors</th>
|
||||
<th>Edit</th>
|
||||
<th>Delete</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($all_instructors as $val) { ?>
|
||||
<tr>
|
||||
<td><?=date("d-m-Y",strtotime($val['instr_createddate']))?></td>
|
||||
<td><?=$val['instr_name']?></td>
|
||||
<td><a href="<?=base_url();?>admin/class-instructors-edit/<?=$val['instr_id']?>" title="Edit"><img src="<?=base_url();?>assets/admin/img/edit.png" alt=""><a></td>
|
||||
<td><a href="<?=base_url();?>admin/class-instructors-delete/<?=$val['instr_id']?>" onclick="return confirm('Are you sure want to Delete?')" title="Delete"><img src="<?=base_url();?>assets/admin/img/delete.png" alt=""><a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Optional JavaScript -->
|
||||
<?php $this->load->view('admin/includes/footer-script')?>
|
||||
</body>
|
||||
</html>
|
88
php/application/views/admin/classsetting-location.php
Normal file
88
php/application/views/admin/classsetting-location.php
Normal file
@ -0,0 +1,88 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$pagehead = "Class Settings Page"; ?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php $this->load->view('admin/includes/header-script')?>
|
||||
<title><?=TITLE?></title>
|
||||
</head>
|
||||
<body class="pushmenu-push pushmenu-push-toright">
|
||||
<?php $this->load->view('admin/includes/left-menu')?>
|
||||
<?php $this->load->view('admin/includes/header')?>
|
||||
<section class="admin-content">
|
||||
<div class="container">
|
||||
<h2><?=$pagehead?></h2>
|
||||
<?php
|
||||
$success_msg= $this->session->flashdata('success_msg');
|
||||
$error_msg= $this->session->flashdata('error_msg');
|
||||
if($success_msg) { ?>
|
||||
<div class="alert alert-success">
|
||||
<?php echo $success_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close" >×</a>
|
||||
</div>
|
||||
<?php } if($error_msg){ ?>
|
||||
<div class="alert alert-danger">
|
||||
<?php echo $error_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close" >×</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="setting d-flex">
|
||||
<div class="col-md-12 col-lg-2 no-pad class-left">
|
||||
<ul class="class-nav d-flex">
|
||||
<li><a href="<?= base_url();?>admin/class-name">Class Names</a></li>
|
||||
<li class="active"><a href="<?= base_url();?>admin/class-locations">Locations</a></li>
|
||||
<li><a href="<?= base_url();?>admin/class-instructors">Instructors</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-10">
|
||||
<div class="class-content d-flex">
|
||||
<div class="col-md-12 class-name col-lg-6">
|
||||
<?php echo form_open('admin/classsetting/manage_location'); ?>
|
||||
<div class="d-flex">
|
||||
<span>Class Locations</span>
|
||||
<input type="text" name="locat_name" value="<?=isset($locat_name)? $locat_name : ''?>" class="form-control" required>
|
||||
</div>
|
||||
<div class="submit-class d-flex justify-content-end">
|
||||
<?php if(isset($locat_id)) { ?>
|
||||
<input type="hidden" value="<?=isset($locat_id)? $locat_id : ''?>" name="locat_id">
|
||||
<input type="submit" name="submit" value="Update" style="cursor: pointer;" class="submit">
|
||||
<a href="<?= base_url();?>admin/class-locations"><input type="button" value="Cancel" style="cursor: pointer;" class="reset"></a>
|
||||
<?php } else {?>
|
||||
<input type="submit" name="submit" value="Add" style="cursor: pointer;" class="submit">
|
||||
<input type="reset" value="Reset" style="cursor: pointer;" class="reset">
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php echo form_close(); ?>
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-6">
|
||||
<h2> Class Locations</h2>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Created </th>
|
||||
<th>Class Locations</th>
|
||||
<th>Edit</th>
|
||||
<th>Delete</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($all_locations as $val) { ?>
|
||||
<tr>
|
||||
<td><?=date("d-m-Y",strtotime($val['locat_createddate']))?></td>
|
||||
<td><?=$val['locat_name']?></td>
|
||||
<td><a href="<?=base_url();?>admin/class-locations-edit/<?=$val['locat_id']?>" title="Edit"><img src="<?=base_url();?>assets/admin/img/edit.png" alt=""><a></td>
|
||||
<td><a href="<?=base_url();?>admin/class-locations-delete/<?=$val['locat_id']?>" onclick="return confirm('Are you sure want to Delete?')" title="Delete"><img src="<?=base_url();?>assets/admin/img/delete.png" alt=""><a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Optional JavaScript -->
|
||||
<?php $this->load->view('admin/includes/footer-script')?>
|
||||
</body>
|
||||
</html>
|
88
php/application/views/admin/classsetting-names.php
Normal file
88
php/application/views/admin/classsetting-names.php
Normal file
@ -0,0 +1,88 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$pagehead = "Class Settings Page"; ?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php $this->load->view('admin/includes/header-script')?>
|
||||
<title><?=TITLE?></title>
|
||||
</head>
|
||||
<body class="pushmenu-push pushmenu-push-toright">
|
||||
<?php $this->load->view('admin/includes/left-menu')?>
|
||||
<?php $this->load->view('admin/includes/header')?>
|
||||
<section class="admin-content">
|
||||
<div class="container">
|
||||
<h2><?=$pagehead?></h2>
|
||||
<?php
|
||||
$success_msg= $this->session->flashdata('success_msg');
|
||||
$error_msg= $this->session->flashdata('error_msg');
|
||||
if($success_msg) { ?>
|
||||
<div class="alert alert-success">
|
||||
<?php echo $success_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close" >×</a>
|
||||
</div>
|
||||
<?php } if($error_msg){ ?>
|
||||
<div class="alert alert-danger">
|
||||
<?php echo $error_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close" >×</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="setting d-flex">
|
||||
<div class="col-md-12 col-lg-2 no-pad class-left">
|
||||
<ul class="class-nav d-flex">
|
||||
<li class="active"><a href="<?= base_url();?>admin/class-name">Class Names</a></li>
|
||||
<li ><a href="<?= base_url();?>admin/class-locations">Locations</a></li>
|
||||
<li><a href="<?= base_url();?>admin/class-instructors">Instructors</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-10">
|
||||
<div class="class-content d-flex">
|
||||
<div class="col-md-12 class-name col-lg-6">
|
||||
<?php echo form_open('admin/classsetting/manage_class'); ?>
|
||||
<div class="d-flex">
|
||||
<span>Class Names</span>
|
||||
<input type="text" name="class_name" value="<?=isset($class_name)? $class_name : ''?>" class="form-control" required>
|
||||
</div>
|
||||
<div class="submit-class d-flex justify-content-end">
|
||||
<?php if(isset($class_id)) { ?>
|
||||
<input type="hidden" value="<?=isset($class_id)? $class_id : ''?>" name="class_id">
|
||||
<input type="submit" name="submit" value="Update" style="cursor: pointer;" class="submit">
|
||||
<a href="<?php echo base_url('admin/class-name'); ?>"><input type="button" value="Cancel" style="cursor: pointer;" class="reset"></a>
|
||||
<?php } else {?>
|
||||
<input type="submit" name="submit" value="Add" style="cursor: pointer;" class="submit">
|
||||
<input type="reset" value="Reset" style="cursor: pointer;" class="reset">
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php echo form_close(); ?>
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-6">
|
||||
<h2> Class Names</h2>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Created </th>
|
||||
<th>Class Name</th>
|
||||
<th>Edit</th>
|
||||
<th>Delete</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($all_class as $val) { ?>
|
||||
<tr>
|
||||
<td><?=date("d-m-Y",strtotime($val['class_createddate']))?></td>
|
||||
<td><?=$val['class_name']?></td>
|
||||
<td><a href="<?=base_url();?>admin/class-name-edit/<?=$val['class_id']?>" title="Edit"><img src="<?=base_url();?>assets/admin/img/edit.png" alt=""><a></td>
|
||||
<td><a href="<?=base_url();?>admin/class-name-delete/<?=$val['class_id']?>" onclick="return confirm('Are you sure want to Delete?')" title="Delete"><img src="<?=base_url();?>assets/admin/img/delete.png" alt=""><a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Optional JavaScript -->
|
||||
<?php $this->load->view('admin/includes/footer-script')?>
|
||||
</body>
|
||||
</html>
|
47
php/application/views/admin/dashboard.php
Normal file
47
php/application/views/admin/dashboard.php
Normal file
@ -0,0 +1,47 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$pagehead = "Dashboard"; ?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php $this->load->view('admin/includes/header-script')?>
|
||||
<title><?=TITLE?></title>
|
||||
</head>
|
||||
<body class="pushmenu-push pushmenu-push-toright">
|
||||
<?php $this->load->view('admin/includes/left-menu')?>
|
||||
<?php $this->load->view('admin/includes/header')?>
|
||||
<section class="admin-content">
|
||||
<div class="container">
|
||||
<h2><?=$pagehead?></h2>
|
||||
<div class="dashboard d-flex">
|
||||
<div class="col-sm-12 d-flex no-pad">
|
||||
<div class="setting">
|
||||
<h3><?=$class?></h3>
|
||||
<h2>Class Settings</h2>
|
||||
<a href="<?= base_url();?>admin/class-name">View</a>
|
||||
</div>
|
||||
<div class="create">
|
||||
<h3><?=$creates?></h3>
|
||||
<h2>Create Class</h2>
|
||||
<a href="<?= base_url();?>admin/create-class">View</a>
|
||||
</div>
|
||||
       
|
||||
<div class="setting">
|
||||
<h3><?=$list?></h3>
|
||||
<h2>Order List</h2>
|
||||
<a href="<?= base_url();?>admin/order-list">View</a>
|
||||
</div>
|
||||
<?php if($this->session->user_type == "admin") { ?>
|
||||
<div class="create">
|
||||
<h3><?=$users?></h3>
|
||||
<h2>Admin users</h2>
|
||||
<a href="<?php echo base_url('admin/admin-user');?>">View</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Optional JavaScript -->
|
||||
<?php $this->load->view('admin/includes/footer-script')?>
|
||||
</body>
|
||||
</html>
|
54
php/application/views/admin/includes/footer-script.php
Normal file
54
php/application/views/admin/includes/footer-script.php
Normal file
@ -0,0 +1,54 @@
|
||||
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
||||
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>-->
|
||||
<script src="<?=base_url();?>assets/admin/js/jquery-2.1.4.min.js"></script>
|
||||
<script src="<?=base_url();?>assets/admin/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript" src="<?=base_url();?>assets/admin/js/push.js"></script>
|
||||
<script type="text/javascript" src="<?=base_url();?>assets/admin/js/bootstrap-datepicker.min.js"></script>
|
||||
<script type="text/javascript" src="<?=base_url();?>assets/admin/js/jquery.timepicker.min.js"></script>
|
||||
<script src="<?=base_url();?>assets/front/js/jquery-input-mask-phone-number.js"></script>
|
||||
<!-- <script>
|
||||
function toggleslidebar() {
|
||||
document.getElementById("sidebar").classList.toggle("active");
|
||||
}
|
||||
</script> -->
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#nav_list").click(function(){
|
||||
$(".admin-content").toggleClass("main");
|
||||
$(".admin-header .admin").toggleClass("main");
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
function myFunction(x) {
|
||||
x.classList.toggle("change");
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$("#nav-click").click(function(){
|
||||
$("#sidebar ul").slideToggle();
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
$('.datepicker').datepicker(
|
||||
{
|
||||
autoclose: true,
|
||||
todayHighlight: true,
|
||||
format: 'dd-mm-yyyy'
|
||||
}
|
||||
);
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('.timepicker').timepicker();
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
$('.yourphone').usPhoneFormat({
|
||||
format: '(xxx) xxx-xxxx',
|
||||
});
|
||||
});
|
||||
</script>
|
9
php/application/views/admin/includes/header-script.php
Normal file
9
php/application/views/admin/includes/header-script.php
Normal file
@ -0,0 +1,9 @@
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="<?=base_url();?>assets/admin/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="<?=base_url();?>assets/admin/css/style.css">
|
||||
<link rel="stylesheet" href="<?=base_url();?>assets/admin/css/responsive.css">
|
||||
<link rel="stylesheet" href="<?=base_url();?>assets/admin/css/bootstrap-datepicker3.min.css">
|
||||
<link rel="stylesheet" href="<?=base_url();?>assets/admin/css/jquery.timepicker.min.css">
|
14
php/application/views/admin/includes/header.php
Normal file
14
php/application/views/admin/includes/header.php
Normal file
@ -0,0 +1,14 @@
|
||||
<header>
|
||||
<div class="d-flex admin-header">
|
||||
<div class="toggle active" id="nav_list"> <img src="<?=base_url();?>assets/admin/img/hamperger.png" alt=""></div>
|
||||
<div class="admin ml-auto d-flex">
|
||||
<span><img src="<?=base_url();?>assets/admin/img/admin-logo.png"><?=$this->session->userdata('user_name');?></span>
|
||||
<span class="logout"><a href="<?= base_url();?>admin/logout"><img src="<?=base_url();?>assets/admin/img/logout.png">Logout</a></span>
|
||||
<div class="toggle-bar" id="nav-click" onclick="myFunction(this)">
|
||||
<div class="bar1"></div>
|
||||
<div class="bar2"></div>
|
||||
<div class="bar3"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
48
php/application/views/admin/includes/left-menu.php
Normal file
48
php/application/views/admin/includes/left-menu.php
Normal file
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
$menu1 = "";
|
||||
$menu2 = "";
|
||||
$menu3 = "";
|
||||
$menu4 = "";
|
||||
$menu5 = "";
|
||||
|
||||
if($this->uri->uri_string() == 'admin/dashboard')
|
||||
$menu1 = "active highlight";
|
||||
if($this->uri->uri_string() == 'admin/class-name')
|
||||
$menu2 = "active highlight";
|
||||
if($this->uri->segment(2) == 'class-name-edit')
|
||||
$menu2 = "active highlight";
|
||||
if($this->uri->uri_string() == 'admin/class-locations')
|
||||
$menu2 = "active highlight";
|
||||
if($this->uri->segment(2) == 'class-locations-edit')
|
||||
$menu2 = "active highlight";
|
||||
if($this->uri->uri_string() == 'admin/class-instructors')
|
||||
$menu2 = "active highlight";
|
||||
if($this->uri->segment(2) == 'class-instructors-edit')
|
||||
$menu2 = "active highlight";
|
||||
if($this->uri->uri_string() == 'admin/create-class')
|
||||
$menu3 = "active highlight";
|
||||
if($this->uri->segment(2) == 'create-class-edit')
|
||||
$menu3 = "active highlight";
|
||||
if($this->uri->uri_string() == 'admin/admin-user')
|
||||
$menu4 = "active highlight";
|
||||
if($this->uri->segment(2) == 'admin-user-edit')
|
||||
$menu4 = "active highlight";
|
||||
if($this->uri->uri_string() == 'admin/order-list')
|
||||
$menu5 = "active highlight";
|
||||
if($this->uri->uri_string() == 'admin/order-search')
|
||||
$menu5 = "active highlight";
|
||||
if($this->uri->segment(2) == 'order-list')
|
||||
$menu5 = "active highlight";
|
||||
?>
|
||||
<nav class="admin-nav pushmenu pushmenu-left pushmenu-open" id="sidebar">
|
||||
<div class="logo"><img src="<?=base_url();?>assets/admin/img/abc_logo_svg.svg" alt=""></div>
|
||||
<ul>
|
||||
<li class="<?=$menu1?>"><a href="<?= base_url();?>admin/dashboard"><img src="<?=base_url();?>assets/admin/img/dashboard.png" alt=""> Dashboard</a></li>
|
||||
<li class="<?=$menu2?>"><a href="<?= base_url();?>admin/class-name"><img src="<?=base_url();?>assets/admin/img/tools.png" alt="">Class Settings</a></li>
|
||||
<li class="<?=$menu3?>"><a href="<?= base_url();?>admin/create-class"><img src="<?=base_url();?>assets/admin/img/create.png" alt="">Create Class</a></li>
|
||||
<li class="<?=$menu5?>"><a href="<?= base_url();?>admin/order-list"><img src="<?=base_url();?>assets/admin/img/list.png" alt="">Order List</a></li>
|
||||
<?php if($this->session->user_type == "admin") { ?>
|
||||
<li class="<?=$menu4?>"><a href="<?= base_url();?>admin/admin-user"><img src="<?=base_url();?>assets/admin/img/ad.png" alt="">Admin Users</a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</nav>
|
118
php/application/views/admin/index.html
Normal file
118
php/application/views/admin/index.html
Normal file
@ -0,0 +1,118 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
<link rel="stylesheet" href="css/responsive.css">
|
||||
<title>ABC-DASHBOARD</title>
|
||||
</head>
|
||||
<body class="pushmenu-push pushmenu-push-toright">
|
||||
<nav class="admin-nav pushmenu pushmenu-left pushmenu-open" id="sidebar">
|
||||
<div class="logo"><img src="https://www.abc.org/Portals/1/abc_logo_svg.svg" alt=""></div>
|
||||
<ul>
|
||||
<li class="active"><a href="index.html"><img src="img/dashboard.png" alt=""> Dashboard</a></li>
|
||||
<li><a href="classsetting-names.html"><img src="img/tools.png" alt="">Class Settings</a></li>
|
||||
<li><a href="class-form.html"><img src="img/create.png" alt="">Create Class</a></li>
|
||||
<li><a href="admin-users.html"><img src="img/ad.png" alt="">Admin Users</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<header>
|
||||
<div class="d-flex admin-header">
|
||||
<div class="toggle active" id="nav_list"> <img src="img/hamperger.png" alt=""></div>
|
||||
<div class="admin ml-auto d-flex">
|
||||
<span > <img src="img/admin-logo.png"> Admin</span> <span class="logout"> <img src="img/logout.png">Logout</span>
|
||||
<div class="toggle-bar" id="nav-click" onclick="myFunction(this)">
|
||||
<div class="bar1"></div>
|
||||
<div class="bar2"></div>
|
||||
<div class="bar3"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<section class="admin-content">
|
||||
<div class="container">
|
||||
<h2>Dashboard</h2>
|
||||
<div class="dashboard d-flex">
|
||||
<div class="col-sm-10 d-flex no-pad">
|
||||
<div class="setting">
|
||||
<h3>150</h3>
|
||||
<h2>Class Settings</h2>
|
||||
<a href="classsetting-names.html">View</a>
|
||||
|
||||
</div>
|
||||
<div class="create">
|
||||
<h3>150</h3>
|
||||
<h2>Create Class</h2>
|
||||
<a href="class-form.html">View</a></div>
|
||||
<div class="create admin">
|
||||
<h3>150</h3>
|
||||
<h2>Admin users</h2>
|
||||
<a href="admin-users.html">View</a></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Optional JavaScript -->
|
||||
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript" src="js/push.js"></script>
|
||||
<!-- <script>
|
||||
function toggleslidebar() {
|
||||
document.getElementById("sidebar").classList.toggle("active");
|
||||
}
|
||||
</script> -->
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#nav_list").click(function(){
|
||||
$(".admin-content").toggleClass("main");
|
||||
$(".admin-header .admin").toggleClass("main");
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
function myFunction(x) {
|
||||
x.classList.toggle("change");
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$("#nav-click").click(function(){
|
||||
$("#sidebar ul").slideToggle();
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
$(".date-time").hide();
|
||||
$(".chk-date1").click(function() {
|
||||
if($(this).is(":checked")) {
|
||||
$("#expand1").show();
|
||||
} else {
|
||||
$("#expand1").hide();
|
||||
}
|
||||
});
|
||||
|
||||
$(".chk-date2").click(function() {
|
||||
if($(this).is(":checked")) {
|
||||
$("#expand2").show();
|
||||
} else {
|
||||
$("#expand2").hide();
|
||||
}
|
||||
});
|
||||
|
||||
$(".chk-date3").click(function() {
|
||||
if($(this).is(":checked")) {
|
||||
$("#expand3").show();
|
||||
} else {
|
||||
$("#expand3").hide();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
67
php/application/views/admin/login.php
Normal file
67
php/application/views/admin/login.php
Normal file
@ -0,0 +1,67 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="<?=base_url();?>assets/admin/css/style.css">
|
||||
|
||||
<title><?=TITLE?></title>
|
||||
</head>
|
||||
<body>
|
||||
<section class="abc-login">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-9 col-md-7 col-lg-5 mx-auto">
|
||||
<div class="card card-signin my-5">
|
||||
<div class="card-body">
|
||||
<div class="logo d-flex justify-content-center align-content-center"> <img src="<?=base_url();?>assets/admin/img/logo.jpg" alt=""></div>
|
||||
<h5 class="card-title text-center">Please enter your login details. </h5>
|
||||
<?php
|
||||
$success_msg= $this->session->flashdata('success_msg');
|
||||
$error_msg= $this->session->flashdata('login_failed');
|
||||
if($error_msg){ ?>
|
||||
<div class="alert alert-danger">
|
||||
<?php echo $error_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close" >×</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php echo form_open('admin/admin/login'); ?>
|
||||
<div class="form-signin">
|
||||
<div class="form-label-group">
|
||||
<label for="inputEmail">User Name</label>
|
||||
<input type="text" id="username" name="username" value="<?php if(isset($_COOKIE['abc_user'])) { echo $_COOKIE['abc_user']; } ?>" class="form-control" placeholder="User Name" required autofocus>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-label-group">
|
||||
<label for="inputPassword">Password</label>
|
||||
<input type="password" id="password" value="<?php if(isset($_COOKIE['abc_password'])) { echo $_COOKIE['abc_password']; } ?>" name="password" class="form-control" placeholder="Password" required>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="custom-control custom-checkbox mb-3">
|
||||
<input type="checkbox" <?php if(isset($_COOKIE['abc_password'])) { ?> checked="checked" <?php } ?> class="custom-control-input" name="remember_me" id="customCheck1">
|
||||
<label class="custom-control-label remember" for="customCheck1"><span>Remember password</span></label>
|
||||
</div>
|
||||
<button class="btn btn-lg btn-primary btn-block text-uppercase" type="submit">Sign in</button>
|
||||
</div>
|
||||
<?php echo form_close(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- Optional JavaScript -->
|
||||
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
||||
</body>
|
||||
</html>
|
108
php/application/views/admin/order-list.php
Normal file
108
php/application/views/admin/order-list.php
Normal file
@ -0,0 +1,108 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php $this->load->view('admin/includes/header-script')?>
|
||||
<title><?=TITLE?></title>
|
||||
<style type="text/css">
|
||||
.button {
|
||||
margin-top: -6px;
|
||||
padding: 4px 10px;
|
||||
text-align: center;
|
||||
font-family: 'HelveticaNeue-Condensed';
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
border: 0;
|
||||
background: #0070c0;
|
||||
color: #fff;
|
||||
top: -6px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="pushmenu-push pushmenu-push-toright">
|
||||
<?php $this->load->view('admin/includes/left-menu')?>
|
||||
<?php $this->load->view('admin/includes/header')?>
|
||||
<section class="admin-content">
|
||||
<div class="container">
|
||||
<h2>Order List</h2>
|
||||
<?php
|
||||
$success_msg= $this->session->flashdata('success_msg');
|
||||
$error_msg= $this->session->flashdata('error_msg');
|
||||
if($success_msg) { ?>
|
||||
<div class="alert alert-success">
|
||||
<?php echo $success_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
|
||||
</div>
|
||||
<?php } if($error_msg){ ?>
|
||||
<div class="alert alert-danger">
|
||||
<?php echo $error_msg; ?>
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="col-md-12">
|
||||
<?php echo form_open('admin/order-search'); ?>
|
||||
<div class="form-group d-flex">
|
||||
<h3>Search</h3>
|
||||
<div class="col-md-3">
|
||||
<input class="form-control" type="text" name="orderno" placeholder="Order Number" value="<?= set_value('orderno') ?>">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input class="form-control datepicker" type="text" name="fromedate" placeholder="Order From Date" value="<?= set_value('fromedate') ?>">
|
||||
</div>
|
||||
<h3>-</h3>
|
||||
<div class="col-md-3">
|
||||
<input class="form-control datepicker" type="text" name="todate" placeholder="Order To Date" value="<?= set_value('todate') ?>">
|
||||
</div>
|
||||
<div class="search-class col-md-3">
|
||||
<input class="search submitLink" name="submit" value="Search" style="cursor: pointer;" type="submit">
|
||||
</div>
|
||||
</div>
|
||||
<?php echo form_close(); ?>
|
||||
<div class="table-responsive ">
|
||||
<table class="table" >
|
||||
<thead>
|
||||
<tr style="font-weight: bold;">
|
||||
<th>Order Number</th>
|
||||
<th>Class Location</th>
|
||||
<th>Total Class</th>
|
||||
<th>Total Registrants</th>
|
||||
<th>Total Amonut</th>
|
||||
<th>Date Ordered</th>
|
||||
<th>Status</th>
|
||||
<th style="width: 170px">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($all_order as $val) { ?>
|
||||
<tr>
|
||||
<td><?=$val->reg_id?></td>
|
||||
<td><?=$val->locat_name?></td>
|
||||
<td><?=$val->reg_class_count?></td>
|
||||
<td><?=$val->att_total_count?></td>
|
||||
<td><?='$ '.$val->reg_total.'.00'?></td>
|
||||
<td><?=date("d-m-Y",strtotime($val->reg_date))?></td>
|
||||
<td><?php if($val->status == "paid") { ?><span class="alert-success">Paid</span><?php } elseif ($val->status == "unpaid") { ?><span class="alert-danger"> Unpaid</span><?php } ?></td>
|
||||
<td> <a href="<?=base_url();?>admin/view-order/<?=$val->reg_id?>/0" title="view"><img src="<?=base_url();?>assets/admin/img/eye.png" alt=""><a> 
|
||||
<a href="<?=base_url();?>admin/view-order/<?=$val->reg_id?>/1" title="print"><img src="<?=base_url();?>assets/admin/img/print.png" alt=""><a> 
|
||||
<a href="<?=base_url();?>order-delete/<?=$val->reg_id?>" onclick="return confirm('Are you sure want to Delete?')" title="Delete"><img src="<?=base_url();?>assets/admin/img/delete.png" alt=""><a>
|
||||
<?php if($val->status == "unpaid") { ?>
|
||||
<a href="<?=base_url();?>order-paid/<?=$val->reg_id?>"><input style="cursor: pointer;" class="button" type="submit" value="Paid" name=""></a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div align="right">
|
||||
<ul class="pagination">
|
||||
<?php foreach ($links as $link) {
|
||||
echo "<li>". $link."</li>";
|
||||
} ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $this->load->view('admin/includes/footer-script')?>
|
||||
</body>
|
||||
</html>
|
65
php/application/views/admin/test.php
Normal file
65
php/application/views/admin/test.php
Normal file
@ -0,0 +1,65 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if($this->session->user_id == "")
|
||||
{
|
||||
redirect('admin');
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php $this->load->view('front/includes/header-script')?>
|
||||
<title><?=TITLE?></title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="logo d-flex">
|
||||
<img src="<?=base_url();?>assets/front/img/logo.jpg" alt="">
|
||||
<span class="d-flex align-items-center justify-content-center">
|
||||
<h1>Continuing Education Registration</h1>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="container">
|
||||
<section class="abc-approve">
|
||||
<?php foreach($order as $value) { ?>
|
||||
<div class="container">
|
||||
<h1>Review / Approve Registrations</h1>
|
||||
<h2><?=$value['class_name']?></h2>
|
||||
<p>Start Date: <?=date("d-m-Y",strtotime($value['calss_start_date']))?><br>
|
||||
End Date: <?=date("d-m-Y",strtotime($value['calss_end_date']))?><br>
|
||||
Time: <?=date('h:i A',strtotime($value['calss_start_time']))?> – <?=date('h:i A',strtotime($value['calss_end_time']))?><br>
|
||||
Location: <?=$value['class_room']?><br>
|
||||
Days of Week: <?=$value['class_day']?>
|
||||
</p>
|
||||
<?php foreach ($return_class as $key) {
|
||||
|
||||
}
|
||||
?>
|
||||
<?php foreach($registrants as $val)
|
||||
{
|
||||
if ($val->reg_id == $value['reg_id']) ?>
|
||||
<div class="approve">
|
||||
<label><span> <?=$value['class_id']?> </span><?php if($val->reg_m_type == "M"){echo "Member / Alumni";}elseif($val->reg_m_type == "N"){echo "Non-Member ";}elseif($val->reg_m_type == "S"){echo "Subscribing Employer";}?></label>
|
||||
<div class="d-flex approve-content">
|
||||
<div class="col-sm-8 no-pad"><?=$val->att_f_name?> <?=$val->att_l_name?> <?=$val->att_email?> <?=$val->att_number?> <a href="" class="cls-btn"> (remove) </a> </div>
|
||||
<div class="col-sm-4">$ <?=$val->att_price?>.00</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="d-flex alumi-content class-sum">
|
||||
<div class="col-sm-8 no-pad">Class Total</div>
|
||||
<div class="col-sm-4">$ <?=$value['regclass_total_price']?>.00</div>
|
||||
</div>
|
||||
<div class="d-flex alumi-content class-sum grand">
|
||||
<div class="col-sm-8 no-pad">Grand Total</div>
|
||||
<div class="col-sm-4">$ <?=$value['reg_total']?>.00</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="d-flex justify-content-between abc-btn">
|
||||
<div class="p-2"><a href="<?= base_url();?>admin/order-list"><button type="button" class="btn" style="background: #be0000; color: #fff;">Back</button></a></div>
|
||||
</section>
|
||||
<?php $this->load->view('front/includes/footer-script')?>
|
||||
</body>
|
||||
</html>
|
132
php/application/views/admin/view-order.php
Normal file
132
php/application/views/admin/view-order.php
Normal file
@ -0,0 +1,132 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php $this->load->view('front/includes/header-script')?>
|
||||
<title><?=TITLE?></title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="logo d-flex">
|
||||
<img src="<?=base_url();?>assets/front/img/logo.jpg" alt="">
|
||||
<span class="d-flex align-items-center justify-content-center">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="container">
|
||||
<?php if($type == 1) { ?>
|
||||
<button id="print" type="button" class="btn" style="float: right; background: #be0000; color: #fff;" onclick="printContent('printd');" >Print Preview</button>
|
||||
<?php } ?>
|
||||
<section class="abc-approve" id="printd">
|
||||
<h1>Order No: <?=$orderno?></h1>
|
||||
<?php foreach($return_class as $value) { ?>
|
||||
<h2><?=$value['class_name']?></h2>
|
||||
<p>Start Date: <?=date("d-m-Y",strtotime($value['calss_start_date']))?><br>
|
||||
End Date: <?=date("d-m-Y",strtotime($value['calss_end_date']))?><br>
|
||||
Time: <?=date('h:i A',strtotime($value['calss_start_time']))?> – <?=date('h:i A',strtotime($value['calss_end_time']))?><br>
|
||||
Location: <?=$value['class_room']?><br>
|
||||
Days of Week: <?php ob_start(); foreach (explode(",", $value['class_day']) as $day) {
|
||||
echo ucfirst(strtolower($day)).',';
|
||||
}
|
||||
$output = ob_get_clean();
|
||||
echo rtrim($output, ',');
|
||||
?>
|
||||
</p>
|
||||
<div class="approve">
|
||||
<?php if(isset($mcount) && $mcount > 0) { ?>
|
||||
<label><span><?=$mcount?></span>Member / Alumni</label>
|
||||
<?php foreach ($member as $mem) { ?>
|
||||
<div class="d-flex approve-content">
|
||||
<div class="col-sm-8 no-pad"><?=$mem['att_f_name']?> <?=$mem['att_l_name']?> <?=$mem['att_email']?> <?=$mem['att_number']?> <?=$mem['att_ssn']?></div>
|
||||
<div class="col-sm-4">$ <?=$mem['att_price']?>.00</div>
|
||||
</div>
|
||||
<?php } } if(isset($mcount2) && $mcount2 > 0) { ?>
|
||||
<label><span><?=$mcount2?></span>Member / Alumni 2+</label>
|
||||
<?php foreach ($member2 as $mem2) { ?>
|
||||
<div class="d-flex approve-content">
|
||||
<div class="col-sm-8 no-pad"><?=$mem2['att_f_name']?> <?=$mem2['att_l_name']?> <?=$mem2['att_email']?> <?=$mem2['att_number']?> <?=$mem2['att_ssn']?></div>
|
||||
<div class="col-sm-4">$ <?=$mem2['att_price']?>.00</div>
|
||||
</div>
|
||||
<?php } } if(isset($ncount) && $ncount > 0) { ?>
|
||||
<label><span><?=$ncount?></span>Non-Member</label>
|
||||
<?php foreach ($nonmember as $non) { ?>
|
||||
<div class="d-flex approve-content">
|
||||
<div class="col-sm-8 no-pad"><?=$non['att_f_name']?> <?=$non['att_l_name']?> <?=$non['att_email']?> <?=$non['att_number']?> <?=$non['att_ssn']?></div>
|
||||
<div class="col-sm-4">$ <?=$non['att_price']?>.00</div>
|
||||
</div>
|
||||
<?php } } if(isset($ncount2) && $ncount2 > 0) { ?>
|
||||
<label><span><?=$ncount2?></span>Non-Member 2+</label>
|
||||
<?php foreach ($nonmember2 as $non2) { ?>
|
||||
<div class="d-flex approve-content">
|
||||
<div class="col-sm-8 no-pad"><?=$non2['att_f_name']?> <?=$non2['att_l_name']?> <?=$non2['att_email']?> <?=$non2['att_number']?> <?=$non2['att_ssn']?></div>
|
||||
<div class="col-sm-4">$ <?=$non2['att_price']?>.00</div>
|
||||
</div>
|
||||
<?php } } if(isset($scount) && $scount > 0) { ?>
|
||||
<label><span><?=$scount?></span>Subscribing Employer</label>
|
||||
<?php foreach ($semember as $sem) { ?>
|
||||
<div class="d-flex approve-content">
|
||||
<div class="col-sm-8 no-pad"><?=$sem['att_f_name']?> <?=$sem['att_l_name']?> <?=$sem['att_email']?> <?=$sem['att_number']?> <?=$sem['att_ssn']?></div>
|
||||
<div class="col-sm-4">$ <?=$sem['att_price']?>.00</div>
|
||||
</div>
|
||||
<?php } } ?>
|
||||
<div class="d-flex alumi-content class-sum">
|
||||
<div class="col-sm-8 no-pad">Class Total</div>
|
||||
<div class="col-sm-4">$ <?=$value['regclass_total_price']?>.00</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="d-flex alumi-content class-sum">
|
||||
<div class="col-sm-8 no-pad">Order Details</div>
|
||||
</div>
|
||||
<div class="d-flex content class-sum">
|
||||
<div class="col-sm-4">
|
||||
<p>
|
||||
Ordered Date: <?=$reg_date?><br>
|
||||
|
||||
Address : <?=$address?><br>
|
||||
Phone No : <?=$phone_no?><br>
|
||||
Email Id : <?=$email_id?><br>
|
||||
No Of Classes : <?=$class_count?><br>
|
||||
No Of Attendee : <?=$att_count?><br>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<p>
|
||||
Holder Name : <?=$card_holder_name?><br>
|
||||
Payment Type : <?=$payment_type?><br>
|
||||
Card Number : <?='************' . substr($card_number,-4)?><br>
|
||||
Card Type : <?=$card_type?><br>
|
||||
Expiration : <?=$exp_month?>,<?=$exp_year?><br>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<p>
|
||||
Status: <?=$status?><br>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex alumi-content class-sum grand">
|
||||
<div class="col-sm-8 no-pad">Grand Total</div>
|
||||
<div class="col-sm-4">$ <?=$reg_total?>.00</div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="d-flex justify-content-between abc-btn">
|
||||
<div class="p-2"><a href="<?= base_url();?>admin/order-list"><button type="button" class="btn" style="background: #be0000; color: #fff;">Back</button></a></div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function printContent(el){
|
||||
var restorepage = $('body').html();
|
||||
var printcontent = $('#' + el).clone();
|
||||
$('body').empty().html(printcontent);
|
||||
window.print();
|
||||
$('body').html(restorepage);
|
||||
}
|
||||
</script>
|
||||
<?php $this->load->view('front/includes/footer-script')?>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user