added files

This commit is contained in:
Ian Christensen 2019-06-27 08:19:59 -07:00
parent ca320c6105
commit 6822968785
435 changed files with 123352 additions and 0 deletions

1
.ftpquota Normal file
View File

@ -0,0 +1 @@
507 10105671

5
.htaccess Normal file
View File

@ -0,0 +1,5 @@
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

View File

@ -0,0 +1,122 @@
<!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><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 class="active"><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 d-flex 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>Admin Users</h2>
<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">
<div class="d-flex">
<span>User Name</span>
<input type="text" class="form-control">
</div>
<div class="d-flex">
<span>Password</span>
<input type="text" class="form-control">
</div>
<div class="d-flex justify-content-end">
<div class="cancel"><a href="">Cancel</a></div>
<div class="leave"><a href="">Add</a></div>
</div>
</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>
<tr>
<td>Jhon Smith</td>
<td class="text-center"><button class="active-swith"> Active</button></td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
<tr>
<td>Jhon Smith</td>
<td class="text-center"><button class="active-swith off"> Inactive</button></td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
</tbody>
</table>
</div>
</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>
</body>
</html>

View File

@ -0,0 +1,354 @@
<!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><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 class="active"><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>New Class Form</h2>
<div class="class-form d-flex">
<div class="col-lg-7 col-md-12">
<h3 class="general-h3">General Information</h3>
<div class="general">
<div class="form-group d-flex">
<div class="col-sm-6 d-flex no-pad ">
<label for="">Class&nbspName</label>
<select name="" id="target1" style="margin-right: 10px;">
<option value="Class1">Select</option>
<option value="Class1">Class1</option>
<option value="Class1">Class1</option>
<option value="Class1">Class1</option>
</select>
</div>
<div class="col-sm-6 d-flex no-pad">
<label for="">Total&nbspSeats</label>
<input type="text" class="general-input" placeholder="Last name">
</div>
</div>
<div class="form-group d-flex">
<div class="col-sm-6 d-flex no-pad ">
<label for="">Instructor:</label>
<select name="" id="target2" style="margin-right: 10px;">
<option value="Class1">Select</option>
<option value="Class1">Class1</option>
<option value="Class1">Class1</option>
<option value="Class1">Class1</option>
</select>
</div>
<div class="col-sm-6 d-flex no-pad">
<label for="">Hours:</label>
<input type="text" class="general-input" placeholder="Last name">
</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" 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" class="general-input" placeholder="Last name">
</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" id="d1" ><label for="d1"></label>Monday</span>
<span class="chk-abc"> <input type="checkbox" id="d2" ><label for="d2"></label>Tuesday</span>
<span class="chk-abc"> <input type="checkbox" id="d3" ><label for="d3"></label>Wednesday</span>
<span class="chk-abc"> <input type="checkbox" id="d4" ><label for="d4"></label>Thursday</span>
<span class="chk-abc"> <input type="checkbox" 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&nbspDate:</label>
<input type="text" class="general-input m-10" placeholder="Last name">
</div>
<div class="col-sm-6 d-flex no-pad ">
<label for="">End&nbspDate:</label>
<input type="text" class="general-input" placeholder="Last name">
</div>
</div>
<div class="form-group d-flex">
<div class="col-sm-6 d-flex no-pad ">
<label for="">Start&nbspTime:</label>
<input type="text" class="general-input m-10" placeholder="Last name">
</div>
<div class="col-sm-6 d-flex no-pad ">
<label for="">End&nbspTime:</label>
<input type="text" class="general-input" placeholder="Last name">
</div>
</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="start1" class="chk-date2"><label for="start1"></label>Non-Member</span>
</div>
<div class="col-sm-6 d-flex no-pad ">
<label for="">Price:</label>
<input type="text" class="general-input" placeholder="Last name">
</div>
</div>
<div class="date-time" id="expand2">
<h3 class="general-h3">Date and Time</h3>
<div class="form-group d-flex">
<span class="chk-abc"> <input type="checkbox" id="d6" ><label for="d6"></label>Monday</span>
<span class="chk-abc"> <input type="checkbox" id="d7" ><label for="d7"></label>Tuesday</span>
<span class="chk-abc"> <input type="checkbox" id="d8" ><label for="d8"></label>Wednesday</span>
<span class="chk-abc"> <input type="checkbox" id="d9" ><label for="d9"></label>Thursday</span>
<span class="chk-abc"> <input type="checkbox" id="d10" ><label for="d10"></label>Friday</span>
</div>
<div class="form-group d-flex">
<div class="col-sm-6 d-flex no-pad ">
<label for="">Start&nbspDate:</label>
<input type="text" class="general-input m-10" placeholder="Last name">
</div>
<div class="col-sm-6 d-flex no-pad ">
<label for="">End&nbspDate:</label>
<input type="text" class="general-input" placeholder="Last name">
</div>
</div>
<div class="form-group d-flex">
<div class="col-sm-6 d-flex no-pad ">
<label for="">Start&nbspTime:</label>
<input type="text" class="general-input m-10" placeholder="Last name">
</div>
<div class="col-sm-6 d-flex no-pad ">
<label for="">End&nbspTime:</label>
<input type="text" class="general-input" placeholder="Last name">
</div>
</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" class="chk-date3"><label for="start2"></label>SE</span>
</div>
<div class="col-sm-6 d-flex no-pad ">
<label for="">Price:</label>
<input type="text" class="general-input" placeholder="Last name">
</div>
</div>
<div class="date-time" id="expand3">
<h3 class="general-h3">Date and Time</h3>
<div class="form-group d-flex">
<span class="chk-abc"> <input type="checkbox" id="d11" ><label for="d11"></label>Monday</span>
<span class="chk-abc"> <input type="checkbox" id="d12" ><label for="d12"></label>Tuesday</span>
<span class="chk-abc"> <input type="checkbox" id="d13" ><label for="d13"></label>Wednesday</span>
<span class="chk-abc"> <input type="checkbox" id="d14" ><label for="d14"></label>Thursday</span>
<span class="chk-abc"> <input type="checkbox" id="d15" ><label for="d15"></label>Friday</span>
</div>
<div class="form-group d-flex">
<div class="col-sm-6 d-flex no-pad ">
<label for="">Start&nbspDate:</label>
<input type="text" class="general-input m-10" placeholder="Last name">
</div>
<div class="col-sm-6 d-flex no-pad ">
<label for="">End&nbspDate:</label>
<input type="text" class="general-input" placeholder="Last name">
</div>
</div>
<div class="form-group d-flex">
<div class="col-sm-6 d-flex no-pad ">
<label for="">Start&nbspTime:</label>
<input type="text" class="general-input m-10" placeholder="Last name">
</div>
<div class="col-sm-6 d-flex no-pad ">
<label for="">End&nbspTime:</label>
<input type="text" class="general-input" placeholder="Last name">
</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="" style="margin-right: 10px;" id="target3">
<option value="Class1">Select</option>
<option value="Class1">Anaheim</option>
<option value="Class1">LA / Ventura</option>
</select>
</div>
<div class="col-sm-6 d-flex no-pad ">
<label for="">Room:</label>
<input type="text" class="general-input" placeholder="Last name">
</div>
</div>
<div class="form-group d-flex">
<div class="col-sm-6 d-flex no-pad ">
<label for="">Physical&nbspAddress:</label>
<input type="text" class="general-input m-10" placeholder="Last name">
</div>
<div class="col-sm-6 d-flex no-pad ">
<label for="">City:</label>
<input type="text" class="general-input" placeholder="Last name">
</div>
</div>
<div class="form-group d-flex">
<div class="col-sm-6 d-flex no-pad ">
<label for="">State:</label>
<input type="text" class="general-input m-10" placeholder="Last name">
</div>
<div class="col-sm-6 d-flex no-pad ">
<label for="">Zip&nbspCode:</label>
<input type="text" class="general-input" placeholder="Last name">
</div>
</div>
<div class="form-group d-flex">
<div class="col-sm-6 d-flex no-pad ">
<label for="">Phone&nbspNumber:</label>
<input type="text" class="general-input m-10" placeholder="Last name">
</div>
<div class="col-sm-6 d-flex no-pad ">
</div>
</div>
<h3 class="general-h3">Class Description</h3>
<textarea class="form-control" rows="5" id="comment"></textarea>
</div>
</div>
<div class="col-lg-5 col-md-12 class-table">
<h3 class="general-h3">List of Classes</h3>
<select name="" class="duplicate-sl" id="target4">
<option value="Class1">select</option>
<option value="Class1">Duplicate Record</option>
<option value="Class1">Delete Record</option>
</select>
<table class="table">
<thead>
<tr>
<th><span class="chk-abc"> <input type="checkbox" id="tb7" ><label for="tb7"></label></span></th>
<th>Created </th>
<th>Class Name</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="chk-abc"> <input type="checkbox" id="tb1" ><label for="tb1"></label></span></td>
<td>01/01/2018</td>
<td>John Smith</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
<tr>
<td><span class="chk-abc"> <input type="checkbox" id="tb2" ><label for="tb2"></label></span></td>
<td>08/05/2018</td>
<td>Edgar Yost</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
<tr>
<td><span class="chk-abc"> <input type="checkbox" id="tb3" ><label for="tb3"></label></span></td>
<td>06/04/2019</td>
<td>Michael Lennon</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
<tr>
<td><span class="chk-abc"> <input type="checkbox" id="tb4" ><label for="tb4"></label></span></td>
<td>04/03/2017</td>
<td>Brian Jones</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="submit-class d-flex"> <div class="col6"><input type="submit" value="Create" class="submit"></div> <div class="col6"><input type="reset" value="Reset" class="reset"></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();
});
$("#target1").val($("#target1 option:first").val());
$("#target2").val($("#target2 option:first").val());
$("#target3").val($("#target3 option:first").val());
$("#target4").val($("#target4 option:first").val());
</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>

View File

@ -0,0 +1,138 @@
<!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><a href="index.html"><img src="img/dashboard.png" alt=""> Dashboard</a></li>
<li class="active"><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 d-flex 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>Class Settings Page</h2>
<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="classsetting-names.html">Class Names</a></li>
<li><a href="classsetting-location.html">Locations</a></li>
<li class="active"><a href="classsetting-instructor.html">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">
<div class="d-flex">
<span style="font-size: 13px;">Approved Instructor</span>
<input type="text" class="form-control">
</div>
<div class="d-flex justify-content-end">
<div class="cancel"><a href="">Cancel</a></div>
<div class="leave"><a href="">Add</a></div>
</div>
</div>
<div class="col-md-12 col-lg-6">
<h2> Class Locations</h2>
<table class="table">
<thead>
<tr>
<th>Created </th>
<th>Class Name</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<tr>
<td>01/01/2018</td>
<td>John Smith</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
<tr>
<td>08/05/2018</td>
<td>Edgar Yost</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
<tr>
<td>06/04/2019</td>
<td>Michael Lennon</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
<tr>
<td>04/03/2017</td>
<td>Brian Jones</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
</tbody>
</table>
</div>
</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>
</body>
</html>

View File

@ -0,0 +1,126 @@
<!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><a href="index.html"><img src="img/dashboard.png" alt=""> Dashboard</a></li>
<li class="active"><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 d-flex 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>Class Settings Page</h2>
<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="classsetting-names.html">Class Names</a></li>
<li class="active"><a href="classsetting-location.html">Locations</a></li>
<li><a href="classsetting-instructor.html">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">
<div class="d-flex">
<span>Class Locations</span>
<input type="text" class="form-control">
</div>
<div class="d-flex justify-content-end">
<div class="cancel"><a href="">Cancel</a></div>
<div class="leave"><a href="">Add</a></div>
</div>
</div>
<div class="col-md-12 col-lg-6">
<h2> Class Locations</h2>
<table class="table">
<thead>
<tr>
<th>Created </th>
<th>Class Name</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<tr>
<td>01/01/2018</td>
<td>Anaheim</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
<tr>
<td>08/05/2018</td>
<td>LA / Ventura</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
</tbody>
</table>
</div>
</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>
</body>
</html>

View File

@ -0,0 +1,138 @@
<!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><a href="index.html"><img src="img/dashboard.png" alt=""> Dashboard</a></li>
<li class="active"><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 d-flex 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>Class Settings Page</h2>
<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="classsetting-names.html">Class Names</a></li>
<li ><a href="classsetting-location.html">Locations</a></li>
<li><a href="classsetting-instructor.html">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">
<div class="d-flex">
<span>Class Names</span>
<input type="text" class="form-control">
</div>
<div class="d-flex justify-content-end">
<div class="cancel"><a href="">Cancel</a></div>
<div class="leave"><a href="">Add</a></div>
</div>
</div>
<div class="col-md-12 col-lg-6">
<h2> Class Locations</h2>
<table class="table">
<thead>
<tr>
<th>Created </th>
<th>Class Name</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<tr>
<td>01/01/2018</td>
<td>Forklift 101</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
<tr>
<td>08/05/2018</td>
<td>Electrical Blueprint</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
<tr>
<td>06/04/2019</td>
<td>Mechanics Lien</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
<tr>
<td>04/03/2017</td>
<td>Fiber Optics</td>
<td><img src="img/edit.png" alt=""></td>
<td><img src="img/delete.png" alt=""></td>
</tr>
</tbody>
</table>
</div>
</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>
</body>
</html>

View File

@ -0,0 +1,125 @@
@media only screen and (max-width: 1300px){
.admin-content .container{
max-width: 970px;
}
}
@media only screen and (max-width: 1180px){
.admin-content .container{
max-width: 810px;
}
}
@media only screen and (max-width: 1024px){
.class-table table td{
font-size: 11px;
}
.class-table table th{
font-size: 14px;
}
.class-content table th{
font-size: 14px;
}
.class-content table td{
font-size: 11px;
}
}
@media only screen and (max-width: 991px){
.admin-content .container{
max-width: 720px;
}
.class-content.d-flex {
display: block !important;
}
.class-form.d-flex{
flex: none !important;
display: block !important;
}
.general .form-group.d-flex{
flex: none !important;
display: block !important;
}
.general .form-group .col-sm-6.d-flex.no-pad{
flex: none !important;
display: block !important;
max-width: 100%;
margin-bottom: 10px;
}
span.chk-abc {
/* padding: 17px 0; */
display: block !important;
}
}
@media only screen and (max-width:900px){
span.chk-abc {
margin-bottom: 15px;
}
.admin-nav ul{
display: none;
}
.logo{
display: block;
}
.logo img{
float: left;
}
.logo:after{
content: "";
clear: both;
display:block;
}
.admin-content .setting{
display: block !important;
}
.admin-content .container{
max-width: 100%;
margin: 0 auto;
right:0;
}
div#nav_list{
display: none !important;
flex: none;
}
.admin-nav{
position: absolute;
}
.pushmenu-push-toright{
left:0;
}
.admin.ml-auto.d-flex{
margin-right:0;
z-index: 9999;
}
.admin-nav{
width: 100%;
height: auto !important;
z-index: 9999;
display: block !important;
flex: none;
}
.toggle-bar {
display: inline-block;
position: relative;
top: 15px;
right: 11px;
}
.class-left{
border:0 !important;;
}
}
@media only screen and (max-width:480px){
.class-table table td{
font-size: 11px;
}
.class-table table th{
font-size: 14px;
}
.class-name .d-flex:nth-child(1){
display: block !important;
}
.class-name span{
margin-bottom: 15px;
display: block;
text-align: left;
}
}

View File

@ -0,0 +1,643 @@
@font-face {
font-family: 'HelveticaNeue-Condensed';
src: url(../fonts/HelveticaNeue-Condensed.otf);
}
@font-face {
font-family: 'HelveticaNeue-Extended';
src: url(../fonts/HelveticaNeue-Extended.otf);
}
@font-face {
font-family: 'HelveticaNeue-HeavyCond';
src: url(../fonts/HelveticaNeue-HeavyCond.otf);
}
@font-face {
font-family: 'Chivo-Regular';
src: url(../fonts/HelveticaNeueLight.ttf);
}
@font-face {
font-family: 'Chivo-Light';
src: url(../fonts/Chivo-Light.ttf);
}
@font-face {
font-family: 'Chivo-Regular';
src: url(../fonts/Chivo-Regular.otf);
}
* {
box-sizing: border-box;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
a{
text-decoration: none !important;
}
.pushmenu {
background: #444;
text-align: center;
width: 200px;
height: 100%;
top: 0;
z-index: 1000;
position: fixed;
}
.pushmenu-left { left: -200px; }
.pushmenu-left.pushmenu-open { left: 0; }
.pushmenu-push {
overflow-x: hidden;
position: relative;
left: 0;
}
.pushmenu-push-toright { left: 200px; }
/*Transition*/
.pushmenu, .pushmenu-push {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
*/
.abc-login{
background: #92aec7;
height: 100vh;
}
.card-signin {
border: 0;
border-radius: 1rem;
box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
}
.card-signin .card-title {
margin:10px 0;
font-weight: 300;
font-size:20px;
color:#013e7f;
font-family: 'HelveticaNeue-Condensed';
}
.card-signin .card-body {
padding: 2rem;
}
.form-signin {
width: 100%;
}
.form-signin .btn {
font-size:14px;
border-radius: 5rem;
letter-spacing: .1rem;
font-weight: bold;
padding: 1rem;
transition: all 0.2s;
background-color: #ea3f41;
border: 0;
font-family: 'HelveticaNeue-Extended';
letter-spacing: 1px;
}
.abc-login .form-control{
border:1px solid #ccc;
margin-bottom: 5px;
font-family: 'Chivo-Regular';
font-size: 13px;
height: 35px;
}
.logo img{
max-width: 125px;
max-height: 71px;
}
.abc-login label{
font-family: 'HelveticaNeue-Condensed';
font-size: 15px;
margin-bottom: 5px;
}
.abc-login .remember span{
position: relative;
top:5px;
}
.admin-header{
background: #92aec7;
min-height: 75px;
}
.admin-header .logo img{
max-height: 75px;
}
.admin-header .admin span{
font-family: 'HelveticaNeue-Condensed';
font-size: 15px;
color:#000;
margin-right: 25px;
align-self: center;
}
.admin-header .admin span img{
max-width: 25px;
align-self: center;
margin-right: 5px;
vertical-align: middle;
}
.admin-header .admin span.logout{
position: relative;
bottom: 1px;
}
.admin-header .toggle.active img{
max-width: 37px;
align-self: center;
transform: rotate(180deg);
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
flex: none !important;
height: 30px;
margin-top: 0;
margin-left: -15px;
z-index: 999;
position:absolute;
}
.admin-header .toggle img{
transform: rotate(0deg);
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
height: 30px;
position: relative;
top:25px;
display: inline-block;
margin-left:15px;
}
.logo {
border-bottom: 1px dotted #ccc;
border-right: 1px dotted#ccc;
}
.admin-nav{
position: fixed;
top:0;
left:0;
background:#8f9eac;
display: flex;
flex-direction: column;
height: 100vh;
left:-200px;
transition: all 0.5s ease;
z-index: 99;
}
.admin-nav.active{
left:0px;
}
.admin-nav li{
padding: 13px;
text-align: left;
}
.admin-nav li a{
color:#fff;
font-family: 'Chivo-Regular';
font-size: 17px;
text-decoration: none;
padding-left: 20px;
vertical-align: bottom;
}
.admin-nav li a img {
margin-right: 10px;
align-self: center;
vertical-align: top;
}
.admin-nav li.active{
background: #0070c0;
}
.admin-content{
padding:10px;
margin: 10px 0;
}
.admin-content .setting{
background: #f5f7f9;
}
.admin-content .container{
max-width: 1060px;
margin: 0 auto;
position: relative;
right: 75px;
}
.admin-content.main .container{
margin: 0 auto !important;
right: 0;
}
.class-nav{
flex-direction: column;
}
.class-left{
border-right:1px solid #9f9f9f;
}
.class-nav li{
padding:15px 0;
}
.class-nav li a{
color:#333;
font-family: 'Chivo-Regular';
font-size: 17px;
text-decoration: none;
padding-left: 10px;
}
.class-nav li.active{
background: #92aec7;
}
.class-nav li.active a{
color:#fff;
}
.admin-content h2{
font-family: 'HelveticaNeue-HeavyCond';
font-size: 30px;
color:#003f81;
padding:10px 0;
margin-bottom: 10px;
}
.no-pad{
margin:0;
padding: 0;
}
.class-name{
padding:25px 0;
}
.class-name span{
color: #333;
font-family: 'Chivo-Regular';
font-size: 15px;
margin-right: 10px;
align-self: center;
min-width: 130px;
text-align: right;
}
.class-name input{
width: 100%;
}
.class-content .cancel{
background: #d9d9d9;
margin-right: 5px;
padding: 10px 25px;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
margin-top:10px;
}
.class-content .cancel a{
color:#000;
}
.class-content .leave{
background: #0070c0;
padding: 10px 25px;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
margin-top:10px;
}
.class-content .leave a{
color: #fff;
}
.class-content table th{
padding:0;
color:#333;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
text-align: center;
border-bottom:0;
border: 1px solid #a2c6e0;
padding: 10px;
}
.class-content table td{
text-align: center;
padding: 8px 0;
border: 1px solid #a2c6e0;
color:#333;
font-family: 'Chivo-Regular';
font-size: 13px;
vertical-align: middle;
}
.class-content h2{
color:#333;
font-family: 'HelveticaNeue-Condensed';
font-size: 21px;
padding: 20px 0 0 0;
}
.admin.ml-auto.d-flex.main{
margin-right: 0;
}
.admin.ml-auto.d-flex {
margin-right: 200px;
}
/*toggle css*/
.toggle-bar {
display:none;
cursor: pointer;
}
.bar1, .bar2, .bar3 {
width: 35px;
height: 5px;
background-color: #333;
margin: 6px 0;
transition: 0.4s;
}
.change .bar1 {
-webkit-transform: rotate(-45deg) translate(-9px, 6px);
transform: rotate(-45deg) translate(-9px, 6px);
}
.change .bar2 {opacity: 0;}
.change .bar3 {
-webkit-transform: rotate(45deg) translate(-8px, -8px);
transform: rotate(45deg) translate(-8px, -8px);
}
/*toggleclass end*/
.admin-content h3{
font-family: 'HelveticaNeue-HeavyCond';
font-size: 17px;
color: #333;
padding:10px 0;
margin-bottom: 15px;
position: relative;
}
.admin-content .general select{
width: 100%;
height: 35px;
border:1px solid #ccc;
font-family: 'Chivo-Regular';
font-size: 13px;
-webkit-text-fill-color:#ccc;
background-color: transparent;
}
.admin-content .general select option{
-webkit-text-fill-color:#000;
}
.admin-content .general label{
font-family: 'Chivo-Regular';
font-size: 14px;
margin-right: 10px;
align-self: center;
/* min-width: 100px;*/
text-align: right;
font-weight: 500;
}
.admin-content .general-input{
width: 100%;
height: 35px;
border:1px solid #ccc;
font-family: 'Chivo-Regular';
font-size: 12px;
-webkit-text-fill-color:#ccc;
}
.general-input{
padding: 0 0 0 10px;
}
.m-10{
margin-right: 10px;
}
.chk-abc input[type="checkbox"]{
display: none;
}
.chk-abc input[type="checkbox"] + label{
border:1px solid #000;
width:15px;
height:15px;
margin-right: 7px;
vertical-align: bottom;
display: inline-block;
position: relative;
font-size: 30px;
min-width: 15px !important;
}
.chk-abc input[type="checkbox"] + label:after{
content: '✔';
color: #0000ff;
opacity: 0;
position: absolute;
left: 3px;
top: 3px;
transform: translate(-50%, -50%);
right: 0;
}
.chk-abc input[type="checkbox"]:checked + label:after{
opacity: 1;
}
.chk-abc{
font-family: 'Chivo-Regular';
font-size: 14px;
align-self: center;
color: #000;
}
.date-time span{
flex: 1;
display: flex;
margin-right: 17px
}
.class-table table th{
padding:0;
color:#333;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
text-align: center;
border-bottom:0;
border: 1px solid #dcdcdc;
padding: 10px;
}
.class-table table td{
text-align: center;
padding: 8px 0;
border: 1px solid #dcdcdc;
color:#333;
font-family: 'Chivo-Regular';
font-size: 13px;
vertical-align: middle;
}
.class-table table td .chk-abc{
margin-left: 12px;
}
.submit-class input{
min-width: 100px;
height: 35px;
text-align: center;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
margin-left:18px;
margin-top: 25px;
border:0;
}
.submit-class .submit{
background: #0070c0;
color: #fff;
}
.submit-class .reset{
background: #e6e4e4;
color: #000;
}
.class-table table th span {
margin-left: 11px;
}
.dashboard .setting{
background:#d0deec;
width: 50%;
text-align: center;
position: relative;
padding-bottom: 50px;
}
.dashboard .create{
background:#eaeaea;
width:50%;
text-align: center;
position: relative;
margin-left: 20px;
padding-bottom: 50px;
}
.dashboard h3{
font-size: 70px;
font-family: 'HelveticaNeue-Extended';
color: #ef3e42;
margin-bottom: 0;
padding-bottom: 0;
}
.dashboard h2{
font-family: 'HelveticaNeue-Condensed';
font-size: 25px;
color: #333;
margin:0;
}
.dashboard .create a, .dashboard .setting a{
position: absolute;
bottom: 0;
left: 0;
font-family: 'HelveticaNeue-Condensed';
font-size: 15px;
color: #fff;
background: #185987;
text-align: center;
width: 100%;
min-height: 40px;
padding-top: 15px;
}
.duplicate-sl {
width: 100%;
height: 35px;
border: 1px solid #ccc;
font-family: 'Chivo-Regular';
font-size: 13px;
max-width: 250px;
margin-bottom: 15px;
-webkit-text-fill-color:#ccc;
padding-left:10px;
}
.date-time {
border: 1px solid #ccc;
box-sizing: border-box;
padding: 10px;
margin-bottom: 15px;
}
.admin-h2{
color: #333;
font-family: 'HelveticaNeue-Condensed';
font-size: 21px;
padding: 10px;
margin-bottom: 15px;
}
.class-table table td img{
max-width: 40px;
vertical-align: middle;
margin-right: 15px;
}
button.ad-btn {
background: #0070c0;
padding: 10px 35px;
border: 0;
color: #fff;
margin-top: 15px;
font-family: 'HelveticaNeue-Condensed';
font-size: 15px;
}
.admin-setting{
padding:25px 0;
margin:0;
}
.table{
margin:0;
}
.class-content.d-flex {
margin-bottom: 15px;
}
.active-swith{
min-width: 96px;
padding: 6px 0;
border-radius: 5px;
background: #29c35b;
display: inline-block;
border: 0;
color: #fff;
}
.active-swith.off{
background: #f2553b;
}
.col-md-12.col-lg-12.admin-setting {
background:#f5f7f9;
}
.admin-setting .class-name input{
margin-bottom: 15px;
}
.create.admin {
background: #e2ebf5;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
HTML/abc-admin/img/ad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

BIN
HTML/abc-admin/img/edit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
HTML/abc-admin/img/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
HTML/abc-admin/img/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 907 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

118
HTML/abc-admin/index.html Normal file
View 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>

10
HTML/abc-admin/js/push.js Normal file
View File

@ -0,0 +1,10 @@
$(document).ready(function() {
$menuLeft = $('.pushmenu-left');
$nav_list = $('#nav_list');
$nav_list.click(function() {
$(this).toggleClass('active');
$('.pushmenu-push').toggleClass('pushmenu-push-toright');
$menuLeft.toggleClass('pushmenu-open');
});
});

57
HTML/abc-admin/login.html Normal file
View File

@ -0,0 +1,57 @@
<!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">
<title>Abc _Admin</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="img/logo.jpg" alt=""></div>
<h5 class="card-title text-center">Please enter your login details. </h5>
<form class="form-signin">
<div class="form-label-group">
<label for="inputEmail">Email address</label>
<input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
</div>
<div class="form-label-group">
<label for="inputPassword">Password</label>
<input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
</div>
<div class="custom-control custom-checkbox mb-3">
<input type="checkbox" class="custom-control-input" 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>
</form>
</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>

2050
HTML/abc-front/css/bootstrap-grid.css vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

330
HTML/abc-front/css/bootstrap-reboot.css vendored Normal file
View File

@ -0,0 +1,330 @@
/*!
* Bootstrap Reboot v4.0.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: transparent;
}
@-ms-viewport {
width: device-width;
}
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
display: block;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #212529;
text-align: left;
background-color: #fff;
}
[tabindex="-1"]:focus {
outline: 0 !important;
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: 0.5rem;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
abbr[title],
abbr[data-original-title] {
text-decoration: underline;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
cursor: help;
border-bottom: 0;
}
address {
margin-bottom: 1rem;
font-style: normal;
line-height: inherit;
}
ol,
ul,
dl {
margin-top: 0;
margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
margin-bottom: 0;
}
dt {
font-weight: 700;
}
dd {
margin-bottom: .5rem;
margin-left: 0;
}
blockquote {
margin: 0 0 1rem;
}
dfn {
font-style: italic;
}
b,
strong {
font-weight: bolder;
}
small {
font-size: 80%;
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sub {
bottom: -.25em;
}
sup {
top: -.5em;
}
a {
color: #007bff;
text-decoration: none;
background-color: transparent;
-webkit-text-decoration-skip: objects;
}
a:hover {
color: #0056b3;
text-decoration: underline;
}
a:not([href]):not([tabindex]) {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):focus {
outline: 0;
}
pre,
code,
kbd,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
-ms-overflow-style: scrollbar;
}
figure {
margin: 0 0 1rem;
}
img {
vertical-align: middle;
border-style: none;
}
svg:not(:root) {
overflow: hidden;
}
table {
border-collapse: collapse;
}
caption {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
color: #6c757d;
text-align: left;
caption-side: bottom;
}
th {
text-align: inherit;
}
label {
display: inline-block;
margin-bottom: .5rem;
}
button {
border-radius: 0;
}
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}
input,
button,
select,
optgroup,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button,
input {
overflow: visible;
}
button,
select {
text-transform: none;
}
button,
html [type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
padding: 0;
border-style: none;
}
input[type="radio"],
input[type="checkbox"] {
box-sizing: border-box;
padding: 0;
}
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
-webkit-appearance: listbox;
}
textarea {
overflow: auto;
resize: vertical;
}
fieldset {
min-width: 0;
padding: 0;
margin: 0;
border: 0;
}
legend {
display: block;
width: 100%;
max-width: 100%;
padding: 0;
margin-bottom: .5rem;
font-size: 1.5rem;
line-height: inherit;
color: inherit;
white-space: normal;
}
progress {
vertical-align: baseline;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
[type="search"] {
outline-offset: -2px;
-webkit-appearance: none;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-file-upload-button {
font: inherit;
-webkit-appearance: button;
}
output {
display: inline-block;
}
summary {
display: list-item;
cursor: pointer;
}
template {
display: none;
}
[hidden] {
display: none !important;
}
/*# sourceMappingURL=bootstrap-reboot.css.map */

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
/*!
* Bootstrap Reboot v4.0.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
/*# sourceMappingURL=bootstrap-reboot.min.css.map */

File diff suppressed because one or more lines are too long

8975
HTML/abc-front/css/bootstrap.css vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

7
HTML/abc-front/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,46 @@
@media only screen and (max-width: 900px){
.abc-detail{
display: block !important;
}
.abc-detail .seat span{
top: 0;
display: inline-block;
text-align: center;
}
}
@media only screen and (max-width: 767px){
.card-detail span div, .card-detail span{
display: block !important;
margin: 7px 0;
}
.credit span,.select-payment .credit{
display: block !important;
}
.card-detail label,.credit span label{
text-align: left;
padding-bottom: 10px;
}
.credit span{
width: 100%;
}
.abc-detail .member span,.abc-detail .date span {
display: block;
margin-bottom: 10px;
}
.attendee .member ul li{
width: 100%;
}
.attendee .member ul{
display: block !important;
}
.member div{
display: block !important;
}
.member{
flex-direction: column !important;
}
}

View File

@ -0,0 +1,545 @@
@font-face {
font-family: 'HelveticaNeue-Condensed';
src: url(../fonts/HelveticaNeue-Condensed.otf);
}
@font-face {
font-family: 'HelveticaNeue-Extended';
src: url(../fonts/HelveticaNeue-Extended.otf);
}
@font-face {
font-family: 'HelveticaNeue-HeavyCond';
src: url(../fonts/HelveticaNeue-HeavyCond.otf);
}
@font-face {
font-family: 'HelveticaNeueLight';
src: url(../fonts/HelveticaNeueLight.ttf);
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
.container{
max-width: 970px;
}
.header{
padding:5px 0;
}
.logo img{
max-width: 125px;
max-height: 100px;
margin: 5px 0;
}
.logo h1{
font-size: 25px;
padding-left: 10px;
font-family: 'HelveticaNeue-Condensed';
}
.abc-tab{
margin-top:20px;
}
.abc-tab .nav-tabs{
border-bottom:5px solid #003e7e;
}
.abc-tab .nav-tabs li{
background-color:none !important;
margin-right: 5px;
}
.abc-tab .nav-tabs li a.active{
background-color: #003e7e;
color:#fff;
}
.abc-tab .nav-tabs li a{
color: #000;
border: 0 !important;
}
.abc-detail{
padding:5px;
}
.abc-detail .title{
flex: 3;
}
.abc-detail .seat{
flex: 1;
text-align: center;
}
.abc-detail h2{
font-family: 'HelveticaNeue-Condensed';
font-size: 21px;
color:#000;
padding: 5px 0;
margin-bottom: 10px;
}
.abc-detail .adv{
font-family: 'HelveticaNeueLight';
font-size: 17px;
color:#000;
padding: 5px 0;
}
.abc-detail .adv input{
max-width: 100px;
padding:5px;
}
.abc-expand .member{
font-family: 'HelveticaNeueLight';
font-size: 16px;
color:#000;
padding: 5px 0;
margin-bottom: 10px;
}
.abc-expand .member span{
margin-right: 50px;
}
.abc-detail .date{
font-family: 'HelveticaNeueLight';
font-size: 15px;
color:#000;
padding: 5px 0;
}
.abc-detail .date input[type="checkbox"]{
display: none;
}
.abc-detail .date input[type="checkbox"] + label{
border:1px solid #000;
width:15px;
height:15px;
margin-right: 15px;
vertical-align: bottom;
display: inline-block;
position: relative;
font-size: 30px;
}
.abc-detail .date input[type="checkbox"] + label:after{
content: '✔';
color: #0000ff;
opacity: 0;
position: absolute;
left: 3px;
top: 3px;
transform: translate(-50%, -50%);
right: 0;
}
.abc-detail .date input[type="checkbox"]:checked + label:after{
opacity: 1;
}
.abc-detail .date span{
margin-right: 84px;
}
.abc-detail .seat span{
font-family: 'HelveticaNeueLight';
font-size: 15px;
color: #fff;
padding: 10px;
background: #003e7e;
position: relative;s
margin: auto;
max-width: 67px;
top: 45px;
}
.abc-expand h2{
font-family: 'HelveticaNeue-Condensed';
font-size: 21px;
color: #000;
margin-bottom: 10px;
}
.abc-expand p{
font-family: 'HelveticaNeueLight';
font-size: 17px;
color: #000;
line-height: 25px;
}
.abc-expand span{
font-family: 'HelveticaNeueLight';
font-size: 14px;
color: #000;
}
.no-pad{
margin: 0;
padding:0;
}
.abc-expand{
margin:25px 0;
}
.attendee h3{
background: #ccc;
font-family: 'HelveticaNeue-Condensed';
font-size: 21px;
color: #000;
padding:10px;
width: 100%;
}
.class-des{
padding-bottom: 15px;
}
.attendee .member ul li{
margin-right: 10px;
font-family: 'HelveticaNeueLight';
font-size: 16px;
margin-bottom: 10px;
}
.attendee .member ul li input{
height: 35px;
border: 1px solid #ccc;
width: 100%;
padding-left:10px;
-webkit-text-fill-color:#333;
}
.attendee .member span{
color: #ec3e42;
align-self: center;
font-size: 20px;
font-weight: 600;
margin-right: 5px;
}
.attendee .member p{
font-family: 'HelveticaNeueLight';
font-size: 14px;
line-height: 20px;
}
.attendee .member label{
align-self: center;
padding-top: 5px;
}
.attendee label{
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
color: #000;
padding:15px 0;
}
.class-total h3 {
background: #ccc;
font-family: 'HelveticaNeue-Condensed';
font-size: 21px;
color: #000;
padding: 10px;
width: 100%;
margin-top: 25px;
margin-bottom: 10px;
}
.alumi label{
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
color: #000;
padding:5px 0;
margin-bottom: 10px;
}
.alumi-content{
font-family: 'HelveticaNeueLight';
font-size: 15px;
line-height: 20px;
margin-bottom: 10px;
}
.class-sum{
margin-top: 25px;
font-family: 'HelveticaNeue-Condensed';
font-size: 18px;
}
.abc-expand{
display: none;
border: 1px solid #ccc;
padding: 25px;
}
.abc-detail {
padding: 5px;
padding-bottom: 25px;
}
.abc-tab .nav{
border-bottom: 1px solid #ccc;
}
.abc-tab .nav a{
color: #000;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
padding: 9px 25px;
line-height: 35px;
text-decoration: none;
}
.abc-tab .nav a.active{
background: #9bc0e2;
}
.abc-btn button{
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
padding:5px 20px;
margin-top: 25px;
}
.abc-approve h1 {
font-family: 'HelveticaNeue-Condensed';
font-size: 35px;
color: #000;
width: 100%;
margin:20px 0;
}
.abc-approve h2 {
font-family: 'HelveticaNeue-Condensed';
font-size: 25px;
color: #000;
width: 100%;
margin-top: 25px;
margin-bottom: 10px;
background: #5c6a7a;
padding: 15px;
color: #fff;
}
.abc-approve p {
font-family: 'HelveticaNeueLight';
font-size: 15px;
line-height: 20px;
}
.approve label input{
width:25px;
height: 25px;
border:1px solid #ccc;
padding-left: 10px;
margin-right: 10px;
}
.approve-content{
font-family: 'HelveticaNeueLight';
font-size: 15px;
line-height: 20px;
margin-bottom: 15px;
}
.approve{
margin:10px 0;
}
.approve label {
font-family: 'HelveticaNeue-Condensed';
font-size: 18px;
color: #000;
width: 100%;
margin-top: 25px;
margin-bottom: 10px;
position: relative;
}
.approve label span {
background: #cdcdcd;
padding: 5px 10px;
left: -40px;
top: -5px;
position: absolute;
}
.select-payment h3 {
background: #333366;
font-family: 'HelveticaNeue-Condensed';
font-size: 21px;
color: #fff;
padding: 10px;
width: 100%;
text-align: center;
}
.select-payment .credit{
background: #cccccc;
}
.credit input[type="checkbox"]{
display: none;
}
.credit input[type="checkbox"] + label{
border:1px solid #000;
width:15px;
height:15px;
margin-right: 15px;
vertical-align: bottom;
display: inline-block;
position: relative;
font-size: 30px;
}
.credit input[type="checkbox"] + label:after{
content: '✔';
color: #0000ff;
opacity: 0;
position: absolute;
left: 3px;
top: 3px;
transform: translate(-50%, -50%);
right: 0;
}
.credit input[type="checkbox"]:checked + label:after{
opacity: 1;
}
.credit span{
width: 50%;
font-family: 'HelveticaNeueLight';
font-size: 15px;
padding:10px 10px;
}
.select-payment{
margin-bottom: 25px;
}
.card-detail select {
width: 100%;
height: 35px;
border: 1px solid #ccc;
font-family: 'HelveticaNeueLight';
font-size: 13px;
}
.card-detail input {
width: 100%;
height: 35px;
border: 1px solid #ccc;
font-family: 'HelveticaNeueLight';
font-size: 13px;
padding-left: 10px;
}
.card-detail label {
font-family: 'HelveticaNeueLight';
font-size: 16px;
margin-right: 10px;
align-self: center;
/* min-width: 100px; */
text-align: right;
font-weight: 500;
min-width: 150px;
}
.card-detail span{
margin-top:15px;
}
.comp-detail{
background: #fff !important;
}
.comp-detail span{
width: 100%;
padding:0;
margin-bottom: 15px;
}
.comp-detail input {
width: 100%;
height: 35px;
border: 1px solid #ccc;
font-family: 'HelveticaNeueLight';
font-size: 13px;
padding-left: 10px;
}
.m-200{
min-width: 150px;
}
.credit input {
width: 100%;
height: 35px;
border: 1px solid #a4a4a4;
font-family: 'HelveticaNeueLight';
font-size: 13px;
padding-left: 10px;
background: transparent;
}
.sale-in{
font-family: 'HelveticaNeueLight';
font-size: 15px;
padding-left: 10px;
color:#333;
}
.clear-btn{
min-width: 100px;
background: #ff0000;
color: #fff;
padding:7px;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
}
.process-btn{
min-width: 100px;
background: #006699;
color: #fff;
padding: 7px;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
}
.abc-img img{
max-width: 100%;
}
.clone-append ul{
position: relative;
}
.clone-append button{
position: absolute;
right: -17px;
font-size: 20px;
cursor: pointer;
top: 7px;
color: red;
font-weight: bold;
border: 0;
background: transparent;
}
.hr-span{
background: lightgrey;
padding: 6px 12px;
font-family: 'HelveticaNeue-HeavyCond';
font-size: 13px;
color: #000;
margin-left: 10px;
}
.abc-detail .adv{
margin-bottom: 10px;
}
.d-flex.alumi-content span{
position: relative;
right: -11px;
font-size: 17px;
cursor: pointer;
color: red;
font-weight: bold;
border: 0;
background: transparent;
}
.grand{
border-top: 1px solid #be0000;
border-bottom: 1px solid #be0000;
padding: 20px 0;
font-size: 25px;
color:#be0000;
}
.cd-sub label{
margin-right: 15px;
}
.comp-detail{
margin-top:15px;
}
.company-expand{
display: none;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,127 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ABC</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="css/style.css" rel="stylesheet">
<link href="css/responsive.css" rel="stylesheet">
</head>
</head>
<body>
<header>
<div class="container">
<div class="logo d-flex">
<img src="img/logo.jpg" alt="">
<span class="d-flex align-items-center justify-content-center">
<h1>Continuing Education Registration</h1>
</span>
</div>
</div>
</header>
<section>
<div class="container">
<div class="select-payment">
<h3>Select Payment Type</h3>
<div class="credit d-flex">
<span> <input type="checkbox" id="host1" class="check_box"><label for="host1"></label>Credit Card / Debit Card</span>
<span> <input type="checkbox" id="host2" class="check_box"><label for="host2"></label>Invoice Company</span>
</div>
</div>
<div class="select-payment">
<h3>Card Details</h3>
<div class="card-detail">
<span class="d-flex"><label for="">Card holder Name:*</label><input type="text"></span>
<span class="d-flex"><label for="">Card Number:*</label><input type="text"></span>
<span class="d-flex">
<label for="">Edit Card Type:* </label>
<select name="">
<option value="Class1">Select</option>
<option value="Class1">Class1</option>
<option value="Class1">Class1</option>
<option value="Class1">Class1</option>
</select>
</span>
<span class="d-flex">
<div class="col-md-4 d-flex no-pad"><label for="">Expiration Month:*</label><input type="text"></div>
<div class="col-md-4 d-flex no-pad"><label for="">Exp Year:*</label><input type="text"></div>
<div class="col-md-4 d-flex no-pad"><label for="">CVV Code:*</label><input type="text"></div>
</span>
<span class="d-flex"><label for="">Street Address:*</label><input type="text"></span>
<span class="d-flex">
<div class="col-md-4 d-flex no-pad"><label for="">City:*</label><input type="text"></div>
<div class="col-md-4 d-flex no-pad"><label for="">State:*</label><input type="text"></div>
<div class="col-md-4 d-flex no-pad"><label for="">Postal Code:*</label><input type="text"></div>
</span>
<span class="d-flex">
<div class="col-md-6 d-flex no-pad"><label for="">Phone Number:*</label><input type="text"></div>
<div class="col-md-6 d-flex no-pad"><label for="">Fax Number: </label><input type="text"></div>
</span>
<span class="d-flex"><label for="" style="width:180px;">Additional Instructions:</label><textarea class="form-control" rows="5" id="comment"></textarea></span>
</div>
</div>
<div class="select-payment">
<h3>Company Details</h3>
<div class="credit comp-detail">
<span class="d-flex"> <input type="checkbox" id="detail" class="check_box"><label for="detail"></label>Same as above</span>
<div class="company-expand detail">
<span class="d-flex"><label for="" class="m-200 align-self-center">Card holder Name:*</label><input type="text"> </span>
<span class="d-flex"><label for="" class="m-200 align-self-center">Street Address*</label><input type="text"> </span>
<span class="d-flex cd-sub">
<div class="col-md-4 d-flex no-pad"><label for="" class="m-200 text-right align-self-center">Expiration Month:*</label><input type="text"></div>
<div class="col-md-4 d-flex no-pad"><label for="" class="m-200 text-right align-self-center">Exp Year:*</label><input type="text"></div>
<div class="col-md-4 d-flex no-pad"><label for="" class="m-200 text-right align-self-center">CVV Code:*</label><input type="text"></div>
</span>
<span class="d-flex cd-sub">
<div class="col-md-6 d-flex no-pad"><label for="" class="m-200 text-right align-self-center">Phone Number:*</label><input type="text"></div>
<div class="col-md-6 d-flex no-pad"><label for="" class="m-200 text-right align-self-center">Fax Number:*</label><input type="text"></div>
</span>
</div>
</div>
</div>
<div class="select-payment">
<h3>Sale Information</h3>
<div class="credit d-flex sale-in">
<div class="p-2">Total Sale Amount:</div>
<div class="ml-auto p-2">$47.98</div>
</div>
</div>
<div class="select-payment">
<h3>Notifications / Receipts</h3>
<div class="credit d-flex">
<span class="align-self-center"> <input type="checkbox" id="host5" class="check_box"><label for="host5"></label>Credit Card / Debit Card</span>
<span class="d-flex"> <label class="align-self-center m-200">Email Address:</label> <input type="text"></span>
</div>
</div>
<div class="d-flex justify-content-center bd-highlight mb-3">
<div class="p-2 bd-highlight"><button type="button" class="btn clear-btn">Clear</button></div>
<div class="p-2 bd-highlight"><button type="button" class="btn process-btn">Process</button></div>
</div>
<div class="abc-img d-flex flex-wrap justify-content-center align-items-center">
<img src="img/visa.png" alt="">
<img src="img.ssl.png" alt="">
<img src="img/data.png" alt="">
<img src="img/abc.png" alt="">
</div>
</div>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<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">
$(document).ready(function(){
$('input[type="checkbox"]').click(function(){
var inputValue = $(this).attr("id");
$("." + inputValue).toggle();
});
});
</script>
</body>
</html>

BIN
HTML/abc-front/img/abc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
HTML/abc-front/img/data.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
HTML/abc-front/img/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
HTML/abc-front/img/ssl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
HTML/abc-front/img/visa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

331
HTML/abc-front/index.html Normal file
View File

@ -0,0 +1,331 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ABC</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="css/style.css" rel="stylesheet">
<link rel="stylesheet" href="css/responsive.css">
</head>
<body>
<header>
<div class="container">
<div class="logo d-flex">
<img src="img/logo.jpg" alt="">
<span class="d-flex align-items-center justify-content-center">
<h1>Continuing Education Registration</h1>
</span>
</div>
</div>
</header>
<section class="abc-tab">
<div class="container">
<div class="d-flex flex-row nav">
<div><a href="index.html" class="active">Anaheim</a></div>
<div> <a href="laventura.html" >LA / Ventura</a></div>
</div>
<!-- first item -->
<div class="abc-detail d-flex">
<div class="title">
<h2 class="justify-content-center d-flex">Class Title</h2>
<div class="adv"> Advanced Mechanic's Lien Hrs<span class="hr-span">4</span></div>
<div class="date"><span> <input type="checkbox" id="start" class="check_box" placeholder="start"><label for="start"></label>Start Date:</span>
<span>10/12/2018</span>
<span>3pm </span>
<span>M, W, F</span>
</div>
</div>
<div class="seat">
<h2 class="justify-content-center d-flex">Seats Remaining</h2>
<span> 25</span>
</div>
</div>
<div class="abc-expand start">
<div class="member d-flex"> <span>Member / Alumni: $165.00 </span> <span> Non -Member: $265.00 </span> <span>SE: $0.00</span></div>
<div class="d-flex class-des">
<div class="col-md-5 no-pad">
<h2>Class Description</h2>
<p>Class follows the American Traffic Safety Services Association curriculum.</p>
<span>Instructor: Samuel Smith</span>
</div>
<div class="col-md-7">
<h2>Class Details</h2>
<p>Start Date: 08/06/2018<br>
End Date: 08/30/2018<br>
Time: 5:00 pm 9:00 pm<br>
Location: Room 102<br>
Days of Week: M, T, W, TH, F<br>
Seats Available: 28<br>
</p>
</div>
</div>
<div class="attendee">
<h3>Attendee Info</h3>
<label>Member / Alumni</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
<label>Non-Member</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
<label>Subscribing Employer</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
</div>
<div class="class-total">
<h3>Class Totals</h3>
<div class="alumi">
<label>Member / Alumni</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Joe Smith jsmith@yahoo.com (714) 293-2310 <span> X </span></div>
<div class="col-sm-4">$ 196.00</div>
</div>
<label>Non-Member</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Sam Smith ssmith@yahoo.com (909) 797-1234 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content">
<div class="col-sm-8">Bob Jones bobjones@msn.com (714) 555-2222 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content">
<div class="col-sm-8">Sam Smith ssmith@yahoo.com (909) 797-1234 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<label>Subscribing Employer</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Joe Smith jsmith@yahoo.com (714) 293-2310 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content class-sum">
<div class="col-sm-8">Class Total</div>
<div class="col-sm-4">$ 958.00</div>
</div>
</div>
</div>
</div>
<!-- /first item -->
<!-- second item-->
<div class="abc-detail d-flex">
<div class="title">
<h2 class="justify-content-center d-flex">Class Title</h2>
<div class="adv"> Advanced Mechanic's Lien Hrs<span class="hr-span">4</span></div>
<div class="date"><span> <input type="checkbox" id="start1" class="check_box" placeholder="start1"><label for="start1"></label>Start Date:</span>
<span>10/12/2018</span>
<span>3pm </span>
<span>M, W, F</span>
</div>
</div>
<div class="seat">
<h2 class="justify-content-center d-flex">Seats Remaining</h2>
<span> 25</span>
</div>
</div>
<div class="abc-expand start1">
<div class="member"> <span>Member / Alumni: $165.00 </span> <span> Non -Member: $265.00 </span> <span>SE: $0.00</span></div>
<div class="d-flex class-des">
<div class="col-md-5 no-pad">
<h2>Class Description</h2>
<p>Class follows the American Traffic Safety Services Association curriculum.</p>
<span>Instructor: Samuel Smith</span>
</div>
<div class="col-md-7">
<h2>Class Details</h2>
<p>Start Date: 08/06/2018<br>
End Date: 08/30/2018<br>
Time: 5:00 pm 9:00 pm<br>
Location: Room 102<br>
Days of Week: M, T, W, TH, F<br>
Seats Available: 28<br>
</p>
</div>
</div>
<div class="attendee">
<h3>Attendee Info</h3>
<label>Member / Alumni</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
<label>Non-Member</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
<label>Subscribing Employer</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
</div>
<div class="class-total">
<h3>Class Totals</h3>
<div class="alumi">
<label>Member / Alumni</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Joe Smith jsmith@yahoo.com (714) 293-2310 <span> X </span></div>
<div class="col-sm-4">$ 196.00</div>
</div>
<label>Non-Member</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Sam Smith ssmith@yahoo.com (909) 797-1234 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content">
<div class="col-sm-8">Bob Jones bobjones@msn.com (714) 555-2222 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content">
<div class="col-sm-8">Sam Smith ssmith@yahoo.com (909) 797-1234 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<label>Subscribing Employer</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Joe Smith jsmith@yahoo.com (714) 293-2310 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content class-sum">
<div class="col-sm-8">Class Total</div>
<div class="col-sm-4">$ 958.00</div>
</div>
</div>
</div>
</div>
<!-- /seconditem -->
<div class="d-flex justify-content-between abc-btn">
<div class="p-2"><button type="button" class="btn" style="background: #899ec4;">Back</button></div>
<div class="p-2"><button type="button" class="btn" style="background: #ff0000; color: #fff; ">Reset</button></div>
<div class="p-2"><button type="button" class="btn" style="background: #333366; color: #fff;">Review Order</button></div>
</div>
</div>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<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">
$(document).ready(function() {
$(".enroll-btn").click(function(){
var html="";
html+='<div><ul class="d-flex">'
html+='<li><input type="text" placeholder="First Name*"></li>'
html+='<li><input type="text" placeholder="Last Name*"></li>'
html+=' <li><input type="text" placeholder="Email Address*"></li>'
html+=' <li><input type="text" placeholder="Phone Number*"></li> <button class="cls-btn"> X </button></ul></div>'
$(this).parent().find('.clone-append').append(html).html();
});
$('body').delegate(".cls-btn", "click",function(){
$(this).closest('div').hide();
// // $(this).parent().hide();
// $(this).parent().hide();
});
});
</script>
<script type="text/javascript">
$(document).ready(function(){
$('input[type="checkbox"]').click(function(){
var inputValue = $(this).attr("placeholder");
$("." + inputValue).toggle();
});
});
</script>
</body>
</html>

6328
HTML/abc-front/js/bootstrap.bundle.js vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

3894
HTML/abc-front/js/bootstrap.js vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

7
HTML/abc-front/js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,331 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ABC</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="css/style.css" rel="stylesheet">
<link rel="stylesheet" href="css/responsive.css">
</head>
<body>
<header>
<div class="container">
<div class="logo d-flex">
<img src="img/logo.jpg" alt="">
<span class="d-flex align-items-center justify-content-center">
<h1>Continuing Education Registration</h1>
</span>
</div>
</div>
</header>
<section class="abc-tab">
<div class="container">
<div class="d-flex flex-row nav">
<div><a href="index.html">Anaheim</a></div>
<div> <a href="laventura.html" class="active">LA / Ventura</a></div>
</div>
<!-- first item -->
<div class="abc-detail d-flex">
<div class="title">
<h2 class="justify-content-center d-flex">Class Title</h2>
<div class="adv"> Advanced Mechanic's Lien Hrs<span class="hr-span">4</span></div>
<div class="date"><span> <input type="checkbox" id="start" class="check_box" placeholder="start"><label for="start"></label>Start Date:</span>
<span>10/12/2018</span>
<span>3pm </span>
<span>M, W, F</span>
</div>
</div>
<div class="seat">
<h2 class="justify-content-center d-flex">Seats Remaining</h2>
<span> 25</span>
</div>
</div>
<div class="abc-expand start">
<div class="member d-flex"> <span>Member / Alumni: $165.00 </span> <span> Non -Member: $265.00 </span> <span>SE: $0.00</span></div>
<div class="d-flex class-des">
<div class="col-md-5 no-pad">
<h2>Class Description</h2>
<p>Class follows the American Traffic Safety Services Association curriculum.</p>
<span>Instructor: Samuel Smith</span>
</div>
<div class="col-md-7">
<h2>Class Details</h2>
<p>Start Date: 08/06/2018<br>
End Date: 08/30/2018<br>
Time: 5:00 pm 9:00 pm<br>
Location: Room 102<br>
Days of Week: M, T, W, TH, F<br>
Seats Available: 28<br>
</p>
</div>
</div>
<div class="attendee">
<h3>Attendee Info</h3>
<label>Member / Alumni</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
<label>Non-Member</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
<label>Subscribing Employer</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
</div>
<div class="class-total">
<h3>Class Totals</h3>
<div class="alumi">
<label>Member / Alumni</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Joe Smith jsmith@yahoo.com (714) 293-2310 <span> X </span></div>
<div class="col-sm-4">$ 196.00</div>
</div>
<label>Non-Member</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Sam Smith ssmith@yahoo.com (909) 797-1234 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content">
<div class="col-sm-8">Bob Jones bobjones@msn.com (714) 555-2222 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content">
<div class="col-sm-8">Sam Smith ssmith@yahoo.com (909) 797-1234 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<label>Subscribing Employer</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Joe Smith jsmith@yahoo.com (714) 293-2310 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content class-sum">
<div class="col-sm-8">Class Total</div>
<div class="col-sm-4">$ 958.00</div>
</div>
</div>
</div>
</div>
<!-- /first item -->
<!-- second item-->
<div class="abc-detail d-flex">
<div class="title">
<h2 class="justify-content-center d-flex">Class Title</h2>
<div class="adv"> Advanced Mechanic's Lien Hrs<span class="hr-span">4</span></div>
<div class="date"><span> <input type="checkbox" id="start1" class="check_box" placeholder="start1"><label for="start1"></label>Start Date:</span>
<span>10/12/2018</span>
<span>3pm </span>
<span>M, W, F</span>
</div>
</div>
<div class="seat">
<h2 class="justify-content-center d-flex">Seats Remaining</h2>
<span> 25</span>
</div>
</div>
<div class="abc-expand start1">
<div class="member"> <span>Member / Alumni: $165.00 </span> <span> Non -Member: $265.00 </span> <span>SE: $0.00</span></div>
<div class="d-flex class-des">
<div class="col-md-5 no-pad">
<h2>Class Description</h2>
<p>Class follows the American Traffic Safety Services Association curriculum.</p>
<span>Instructor: Samuel Smith</span>
</div>
<div class="col-md-7">
<h2>Class Details</h2>
<p>Start Date: 08/06/2018<br>
End Date: 08/30/2018<br>
Time: 5:00 pm 9:00 pm<br>
Location: Room 102<br>
Days of Week: M, T, W, TH, F<br>
Seats Available: 28<br>
</p>
</div>
</div>
<div class="attendee">
<h3>Attendee Info</h3>
<label>Member / Alumni</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
<label>Non-Member</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
<label>Subscribing Employer</label>
<div class="member flex-row d-flex flex-wrap">
<div class="col-sm-10 no-pad">
<ul class="d-flex">
<li><input type="text" placeholder="First Name*"></li>
<li><input type="text" placeholder="Last Name*"></li>
<li><input type="text" placeholder="Email Address*"></li>
<li><input type="text" placeholder="Phone Number*"></li>
</ul>
</div>
<div class="col-sm-2 enroll-btn">
<label class="d-flex">
<span>+</span>
<p>Enroll Attendee</p>
</label>
</div>
<div class="col-sm-10 clone-append no-pad"> </div>
</div>
</div>
<div class="class-total">
<h3>Class Totals</h3>
<div class="alumi">
<label>Member / Alumni</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Joe Smith jsmith@yahoo.com (714) 293-2310 <span> X </span></div>
<div class="col-sm-4">$ 196.00</div>
</div>
<label>Non-Member</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Sam Smith ssmith@yahoo.com (909) 797-1234 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content">
<div class="col-sm-8">Bob Jones bobjones@msn.com (714) 555-2222 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content">
<div class="col-sm-8">Sam Smith ssmith@yahoo.com (909) 797-1234 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<label>Subscribing Employer</label>
<div class="d-flex alumi-content">
<div class="col-sm-8">Joe Smith jsmith@yahoo.com (714) 293-2310 <span> X </span></div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content class-sum">
<div class="col-sm-8">Class Total</div>
<div class="col-sm-4">$ 958.00</div>
</div>
</div>
</div>
</div>
<!-- /seconditem -->
<div class="d-flex justify-content-between abc-btn">
<div class="p-2"><button type="button" class="btn" style="background: #899ec4;">Back</button></div>
<div class="p-2"><button type="button" class="btn" style="background: #ff0000; color: #fff; ">Reset</button></div>
<div class="p-2"><button type="button" class="btn" style="background: #333366; color: #fff;">Review Order</button></div>
</div>
</div>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<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">
$(document).ready(function() {
$(".enroll-btn").click(function(){
var html="";
html+='<div><ul class="d-flex">'
html+='<li><input type="text" placeholder="First Name*"></li>'
html+='<li><input type="text" placeholder="Last Name*"></li>'
html+=' <li><input type="text" placeholder="Email Address*"></li>'
html+=' <li><input type="text" placeholder="Phone Number*"></li> <button class="cls-btn"> X </button></ul></div>'
$(this).parent().find('.clone-append').append(html).html();
});
$('body').delegate(".cls-btn", "click",function(){
$(this).closest('div').hide();
// // $(this).parent().hide();
// $(this).parent().hide();
});
});
</script>
<script type="text/javascript">
$(document).ready(function(){
$('input[type="checkbox"]').click(function(){
var inputValue = $(this).attr("placeholder");
$("." + inputValue).toggle();
});
});
</script>
</body>
</html>

114
HTML/abc-front/review.html Normal file
View File

@ -0,0 +1,114 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ABC</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<header>
<div class="container">
<div class="logo d-flex">
<img src="img/logo.jpg" alt="">
<span class="d-flex align-items-center justify-content-center">
<h1>Continuing Education Registration</h1>
</span>
</div>
</div>
</header>
<section class="abc-approve">
<div class="container">
<h1>Review / Approve Registrations</h1>
<h2>Traffic Control and Flagging</h2>
<p>Start Date: 08/06/2018<br>
End Date: 08/30/201<br>
Time: 5:00 pm 9:00pm<br>
Location: Room 102<br>
Days of Week: M, T, W, TH, F
</p>
<div class="approve">
<label><span>5</span>Member / Alumni</label>
<div class="d-flex approve-content">
<div class="col-sm-8 no-pad">Joe Smith jsmith@yahoo.com (714) 293-2310 (remove)</div>
<div class="col-sm-4">$ 196.00</div>
</div>
<label><span>5</span>Non-Member</label>
<div class="d-flex alumi-content">
<div class="col-sm-8 no-pad">Sam Smith ssmith@yahoo.com (909) 797-1234 (remove)</div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content">
<div class="col-sm-8 no-pad">Bob Jones bobjones@msn.com (714) 555-2222 (remove)</div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content">
<div class="col-sm-8 no-pad">Sam Smith ssmith@yahoo.com (909) 797-1234 (remove)</div>
<div class="col-sm-4">$ 254.00</div>
</div>
<label><span>5</span>Subscribing Employer</label>
<div class="d-flex alumi-content">
<div class="col-sm-8 no-pad">Joe Smith jsmith@yahoo.com (714) 293-2310 (remove)</div>
<div class="col-sm-4">$ 254.00</div>
</div>
<div class="d-flex alumi-content class-sum">
<div class="col-sm-8 no-pad">Class Total</div>
<div class="col-sm-4">$ 958.00</div>
</div>
</div>
<h2>OSHA 502</h2>
<p>Start Date: 08/06/2018<br>
End Date: 08/30/201<br>
Time: 5:00 pm 9:00pm<br>
Location: Room 102<br>
Days of Week: M, T, W, TH, F
</p>
<div class="approve">
<label><span>5</span>Member / Alumni</label>
<div class="d-flex approve-content">
<div class="col-sm-8 no-pad">Dan Ericson Dericson@gmail.com (714) 293-2310 (remove)</div>
<div class="col-sm-4">$ 199.00</div>
</div>
<div class="d-flex approve-content">
<div class="col-sm-8 no-pad">Ivan Turner Ivan@msn.com (909) 797-1234 (remove)</div>
<div class="col-sm-4">$ 199.00</div>
</div>
<div class="d-flex approve-content">
<div class="col-sm-8 no-pad">Peter Schwartz pschwartz@gmail.com (714) 555-2222 (remove)</div>
<div class="col-sm-4">$ 199.00</div>
</div>
<label><span>5</span>Non-Member</label>
<div class="d-flex alumi-content">
<div class="col-sm-8 no-pad">Carlos Alvarez calvarez@gmail.com (909) 956-1123 (remove)</div>
<div class="col-sm-4">$ 199.00</div>
</div>
<label><span>5</span>Subscribing Employer</label>
<div class="d-flex alumi-content">
<div class="col-sm-8 no-pad">Joe Thomas Joethomas@aol.com (909) 956-1100 (remove)</div>
<div class="col-sm-4">$ 299.00</div>
</div>
<div class="d-flex alumi-content class-sum">
<div class="col-sm-8 no-pad">Class Total</div>
<div class="col-sm-4">$ 856.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">$ 3336.00</div>
</div>
</div>
<div class="d-flex justify-content-between abc-btn">
<div class="p-2"><button type="button" class="btn" style="background: #be0000; color: #fff;">Back</button></div>
<div class="p-2 ml-auto"><button type="button" class="btn" style="background: #899ec4;">Approve</button></div>
</div>
</div>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>

BIN
application/.DS_Store vendored Normal file

Binary file not shown.

0
application/.htaccess Normal file
View File

6
application/cache/.htaccess vendored Normal file
View File

@ -0,0 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>

11
application/cache/index.html vendored Normal file
View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

View File

@ -0,0 +1,135 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the framework as light-weight as possible only the
| absolute minimal resources are loaded by default. For example,
| the database is not connected to automatically since no assumption
| is made regarding whether you intend to use it. This file lets
| you globally define which systems you would like loaded with every
| request.
|
| -------------------------------------------------------------------
| Instructions
| -------------------------------------------------------------------
|
| These are the things you can load automatically:
|
| 1. Packages
| 2. Libraries
| 3. Drivers
| 4. Helper files
| 5. Custom config files
| 6. Language files
| 7. Models
|
*/
/*
| -------------------------------------------------------------------
| Auto-load Packages
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
|
*/
$autoload['packages'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Libraries
| -------------------------------------------------------------------
| These are the classes located in system/libraries/ or your
| application/libraries/ directory, with the addition of the
| 'database' library, which is somewhat of a special case.
|
| Prototype:
|
| $autoload['libraries'] = array('database', 'email', 'session');
|
| You can also supply an alternative library name to be assigned
| in the controller:
|
| $autoload['libraries'] = array('user_agent' => 'ua');
*/
$autoload['libraries'] = array('session','database');
/*
| -------------------------------------------------------------------
| Auto-load Drivers
| -------------------------------------------------------------------
| These classes are located in system/libraries/ or in your
| application/libraries/ directory, but are also placed inside their
| own subdirectory and they extend the CI_Driver_Library class. They
| offer multiple interchangeable driver options.
|
| Prototype:
|
| $autoload['drivers'] = array('cache');
|
| You can also supply an alternative property name to be assigned in
| the controller:
|
| $autoload['drivers'] = array('cache' => 'cch');
|
*/
$autoload['drivers'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Helper Files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['helper'] = array('url', 'file');
*/
$autoload['helper'] = array('url','form');
/*
| -------------------------------------------------------------------
| Auto-load Config files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['config'] = array('config1', 'config2');
|
| NOTE: This item is intended for use ONLY if you have created custom
| config files. Otherwise, leave it blank.
|
*/
$autoload['config'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Language files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['language'] = array('lang1', 'lang2');
|
| NOTE: Do not include the "_lang" part of your file. For example
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
*/
$autoload['language'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Models
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['model'] = array('first_model', 'second_model');
|
| You can also supply an alternative model name to be assigned
| in the controller:
|
| $autoload['model'] = array('first_model' => 'first');
*/
$autoload['model'] = array();

View File

@ -0,0 +1,523 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
|
| http://example.com/
|
| WARNING: You MUST set this value!
|
| If it is not set, then CodeIgniter will try guess the protocol and path
| your installation, but due to security concerns the hostname will be set
| to $_SERVER['SERVER_ADDR'] if available, or localhost otherwise.
| The auto-detection mechanism exists only for convenience during
| development and MUST NOT be used in production!
|
| If you need to allow multiple domains, remember that this file is still
| a PHP script and you can easily do that on your own.
|
*/
$config['base_url'] = 'http://demo.phpwebsite.in/abc/';
/*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/
$config['index_page'] = '';
/*
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string. The default setting of 'REQUEST_URI' works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'REQUEST_URI' Uses $_SERVER['REQUEST_URI']
| 'QUERY_STRING' Uses $_SERVER['QUERY_STRING']
| 'PATH_INFO' Uses $_SERVER['PATH_INFO']
|
| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
*/
$config['uri_protocol'] = 'REQUEST_URI';
/*
|--------------------------------------------------------------------------
| URL suffix
|--------------------------------------------------------------------------
|
| This option allows you to add a suffix to all URLs generated by CodeIgniter.
| For more information please see the user guide:
|
| https://codeigniter.com/user_guide/general/urls.html
*/
$config['url_suffix'] = '';
/*
|--------------------------------------------------------------------------
| Default Language
|--------------------------------------------------------------------------
|
| This determines which set of language files should be used. Make sure
| there is an available translation if you intend to use something other
| than english.
|
*/
$config['language'] = 'english';
/*
|--------------------------------------------------------------------------
| Default Character Set
|--------------------------------------------------------------------------
|
| This determines which character set is used by default in various methods
| that require a character set to be provided.
|
| See http://php.net/htmlspecialchars for a list of supported charsets.
|
*/
$config['charset'] = 'UTF-8';
/*
|--------------------------------------------------------------------------
| Enable/Disable System Hooks
|--------------------------------------------------------------------------
|
| If you would like to use the 'hooks' feature you must enable it by
| setting this variable to TRUE (boolean). See the user guide for details.
|
*/
$config['enable_hooks'] = FALSE;
/*
|--------------------------------------------------------------------------
| Class Extension Prefix
|--------------------------------------------------------------------------
|
| This item allows you to set the filename/classname prefix when extending
| native libraries. For more information please see the user guide:
|
| https://codeigniter.com/user_guide/general/core_classes.html
| https://codeigniter.com/user_guide/general/creating_libraries.html
|
*/
$config['subclass_prefix'] = 'MY_';
/*
|--------------------------------------------------------------------------
| Composer auto-loading
|--------------------------------------------------------------------------
|
| Enabling this setting will tell CodeIgniter to look for a Composer
| package auto-loader script in application/vendor/autoload.php.
|
| $config['composer_autoload'] = TRUE;
|
| Or if you have your vendor/ directory located somewhere else, you
| can opt to set a specific path as well:
|
| $config['composer_autoload'] = '/path/to/vendor/autoload.php';
|
| For more information about Composer, please visit http://getcomposer.org/
|
| Note: This will NOT disable or override the CodeIgniter-specific
| autoloading (application/config/autoload.php)
*/
$config['composer_autoload'] = FALSE;
/*
|--------------------------------------------------------------------------
| Allowed URL Characters
|--------------------------------------------------------------------------
|
| This lets you specify which characters are permitted within your URLs.
| When someone tries to submit a URL with disallowed characters they will
| get a warning message.
|
| As a security measure you are STRONGLY encouraged to restrict URLs to
| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
|
| Leave blank to allow all characters -- but only if you are insane.
|
| The configured value is actually a regular expression character group
| and it will be executed as: ! preg_match('/^[<permitted_uri_chars>]+$/i
|
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
*/
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
/*
|--------------------------------------------------------------------------
| Enable Query Strings
|--------------------------------------------------------------------------
|
| By default CodeIgniter uses search-engine friendly segment based URLs:
| example.com/who/what/where/
|
| You can optionally enable standard query string based URLs:
| example.com?who=me&what=something&where=here
|
| Options are: TRUE or FALSE (boolean)
|
| The other items let you set the query string 'words' that will
| invoke your controllers and its functions:
| example.com/index.php?c=controller&m=function
|
| Please note that some of the helpers won't work as expected when
| this feature is enabled, since CodeIgniter is designed primarily to
| use segment based URLs.
|
*/
$config['enable_query_strings'] = FALSE;
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
$config['directory_trigger'] = 'd';
/*
|--------------------------------------------------------------------------
| Allow $_GET array
|--------------------------------------------------------------------------
|
| By default CodeIgniter enables access to the $_GET array. If for some
| reason you would like to disable it, set 'allow_get_array' to FALSE.
|
| WARNING: This feature is DEPRECATED and currently available only
| for backwards compatibility purposes!
|
*/
$config['allow_get_array'] = TRUE;
/*
|--------------------------------------------------------------------------
| Error Logging Threshold
|--------------------------------------------------------------------------
|
| You can enable error logging by setting a threshold over zero. The
| threshold determines what gets logged. Threshold options are:
|
| 0 = Disables logging, Error logging TURNED OFF
| 1 = Error Messages (including PHP errors)
| 2 = Debug Messages
| 3 = Informational Messages
| 4 = All Messages
|
| You can also pass an array with threshold levels to show individual error types
|
| array(2) = Debug Messages, without Error Messages
|
| For a live site you'll usually only enable Errors (1) to be logged otherwise
| your log files will fill up very fast.
|
*/
$config['log_threshold'] = 0;
/*
|--------------------------------------------------------------------------
| Error Logging Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the default
| application/logs/ directory. Use a full server path with trailing slash.
|
*/
$config['log_path'] = '';
/*
|--------------------------------------------------------------------------
| Log File Extension
|--------------------------------------------------------------------------
|
| The default filename extension for log files. The default 'php' allows for
| protecting the log files via basic scripting, when they are to be stored
| under a publicly accessible directory.
|
| Note: Leaving it blank will default to 'php'.
|
*/
$config['log_file_extension'] = '';
/*
|--------------------------------------------------------------------------
| Log File Permissions
|--------------------------------------------------------------------------
|
| The file system permissions to be applied on newly created log files.
|
| IMPORTANT: This MUST be an integer (no quotes) and you MUST use octal
| integer notation (i.e. 0700, 0644, etc.)
*/
$config['log_file_permissions'] = 0644;
/*
|--------------------------------------------------------------------------
| Date Format for Logs
|--------------------------------------------------------------------------
|
| Each item that is logged has an associated date. You can use PHP date
| codes to set your own date formatting
|
*/
$config['log_date_format'] = 'Y-m-d H:i:s';
/*
|--------------------------------------------------------------------------
| Error Views Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the default
| application/views/errors/ directory. Use a full server path with trailing slash.
|
*/
$config['error_views_path'] = '';
/*
|--------------------------------------------------------------------------
| Cache Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the default
| application/cache/ directory. Use a full server path with trailing slash.
|
*/
$config['cache_path'] = '';
/*
|--------------------------------------------------------------------------
| Cache Include Query String
|--------------------------------------------------------------------------
|
| Whether to take the URL query string into consideration when generating
| output cache files. Valid options are:
|
| FALSE = Disabled
| TRUE = Enabled, take all query parameters into account.
| Please be aware that this may result in numerous cache
| files generated for the same page over and over again.
| array('q') = Enabled, but only take into account the specified list
| of query parameters.
|
*/
$config['cache_query_string'] = FALSE;
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| If you use the Encryption class, you must set an encryption key.
| See the user guide for more info.
|
| https://codeigniter.com/user_guide/libraries/encryption.html
|
*/
$config['encryption_key'] = 'smartwebin';
/*
|--------------------------------------------------------------------------
| Session Variables
|--------------------------------------------------------------------------
|
| 'sess_driver'
|
| The storage driver to use: files, database, redis, memcached
|
| 'sess_cookie_name'
|
| The session cookie name, must contain only [0-9a-z_-] characters
|
| 'sess_expiration'
|
| The number of SECONDS you want the session to last.
| Setting to 0 (zero) means expire when the browser is closed.
|
| 'sess_save_path'
|
| The location to save sessions to, driver dependent.
|
| For the 'files' driver, it's a path to a writable directory.
| WARNING: Only absolute paths are supported!
|
| For the 'database' driver, it's a table name.
| Please read up the manual for the format with other session drivers.
|
| IMPORTANT: You are REQUIRED to set a valid save path!
|
| 'sess_match_ip'
|
| Whether to match the user's IP address when reading the session data.
|
| WARNING: If you're using the database driver, don't forget to update
| your session table's PRIMARY KEY when changing this setting.
|
| 'sess_time_to_update'
|
| How many seconds between CI regenerating the session ID.
|
| 'sess_regenerate_destroy'
|
| Whether to destroy session data associated with the old session ID
| when auto-regenerating the session ID. When set to FALSE, the data
| will be later deleted by the garbage collector.
|
| Other session cookie settings are shared with the rest of the application,
| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here.
|
*/
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = NULL;
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;
/*
|--------------------------------------------------------------------------
| Cookie Related Variables
|--------------------------------------------------------------------------
|
| 'cookie_prefix' = Set a cookie name prefix if you need to avoid collisions
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
| 'cookie_path' = Typically will be a forward slash
| 'cookie_secure' = Cookie will only be set if a secure HTTPS connection exists.
| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)
|
| Note: These settings (with the exception of 'cookie_prefix' and
| 'cookie_httponly') will also affect sessions.
|
*/
$config['cookie_prefix'] = '';
$config['cookie_domain'] = '';
$config['cookie_path'] = '/';
$config['cookie_secure'] = FALSE;
$config['cookie_httponly'] = FALSE;
/*
|--------------------------------------------------------------------------
| Standardize newlines
|--------------------------------------------------------------------------
|
| Determines whether to standardize newline characters in input data,
| meaning to replace \r\n, \r, \n occurrences with the PHP_EOL value.
|
| WARNING: This feature is DEPRECATED and currently available only
| for backwards compatibility purposes!
|
*/
$config['standardize_newlines'] = FALSE;
/*
|--------------------------------------------------------------------------
| Global XSS Filtering
|--------------------------------------------------------------------------
|
| Determines whether the XSS filter is always active when GET, POST or
| COOKIE data is encountered
|
| WARNING: This feature is DEPRECATED and currently available only
| for backwards compatibility purposes!
|
*/
$config['global_xss_filtering'] = FALSE;
/*
|--------------------------------------------------------------------------
| Cross Site Request Forgery
|--------------------------------------------------------------------------
| Enables a CSRF cookie token to be set. When set to TRUE, token will be
| checked on a submitted form. If you are accepting user data, it is strongly
| recommended CSRF protection be enabled.
|
| 'csrf_token_name' = The token name
| 'csrf_cookie_name' = The cookie name
| 'csrf_expire' = The number in seconds the token should expire.
| 'csrf_regenerate' = Regenerate token on every submission
| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
*/
$config['csrf_protection'] = FALSE;
$config['csrf_token_name'] = 'csrf_test_name';
$config['csrf_cookie_name'] = 'csrf_cookie_name';
$config['csrf_expire'] = 7200;
$config['csrf_regenerate'] = TRUE;
$config['csrf_exclude_uris'] = array();
/*
|--------------------------------------------------------------------------
| Output Compression
|--------------------------------------------------------------------------
|
| Enables Gzip output compression for faster page loads. When enabled,
| the output class will test whether your server supports Gzip.
| Even if it does, however, not all browsers support compression
| so enable only if you are reasonably sure your visitors can handle it.
|
| Only used if zlib.output_compression is turned off in your php.ini.
| Please do not use it together with httpd-level output compression.
|
| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
| means you are prematurely outputting something to your browser. It could
| even be a line of whitespace at the end of one of your scripts. For
| compression to work, nothing can be sent before the output buffer is called
| by the output class. Do not 'echo' any values with compression enabled.
|
*/
$config['compress_output'] = FALSE;
/*
|--------------------------------------------------------------------------
| Master Time Reference
|--------------------------------------------------------------------------
|
| Options are 'local' or any PHP supported timezone. This preference tells
| the system whether to use your server's local time as the master 'now'
| reference, or convert it to the configured one timezone. See the 'date
| helper' page of the user guide for information regarding date handling.
|
*/
$config['time_reference'] = 'local';
/*
|--------------------------------------------------------------------------
| Rewrite PHP Short Tags
|--------------------------------------------------------------------------
|
| If your PHP installation does not have short tag support enabled CI
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
| in your view files. Options are TRUE or FALSE (boolean)
|
| Note: You need to have eval() enabled for this to work.
|
*/
$config['rewrite_short_tags'] = FALSE;
/*
|--------------------------------------------------------------------------
| Reverse Proxy IPs
|--------------------------------------------------------------------------
|
| If your server is behind a reverse proxy, you must whitelist the proxy
| IP addresses from which CodeIgniter should trust headers such as
| HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify
| the visitor's IP address.
|
| You can use both an array or a comma-separated list of proxy addresses,
| as well as specifying whole subnets. Here are a few examples:
|
| Comma-separated: '10.0.1.200,192.168.5.0/24'
| Array: array('10.0.1.200', '192.168.5.0/24')
*/
$config['proxy_ips'] = '';

View File

@ -0,0 +1,96 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Display Debug backtrace
|--------------------------------------------------------------------------
|
| If set to TRUE, a backtrace will be displayed along with php errors. If
| error_reporting is disabled, the backtrace will not display, regardless
| of this setting
|
*/
defined('SHOW_DEBUG_BACKTRACE') OR define('SHOW_DEBUG_BACKTRACE', TRUE);
/*
|--------------------------------------------------------------------------
| File and Directory Modes
|--------------------------------------------------------------------------
|
| These prefs are used when checking and setting modes when working
| with the file system. The defaults are fine on servers with proper
| security, but you may wish (or even need) to change the values in
| certain environments (Apache running a separate process for each
| user, PHP under CGI with Apache suEXEC, etc.). Octal values should
| always be used to set the mode correctly.
|
*/
defined('FILE_READ_MODE') OR define('FILE_READ_MODE', 0644);
defined('FILE_WRITE_MODE') OR define('FILE_WRITE_MODE', 0666);
defined('DIR_READ_MODE') OR define('DIR_READ_MODE', 0755);
defined('DIR_WRITE_MODE') OR define('DIR_WRITE_MODE', 0755);
/*
|--------------------------------------------------------------------------
| File Stream Modes
|--------------------------------------------------------------------------
|
| These modes are used when working with fopen()/popen()
|
*/
defined('FOPEN_READ') OR define('FOPEN_READ', 'rb');
defined('FOPEN_READ_WRITE') OR define('FOPEN_READ_WRITE', 'r+b');
defined('FOPEN_WRITE_CREATE_DESTRUCTIVE') OR define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
defined('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE') OR define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
defined('FOPEN_WRITE_CREATE') OR define('FOPEN_WRITE_CREATE', 'ab');
defined('FOPEN_READ_WRITE_CREATE') OR define('FOPEN_READ_WRITE_CREATE', 'a+b');
defined('FOPEN_WRITE_CREATE_STRICT') OR define('FOPEN_WRITE_CREATE_STRICT', 'xb');
defined('FOPEN_READ_WRITE_CREATE_STRICT') OR define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');
/*
|--------------------------------------------------------------------------
| Exit Status Codes
|--------------------------------------------------------------------------
|
| Used to indicate the conditions under which the script is exit()ing.
| While there is no universal standard for error codes, there are some
| broad conventions. Three such conventions are mentioned below, for
| those who wish to make use of them. The CodeIgniter defaults were
| chosen for the least overlap with these conventions, while still
| leaving room for others to be defined in future versions and user
| applications.
|
| The three main conventions used for determining exit status codes
| are as follows:
|
| Standard C/C++ Library (stdlibc):
| http://www.gnu.org/software/libc/manual/html_node/Exit-Status.html
| (This link also contains other GNU-specific conventions)
| BSD sysexits.h:
| http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=sysexits
| Bash scripting:
| http://tldp.org/LDP/abs/html/exitcodes.html
|
*/
defined('EXIT_SUCCESS') OR define('EXIT_SUCCESS', 0); // no errors
defined('EXIT_ERROR') OR define('EXIT_ERROR', 1); // generic error
defined('EXIT_CONFIG') OR define('EXIT_CONFIG', 3); // configuration error
defined('EXIT_UNKNOWN_FILE') OR define('EXIT_UNKNOWN_FILE', 4); // file not found
defined('EXIT_UNKNOWN_CLASS') OR define('EXIT_UNKNOWN_CLASS', 5); // unknown class
defined('EXIT_UNKNOWN_METHOD') OR define('EXIT_UNKNOWN_METHOD', 6); // unknown class member
defined('EXIT_USER_INPUT') OR define('EXIT_USER_INPUT', 7); // invalid user input
defined('EXIT_DATABASE') OR define('EXIT_DATABASE', 8); // database error
defined('EXIT__AUTO_MIN') OR define('EXIT__AUTO_MIN', 9); // lowest automatically-assigned error code
defined('EXIT__AUTO_MAX') OR define('EXIT__AUTO_MAX', 125); // highest automatically-assigned error code
/*
|--------------------------------------------------------------------------
| Custom Define
|--------------------------------------------------------------------------
*/
define("TITLE", "ABC-Admin");
define("FRONT_TITLE", "ABC-Front");
define("HEADER_NAME", "New Project");
define("SITE_NAME", "testing");
define("SKIN", "skin-2");

View File

@ -0,0 +1,96 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the 'Database Connection'
| page of the User Guide.
|
| -------------------------------------------------------------------
| EXPLANATION OF VARIABLES
| -------------------------------------------------------------------
|
| ['dsn'] The full DSN string describe a connection to the database.
| ['hostname'] The hostname of your database server.
| ['username'] The username used to connect to the database
| ['password'] The password used to connect to the database
| ['database'] The name of the database you want to connect to
| ['dbdriver'] The database driver. e.g.: mysqli.
| Currently supported:
| cubrid, ibase, mssql, mysql, mysqli, oci8,
| odbc, pdo, postgre, sqlite, sqlite3, sqlsrv
| ['dbprefix'] You can add an optional prefix, which will be added
| to the table name when using the Query Builder class
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
| ['cache_on'] TRUE/FALSE - Enables/disables query caching
| ['cachedir'] The path to the folder where cache files should be stored
| ['char_set'] The character set used in communicating with the database
| ['dbcollat'] The character collation used in communicating with the database
| NOTE: For MySQL and MySQLi databases, this setting is only used
| as a backup if your server is running PHP < 5.2.3 or MySQL < 5.0.7
| (and in table creation queries made with DB Forge).
| There is an incompatibility in PHP with mysql_real_escape_string() which
| can make your site vulnerable to SQL injection if you are using a
| multi-byte character set and are running versions lower than these.
| Sites using Latin-1 or UTF-8 database character set and collation are unaffected.
| ['swap_pre'] A default table prefix that should be swapped with the dbprefix
| ['encrypt'] Whether or not to use an encrypted connection.
|
| 'mysql' (deprecated), 'sqlsrv' and 'pdo/sqlsrv' drivers accept TRUE/FALSE
| 'mysqli' and 'pdo/mysql' drivers accept an array with the following options:
|
| 'ssl_key' - Path to the private key file
| 'ssl_cert' - Path to the public key certificate file
| 'ssl_ca' - Path to the certificate authority file
| 'ssl_capath' - Path to a directory containing trusted CA certificats in PEM format
| 'ssl_cipher' - List of *allowed* ciphers to be used for the encryption, separated by colons (':')
| 'ssl_verify' - TRUE/FALSE; Whether verify the server certificate or not ('mysqli' only)
|
| ['compress'] Whether or not to use client compression (MySQL only)
| ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections
| - good for ensuring strict SQL while developing
| ['ssl_options'] Used to set various SSL options that can be used when making SSL connections.
| ['failover'] array - A array with 0 or more data for connections if the main should fail.
| ['save_queries'] TRUE/FALSE - Whether to "save" all executed queries.
| NOTE: Disabling this will also effectively disable both
| $this->db->last_query() and profiling of DB queries.
| When you run a query, with this setting set to TRUE (default),
| CodeIgniter will store the SQL statement for debugging purposes.
| However, this may cause high memory usage, especially if you run
| a lot of SQL queries ... disable this to avoid that problem.
|
| The $active_group variable lets you choose which connection group to
| make active. By default there is only one group (the 'default' group).
|
| The $query_builder variables lets you determine whether or not to load
| the query builder class.
*/
$active_group = 'default';
$query_builder = TRUE;
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'phpwe4km_abc',
'password' => 'VOtMA5$_88-Y',
'database' => 'phpwe4km_abc',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);

View File

@ -0,0 +1,24 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$_doctypes = array(
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',
'xhtml1-trans' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
'xhtml1-frame' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',
'xhtml-basic11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">',
'html5' => '<!DOCTYPE html>',
'html4-strict' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">',
'html4-trans' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
'html4-frame' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">',
'mathml1' => '<!DOCTYPE math SYSTEM "http://www.w3.org/Math/DTD/mathml1/mathml.dtd">',
'mathml2' => '<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">',
'svg10' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">',
'svg11' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">',
'svg11-basic' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">',
'svg11-tiny' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">',
'xhtml-math-svg-xh' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">',
'xhtml-math-svg-sh' => '<!DOCTYPE svg:svg PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">',
'xhtml-rdfa-1' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">',
'xhtml-rdfa-2' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">'
);

View File

@ -0,0 +1,103 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| Foreign Characters
| -------------------------------------------------------------------
| This file contains an array of foreign characters for transliteration
| conversion used by the Text helper
|
*/
$foreign_characters = array(
'/ä|æ|ǽ/' => 'ae',
'/ö|œ/' => 'oe',
'/ü/' => 'ue',
'/Ä/' => 'Ae',
'/Ü/' => 'Ue',
'/Ö/' => 'Oe',
'/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A',
'/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a',
'/Б/' => 'B',
'/б/' => 'b',
'/Ç|Ć|Ĉ|Ċ|Č/' => 'C',
'/ç|ć|ĉ|ċ|č/' => 'c',
'/Д/' => 'D',
'/д/' => 'd',
'/Ð|Ď|Đ|Δ/' => 'Dj',
'/ð|ď|đ|δ/' => 'dj',
'/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E',
'/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e',
'/Ф/' => 'F',
'/ф/' => 'f',
'/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G',
'/ĝ|ğ|ġ|ģ|γ|г|ґ/' => 'g',
'/Ĥ|Ħ/' => 'H',
'/ĥ|ħ/' => 'h',
'/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Ы/' => 'I',
'/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|ы|ї/' => 'i',
'/Ĵ/' => 'J',
'/ĵ/' => 'j',
'/Ķ|Κ|К/' => 'K',
'/ķ|κ|к/' => 'k',
'/Ĺ|Ļ|Ľ|Ŀ|Ł|Λ|Л/' => 'L',
'/ĺ|ļ|ľ|ŀ|ł|λ|л/' => 'l',
'/М/' => 'M',
'/м/' => 'm',
'/Ñ|Ń|Ņ|Ň|Ν|Н/' => 'N',
'/ñ|ń|ņ|ň|ʼn|ν|н/' => 'n',
'/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ|Ο|Ό|Ω|Ώ|Ỏ|Ọ|Ồ|Ố|Ỗ|Ổ|Ộ|Ờ|Ớ|Ỡ|Ở|Ợ|О/' => 'O',
'/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º|ο|ό|ω|ώ|ỏ|ọ|ồ|ố|ỗ|ổ|ộ|ờ|ớ|ỡ|ở|ợ|о/' => 'o',
'/П/' => 'P',
'/п/' => 'p',
'/Ŕ|Ŗ|Ř|Ρ|Р/' => 'R',
'/ŕ|ŗ|ř|ρ|р/' => 'r',
'/Ś|Ŝ|Ş|Ș|Š|Σ|С/' => 'S',
'/ś|ŝ|ş|ș|š|ſ|σ|ς|с/' => 's',
'/Ț|Ţ|Ť|Ŧ|τ|Т/' => 'T',
'/ț|ţ|ť|ŧ|т/' => 't',
'/Þ|þ/' => 'th',
'/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U',
'/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u',
'/Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y',
'/ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y',
'/В/' => 'V',
'/в/' => 'v',
'/Ŵ/' => 'W',
'/ŵ/' => 'w',
'/Ź|Ż|Ž|Ζ|З/' => 'Z',
'/ź|ż|ž|ζ|з/' => 'z',
'/Æ|Ǽ/' => 'AE',
'/ß/' => 'ss',
'/IJ/' => 'IJ',
'/ij/' => 'ij',
'/Œ/' => 'OE',
'/ƒ/' => 'f',
'/ξ/' => 'ks',
'/π/' => 'p',
'/β/' => 'v',
'/μ/' => 'm',
'/ψ/' => 'ps',
'/Ё/' => 'Yo',
'/ё/' => 'yo',
'/Є/' => 'Ye',
'/є/' => 'ye',
'/Ї/' => 'Yi',
'/Ж/' => 'Zh',
'/ж/' => 'zh',
'/Х/' => 'Kh',
'/х/' => 'kh',
'/Ц/' => 'Ts',
'/ц/' => 'ts',
'/Ч/' => 'Ch',
'/ч/' => 'ch',
'/Ш/' => 'Sh',
'/ш/' => 'sh',
'/Щ/' => 'Shch',
'/щ/' => 'shch',
'/Ъ|ъ|Ь|ь/' => '',
'/Ю/' => 'Yu',
'/ю/' => 'yu',
'/Я/' => 'Ya',
'/я/' => 'ya'
);

View File

@ -0,0 +1,13 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Hooks
| -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core
| files. Please see the user guide for info:
|
| https://codeigniter.com/user_guide/general/hooks.html
|
*/

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

View File

@ -0,0 +1,19 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Memcached settings
| -------------------------------------------------------------------------
| Your Memcached servers can be specified below.
|
| See: https://codeigniter.com/user_guide/libraries/caching.html#memcached
|
*/
$config = array(
'default' => array(
'hostname' => '127.0.0.1',
'port' => '11211',
'weight' => '1',
),
);

View File

@ -0,0 +1,84 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Enable/Disable Migrations
|--------------------------------------------------------------------------
|
| Migrations are disabled by default for security reasons.
| You should enable migrations whenever you intend to do a schema migration
| and disable it back when you're done.
|
*/
$config['migration_enabled'] = FALSE;
/*
|--------------------------------------------------------------------------
| Migration Type
|--------------------------------------------------------------------------
|
| Migration file names may be based on a sequential identifier or on
| a timestamp. Options are:
|
| 'sequential' = Sequential migration naming (001_add_blog.php)
| 'timestamp' = Timestamp migration naming (20121031104401_add_blog.php)
| Use timestamp format YYYYMMDDHHIISS.
|
| Note: If this configuration value is missing the Migration library
| defaults to 'sequential' for backward compatibility with CI2.
|
*/
$config['migration_type'] = 'timestamp';
/*
|--------------------------------------------------------------------------
| Migrations table
|--------------------------------------------------------------------------
|
| This is the name of the table that will store the current migrations state.
| When migrations runs it will store in a database table which migration
| level the system is at. It then compares the migration level in this
| table to the $config['migration_version'] if they are not the same it
| will migrate up. This must be set.
|
*/
$config['migration_table'] = 'migrations';
/*
|--------------------------------------------------------------------------
| Auto Migrate To Latest
|--------------------------------------------------------------------------
|
| If this is set to TRUE when you load the migrations class and have
| $config['migration_enabled'] set to TRUE the system will auto migrate
| to your latest migration (whatever $config['migration_version'] is
| set to). This way you do not have to call migrations anywhere else
| in your code to have the latest migration.
|
*/
$config['migration_auto_latest'] = FALSE;
/*
|--------------------------------------------------------------------------
| Migrations version
|--------------------------------------------------------------------------
|
| This is used to set migration version that the file system should be on.
| If you run $this->migration->current() this is the version that schema will
| be upgraded / downgraded to.
|
*/
$config['migration_version'] = 0;
/*
|--------------------------------------------------------------------------
| Migrations Path
|--------------------------------------------------------------------------
|
| Path to your migrations folder.
| Typically, it will be within your application path.
| Also, writing permission is required within the migrations path.
|
*/
$config['migration_path'] = APPPATH.'migrations/';

View File

@ -0,0 +1,183 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| MIME TYPES
| -------------------------------------------------------------------
| This file contains an array of mime types. It is used by the
| Upload class to help identify allowed file types.
|
*/
return array(
'hqx' => array('application/mac-binhex40', 'application/mac-binhex', 'application/x-binhex40', 'application/x-mac-binhex40'),
'cpt' => 'application/mac-compactpro',
'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'application/x-csv', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel', 'text/plain'),
'bin' => array('application/macbinary', 'application/mac-binary', 'application/octet-stream', 'application/x-binary', 'application/x-macbinary'),
'dms' => 'application/octet-stream',
'lha' => 'application/octet-stream',
'lzh' => 'application/octet-stream',
'exe' => array('application/octet-stream', 'application/x-msdownload'),
'class' => 'application/octet-stream',
'psd' => array('application/x-photoshop', 'image/vnd.adobe.photoshop'),
'so' => 'application/octet-stream',
'sea' => 'application/octet-stream',
'dll' => 'application/octet-stream',
'oda' => 'application/oda',
'pdf' => array('application/pdf', 'application/force-download', 'application/x-download', 'binary/octet-stream'),
'ai' => array('application/pdf', 'application/postscript'),
'eps' => 'application/postscript',
'ps' => 'application/postscript',
'smi' => 'application/smil',
'smil' => 'application/smil',
'mif' => 'application/vnd.mif',
'xls' => array('application/vnd.ms-excel', 'application/msexcel', 'application/x-msexcel', 'application/x-ms-excel', 'application/x-excel', 'application/x-dos_ms_excel', 'application/xls', 'application/x-xls', 'application/excel', 'application/download', 'application/vnd.ms-office', 'application/msword'),
'ppt' => array('application/powerpoint', 'application/vnd.ms-powerpoint', 'application/vnd.ms-office', 'application/msword'),
'pptx' => array('application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/x-zip', 'application/zip'),
'wbxml' => 'application/wbxml',
'wmlc' => 'application/wmlc',
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dxr' => 'application/x-director',
'dvi' => 'application/x-dvi',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'gzip' => 'application/x-gzip',
'php' => array('application/x-httpd-php', 'application/php', 'application/x-php', 'text/php', 'text/x-php', 'application/x-httpd-php-source'),
'php4' => 'application/x-httpd-php',
'php3' => 'application/x-httpd-php',
'phtml' => 'application/x-httpd-php',
'phps' => 'application/x-httpd-php-source',
'js' => array('application/x-javascript', 'text/plain'),
'swf' => 'application/x-shockwave-flash',
'sit' => 'application/x-stuffit',
'tar' => 'application/x-tar',
'tgz' => array('application/x-tar', 'application/x-gzip-compressed'),
'z' => 'application/x-compress',
'xhtml' => 'application/xhtml+xml',
'xht' => 'application/xhtml+xml',
'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed', 'application/s-compressed', 'multipart/x-zip'),
'rar' => array('application/x-rar', 'application/rar', 'application/x-rar-compressed'),
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mpga' => 'audio/mpeg',
'mp2' => 'audio/mpeg',
'mp3' => array('audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'),
'aif' => array('audio/x-aiff', 'audio/aiff'),
'aiff' => array('audio/x-aiff', 'audio/aiff'),
'aifc' => 'audio/x-aiff',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'ra' => 'audio/x-realaudio',
'rv' => 'video/vnd.rn-realvideo',
'wav' => array('audio/x-wav', 'audio/wave', 'audio/wav'),
'bmp' => array('image/bmp', 'image/x-bmp', 'image/x-bitmap', 'image/x-xbitmap', 'image/x-win-bitmap', 'image/x-windows-bmp', 'image/ms-bmp', 'image/x-ms-bmp', 'application/bmp', 'application/x-bmp', 'application/x-win-bitmap'),
'gif' => 'image/gif',
'jpeg' => array('image/jpeg', 'image/pjpeg'),
'jpg' => array('image/jpeg', 'image/pjpeg'),
'jpe' => array('image/jpeg', 'image/pjpeg'),
'jp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'j2k' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'jpf' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'jpg2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'jpx' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'jpm' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'mj2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'mjp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'png' => array('image/png', 'image/x-png'),
'tiff' => 'image/tiff',
'tif' => 'image/tiff',
'css' => array('text/css', 'text/plain'),
'html' => array('text/html', 'text/plain'),
'htm' => array('text/html', 'text/plain'),
'shtml' => array('text/html', 'text/plain'),
'txt' => 'text/plain',
'text' => 'text/plain',
'log' => array('text/plain', 'text/x-log'),
'rtx' => 'text/richtext',
'rtf' => 'text/rtf',
'xml' => array('application/xml', 'text/xml', 'text/plain'),
'xsl' => array('application/xml', 'text/xsl', 'text/xml'),
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'mpe' => 'video/mpeg',
'qt' => 'video/quicktime',
'mov' => 'video/quicktime',
'avi' => array('video/x-msvideo', 'video/msvideo', 'video/avi', 'application/x-troff-msvideo'),
'movie' => 'video/x-sgi-movie',
'doc' => array('application/msword', 'application/vnd.ms-office'),
'docx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword', 'application/x-zip'),
'dot' => array('application/msword', 'application/vnd.ms-office'),
'dotx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword'),
'xlsx' => array('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/zip', 'application/vnd.ms-excel', 'application/msword', 'application/x-zip'),
'word' => array('application/msword', 'application/octet-stream'),
'xl' => 'application/excel',
'eml' => 'message/rfc822',
'json' => array('application/json', 'text/json'),
'pem' => array('application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'),
'p10' => array('application/x-pkcs10', 'application/pkcs10'),
'p12' => 'application/x-pkcs12',
'p7a' => 'application/x-pkcs7-signature',
'p7c' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'),
'p7m' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'),
'p7r' => 'application/x-pkcs7-certreqresp',
'p7s' => 'application/pkcs7-signature',
'crt' => array('application/x-x509-ca-cert', 'application/x-x509-user-cert', 'application/pkix-cert'),
'crl' => array('application/pkix-crl', 'application/pkcs-crl'),
'der' => 'application/x-x509-ca-cert',
'kdb' => 'application/octet-stream',
'pgp' => 'application/pgp',
'gpg' => 'application/gpg-keys',
'sst' => 'application/octet-stream',
'csr' => 'application/octet-stream',
'rsa' => 'application/x-pkcs7',
'cer' => array('application/pkix-cert', 'application/x-x509-ca-cert'),
'3g2' => 'video/3gpp2',
'3gp' => array('video/3gp', 'video/3gpp'),
'mp4' => 'video/mp4',
'm4a' => 'audio/x-m4a',
'f4v' => array('video/mp4', 'video/x-f4v'),
'flv' => 'video/x-flv',
'webm' => 'video/webm',
'aac' => 'audio/x-acc',
'm4u' => 'application/vnd.mpegurl',
'm3u' => 'text/plain',
'xspf' => 'application/xspf+xml',
'vlc' => 'application/videolan',
'wmv' => array('video/x-ms-wmv', 'video/x-ms-asf'),
'au' => 'audio/x-au',
'ac3' => 'audio/ac3',
'flac' => 'audio/x-flac',
'ogg' => array('audio/ogg', 'video/ogg', 'application/ogg'),
'kmz' => array('application/vnd.google-earth.kmz', 'application/zip', 'application/x-zip'),
'kml' => array('application/vnd.google-earth.kml+xml', 'application/xml', 'text/xml'),
'ics' => 'text/calendar',
'ical' => 'text/calendar',
'zsh' => 'text/x-scriptzsh',
'7zip' => array('application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'),
'cdr' => array('application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'),
'wma' => array('audio/x-ms-wma', 'video/x-ms-asf'),
'jar' => array('application/java-archive', 'application/x-java-application', 'application/x-jar', 'application/x-compressed'),
'svg' => array('image/svg+xml', 'application/xml', 'text/xml'),
'vcf' => 'text/x-vcard',
'srt' => array('text/srt', 'text/plain'),
'vtt' => array('text/vtt', 'text/plain'),
'ico' => array('image/x-icon', 'image/x-ico', 'image/vnd.microsoft.icon'),
'odc' => 'application/vnd.oasis.opendocument.chart',
'otc' => 'application/vnd.oasis.opendocument.chart-template',
'odf' => 'application/vnd.oasis.opendocument.formula',
'otf' => 'application/vnd.oasis.opendocument.formula-template',
'odg' => 'application/vnd.oasis.opendocument.graphics',
'otg' => 'application/vnd.oasis.opendocument.graphics-template',
'odi' => 'application/vnd.oasis.opendocument.image',
'oti' => 'application/vnd.oasis.opendocument.image-template',
'odp' => 'application/vnd.oasis.opendocument.presentation',
'otp' => 'application/vnd.oasis.opendocument.presentation-template',
'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
'odt' => 'application/vnd.oasis.opendocument.text',
'odm' => 'application/vnd.oasis.opendocument.text-master',
'ott' => 'application/vnd.oasis.opendocument.text-template',
'oth' => 'application/vnd.oasis.opendocument.text-web'
);

View File

@ -0,0 +1,14 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Profiler Sections
| -------------------------------------------------------------------------
| This file lets you determine whether or not various sections of Profiler
| data are displayed when the Profiler is enabled.
| Please see the user guide for info:
|
| https://codeigniter.com/user_guide/general/profiling.html
|
*/

View File

@ -0,0 +1,113 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
| example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
| https://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There are three reserved routes:
|
| $route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
| $route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router which controller/method to use if those
| provided in the URL cannot be matched to a valid route.
|
| $route['translate_uri_dashes'] = FALSE;
|
| This is not exactly a route, but allows you to automatically route
| controller and method names that contain dashes. '-' isn't a valid
| class or method name character, so it requires translation.
| When you set this option to TRUE, it will replace ALL dashes in the
| controller and method URI segments.
|
| Examples: my-controller/index -> my_controller/index
| my-controller/my-method -> my_controller/my_method
*/
$route['default_controller'] = 'Registration';
$route['404_override'] = '';
$route['translate_uri_dashes'] = TRUE;
/*Admin Route */
/*Admin Pages */
$route['admin'] = 'admin/admin';
$route['admin/dashboard'] = 'admin/admin/dashboard';
$route['admin/class-name'] = 'admin/classsetting/cl_name';
$route['admin/class-locations'] = 'admin/classsetting/cl_locations';
$route['admin/class-instructors'] = 'admin/classsetting/cl_instructors';
$route['admin/create-class'] = 'admin/createclass/cl_create';
$route['admin/admin-user'] = 'admin/user/admin_user';
/*Admin Controls */
$route['admin/logout'] = 'admin/admin/logout';
/* Class Settings */
$route['admin/class-manage'] = 'admin/Createclass/manage_create';
$route['admin/class-name-edit/(:num)'] = 'admin/classsetting/return_class/$1';
$route['admin/class-locations-edit/(:num)'] = 'admin/classsetting/return_location/$1';
$route['admin/class-instructors-edit/(:num)'] = 'admin/classsetting/return_instructors/$1';
$route['admin/class-name-delete/(:num)'] = 'admin/classsetting/delete_class/$1';
$route['admin/class-locations-delete/(:num)'] = 'admin/classsetting/delete_location/$1';
$route['admin/class-instructors-delete/(:num)'] = 'admin/classsetting/delete_instructors/$1';
/* End Class Settings */
/* Create Class */
$route['admin/create-class-edit/(:num)'] = 'admin/Createclass/return_form/$1';
$route['admin/create-class-delete/(:num)'] = 'admin/Createclass/delete_form/$1';
/* End Create Class */
/* Admin User */
$route['admin/admin-user-edit/(:num)'] = 'admin/user/return_user/$1';
$route['admin/admin-user-delete/(:num)'] = 'admin/user/delete_user/$1';
$route['admin/view-order/(:num)/(:num)'] = 'admin/orderlist/review_orderList/$1/$2';
/* End Admin User */
/* Order List */
$route['admin/order-list'] = 'admin/orderlist/list_order';
$route['admin/order-list/(:num)'] = 'admin/orderlist/list_order/$1';
$route['order-delete/(:num)'] = 'admin/orderlist/delete_list/$1';
$route['admin/order-search'] = 'admin/orderlist/order_search';
$route['order-paid/(:num)'] = 'admin/orderlist/update_status/$1';
/* End Order List */
/*End Admin Route */
/*Front Route */
$route['reg-class'] = 'registration';
$route['loc-class/(:num)'] = 'registration/index/$1';
$route['reg-manage'] = 'registration/manage_reg';
$route['review-order'] = 'review/review_order';
$route['order-payment'] = 'payment';
$route['hosted-payment'] = 'payment/payment_order';
$route['order-confirm'] = 'payment/confirm';
$route['remove-data/(:any)/(:any)/(:any)/(:any)'] = 'registration/unset_fn/$1/$2/$3/$4';
$route['reset-page'] = 'registration/reset_fn';
/*End Front Route */
//

View File

@ -0,0 +1,64 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| SMILEYS
| -------------------------------------------------------------------
| This file contains an array of smileys for use with the emoticon helper.
| Individual images can be used to replace multiple smileys. For example:
| :-) and :) use the same image replacement.
|
| Please see user guide for more info:
| https://codeigniter.com/user_guide/helpers/smiley_helper.html
|
*/
$smileys = array(
// smiley image name width height alt
':-)' => array('grin.gif', '19', '19', 'grin'),
':lol:' => array('lol.gif', '19', '19', 'LOL'),
':cheese:' => array('cheese.gif', '19', '19', 'cheese'),
':)' => array('smile.gif', '19', '19', 'smile'),
';-)' => array('wink.gif', '19', '19', 'wink'),
';)' => array('wink.gif', '19', '19', 'wink'),
':smirk:' => array('smirk.gif', '19', '19', 'smirk'),
':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'),
':-S' => array('confused.gif', '19', '19', 'confused'),
':wow:' => array('surprise.gif', '19', '19', 'surprised'),
':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'),
':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'),
'%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'),
';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'),
':P' => array('raspberry.gif', '19', '19', 'raspberry'),
':blank:' => array('blank.gif', '19', '19', 'blank stare'),
':long:' => array('longface.gif', '19', '19', 'long face'),
':ohh:' => array('ohh.gif', '19', '19', 'ohh'),
':grrr:' => array('grrr.gif', '19', '19', 'grrr'),
':gulp:' => array('gulp.gif', '19', '19', 'gulp'),
'8-/' => array('ohoh.gif', '19', '19', 'oh oh'),
':down:' => array('downer.gif', '19', '19', 'downer'),
':red:' => array('embarrassed.gif', '19', '19', 'red face'),
':sick:' => array('sick.gif', '19', '19', 'sick'),
':shut:' => array('shuteye.gif', '19', '19', 'shut eye'),
':-/' => array('hmm.gif', '19', '19', 'hmmm'),
'>:(' => array('mad.gif', '19', '19', 'mad'),
':mad:' => array('mad.gif', '19', '19', 'mad'),
'>:-(' => array('angry.gif', '19', '19', 'angry'),
':angry:' => array('angry.gif', '19', '19', 'angry'),
':zip:' => array('zip.gif', '19', '19', 'zipper'),
':kiss:' => array('kiss.gif', '19', '19', 'kiss'),
':ahhh:' => array('shock.gif', '19', '19', 'shock'),
':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'),
':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'),
':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'),
':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'),
':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'),
':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'),
':vampire:' => array('vampire.gif', '19', '19', 'vampire'),
':snake:' => array('snake.gif', '19', '19', 'snake'),
':exclaim:' => array('exclaim.gif', '19', '19', 'exclaim'),
':question:' => array('question.gif', '19', '19', 'question')
);

View File

@ -0,0 +1,214 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| USER AGENT TYPES
| -------------------------------------------------------------------
| This file contains four arrays of user agent data. It is used by the
| User Agent Class to help identify browser, platform, robot, and
| mobile device data. The array keys are used to identify the device
| and the array values are used to set the actual name of the item.
*/
$platforms = array(
'windows nt 10.0' => 'Windows 10',
'windows nt 6.3' => 'Windows 8.1',
'windows nt 6.2' => 'Windows 8',
'windows nt 6.1' => 'Windows 7',
'windows nt 6.0' => 'Windows Vista',
'windows nt 5.2' => 'Windows 2003',
'windows nt 5.1' => 'Windows XP',
'windows nt 5.0' => 'Windows 2000',
'windows nt 4.0' => 'Windows NT 4.0',
'winnt4.0' => 'Windows NT 4.0',
'winnt 4.0' => 'Windows NT',
'winnt' => 'Windows NT',
'windows 98' => 'Windows 98',
'win98' => 'Windows 98',
'windows 95' => 'Windows 95',
'win95' => 'Windows 95',
'windows phone' => 'Windows Phone',
'windows' => 'Unknown Windows OS',
'android' => 'Android',
'blackberry' => 'BlackBerry',
'iphone' => 'iOS',
'ipad' => 'iOS',
'ipod' => 'iOS',
'os x' => 'Mac OS X',
'ppc mac' => 'Power PC Mac',
'freebsd' => 'FreeBSD',
'ppc' => 'Macintosh',
'linux' => 'Linux',
'debian' => 'Debian',
'sunos' => 'Sun Solaris',
'beos' => 'BeOS',
'apachebench' => 'ApacheBench',
'aix' => 'AIX',
'irix' => 'Irix',
'osf' => 'DEC OSF',
'hp-ux' => 'HP-UX',
'netbsd' => 'NetBSD',
'bsdi' => 'BSDi',
'openbsd' => 'OpenBSD',
'gnu' => 'GNU/Linux',
'unix' => 'Unknown Unix OS',
'symbian' => 'Symbian OS'
);
// The order of this array should NOT be changed. Many browsers return
// multiple browser types so we want to identify the sub-type first.
$browsers = array(
'OPR' => 'Opera',
'Flock' => 'Flock',
'Edge' => 'Spartan',
'Chrome' => 'Chrome',
// Opera 10+ always reports Opera/9.80 and appends Version/<real version> to the user agent string
'Opera.*?Version' => 'Opera',
'Opera' => 'Opera',
'MSIE' => 'Internet Explorer',
'Internet Explorer' => 'Internet Explorer',
'Trident.* rv' => 'Internet Explorer',
'Shiira' => 'Shiira',
'Firefox' => 'Firefox',
'Chimera' => 'Chimera',
'Phoenix' => 'Phoenix',
'Firebird' => 'Firebird',
'Camino' => 'Camino',
'Netscape' => 'Netscape',
'OmniWeb' => 'OmniWeb',
'Safari' => 'Safari',
'Mozilla' => 'Mozilla',
'Konqueror' => 'Konqueror',
'icab' => 'iCab',
'Lynx' => 'Lynx',
'Links' => 'Links',
'hotjava' => 'HotJava',
'amaya' => 'Amaya',
'IBrowse' => 'IBrowse',
'Maxthon' => 'Maxthon',
'Ubuntu' => 'Ubuntu Web Browser'
);
$mobiles = array(
// legacy array, old values commented out
'mobileexplorer' => 'Mobile Explorer',
// 'openwave' => 'Open Wave',
// 'opera mini' => 'Opera Mini',
// 'operamini' => 'Opera Mini',
// 'elaine' => 'Palm',
'palmsource' => 'Palm',
// 'digital paths' => 'Palm',
// 'avantgo' => 'Avantgo',
// 'xiino' => 'Xiino',
'palmscape' => 'Palmscape',
// 'nokia' => 'Nokia',
// 'ericsson' => 'Ericsson',
// 'blackberry' => 'BlackBerry',
// 'motorola' => 'Motorola'
// Phones and Manufacturers
'motorola' => 'Motorola',
'nokia' => 'Nokia',
'palm' => 'Palm',
'iphone' => 'Apple iPhone',
'ipad' => 'iPad',
'ipod' => 'Apple iPod Touch',
'sony' => 'Sony Ericsson',
'ericsson' => 'Sony Ericsson',
'blackberry' => 'BlackBerry',
'cocoon' => 'O2 Cocoon',
'blazer' => 'Treo',
'lg' => 'LG',
'amoi' => 'Amoi',
'xda' => 'XDA',
'mda' => 'MDA',
'vario' => 'Vario',
'htc' => 'HTC',
'samsung' => 'Samsung',
'sharp' => 'Sharp',
'sie-' => 'Siemens',
'alcatel' => 'Alcatel',
'benq' => 'BenQ',
'ipaq' => 'HP iPaq',
'mot-' => 'Motorola',
'playstation portable' => 'PlayStation Portable',
'playstation 3' => 'PlayStation 3',
'playstation vita' => 'PlayStation Vita',
'hiptop' => 'Danger Hiptop',
'nec-' => 'NEC',
'panasonic' => 'Panasonic',
'philips' => 'Philips',
'sagem' => 'Sagem',
'sanyo' => 'Sanyo',
'spv' => 'SPV',
'zte' => 'ZTE',
'sendo' => 'Sendo',
'nintendo dsi' => 'Nintendo DSi',
'nintendo ds' => 'Nintendo DS',
'nintendo 3ds' => 'Nintendo 3DS',
'wii' => 'Nintendo Wii',
'open web' => 'Open Web',
'openweb' => 'OpenWeb',
// Operating Systems
'android' => 'Android',
'symbian' => 'Symbian',
'SymbianOS' => 'SymbianOS',
'elaine' => 'Palm',
'series60' => 'Symbian S60',
'windows ce' => 'Windows CE',
// Browsers
'obigo' => 'Obigo',
'netfront' => 'Netfront Browser',
'openwave' => 'Openwave Browser',
'mobilexplorer' => 'Mobile Explorer',
'operamini' => 'Opera Mini',
'opera mini' => 'Opera Mini',
'opera mobi' => 'Opera Mobile',
'fennec' => 'Firefox Mobile',
// Other
'digital paths' => 'Digital Paths',
'avantgo' => 'AvantGo',
'xiino' => 'Xiino',
'novarra' => 'Novarra Transcoder',
'vodafone' => 'Vodafone',
'docomo' => 'NTT DoCoMo',
'o2' => 'O2',
// Fallback
'mobile' => 'Generic Mobile',
'wireless' => 'Generic Mobile',
'j2me' => 'Generic Mobile',
'midp' => 'Generic Mobile',
'cldc' => 'Generic Mobile',
'up.link' => 'Generic Mobile',
'up.browser' => 'Generic Mobile',
'smartphone' => 'Generic Mobile',
'cellphone' => 'Generic Mobile'
);
// There are hundreds of bots but these are the most common.
$robots = array(
'googlebot' => 'Googlebot',
'msnbot' => 'MSNBot',
'baiduspider' => 'Baiduspider',
'bingbot' => 'Bing',
'slurp' => 'Inktomi Slurp',
'yahoo' => 'Yahoo',
'ask jeeves' => 'Ask Jeeves',
'fastcrawler' => 'FastCrawler',
'infoseek' => 'InfoSeek Robot 1.0',
'lycos' => 'Lycos',
'yandex' => 'YandexBot',
'mediapartners-google' => 'MediaPartners Google',
'CRAZYWEBCRAWLER' => 'Crazy Webcrawler',
'adsbot-google' => 'AdsBot Google',
'feedfetcher-google' => 'Feedfetcher Google',
'curious george' => 'Curious George',
'ia_archiver' => 'Alexa Crawler',
'MJ12bot' => 'Majestic-12',
'Uptimebot' => 'Uptimebot'
);

View File

@ -0,0 +1,282 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Payment extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->helper('url');
$this->load->helper('form');
$this->load->library('form_validation');
$this->load->model('Index_model');
}
public function index()
{
if(empty($this->session->userdata('cart')))
{
redirect(base_url());
}
else
{
$this->load->view("front/payment");
}
}
public function confirm()
{
$this->session->sess_destroy();
$this->load->view("front/confirm");
}
public function payment_order()
{
$cardsplit = str_split($this->input->post('card_number'));
$ssl_customer_code = $cardsplit[12].$cardsplit[13].$cardsplit[14].$cardsplit[15];
$ssl_invoice_number = $this->input->post('billing_contact').time();
$ssl_transaction_type = "ccsale";
$ssl_cvv2cvc2_indicator = 1;
$country = "USA";
$fields = array(
"ssl_merchant_id" => "500693",
"ssl_user_id" => "webpage",
"ssl_pin" => "MX0MD3",
"ssl_transaction_type" => urlencode($ssl_transaction_type),
"ssl_show_form" => "false",
"ssl_cvv2cvc2_indicator" => urlencode($ssl_cvv2cvc2_indicator), //0=Bypassed; 1=present; 2=Illegible; 9=Not Present.
"ssl_salestax" => "0",
"ssl_result_format" => "html",
"ssl_test_mode" => "false",
"ssl_receipt_apprvl_method" => "redg", // sends to page with long data string url
//"ssl_receipt_apprvl_method" => "link", // just posts receipt with link at bottom
"ssl_receipt_link_url" => "http://abc.mydataboxx.com/order-confirm",
"ssl_error_url" => "http://abc.mydataboxx.com/order-confirm",
//submitted details
"ssl_invoice_number" => urlencode($ssl_invoice_number),
"ssl_customer_code" => urlencode($ssl_customer_code),
"ssl_first_name" => urlencode($this->input->post('company_name')),
"ssl_last_name" => urlencode($this->input->post('billing_contact')),
"ssl_avs_address" => urlencode($this->input->post('street_adrs')),
"ssl_address2" => urlencode($this->input->post('customer_id')),
"ssl_avs_zip" => urlencode($this->input->post('post_code')),
"ssl_state" => urlencode($this->input->post('state')),
"ssl_city" => urlencode($this->input->post('city_name')),
"ssl_country" => urlencode($country),
"ssl_phone" => urlencode($this->input->post('phone_no')),
"ssl_email" => urlencode($this->input->post('emai_id')),
"ssl_card_number" => urlencode($this->input->post('card_number')),
"ssl_exp_date" => urlencode($this->input->post('exp_month').$this->input->post('exp_year')),
"ssl_cvv2cvc2" => urlencode($this->input->post('cvv_code')),
"ssl_amount" => urlencode($this->session->userdata('granttotal'))
);
$url = "https://api.demo.convergepay.com/VirtualMerchantDemo/process.do";
//initialize the post string variable
$fields_string = '';
//build the post string
foreach($fields as $key=>$value) { $fields_string .=$key.'='.$value.'&'; }
rtrim($fields_string, "&");
//open curl session
$ch = curl_init();
//begin seting curl options
//set URL
curl_setopt($ch, CURLOPT_URL, $url); //set method
curl_setopt($ch, CURLOPT_POST, 1);
//set post data string
curl_setopt($ch, CURLOPT_POSTFIELDS, $fields_string);
//these two options are frequently necessary to avoid SSL errors with PHP
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
//perform the curl post and store the result
$result = curl_exec($ch);
//close the curl session
curl_close($ch);
//a nice message to prevent people from seeing a blank screen
echo "Processing, please wait...";
//print_r($result);
$masterdata = array('reg_date'=>date("Y-m-d"),
'reg_total'=>$this->session->userdata('granttotal'),
'reg_class_count'=>count($this->session->userdata('cart')),
'payment_type'=>$this->input->post('payment_type'),
'card_holder_name'=>$this->input->post('card_holder_name'),
'card_number'=>$this->input->post('card_number'),
'card_type'=>$this->input->post('card_type'),
'exp_month'=>$this->input->post('exp_month'),
'exp_year'=>$this->input->post('exp_year'),
'cvv_code'=>$this->input->post('cvv_code'),
'company_name'=>$this->input->post('company_name'),
'billing_contact'=>$this->input->post('billing_contact'),
'customer_id'=>$this->input->post('customer_id'),
'street_adrs'=>$this->input->post('street_adrs'),
'city_name'=>$this->input->post('city_name'),
'state'=>$this->input->post('state'),
'post_code'=>$this->input->post('post_code'),
'phone_no'=>$this->input->post('phone_no'),
'fax_no'=>$this->input->post('fax_no'),
'adtnal_instrction'=>$this->input->post('adtnal_instrction'),
'details'=>$this->input->post('details'),
'email_id'=>$this->input->post('emai_id'),
'status'=>'unpaid');
$regid = $this->Index_model->regmaster($masterdata);
if($regid)
{
$attotal = 0;
$cart = $this->session->userdata('cart');/*Cart Session*/
foreach ($cart as $cartcount => $form)
{
$mcount = $this->session->userdata('mcount'.$form);
$mpluscount = $this->session->userdata('mpluscount'.$form);
$ncount = $this->session->userdata('ncount'.$form);
$npluscount = $this->session->userdata('npluscount'.$form);
$scount = $this->session->userdata('scount'.$form);
$attcount = ($mcount + $mpluscount + $ncount + $npluscount + $scount); /*Attendee Count*/
$classdata = array('reg_id'=>$regid,'form_id'=>$form,
'att_count'=>$attcount,
'regclass_total_price'=>$this->session->userdata('classtotal'.$form));
$classform = $this->Index_model->returnclass($form);
$remainseats = $classform->remain_seats-$attcount;
$this->Index_model->remainclass($remainseats,$form);
$regclassid = $this->Index_model->classdata($classdata);
$classform = $this->session->userdata('classform'.$form);
foreach ($classform as $formcount => $data)
{
$mprice = $data['class_price_m'];
$mplusprice = $data['class_price_m2'];
$nprice = $data['class_price_n'];
$nplusprice = $data['class_price_n2'];
$sprice = $data['class_price_s'];
}
if($regclassid)
{
$attmcount = 0;
$attmpcount = 0;
$attncount = 0;
$attnpcount = 0;
$attscount = 0;
$member = $this->session->userdata('member'.$form);
if (!empty($member) || isset($member['M']))
{
foreach ($member['M'] as $key => $val)
{
$attendedata = array(
'reg_id'=>$regid,
'regclass_id'=>$regclassid,
'reg_m_type'=>'M',
'att_f_name'=>isset($val['first_name'])? $val['first_name'] : '',
'att_l_name'=>isset($val['last_name'])? $val['last_name'] : '',
'att_email'=>isset($val['email_id'])? $val['email_id'] : '',
'att_number'=>isset($val['phone_no'])? $val['phone_no'] : '',
'att_ssn'=>isset($val['ssn'])? $val['ssn'] : '',
'att_price'=>$mprice );
$data = $this->Index_model->attendedata($attendedata);
$attmcount+=1;
}
}
$memplus = $this->session->userdata('memplus'.$form);
if (!empty($memplus) || isset($memplus['M2']))
{
foreach ($memplus['M2'] as $key => $val)
{
$attendedata = array(
'reg_id'=>$regid,
'regclass_id'=>$regclassid,
'reg_m_type'=>'M2',
'att_f_name'=>isset($val['first_name'])? $val['first_name'] : '',
'att_l_name'=>isset($val['last_name'])? $val['last_name'] : '',
'att_email'=>isset($val['email_id'])? $val['email_id'] : '',
'att_number'=>isset($val['phone_no'])? $val['phone_no'] : '',
'att_ssn'=>isset($val['ssn'])? $val['ssn'] : '',
'att_price'=>$mplusprice );
$data = $this->Index_model->attendedata($attendedata);
$attmpcount+=1;
}
}
$nonmember = $this->session->userdata('nonmember'.$form);
if (!empty($nonmember) || isset($nonmember['N']))
{
foreach ($nonmember['N'] as $key => $val)
{
$attendedata = array(
'reg_id'=>$regid,
'regclass_id'=>$regclassid,
'reg_m_type'=>'N',
'att_f_name'=>isset($val['first_name'])? $val['first_name'] : '',
'att_l_name'=>isset($val['last_name'])? $val['last_name'] : '',
'att_email'=>isset($val['email_id'])? $val['email_id'] : '',
'att_number'=>isset($val['phone_no'])? $val['phone_no'] : '',
'att_ssn'=>isset($val['ssn'])? $val['ssn'] : '',
'att_price'=>$nprice );
$data = $this->Index_model->attendedata($attendedata);
$attncount+=1;
}
}
$nonplus = $this->session->userdata('nonplus'.$form);
if (!empty($nonplus) || isset($nonplus['N2']))
{
foreach ($nonplus['N2'] as $key => $val)
{
$attendedata = array(
'reg_id'=>$regid,
'regclass_id'=>$regclassid,
'reg_m_type'=>'N2',
'att_f_name'=>isset($val['first_name'])? $val['first_name'] : '',
'att_l_name'=>isset($val['last_name'])? $val['last_name'] : '',
'att_email'=>isset($val['email_id'])? $val['email_id'] : '',
'att_number'=>isset($val['phone_no'])? $val['phone_no'] : '',
'att_ssn'=>isset($val['ssn'])? $val['ssn'] : '',
'att_price'=>$nplusprice );
$data = $this->Index_model->attendedata($attendedata);
$attnpcount+=1;
}
}
$semember = $this->session->userdata('semember'.$form);
if (!empty($semember) || isset($semember['S']))
{
foreach ($semember['S'] as $key => $val)
{
$attendedata = array(
'reg_id'=>$regid,
'regclass_id'=>$regclassid,
'reg_m_type'=>'S',
'att_f_name'=>isset($val['first_name'])? $val['first_name'] : '',
'att_l_name'=>isset($val['last_name'])? $val['last_name'] : '',
'att_email'=>isset($val['email_id'])? $val['email_id'] : '',
'att_number'=>isset($val['phone_no'])? $val['phone_no'] : '',
'att_ssn'=>isset($val['ssn'])? $val['ssn'] : '',
'att_price'=>$sprice );
$data = $this->Index_model->attendedata($attendedata);
$attscount+=1;
}
}
}
$attotal+= $attmcount + $attmpcount + $attncount + $attnpcount + $attscount; /*Attendee Total Count*/
}
$this->Index_model->attotal($attotal,$regid);
$this->session->set_flashdata('success_msg','Your Order Has Been Completed Successfully.');
redirect('order-confirm');
}
else
{
$this->session->set_flashdata('error_msg','Something Wrong Happen..! Register Again.');
redirect('order-confirm');
}
}
}
?>

View File

@ -0,0 +1,361 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Registration extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->helper('url');
$this->load->helper('form');
$this->load->library('form_validation');
$this->load->library('session');
$this->load->model('Index_model');
}
public function index($locat_id=NULL)
{
$data['reg_location']=$this->Index_model->reg_location();
$first_locat=$this->Index_model->first_location();
$data['first_loc']=$first_locat->locat_id;
if($locat_id)
{
$loc = $locat_id;
}
else
{
$loc = $first_locat->locat_id;
}
$data['reg_class']=$this->Index_model->reg_class($loc);
$this->load->view('front/index',$data);
}
public function reset_fn()
{
$this->session->sess_destroy();
redirect(base_url());
}
public function unset_fn($form,$key,$price,$type)
{
if($type=='M')
{
$member = $this->session->userdata('member'.$form);
foreach ($member as $count => $subArr) {
unset($member[$count][$key]);
}
$this->session->set_userdata('member'.$form,$member);
$classtotal = $this->session->userdata('classtotal'.$form);
$currentp = $classtotal - $price;
$this->session->set_userdata('classtotal'.$form,$currentp);
}
elseif($type=='M2')
{
$memplus = $this->session->userdata('memplus'.$form);
foreach ($memplus as $count => $subArr) {
unset($memplus[$count][$key]);
}
$this->session->set_userdata('memplus'.$form,$memplus);
$classtotal = $this->session->userdata('classtotal'.$form);
$currentp = $classtotal - $price;
$this->session->set_userdata('classtotal'.$form,$currentp);
}
elseif ($type=='N')
{
$nonmember = $this->session->userdata('nonmember'.$form);
foreach ($nonmember as $count => $subArr) {
unset($nonmember[$count][$key]);
}
$this->session->set_userdata('nonmember'.$form,$nonmember);
$classtotal = $this->session->userdata('classtotal'.$form);
$currentp = $classtotal - $price;
$this->session->set_userdata('classtotal'.$form,$currentp);
}
elseif ($type=='N2')
{
$nonplus = $this->session->userdata('nonplus'.$form);
foreach ($nonplus as $count => $subArr) {
unset($nonplus[$count][$key]);
}
$this->session->set_userdata('nonplus'.$form,$nonplus);
$classtotal = $this->session->userdata('classtotal'.$form);
$currentp = $classtotal - $price;
$this->session->set_userdata('classtotal'.$form,$currentp);
}
elseif ($type=='S')
{
$semember = $this->session->userdata('semember'.$form);
foreach ($semember as $count => $subArr) {
unset($semember[$count][$key]);
}
$this->session->set_userdata('semember'.$form,$semember);
$classtotal = $this->session->userdata('classtotal'.$form);
$currentp = $classtotal - $price;
$this->session->set_userdata('classtotal'.$form,$currentp);
}
$urlcheck = $this->session->userdata('urlcheck');
if($urlcheck)
{
redirect('loc-class/'.$urlcheck);
}else{
redirect(base_url());
}
}
public function manage_reg()
{
$form_class = $this->input->post('form_class');
if(!empty($form_class))
{
foreach ($form_class as $form)
{
if (!empty($this->input->post('m_first_name_'.$form)) || isset($this->input->post('m_first_name_'.$form)['m_first_name_'.$form]))
{
foreach ($this->input->post('m_first_name_'.$form) as $mnamecount => $value)
{
if (!empty($value))
{
$member[$form]['M'][$mnamecount]['first_name'] = $value;
}
}
foreach ($this->input->post('m_last_name_'.$form) as $mnamecount => $value)
{
if (!empty($value))
{
$member[$form]['M'][$mnamecount]['last_name'] = $value;
}
}
foreach ($this->input->post('m_email_id_'.$form) as $mnamecount => $value)
{
if (!empty($value))
{
$member[$form]['M'][$mnamecount]['email_id'] = $value;
}
}
foreach ($this->input->post('m_phone_no_'.$form) as $mnamecount => $value)
{
if (!empty($value))
{
$member[$form]['M'][$mnamecount]['phone_no'] = $value;
}
}
foreach ($this->input->post('m_ssn_'.$form) as $mnamecount => $value)
{
if (!empty($value))
{
$member[$form]['M'][$mnamecount]['ssn'] = $value;
}
}
if(!empty($member))
{
$this->session->set_userdata('member'.$form,$member[$form]); /* Session Of Member */
}
else { $m = 0; }
}
if (!empty($this->input->post('mp_first_name_'.$form)) || isset($this->input->post('mp_first_name_'.$form)['mp_first_name_'.$form]))
{
foreach ($this->input->post('mp_first_name_'.$form) as $mplusnmeount => $value)
{
if (!empty($value))
{
$memplus[$form]['M2'][$mplusnmeount]['first_name'] = $value;
}
}
foreach ($this->input->post('mp_last_name_'.$form) as $mplusnmeount => $value)
{
if (!empty($value))
{
$memplus[$form]['M2'][$mplusnmeount]['last_name'] = $value;
}
}
foreach ($this->input->post('mp_email_id_'.$form) as $mplusnmeount => $value)
{
if (!empty($value))
{
$memplus[$form]['M2'][$mplusnmeount]['email_id'] = $value;
}
}
foreach ($this->input->post('mp_phone_no_'.$form) as $mplusnmeount => $value)
{
if (!empty($value))
{
$memplus[$form]['M2'][$mplusnmeount]['phone_no'] = $value;
}
}
foreach ($this->input->post('mp_ssn_'.$form) as $mplusnmeount => $value)
{
if (!empty($value))
{
$memplus[$form]['M2'][$mplusnmeount]['ssn'] = $value;
}
}
if(!empty($memplus))
{
$this->session->set_userdata('memplus'.$form,$memplus[$form]); /* Session Of Member 2+ */
}
else { $mp = 0; }
}
if (!empty($this->input->post('n_first_name_'.$form)) || isset($this->input->post('n_first_name_'.$form)['n_first_name_'.$form]))
{
foreach ($this->input->post('n_first_name_'.$form) as $nnamecount => $value)
{
if (!empty($value))
{
$nonmember[$form]['N'][$nnamecount]['first_name'] = $value;
}
}
foreach ($this->input->post('n_last_name_'.$form) as $nnamecount => $value)
{
if (!empty($value))
{
$nonmember[$form]['N'][$nnamecount]['last_name'] = $value;
}
}
foreach ($this->input->post('n_email_id_'.$form) as $nnamecount => $value)
{
if (!empty($value))
{
$nonmember[$form]['N'][$nnamecount]['email_id'] = $value;
}
}
foreach ($this->input->post('n_phone_no_'.$form) as $nnamecount => $value)
{
if (!empty($value))
{
$nonmember[$form]['N'][$nnamecount]['phone_no'] = $value;
}
}
foreach ($this->input->post('n_ssn_'.$form) as $nnamecount => $value)
{
if (!empty($value))
{
$nonmember[$form]['N'][$nnamecount]['ssn'] = $value;
}
}
if(!empty($nonmember))
{
$this->session->set_userdata('nonmember'.$form,$nonmember[$form]); /* Session Of Non Member */
}
else { $n = 0; }
}
if (!empty($this->input->post('np_first_name_'.$form)) || isset($this->input->post('np_first_name_'.$form)['np_first_name_'.$form]))
{
foreach ($this->input->post('np_first_name_'.$form) as $nplusnmeount => $value)
{
if (!empty($value))
{
$nonplus[$form]['N2'][$nplusnmeount]['first_name'] = $value;
}
}
foreach ($this->input->post('np_last_name_'.$form) as $nplusnmeount => $value)
{
if (!empty($value))
{
$nonplus[$form]['N2'][$nplusnmeount]['last_name'] = $value;
}
}
foreach ($this->input->post('np_email_id_'.$form) as $nplusnmeount => $value)
{
if (!empty($value))
{
$nonplus[$form]['N2'][$nplusnmeount]['email_id'] = $value;
}
}
foreach ($this->input->post('np_phone_no_'.$form) as $nplusnmeount => $value)
{
if (!empty($value))
{
$nonplus[$form]['N2'][$nplusnmeount]['phone_no'] = $value;
}
}
foreach ($this->input->post('np_ssn_'.$form) as $nplusnmeount => $value)
{
if (!empty($value))
{
$nonplus[$form]['N2'][$nplusnmeount]['ssn'] = $value;
}
}
if(!empty($nonplus))
{
$this->session->set_userdata('nonplus'.$form,$nonplus[$form]); /* Session Of Non Member 2+*/
}
else { $np = 0; }
}
if (!empty($this->input->post('s_first_name_'.$form)) || isset($this->input->post('s_first_name_'.$form)['s_first_name_'.$form]))
{
foreach ($this->input->post('s_first_name_'.$form) as $snamecount => $value)
{
if (!empty($value))
{
$semember[$form]['S'][$snamecount]['first_name'] = $value;
}
}
foreach ($this->input->post('s_last_name_'.$form) as $snamecount => $value)
{
if (!empty($value))
{
$semember[$form]['S'][$snamecount]['last_name'] = $value;
}
}
foreach ($this->input->post('s_email_id_'.$form) as $snamecount => $value)
{
if (!empty($value))
{
$semember[$form]['S'][$snamecount]['email_id'] = $value;
}
}
foreach ($this->input->post('s_phone_no_'.$form) as $snamecount => $value)
{
if (!empty($value))
{
$semember[$form]['S'][$snamecount]['phone_no'] = $value;
}
}
foreach ($this->input->post('s_ssn_'.$form) as $snamecount => $value)
{
if (!empty($value))
{
$semember[$form]['S'][$snamecount]['ssn'] = $value;
}
}
if(!empty($semember))
{
$this->session->set_userdata('semember'.$form,$semember[$form]); /* Session Of Subscribing Employer */
}
else { $s = 0; }
}
// if($m==0 && $mp==0 && $n==0 && $np==0 && $s==0)
// {
// $currenturl = $this->session->userdata('urlcheck');
// $this->session->sess_destroy();
// if($currenturl)
// {
// redirect('loc-class/'.$currenturl);
// }
// else
// {
// redirect(base_url());
// }
// }
}
}
$this->session->set_userdata('cart',$form_class);
redirect('review-order');
}
}
?>

View File

@ -0,0 +1,137 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Review extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->helper('url');
$this->load->helper('form');
$this->load->library('form_validation');
$this->load->model('Index_model');
}
public function review_order()
{
$cart = $this->session->userdata('cart');
if(empty($cart))
{
redirect(base_url());
}
else
{
$granttotal = 0;
foreach ($cart as $cartcount => $form) {
$mtotal = 0;
$mptotal = 0;
$ntotal = 0;
$nptotal = 0;
$stotal = 0;
$data['classform'.$form]=$this->Index_model->returnform($form);
$classform = $this->Index_model->returnclass($form);
$this->session->set_userdata('classform'.$form,$data['classform'.$form]);
/*Member*/
$member = ($this->session->userdata('member'.$form));
if (!empty($member) || isset($member['M'])) {
$i = 1;
foreach ($member['M'] as $key => $value) {
$i++;
}
$this->session->set_userdata('mcount'.$form,$i-1);
$mtotal = $classform->class_price_m * ($i-1);
}
/*Member End*/
/*Member 2+*/
$memplus = ($this->session->userdata('memplus'.$form));
if (!empty($memplus) || isset($memplus['M2'])) {
$i = 1;
foreach ($memplus['M2'] as $key => $value) {
$i++;
}
$this->session->set_userdata('mpluscount'.$form,$i-1);
$mptotal = $classform->class_price_m2 * ($i-1);
}
/*Member 2+ End*/
/*Non Member*/
$nonmember = $this->session->userdata('nonmember'.$form);
if (!empty($nonmember) || isset($nonmember['N'])) {
$i = 1;
foreach ($nonmember['N'] as $key => $value) {
$i++;
}
$this->session->set_userdata('ncount'.$form,$i-1);
$ntotal = $classform->class_price_n * ($i-1);
}
/*Non Member End*/
/*Non Member 2+*/
$nonplus = $this->session->userdata('nonplus'.$form);
if (!empty($nonplus) || isset($nonplus['N2'])) {
$i = 1;
foreach ($nonplus['N2'] as $key => $value) {
$i++;
}
$this->session->set_userdata('npluscount'.$form,$i-1);
$nptotal = $classform->class_price_n2 * ($i-1);
}
/*Non Member 2+ End*/
/*Employee*/
$semember = $this->session->userdata('semember'.$form);
if (!empty($semember) || isset($semember['S'])) {
$i = 1;
foreach ($semember['S'] as $key => $value) {
$i++;
}
$this->session->set_userdata('scount'.$form,$i-1);
$stotal = $classform->class_price_s * ($i-1);
}
/*Employee End*/
if(isset($mtotal)) { $mtot = $mtotal; } else { $mtot = 0; }
if(isset($mptotal)) { $mptot = $mptotal; } else { $mptot = 0; }
if(isset($ntotal)) { $ntot = $ntotal; } else { $ntot = 0; }
if(isset($nptotal)) { $nptot = $nptotal; } else { $nptot = 0; }
if(isset($stotal)) { $stot = $stotal; } else { $stot = 0; }
$classtotal = $mtot + $mptot + $ntot + $nptot + $stot; /*Class Total*/
$this->session->set_userdata('classtotal'.$form,$classtotal);
$granttotal+=$classtotal;
}
$this->session->set_userdata('granttotal',$granttotal);
$this->load->view('front/review');
}
}
public function back()
{
$urlcheck = $this->session->userdata('urlcheck');
if($urlcheck)
{
redirect('loc-class/'.$urlcheck);
}else{
redirect(base_url());
}
}
}
?>

View File

@ -0,0 +1,25 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this controller is set as the default controller in
* config/routes.php, it's displayed at http://example.com/
*
* So any other public methods not prefixed with an underscore will
* map to /index.php/welcome/<method_name>
* @see https://codeigniter.com/user_guide/general/urls.html
*/
public function index()
{
$this->load->view('welcome_message');
}
}

View File

@ -0,0 +1,96 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Admin extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->library('session');
$this->load->helper('url');
$this->load->helper('form');
$this->load->library('form_validation');
$this->load->library('userauth');
$this->load->library('password');
$this->load->model('Admin_model');
$this->load->helper('cookie');
}
public function index()
{
$this->load->view('admin/login');
}
public function dashboard()
{
$this->userauth->logged_in();
$data['class'] = $this->Admin_model->totalrows('tbl_classname','*');
$data['creates'] = $this->Admin_model->totalrows('tbl_classform','*');
$data['users'] = $this->Admin_model->totalrows('tbl_usermaster','*');
$data['list'] = $this->Admin_model->totalrows('tbl_regmaster','*');
$this->load->view('admin/dashboard',$data);
}
public function login()
{
$data['username'] = get_cookie('swebin_user_ad');
$data['password'] = $this->password->decrypt_password(get_cookie('swebin_sec'));
$this->form_validation->set_rules('username', 'username', 'trim|required');
$this->form_validation->set_rules('password', 'password', 'trim|required');
if ($this->form_validation->run() == FALSE)
{
$this->load->view('admin/login',$data);
}
else
{
$username = $this->input->post('username');
$password_input = $this->input->post('password');
$remember_me = $this->input->post('remember_me');
$password = $this->password->encrypt_password($password_input);
if($remember_me)
{
$expire = time()+365*60*60*24;
set_cookie('abc_user',$username, $expire);
set_cookie('abc_password',$password, $expire);
}
else
{
delete_cookie('abc_user');
delete_cookie('abc_password');
}
$data = $this->Admin_model->login_valid($username,$password);
if($data)
{
$this->session->set_userdata('user_id',$data['user_id']);
$this->session->set_userdata('user_name',$data['user_name']);
$this->session->set_userdata('user_type',$data['user_type']);
redirect('admin/dashboard');
}
else
{
$this->session->set_flashdata('login_failed', 'Error Occur. Login Failed..!');
$this->load->view('admin/login',$data);
}
}
}
public function logout()
{
$this->session->sess_destroy();
redirect('admin', 'refresh');
}
}
?>

View File

@ -0,0 +1,258 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Classsetting extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->helper('url');
$this->load->helper('form');
$this->load->library('form_validation');
$this->load->library('userauth');
$this->load->library('password');
$this->load->model('Class_model');
}
public function cl_name()
{
$this->userauth->logged_in();
$data['all_class']=$this->Class_model->all_class();
$this->load->view('admin/classsetting-names',$data);
}
public function cl_locations()
{
$this->userauth->logged_in();
$data['all_locations']=$this->Class_model->all_locations();
$this->load->view('admin/classsetting-location',$data);
}
public function cl_instructors()
{
$this->userauth->logged_in();
$data['all_instructors']=$this->Class_model->all_instructors();
$this->load->view('admin/classsetting-instructor',$data);
}
//CLASS
//manage class
public function manage_class()
{
$class_name = array('class_name'=>$this->input->post('class_name'));
$action = $this->input->post('submit');
if($action == "Add")
{
$data = $this->Class_model->create_class($class_name);
if($data)
{
$this->session->set_flashdata('success_msg','Class Created Successfully');
redirect('admin/class-name');
}
else
{
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/class-name');
}
}
elseif($action == "Update")
{
$class_id = $this->input->post('class_id');
$data = $this->Class_model->update_class($class_name,$class_id);
if($data)
{
$this->session->set_flashdata('success_msg','Class Updated Successfully');
redirect('admin/class-name');
}
else
{
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/class-name');
}
}
}
//end manage class
//return class
public function return_class($class_id)
{
$this->userauth->logged_in();
$return_class = $this->Class_model->return_class($class_id);
$data['class_id']=$return_class->class_id;
$data['class_name']=$return_class->class_name;
$data['all_class']=$this->Class_model->all_class();
$this->load->view('admin/classsetting-names',$data);
}
//end return class
//delete class
function delete_class($class_id)
{
$delete_class = $this->Class_model->delete_class($class_id);
if($delete_class)
{
$this->session->set_flashdata('success_msg','Class Deleted Successfully');
redirect('admin/class-name');
} else {
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/class-name');
}
}
//end delete class
//LOCATION
//manage location
public function manage_location()
{
$location_name = array('locat_name'=>$this->input->post('locat_name'));
$action = $this->input->post('submit');
if($action == "Add")
{
$data = $this->Class_model->create_location($location_name);
if($data)
{
$this->session->set_flashdata('success_msg','Location Created Successfully');
redirect('admin/class-locations');
}
else
{
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/class-locations');
}
}
elseif($action == "Update")
{
$locat_id = $this->input->post('locat_id');
$data = $this->Class_model->update_location($location_name,$locat_id);
if($data)
{
$this->session->set_flashdata('success_msg','Location Updated Successfully');
redirect('admin/class-locations');
}
else
{
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/class-locations');
}
}
}
//end location class
//return location
public function return_location($locat_id)
{
$this->userauth->logged_in();
$return_location = $this->Class_model->return_location($locat_id);
$data['locat_id']=$return_location->locat_id;
$data['locat_name']=$return_location->locat_name;
$data['all_locations']=$this->Class_model->all_locations();
$this->load->view('admin/classsetting-location',$data);
}
//end return location
//delete location
function delete_location($locat_id)
{
$delete_location = $this->Class_model->delete_location($locat_id);
if($delete_location)
{
$this->session->set_flashdata('success_msg','Location Deleted Successfully');
redirect('admin/class-locations');
} else {
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/class-locations');
}
}
//end delete location
//INSTRUCTORS
//manage Instructors
public function manage_instructor()
{
$instructor_name = array('instr_name'=>$this->input->post('instr_name'));
$action = $this->input->post('submit');
if($action == "Add")
{
$data = $this->Class_model->create_instructors($instructor_name);
if($data)
{
$this->session->set_flashdata('success_msg','Instructor Added Successfully');
redirect('admin/class-instructors');
}
else
{
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/class-instructors');
}
}
elseif($action == "Update")
{
$instr_id = $this->input->post('instr_id');
$data = $this->Class_model->update_instructors($instructor_name,$instr_id);
if($data)
{
$this->session->set_flashdata('success_msg','Instructors Updated Successfully');
redirect('admin/class-instructors');
}
else
{
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/class-instructors');
}
}
}
//end manage instructors
//return instructors
public function return_instructors($instr_id)
{
$this->userauth->logged_in();
$return_instructors = $this->Class_model->return_instructors($instr_id);
$data['instr_id']=$return_instructors->instr_id;
$data['instr_name']=$return_instructors->instr_name;
$data['all_instructors']=$this->Class_model->all_instructors();
$this->load->view('admin/classsetting-instructor',$data);
}
//end return instructors
//delete instructors
function delete_instructors($instr_id)
{
$delete_instructors = $this->Class_model->delete_instructors($instr_id);
if($delete_instructors)
{
$this->session->set_flashdata('success_msg','Instructor Deleted Successfully');
redirect('admin/class-instructors');
} else {
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/class-instructors');
}
}
//end delete instructors
}
?>

View File

@ -0,0 +1,222 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Createclass extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->helper('url');
$this->load->helper('form');
$this->load->library('form_validation');
$this->load->model('Create_model');
$this->load->library('userauth');
}
public function cl_create()
{
$this->userauth->logged_in();
$data['class_name']=$this->Create_model->getData('tbl_classname');
$data['class_instructor']=$this->Create_model->getData('tbl_instructors');
$data['class_location']=$this->Create_model->getData('tbl_classlocations');
$data['all_class']=$this->Create_model->getAll();
$this->load->view('admin/class-create',$data);
}
public function manage_create()
{
$action = $this->input->post('submit');
$form_data = array('class_id'=>$this->input->post('class_id'),
'class_seats'=>$this->input->post('class_seats'),
'remain_seats'=>$this->input->post('class_seats'),
'instr_id'=>$this->input->post('instr_id'),
'class_hours'=>$this->input->post('class_hours'),
'class_registrants'=>implode(",",$this->input->post('class_registrants')),
'class_price_m'=>$this->input->post('class_price_m'),
'class_price_m2'=>$this->input->post('class_price_m2'),
'class_price_n'=>$this->input->post('class_price_n'),
'class_price_n2'=>$this->input->post('class_price_n2'),
'class_price_s'=>$this->input->post('class_price_s'),
'class_day'=>implode(',', (array) $this->input->post('class_day')),
'calss_start_date'=>date("y-m-d",strtotime($this->input->post('calss_start_date'))),
'calss_end_date'=>date("y-m-d",strtotime($this->input->post('calss_end_date'))),
'calss_start_time'=>date('H:i:s',strtotime($this->input->post('calss_start_time'))),
'calss_end_time'=>date('H:i:s',strtotime($this->input->post('calss_end_time'))),
'locat_id'=>$this->input->post('locat_id'),
'class_room'=>$this->input->post('class_room'),
'class_address'=>$this->input->post('class_address'),
'class_city'=>$this->input->post('class_city'),
'class_state'=>$this->input->post('class_state'),
'class_code'=>$this->input->post('class_code'),
'class_phone'=>$this->input->post('class_phone'),
'class_description'=>$this->input->post('class_description'));
if($action == "Add")
{
$data = $this->Create_model->insertRow('tbl_classform',$form_data);
if($data)
{
$this->session->set_flashdata('success_msg','Class Added Successfully');
redirect('admin/create-class');
}
else
{
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/create-class');
}
}
elseif($action == "Update")
{
$form_id = $this->input->post('form_id');
$data = $this->Create_model->updateRow('tbl_classform','form_id',$form_id,$form_data);
if($data)
{
$this->session->set_flashdata('success_msg','Class Updated Successfully');
redirect('admin/create-class');
}
else
{
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/create-class');
}
}
}
/*Return form*/
public function return_form($form_id)
{
$this->userauth->logged_in();
$return_form = $this->Create_model->returnForm($form_id);
$data['form_id']=$return_form->form_id;
$data['class_name']=$return_form->class_name;
$data['class_id']=$return_form->class_id;
$data['class_seats']=$return_form->class_seats;
$data['instr_name']=$return_form->instr_name;
$data['instr_id']=$return_form->instr_id;
$data['class_hours']=$return_form->class_hours;
$data['class_registrants']=explode(",",$return_form->class_registrants);
$data['class_price_m']=$return_form->class_price_m;
$data['class_price_m2']=$return_form->class_price_m2;
$data['class_price_n']=$return_form->class_price_n;
$data['class_price_n2']=$return_form->class_price_n2;
$data['class_price_s']=$return_form->class_price_s;
$data['class_day']=explode(",",$return_form->class_day);
$data['calss_start_date']=date("d-m-Y",strtotime($return_form->calss_start_date));
$data['calss_end_date']=date("d-m-Y",strtotime($return_form->calss_end_date));
$data['calss_start_time'] = date('h:i A',strtotime($return_form->calss_start_time));
$data['calss_end_time'] = date('h:i A',strtotime($return_form->calss_end_time));
$data['locat_id']=$return_form->locat_id;
$data['locat_name']=$return_form->locat_name;
$data['class_room']=$return_form->class_room;
$data['class_address']=$return_form->class_address;
$data['class_city']=$return_form->class_city;
$data['class_state']=$return_form->class_state;
$data['class_code']=$return_form->class_code;
$data['class_phone']=$return_form->class_phone;
$data['class_description']=$return_form->class_description;
$data['class_name']=$this->Create_model->getData('tbl_classname');
$data['class_instructor']=$this->Create_model->getData('tbl_instructors');
$data['class_location']=$this->Create_model->getData('tbl_classlocations');
$data['all_class']=$this->Create_model->getAll();
$this->load->view('admin/class-create',$data);
}
/*Delete Form*/
function delete_form($form_id="")
{
if($form_id!="")
{
$delete_class = $this->Create_model->deleteForm('tbl_classform','form_id',$form_id); /*Delete Class By ID*/
if($delete_class)
{
$this->session->set_flashdata('success_msg','Class Deleted Successfully');
redirect('admin/create-class');
} else {
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/create-class');
}
}
elseif(!empty($this->input->post('check_id')))
{
$action = $this->input->post('action');
$check_id = array();
$check_id = $this->input->post('check_id');
if($action=='delete') /*Delete Multiple Classes*/
{
foreach ($check_id as $key => $value)
{
$delete_class = $this->Create_model->deleteForm('tbl_classform','form_id',$value);
}
if($delete_class)
{
$this->session->set_flashdata('success_msg','Records Deleted Successfully');
redirect('admin/create-class');
} else {
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/create-class');
}
}
elseif ($action=='duplicate') /*Duplicate Class*/
{
foreach ($check_id as $key => $value)
{
$duplicate_class = $this->Create_model->returnForm($value);
$form_data = array('class_id'=>$duplicate_class->class_id,
'class_seats'=>$duplicate_class->class_seats,
'remain_seats'=>$duplicate_class->class_seats,
'instr_id'=>$duplicate_class->instr_id,
'class_hours'=>$duplicate_class->class_hours,
'class_registrants'=>$duplicate_class->class_registrants,
'class_price_m'=>$duplicate_class->class_price_m,
'class_price_m2'=>$duplicate_class->class_price_m2,
'class_price_n'=>$duplicate_class->class_price_n,
'class_price_n2'=>$duplicate_class->class_price_n2,
'class_price_s'=>$duplicate_class->class_price_s,
'class_day'=>$duplicate_class->class_day,
'calss_start_date'=>$duplicate_class->calss_start_date,
'calss_end_date'=>$duplicate_class->calss_end_date,
'calss_start_time'=>$duplicate_class->calss_start_time,
'calss_end_time'=>$duplicate_class->calss_end_time,
'locat_id'=>$duplicate_class->locat_id,
'class_room'=>$duplicate_class->class_room,
'class_address'=>$duplicate_class->class_address,
'class_city'=>$duplicate_class->class_city,
'class_state'=>$duplicate_class->class_state,
'class_code'=>$duplicate_class->class_code,
'class_phone'=>$duplicate_class->class_phone,
'class_description'=>$duplicate_class->class_description);
$data = $this->Create_model->insertRow('tbl_classform',$form_data);
}
if ($data)
{
$this->session->set_flashdata('success_msg','Duplicated Successfully');
redirect('admin/create-class');
} else {
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/create-class');
}
}
}
else
{
$this->session->set_flashdata('error_msg','Select Records First.');
redirect('admin/create-class');
}
}
}
?>

View File

@ -0,0 +1,59 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Order_list extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->helper('url');
$this->load->helper('form');
$this->load->library('form_validation');
$this->load->library('password');
$this->load->model('Orderlist_model');
// $this->load->view('review-order');
}
public function list_order()
{
$data['all_order']=$this->Orderlist_model->get_order();
$this->load->view('admin/order-list',$data);
}
public function review_orderList($reg_id)
{
$data['order']=$this->Orderlist_model->review_order($reg_id);
$data['return_class']=$this->Orderlist_model->return_class($reg_id);
$data['registrants']=$this->Orderlist_model->return_attendee($reg_id);
$this->load->view('front/review',$data);
}
public function delet_list($reg_name)
{
$delete_list = $this->Orderlist_model->delet_list($reg_name);
if($delete_list)
{
$this->session->set_flashdata('success_msg','User Deleted Successfully');
$data['all_order']=$this->Orderlist_model->get_order();
$this->load->view('admin/order-list',$data);
} else {
$this->session->set_flashdata('error_msg','Error Occur');
$data['all_order']=$this->Orderlist_model->get_order();
$this->load->view('admin/order-list',$data);
}
}
}
?>

View File

@ -0,0 +1,140 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Orderlist extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->helper('url');
$this->load->helper('form');
$this->load->library("pagination");
$this->load->model('Orderlist_model');
$this->load->library('userauth');
}
public function list_order()
{
$this->userauth->logged_in();
$config = array();
$config["base_url"] = base_url() . "admin/order-list";
$total_row = $this->Orderlist_model->record_count();
$config["total_rows"] = $total_row;
$config["per_page"] = 20;
$config['use_page_numbers'] = TRUE;
$config['num_links'] = $total_row;
$config['cur_tag_open'] = '<a class="current">';
$config['cur_tag_close'] = '</a>';
$config['next_link'] = '&raquo;';
$config['prev_link'] = '&laquo;';
$this->pagination->initialize($config);
if($this->uri->segment(3)){
$page = ($this->uri->segment(3)) ;
}
else{
$page = 0;
}
$data["all_order"] = $this->Orderlist_model->get_order($config["per_page"], $page);
$str_links = $this->pagination->create_links();
$data["links"] = explode('&nbsp;',$str_links );
$this->load->view('admin/order-list',$data);
}
public function order_search()
{
$orderno = $this->input->post('orderno');
$fromedate = date("Y-m-d",strtotime($this->input->post('fromedate')));
$todate = date("Y-m-d",strtotime($this->input->post('todate')));
$data['all_order'] = $this->Orderlist_model->ordersearch($orderno,$fromedate,$todate);
if($data['all_order']==array())
{
$this->session->set_flashdata('error_msg','No Order For The Given Data.');
redirect('admin/order-list');
}
$str_links = $this->pagination->create_links();
$data["links"] = explode('&nbsp;',$str_links );
$this->load->view('admin/order-list',$data);
}
public function review_orderList($reg_id,$type)
{
$this->userauth->logged_in();
$master = $this->Orderlist_model->review_order($reg_id);
$data['return_class']=$this->Orderlist_model->return_class($reg_id);
$data['member']=$this->Orderlist_model->returnAttende('tbl_attendee','reg_id','reg_m_type',$reg_id,'M');
$data['member2']=$this->Orderlist_model->returnAttende('tbl_attendee','reg_id','reg_m_type',$reg_id,'M2');
$data['nonmember']=$this->Orderlist_model->returnAttende('tbl_attendee','reg_id','reg_m_type',$reg_id,'N');
$data['nonmember2']=$this->Orderlist_model->returnAttende('tbl_attendee','reg_id','reg_m_type',$reg_id,'N2');
$data['semember']=$this->Orderlist_model->returnAttende('tbl_attendee','reg_id','reg_m_type',$reg_id,'S');
$data['mcount'] = count($data['member']);
$data['mcount2'] = count($data['member2']);
$data['ncount'] = count($data['nonmember']);
$data['ncount2'] = count($data['nonmember2']);
$data['scount'] = count($data['semember']);
$data['reg_date'] = date("d-m-Y",strtotime($master->reg_date));
$data['card_holder_name'] = $master->card_holder_name;
$data['payment_type'] = $master->payment_type;
$data['address'] = $master->street_adrs;
$data['phone_no'] = $master->phone_no;
$data['email_id'] = $master->email_id;
$data['class_count'] = $master->reg_class_count;
$data['att_count'] = $master->att_total_count;
$data['card_number'] = $master->card_number;
$data['card_type'] = $master->card_type;
$data['status'] = $master->status;
$data['reg_total'] = $master->reg_total;
$data['orderno'] = $master->reg_id;
$data['type'] = $type;
$this->load->view('admin/view-order',$data);
}
public function delete_list($reg_id)
{
$delete_list = $this->Orderlist_model->delete_list($reg_id);
if($delete_list)
{
$this->session->set_flashdata('success_msg','Order Deleted Successfully');
redirect('admin/order-list');
}
else
{
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/order-list');
}
}
function update_status($reg_id)
{
$return_reg = $this->Orderlist_model->return_reg($reg_id);
if($return_reg->status == "unpaid")
{
$update = $this->Orderlist_model->update_status("paid",$reg_id);
if($update)
{
$this->session->set_flashdata('success_msg','Updated Successfully');
redirect('admin/order-list');
}
else
{
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/order-list');
}
}else
{
$this->session->set_flashdata('error_msg','Already Paid');
redirect('admin/order-list');
}
}
}
?>

View File

@ -0,0 +1,154 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class User extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->helper('url');
$this->load->helper('form');
$this->load->library('form_validation');
$this->load->library('password');
$this->load->model('User_model');
$this->load->library('userauth');
}
public function admin_user()
{
$this->userauth->logged_admin();
$data['all_users']=$this->User_model->get_user();
$this->load->view('admin/admin-users',$data);
}
//add user
public function add_user()
{
$password = $this->password->encrypt_password($this->input->post('user_password'));
$user_id = $this->input->post('user_id');
$user= array('user_name'=>$this->input->post('user_name'),
'user_password'=>$password);
$action = $this->input->post('submit');
$check_user=$this->User_model->check_user($user['user_name']);
if($action == "Add")
{
if($check_user)
{
$user_data =$this->User_model->add_user($user);
if($user_data)
{
$this->session->set_flashdata('success_msg','User Added Successfully');
redirect('admin/admin-user');
} else {
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/admin-user');
}
}
else {
$this->session->set_flashdata('error_msg', 'User Already Exists.');
redirect('admin/admin-user');
}
}
if($action == "Update")
{
$return_user = $this->User_model->return_user($user_id);
if($check_user)
{
$name = $this->input->post('user_name');
$msg_type = "success_msg";
$msg = "User Updated Successfully.";
}
else
{
$name = $return_user->user_name;
if($this->input->post('user_name') == $return_user->user_name)
{
$msg_type = "success_msg";
$msg = "User Updated Successfully.";
}
else
{
$msg_type = "error_msg";
$msg = "User Already Exists.";
}
}
$update_data= array('user_name'=>$name,
'user_password'=>$password);
$user_update = $this->User_model->update_user($update_data,$user_id);
if($user_update)
{
$this->session->set_flashdata($msg_type,$msg);
redirect('admin/admin-user');
} else {
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/admin-user');
}
}
}
//end add user
//return user
public function return_user($user_id)
{
$this->userauth->logged_admin();
$return_user = $this->User_model->return_user($user_id);
$data['user_id']=$return_user->user_id;
$data['user_name']=$return_user->user_name;
$data['user_password'] = $this->password->decrypt_password($return_user->user_password);
$data['all_users']=$this->User_model->get_user();
$this->load->view('admin/admin-users',$data);
}
//end return user
//delete user
function delete_user($user_id)
{
$delete_user = $this->User_model->delete_user($user_id);
if($delete_user)
{
$this->session->set_flashdata('success_msg','User Deleted Successfully');
redirect('admin/admin-user');
} else {
$this->session->set_flashdata('error_msg','Error Occur');
redirect('admin/admin-user');
}
}
//end delete user
//update status
function update_status($user_id)
{
$return_user = $this->User_model->return_user($user_id);
$data['user_id']=$return_user->user_id;
$data['user_status']=$return_user->user_status;
if($return_user->user_type !="admin")
{
if($data['user_status']=="active")
{
$status ="inactive";
}
elseif($data['user_status']=="inactive")
{
$status ="active";
}
$data['user_id']=$user_id;
$this->User_model->update_status($status,$user_id);
}
else { $this->session->set_flashdata('error_msg',"Admin Can't Be Inactive."); }
redirect('admin/admin-user');
}
//end update status
}
?>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

View File

@ -0,0 +1,254 @@
<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
#
# Portable PHP password hashing framework.
#
# Version 0.3 / genuine.
#
# Written by Solar Designer <solar at openwall.com> in 2004-2006 and placed in
# the public domain. Revised in subsequent years, still public domain.
#
# There's absolutely no warranty.
#
# The homepage URL for this framework is:
#
# http://www.openwall.com/phpass/
#
# Please be sure to update the Version line if you edit this file in any way.
# It is suggested that you leave the main version number intact, but indicate
# your project name (after the slash) and add your own revision information.
#
# Please do not change the "private" password hashing method implemented in
# here, thereby making your hashes incompatible. However, if you must, please
# change the hash type identifier (the "$P$") to something different.
#
# Obviously, since this code is in the public domain, the above are not
# requirements (there can be none), but merely suggestions.
#
class PasswordHash {
var $itoa64;
var $iteration_count_log2;
var $portable_hashes;
var $random_state;
function PasswordHash($iteration_count_log2, $portable_hashes)
{
$this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
if ($iteration_count_log2 < 4 || $iteration_count_log2 > 31)
$iteration_count_log2 = 8;
$this->iteration_count_log2 = $iteration_count_log2;
$this->portable_hashes = $portable_hashes;
$this->random_state = microtime();
if (function_exists('getmypid'))
$this->random_state .= getmypid();
}
function get_random_bytes($count)
{
$output = '';
if (is_readable('/dev/urandom') &&
($fh = @fopen('/dev/urandom', 'rb'))) {
$output = fread($fh, $count);
fclose($fh);
}
if (strlen($output) < $count) {
$output = '';
for ($i = 0; $i < $count; $i += 16) {
$this->random_state =
md5(microtime() . $this->random_state);
$output .=
pack('H*', md5($this->random_state));
}
$output = substr($output, 0, $count);
}
return $output;
}
function encode64($input, $count)
{
$output = '';
$i = 0;
do {
$value = ord($input[$i++]);
$output .= $this->itoa64[$value & 0x3f];
if ($i < $count)
$value |= ord($input[$i]) << 8;
$output .= $this->itoa64[($value >> 6) & 0x3f];
if ($i++ >= $count)
break;
if ($i < $count)
$value |= ord($input[$i]) << 16;
$output .= $this->itoa64[($value >> 12) & 0x3f];
if ($i++ >= $count)
break;
$output .= $this->itoa64[($value >> 18) & 0x3f];
} while ($i < $count);
return $output;
}
function gensalt_private($input)
{
$output = '$P$';
$output .= $this->itoa64[min($this->iteration_count_log2 +
((PHP_VERSION >= '5') ? 5 : 3), 30)];
$output .= $this->encode64($input, 6);
return $output;
}
function crypt_private($password, $setting)
{
$output = '*0';
if (substr($setting, 0, 2) == $output)
$output = '*1';
$id = substr($setting, 0, 3);
# We use "$P$", phpBB3 uses "$H$" for the same thing
if ($id != '$P$' && $id != '$H$')
return $output;
$count_log2 = strpos($this->itoa64, $setting[3]);
if ($count_log2 < 7 || $count_log2 > 30)
return $output;
$count = 1 << $count_log2;
$salt = substr($setting, 4, 8);
if (strlen($salt) != 8)
return $output;
# We're kind of forced to use MD5 here since it's the only
# cryptographic primitive available in all versions of PHP
# currently in use. To implement our own low-level crypto
# in PHP would result in much worse performance and
# consequently in lower iteration counts and hashes that are
# quicker to crack (by non-PHP code).
if (PHP_VERSION >= '5') {
$hash = md5($salt . $password, TRUE);
do {
$hash = md5($hash . $password, TRUE);
} while (--$count);
} else {
$hash = pack('H*', md5($salt . $password));
do {
$hash = pack('H*', md5($hash . $password));
} while (--$count);
}
$output = substr($setting, 0, 12);
$output .= $this->encode64($hash, 16);
return $output;
}
function gensalt_extended($input)
{
$count_log2 = min($this->iteration_count_log2 + 8, 24);
# This should be odd to not reveal weak DES keys, and the
# maximum valid value is (2**24 - 1) which is odd anyway.
$count = (1 << $count_log2) - 1;
$output = '_';
$output .= $this->itoa64[$count & 0x3f];
$output .= $this->itoa64[($count >> 6) & 0x3f];
$output .= $this->itoa64[($count >> 12) & 0x3f];
$output .= $this->itoa64[($count >> 18) & 0x3f];
$output .= $this->encode64($input, 3);
return $output;
}
function gensalt_blowfish($input)
{
# This one needs to use a different order of characters and a
# different encoding scheme from the one in encode64() above.
# We care because the last character in our encoded string will
# only represent 2 bits. While two known implementations of
# bcrypt will happily accept and correct a salt string which
# has the 4 unused bits set to non-zero, we do not want to take
# chances and we also do not want to waste an additional byte
# of entropy.
$itoa64 = './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
$output = '$2a$';
$output .= chr(ord('0') + $this->iteration_count_log2 / 10);
$output .= chr(ord('0') + $this->iteration_count_log2 % 10);
$output .= '$';
$i = 0;
do {
$c1 = ord($input[$i++]);
$output .= $itoa64[$c1 >> 2];
$c1 = ($c1 & 0x03) << 4;
if ($i >= 16) {
$output .= $itoa64[$c1];
break;
}
$c2 = ord($input[$i++]);
$c1 |= $c2 >> 4;
$output .= $itoa64[$c1];
$c1 = ($c2 & 0x0f) << 2;
$c2 = ord($input[$i++]);
$c1 |= $c2 >> 6;
$output .= $itoa64[$c1];
$output .= $itoa64[$c2 & 0x3f];
} while (1);
return $output;
}
function HashPassword($password)
{
$random = '';
if (CRYPT_BLOWFISH == 1 && !$this->portable_hashes) {
$random = $this->get_random_bytes(16);
$hash =
crypt($password, $this->gensalt_blowfish($random));
if (strlen($hash) == 60)
return $hash;
}
if (CRYPT_EXT_DES == 1 && !$this->portable_hashes) {
if (strlen($random) < 3)
$random = $this->get_random_bytes(3);
$hash =
crypt($password, $this->gensalt_extended($random));
if (strlen($hash) == 20)
return $hash;
}
if (strlen($random) < 6)
$random = $this->get_random_bytes(6);
$hash =
$this->crypt_private($password,
$this->gensalt_private($random));
if (strlen($hash) == 34)
return $hash;
# Returning '*' on error is safe here, but would _not_ be safe
# in a crypt(3)-like function used _both_ for generating new
# hashes and for validating passwords against existing hashes.
return '*';
}
function CheckPassword($password, $stored_hash)
{
$hash = $this->crypt_private($password, $stored_hash);
if ($hash[0] == '*')
$hash = crypt($password, $stored_hash);
return $hash == $stored_hash;
}
}
/* End of file phpass_helper.php */
/* Location: ./application/helpers/phpass_helper.php */

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More