Commit f5185fc1 by Hussain Mohamed

Merge branch 'development' of http://alphasoftz.net/Franklin/apps.acj into development

parents 9bfc624d 6949c311
<?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/userguide3/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'] = 'DashboardController/';
$route['default_controller'] = 'AuthController/';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
//auth
$route['login'] = 'AuthController/login';
$route['logout'] = 'AuthController/logout';
$route['recover'] = 'auth/forgetpassword';
$route['verification'] = 'auth/recovery_verification';
$route['privacy'] = 'auth/privacy_policy';
\ No newline at end of file
......@@ -2338,6 +2338,7 @@ class ApplicationController extends CI_Controller
$view_data['records'] = $this->mcommon->records_all('question');
$view_data['exam_type'] = $this->mcommon->records_all('exam_type',array('status',1));
$view_data['academic_year'] = $this->mcommon->records_all('accadamic_year',array('status',1));
$view_data['schedule'] = $this->mcommon->records_all('exam_schedule',array('status',1));
$view_data['category'] = $this->mcommon->records_all('section_category',array('status',1));
$data = array(
'title' => 'View Question ',
......@@ -2354,6 +2355,7 @@ class ApplicationController extends CI_Controller
$academic = $this->input->post('academic');
$exam_type = $this->input->post('exam_type');
$category = $this->input->post('category');
$schedule = $this->input->post('schedule');
$question = $this->input->post('question');
$option_a = $this->input->post('option_a');
$option_b = $this->input->post('option_b');
......@@ -2365,6 +2367,7 @@ class ApplicationController extends CI_Controller
'academic' => $academic,
'exam_type' => $exam_type,
'category' => $category,
'schedule_id' => $schedule,
'question' => $question,
'option_a' => $option_a,
'option_b' => $option_b,
......@@ -2390,6 +2393,7 @@ class ApplicationController extends CI_Controller
$view_data['exam_type'] = $this->mcommon->records_all('exam_type',array('status',1));
$view_data['academic_year'] = $this->mcommon->records_all('accadamic_year',array('status',1));
$view_data['category'] = $this->mcommon->records_all('section_category',array('status',1));
$view_data['schedule'] = $this->mcommon->records_all('exam_schedule',array('status',1));
$data = array(
'title' => 'Add Question',
......@@ -2408,6 +2412,7 @@ class ApplicationController extends CI_Controller
$academic = $this->input->post('academic');
$exam_type = $this->input->post('exam_type');
$category = $this->input->post('category');
$schedule = $this->input->post('schedule');
$question = $this->input->post('question');
$option_a = $this->input->post('option_a');
$option_b = $this->input->post('option_b');
......@@ -2420,6 +2425,7 @@ class ApplicationController extends CI_Controller
'academic' => $academic,
'exam_type' => $exam_type,
'category' => $category,
'schedule_id' => $schedule,
'question' => $question,
'option_a' => $option_a,
'option_b' => $option_b,
......@@ -2445,6 +2451,7 @@ class ApplicationController extends CI_Controller
$view_data['exam_type'] = $this->mcommon->records_all('exam_type',array('status',1));
$view_data['academic_year'] = $this->mcommon->records_all('accadamic_year',array('status',1));
$view_data['category'] = $this->mcommon->records_all('section_category',array('status',1));
$view_data['schedule'] = $this->mcommon->records_all('exam_schedule',array('status',1));
$data = array(
'title' => 'Edit Question',
'page' => 'Edit Question',
......@@ -2457,4 +2464,79 @@ class ApplicationController extends CI_Controller
public function examSchedule()
{
$view_data['academic_year'] = $this->mcommon->records_all('accadamic_year',array('status',1));
$view_data['records'] = $this->mcommon->records_all('exam_schedule',array('status',1));
$data = array(
'title' => 'Exam Schedule',
'page' => 'Exam Schedule',
'content' => $this->load->view('masters/examSchedule', $view_data, true),
);
$this->load->view('base/base_template', $data);
}
public function addEditexamSchedule()
{
$id = $this->input->post('id');
$schedule = $this->input->post('schedule');
$academic = $this->input->post('academic');
$date = $this->input->post('date');
$time = $this->input->post('time');
if ($id) {
$update_array = array(
'exam_schedule' => $schedule,
'academic' => $academic,
'date' => $date,
'time' => $time,
'status' => 1,
);
$update = $this->mcommon->common_edit('exam_schedule', $update_array, array('id' => $id));
if ($update) {
$this->session->set_flashdata('alert_success','Exam Schedule Updated Successfully!');
} else {
$this->session->set_flashdata('alert_danger', 'Something went wrong');
}
} else {
$user_array = array(
'exam_schedule' => $schedule,
'academic' => $academic,
'date' => $date,
'time' => $time,
'status' => 1,
);
$insert = $this->mcommon->common_insert('exam_schedule', $user_array);
if ($insert) {
$this->session->set_flashdata('alert_success', 'Exam Schedule Added successfully!');
} else {
$this->session->set_flashdata('alert_danger', 'Something went wrong');
}
}
redirect('ApplicationController/examSchedule');
}
}
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
class AuthController extends CI_Controller {
class AuthController extends CI_Controller
{
public function index()
{
......@@ -10,12 +11,60 @@ class AuthController extends CI_Controller {
$this->load->view('auth/login', $view_data);
}
public function register()
public function login()
{
$view_data[''] = '';
$this->load->view('auth/register', $view_data);
$email = $this->input->post('email');
$password = $this->input->post('password');
$user = $this->mcommon->specific_row('users',array('email'=>$email));
if ($user['user_id'] != '' && password_verify($password, $user['passwd'])) {
$this->session->set_flashdata('alert_success', 'Login successfully!');
$userArray = array(
"user_id" => $user['user_id'],
"email" => $user['email'],
"mobile" => $user['mobile'],
"name" => $user['name'],
"auth_level" => $user['auth_level'],
"logged_in" => true,
);
$this->session->set_userdata($userArray);
redirect('DashboardController');
} else {
$this->session->set_flashdata('alert_danger', 'Email or Password Wrong!');
redirect('login');
}
}
// public function register()
// {
// if (isset($_POST['submit'])) {
// $user_array = array(
// 'first_name' => $first_name,
// // 'last_name' => $last_name,
// 'username' => $username,
// 'name' => $name,
// 'email' => $email,
// 'mobile' => $mobile_number,
// 'auth_level' => 1, // 1->customer,9->admin
// 'passwd' => password_hash($password, PASSWORD_DEFAULT),
// 'created_at' => date("Y-m-d h:i:s"),
// 'banned' => 0
// );
// //insert values in database
// $insert = $this->mcommon->common_insert('users', $user_array);
// } else {
// $view_data[''] = '';
// $this->load->view('auth/register', $view_data);
// }
// }
public function forget()
{
......@@ -23,4 +72,17 @@ class AuthController extends CI_Controller {
$this->load->view('auth/forget', $view_data);
}
public function logout()
{
$this->session->unset_userdata('logged_in');
$this->authentication->logout();
// Set redirect protocol
$redirect_protocol = USE_SSL ? 'https' : null;
redirect(site_url(LOGIN_PAGE . '?logout=1', $redirect_protocol));
}
}
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
class DashboardController extends CI_Controller {
class DashboardController extends CI_Controller
{
public function index()
{
......@@ -18,17 +19,59 @@ class DashboardController extends CI_Controller {
$this->db->where('payment_status', 2);
$completed = $this->db->count_all_results();
$currentYear = date('Y');
$this->db->select('MONTH(a.created_at) as month, COUNT(*) as count');
$this->db->from('applications as a');
$this->db->join('accomodation_info as ai', 'ai.application_id = a.id', 'left');
$this->db->where('a.status', 1);
$this->db->where('YEAR(a.created_at)', $currentYear); // Ensure filtering by the same date field used for grouping
$this->db->group_by('MONTH(a.created_at)');
$query = $this->db->get();
$monthlyCounts = array_fill(0, 12, 0); // Start indices from 0 to 11 for months Jan-Dec
foreach ($query->result() as $row) {
$monthlyCounts[$row->month - 1] = (int) $row->count; // Adjust index by 1 to match array indexing
}
$view_data['monthlyCounts'] = $monthlyCounts;
// print_r($view_data['monthlyCounts']);
// exit;
$this->db->from('applications as a');
$this->db->where('a.payment_status', 2);
$completed_count = $this->db->count_all_results();
$total_amount = $completed_count * 1260;
$view_data['courses'] = $this->mcommon->records_all('course');
$this->db->select('*, applications.id as appid, applications.status as apstatus,ai.payment_mode,applications.email as appEmail');
$this->db->from('applications');
$this->db->join('course', 'course.id = applications.course_id', 'left');
$this->db->join('users', 'users.user_id = applications.user_id','left');
$this->db->join('accomodation_info as ai', 'ai.application_id = applications.id','left');
$this->db->join('application_other_info as athinfo', 'athinfo.application_id = applications.id','left');
// $this->db->where('athinfo.tab_status', '1');
$this->db->where('applications.status', '1');
$query = $this->db->get();
$view_data['records'] = $query->result();
$view_data['drafted'] = $drafted;
$view_data['pending'] = $pending;
$view_data['completed'] = $completed;
$view_data['total_amount'] = $total_amount;
$data = array(
'title' => "Home",
'content' => $this->load->view('dashboard/home', $view_data, true),
);
$this->load->view('base/base_template', $data);
}
}
......@@ -416,6 +416,15 @@ class Common_model extends CI_Model
}
public function getUser($email){
$this->db->select('*');
$this->db->from('users');
$this->db->where('email',$email);
$result = $this->db->get()->row_array();
return $result;
}
......
......@@ -18,8 +18,22 @@
<link rel="icon" type="image/png" sizes="16x16" href="<?= base_url('') ?>assets/images/favicon.png">
<link href="<?= base_url('') ?>assets/css/style.css" rel="stylesheet">
<style>
.login-image {
height: 440px !important;
width: 362px;
margin-left: -65px;
}
.tab-content {
margin-left: -82px !important;
}
</style>
</head>
<body class="body h-100">
<div class="authincation d-flex flex-column flex-lg-row flex-column-fluid">
<div class="login-aside text-center d-flex flex-column flex-row-auto">
......@@ -41,28 +55,31 @@
<div class="d-flex justify-content-center h-100 align-items-center">
<div class="authincation-content style-2">
<div class="row no-gutters">
<div class="col-xl-12 tab-content">
<div id="sign-up" class="auth-form tab-pane fade show active form-validation">
<form action="https://akademi.dexignlab.com/codeigniter/demo/index">
<div class="col-xl-12 d-flex tab-content">
<div class="col-md-8" >
<img src="<?php echo base_url(); ?>assets/images/asian_logo.jpg" alt="" width="300px" class="login-image">
</div>
<div style=" border:1px solid grey;" id="sign-up" class="auth-form tab-pane fade show active form-validation col-md-11 ">
<form action="<?= base_url("login") ?> " method="post">
<div class="text-center mb-4">
<h3 class="text-center mb-2 text-black">Sign In</h3>
<span>Your Social Campaigns</span>
<!-- <span>Your Social Campaigns</span> -->
</div>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label mb-2 fs-13 label-color font-w500">Email address</label>
<input type="email" class="form-control" id="exampleFormControlInput1" value="hello@example.com">
<label for="exampleFormControlInput1" class="form-label mb-2 fs-13 label-color font-w500">Email Id</label>
<input type="text" name="email" class="form-control" id="email">
</div>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label mb-2 fs-13 label-color font-w500">Password</label>
<input type="password" class="form-control" id="exampleFormControlInput2" value="Password">
<input type="password" name="password" class="form-control" id="password">
</div>
<a href="<?= base_url('AuthController/forget') ?>" class="text-primary float-end mb-4">Forgot Password ?</a>
<button class="btn btn-block btn-primary">Sign In</button>
</form>
<div class="new-account mt-3 text-center">
<p class="font-w500">Don't have an account? <a class="text-primary" href="<?= base_url('AuthController/register') ?>" data-toggle="tab">Sign Up</a></p>
<!-- <p class="font-w500">Don't have an account? <a class="text-primary" href="<?= base_url('AuthController/register') ?>" data-toggle="tab">Sign Up</a></p> -->
</div>
</div>
</div>
......@@ -73,13 +90,13 @@
</div>
<!--**********************************
<!--**********************************
Scripts
***********************************-->
<!-- Required vendors -->
<script src="<?= base_url('') ?>assets/vendor/global/global.min.js"></script>
<script src="<?= base_url('') ?>assets/js/custom.min.js"></script>
<script src="<?= base_url('') ?>assets/js/dlabnav-init.js"></script>
<!-- Required vendors -->
<script src="<?= base_url('') ?>assets/vendor/global/global.min.js"></script>
<script src="<?= base_url('') ?>assets/js/custom.min.js"></script>
<script src="<?= base_url('') ?>assets/js/dlabnav-init.js"></script>
</body>
......
......@@ -22,15 +22,16 @@
<li><a href="<?php echo base_url(); ?>ApplicationController/tutionFees/"> Tution Fees</a></li>
<li><a href="<?php echo base_url(); ?>ApplicationController/examType">Exam Type</a></li>
<li><a href="<?php echo base_url(); ?>ApplicationController/sectionCategory">Section Category</a></li>
<li><a href="<?php echo base_url(); ?>ApplicationController/examSchedule">Exam Schedule</a></li>
</ul>
</li>
<li><a href="<?php echo base_url(); ?>EmailTemplateController/" aria-expanded="false">
<!-- <li><a href="<?php echo base_url(); ?>EmailTemplateController/" aria-expanded="false">
<i class="material-symbols-outlined">email</i>
<span class="nav-text">Email Template</span>
</a>
</li>
</li> -->
<li><a class="has-arrow " href="javascript:void(0);" aria-expanded="false">
<i class="material-icons"> settings </i>
......
<link href="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.js"></script>
<div class="row align-items-center">
<div class="col-sm-6">
<div class="page-title-box">
<!-- <h4 class="font-size-18">Pages</h4> -->
<!DOCTYPE html>
<html lang="en">
</div>
</div>
<div class="col-sm-6">
<div class="float-right d-none d-md-block">
<!-- Mirrored from akademi.dexignlab.com/codeigniter/demo/student by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 06 Mar 2024 10:51:33 GMT -->
<!-- Added by HTTrack -->
<meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack -->
<!-- <a class="btn btn-primary waves-effect waves-light" href="<?php echo base_url(); ?>Pages/get_pages">
<i class="mdi mdi-plus mr-2"></i>
</a> -->
</div>
</div>
</div>
<br>
<?php
if (validation_errors()) {
?>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<?php echo validation_errors(); ?>
</div>
<?php
}
?>
<?php if ($this->session->flashdata('check_email_alert_danger')) { ?>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<strong>Success!</strong> <?php echo $this->session->flashdata('check_email_alert_danger'); ?>
</div>
<?php } ?>
<div class="row">
<head>
<!-- Title -->
<title> Edit Faculty</title>
<!-- Meta -->
<style>
.custom-card {
margin-top: 200px;
}
</style>
</head>
<body>
<div class="row p-5 custom-card">
<div class="col-lg-12">
<div class="card">
<div class="card ">
<div class="card-body">
<h4 class="card-title">Faculty edit</h4><bR>
<h3 class="">Edit Faculty</h3>
<br>
<form action="<?php echo base_url(); ?>ApplicationController/update/<?php echo $records['id']; ?>" method="post" enctype="multipart/form-data">
<div class="row">
<div class="form-group col-md-4">
......@@ -70,7 +54,7 @@ if (validation_errors()) {
</div>
<?php } ?>
</div>
<div class="form-group col-md-4">
<div class="form-group col-md-4 mt-3">
<label>Password</label>
<input name="Password" id="Password" type="psw" class="form-control" placeholder="Password" value="<?php echo (isset($_POST[''])) ? $_POST[''] : ''; ?>" >
<?php if (form_error('Password')) { ?>
......@@ -82,7 +66,7 @@ if (validation_errors()) {
</div>
<?php } ?>
</div>
<div class="form-group col-md-4">
<div class="form-group col-md-4 mt-3">
<label>Confirm Password</label>
<input name="confirm_password" id="confirm_password" type="psw" class="form-control" placeholder="confirm_password" value="<?php echo (isset($_POST[''])) ? $_POST[''] : ''; ?>" >
<?php if (form_error('confirm_password')) { ?>
......@@ -95,7 +79,10 @@ if (validation_errors()) {
<?php } ?>
</div>
<div class="form-group mt-3 col-md-4">
</div>
<div class="form-group mt-3 col-md-4 mt-3">
<div>
<button name="submit" type="submit" class="btn btn-primary waves-effect waves-light mr-1">
Submit
......@@ -103,25 +90,146 @@ if (validation_errors()) {
<a href="<?php echo base_url('ApplicationController/faculty'); ?>" class="btn btn-secondary waves-effect">Cancel </a>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<script>
function edit(id, name) {
$('#tution_name_err').text(' ')
$('#id').val(id)
$('#tution_name').val(name)
$('#formTitle').text('Edit Tution')
$("#tutionModal").modal('show');
}
function deletetution(id, status) {
$('#tutionId').val(id)
$('#tutionStatus').val(status)
$("#statusModal").show();
}
$('#open-modal').on('click', function() {
$("#tutionModal").modal('show');
});
$('.closemodel').on('click', function() {
$("#statusModal").hide();
});
<body>
<script>
$(document).ready(function() {
$('#summernote').summernote();
$('#registration_form').validate({
rules: {
facultyname: {
required: true
},
mobile: {
required: true,
number: true
},
email: {
required: true,
email: true
},
Password: {
required: true
},
confirm_password: {
required: true,
equalTo: "#Password" // Ensure it matches the password field
}
},
messages: {
facultyname: {
required: "Please enter your name"
},
mobile: {
required: "Please enter your mobile number",
number: "Please enter a valid mobile number"
},
email: {
required: "Please enter your email address",
email: "Please enter a valid email address"
},
Password: {
required: "Please enter a password"
},
confirm_password: {
required: "Please confirm your password",
equalTo: "Passwords do not match"
}
},
errorElement: 'span',
errorPlacement: function(error, element) {
error.addClass('invalid-feedback');
element.closest('.form-group').append(error);
},
highlight: function(element, errorClass, validClass) {
$(element).addClass('is-invalid');
},
unhighlight: function(element, errorClass, validClass) {
$(element).removeClass('is-invalid');
}
});
</script>
</body>
<style type="text/css">
.required:after {
content: " *" !important;
color: red !important;
});
let pwd1 = document.getElementById('login_pass'),
eye1 = document.querySelector('.showPwd1');
eye1.addEventListener('click', function() {
toggleType1();
})
function toggleType1() {
if (eye1.classList.contains('closed')) {
pwd1.type = 'password';
} else {
pwd1.type = 'text';
}
eye1.classList.toggle('closed');
}
//end of password toggle
//start of confirm password toggle
let pwd2 = document.getElementById('login_pass2');
eye2 = document.querySelector('.showPwd2');
eye2.addEventListener('click', function() {
toggleType2();
})
function toggleType2() {
if (eye2.classList.contains('closed')) {
pwd2.type = 'password';
} else {
pwd2.type = 'text';
}
eye2.classList.toggle('closed');
}
</style>
\ No newline at end of file
</script>
\ No newline at end of file
......@@ -34,12 +34,13 @@
</svg>
</a></span>
</div>
<div>
<!-- Button trigger modal -->
<button type="button" class="btn btn-primary" id="open-modal">
<a class="btn btn-primary" id="open-modal" href="<?php echo base_url(); ?>ApplicationController/facultyadd">
+ New Faculty
</button>
</a>
</div>
</div>
</div>
......@@ -69,11 +70,8 @@
<td><?= $row->f_email; ?></td>
<td><?= $row->f_mobile; ?></td>
<td>
<a data-toggle="tooltip" id="edit" data-placement="top" title="Edit" data-original-title="Edit" onclick="edit('<?php echo $row->id; ?>', '<?php echo $row->fees; ?>', '<?php echo $row->course; ?>')" class="btn btn-sm btn-info"><i class="ti ti-pencil"></i></a>
<!-- <a href="<?= base_url('ApplicationController/edit/' . $row->id) ?>" class="btn-sm btn-info"><i class="ti-pencil-alt"></i></a> -->
<a href="<?= base_url('ApplicationController/delete/' . $row->id) ?>" class="btn-sm btn-danger"><i class="ti-trash"></i></a>
<a href="<?= base_url('ApplicationController/edit/' . $row->id) ?>" data-toggle="tooltip" id="edit" data-placement="top" title="Edit" data-original-title="Edit" class="btn btn-sm btn-info"><i class="ti ti-pencil"></i></a>
<a href="<?= base_url('ApplicationController/delete/' . $row->id) ?>" data-toggle="tooltip" id="delete" data-placement="top" title="Delete" data-original-title="Delete" class="btn btn-sm btn-danger"><i class="ti ti-trash"></i></a>
</td>
</tr>
......
......@@ -8,7 +8,7 @@
<head>
<!-- Title -->
<title>Tution Category</title>
<title>Reference No</title>
<!-- Meta -->
<style>
......
......@@ -29,7 +29,7 @@
<form action="<?php echo base_url(); ?>ApplicationController/questionAdd" method="post" enctype="multipart/form-data" id="registration_form">
<div class="row">
<div class="form-group col-md-4">
<div class="form-group col-md-3">
<label class="tx-medium">Academic Year<span class="text-danger">*</span> </label>
<select name="academic" id="academic" class="form-control select2 modal-select">
......@@ -41,7 +41,7 @@
</select>
</div>
<div class="form-group col-md-4">
<div class="form-group col-md-3">
<label class="tx-medium">Exam Type<span class="text-danger">*</span> </label>
<select name="exam_type" id="exam_type" class="form-control select2 modal-select">
......@@ -54,7 +54,7 @@
</div>
<div class="form-group col-md-4">
<div class="form-group col-md-3">
<label class="tx-medium">Category<span class="text-danger">*</span> </label>
<select name="category" id="category" class="form-control select2 modal-select">
......@@ -67,6 +67,20 @@
</div>
<div class="form-group col-md-3">
<label class="tx-medium">Schedule <span class="text-danger">*</span> </label>
<select name="schedule" id="schedule" class="form-control select2 modal-select">
<option value="">--Select--</option>
<?php foreach ($schedule as $row) { ?>
<option value="<?php echo $row->id ?>"> <?php echo $row->exam_schedule ?></option>
<?php } ?>
</select>
</div>
<div class="form-group col-md-12 mt-3">
<label>Question</label>
......
......@@ -21495,7 +21495,8 @@ Fixing Order => Base + Typography >> General Layout + Grid >> Page Layout + Comp
.input-group > .bootstrap-select:not(:last-child) .dropdown-toggle {
border-top-right-radius: 0;
border-bottom-right-radius: 0; }
border-bottom-right-radius: 0;
height : 42px ;}
:root {
--primary: #FC9003;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment