Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apps.acj
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franklin
apps.acj
Commits
7139bc13
Commit
7139bc13
authored
Mar 15, 2024
by
Manoj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
6949c311
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
137 additions
and
202 deletions
+137
-202
Applicationlist.php
admin/application/views/masters/Applicationlist.php
+102
-179
examSchedule.php
admin/application/views/masters/examSchedule.php
+10
-11
edit.php
admin/application/views/questions/edit.php
+25
-12
No files found.
admin/application/views/masters/Applicationlist.php
View file @
7139bc13
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Document
</title>
<style>
<!-- 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 -->
.error
{
<!-- Added by HTTrack -->
color
:
red
;
<meta
http-equiv=
"content-type"
content=
"text/html;charset=UTF-8"
/>
<!-- /Added by HTTrack -->
}
</style>
</head>
<body>
<head>
<!-- <div class="page-header mt-5"> -->
<div
class=
"d-flex justify-content-between"
>
<div>
<h3
class=
" tx-24 mg-b-5"
><strong>
<?=
$page
;
?>
</strong></h4>
</div>
<div>
<!-- <label>Pending</label>
<!-- Title -->
<input type="radio" name="filter" id="filter" class="filter" value="Pending">
<title>
Completed List
</title>
<label>Completed</label>
<!-- Meta -->
<input type="radio" name="filter" id="filter" class="filter" value="Completed"> -->
</div>
</div>
<!-- </div> -->
<!-- Row -->
<div
class=
"row sidemenu-height"
>
</head>
<div
class=
"col-lg-12"
>
<body>
<?php
if
(
$this
->
session
->
flashdata
(
'alert_success'
))
{
?>
<div
class=
"alert alert-success 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
$this
->
session
->
flashdata
(
'alert_success'
);
?>
</div>
<?php
}
if
(
$this
->
session
->
flashdata
(
'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>
<?php
echo
$this
->
session
->
flashdata
(
'alert_danger'
);
?>
</div>
<?php
}
?>
<div
class=
"card custom-card"
>
<div
class=
"content-body"
>
<div
class=
" justify-content-between "
>
<div
style=
"margin-top:-20px !important;margin-left:25px;"
>
<h3
class=
"tx-24 mg-b-5"
><strong>
<?=
$page
;
?>
</strong></h4>
</div>
<div
class=
"card-header "
>
</div>
<div
class=
"row d-flex justify-content-start"
>
<div
class=
'col-md-2'
>
<select
name=
"courseId"
id=
"courseId"
class=
"form-control filtercourse select2 "
>
<option
value=
""
>
-- Filter Course --
</option>
<?php
foreach
(
$courses
as
$row
)
{
?>
<option
value=
"
<?php
echo
$row
->
short_name
?>
"
>
<?php
echo
$row
->
short_name
?>
</option>
<?php
}
?>
</select>
</div>
<div
class=
'col-md-4'
>
<!-- row -->
<input
type=
"checkbox"
id=
"demandDraft"
name=
"demandDraft"
class=
"ml-2"
><label
class=
"mt-2"
>
Demand Draft
</label>
<div
class=
"container-fluid"
>
<input
type=
"checkbox"
id=
"scst"
name=
"scst"
class=
"ml-2"
><label
class=
"mt-2"
>
SC/ST
</label>
<!-- Row -->
<div
class=
"row"
>
<div
class=
"col-xl-12"
>
<div
class=
"row"
>
<div
class=
"col-xl-12"
>
<div
class=
"page-title flex-wrap"
>
<div
class=
"input-group search-area mb-md-0 mb-3"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"Search here..."
>
<span
class=
"input-group-text"
><a
href=
"javascript:void(0)"
>
<svg
width=
"15"
height=
"15"
viewBox=
"0 0 18 18"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M17.5605 15.4395L13.7527 11.6317C14.5395 10.446 15 9.02625 15 7.5C15 3.3645 11.6355 0 7.5 0C3.3645 0 0 3.3645 0 7.5C0 11.6355 3.3645 15 7.5 15C9.02625 15 10.446 14.5395 11.6317 13.7527L15.4395 17.5605C16.0245 18.1462 16.9755 18.1462 17.5605 17.5605C18.1462 16.9747 18.1462 16.0252 17.5605 15.4395V15.4395ZM2.25 7.5C2.25 4.605 4.605 2.25 7.5 2.25C10.395 2.25 12.75 4.605 12.75 7.5C12.75 10.395 10.395 12.75 7.5 12.75C4.605 12.75 2.25 10.395 2.25 7.5V7.5Z"
fill=
"#01A3FF"
/>
</svg>
</a></span>
</div>
<div>
</div>
</div>
</div>
</div>
</div>
<!--column-->
<div
class=
"col-xl-12 wow fadeInUp"
data-wow-delay=
"1.5s"
>
</div>
<div
class=
"card-body"
>
<div
class=
"card-header "
>
<div
class=
"table-responsive"
>
<div
class=
"row d-flex justify-content-start"
>
<table
id=
"dmstable"
class=
"table table-striped table-bordered dt-responsive nowrap"
style=
"border-collapse: collapse; border-spacing: 0; width: 100%;"
>
<div
class=
'col-md-2'
>
<thead>
<select
name=
"courseId"
id=
"courseId"
class=
"form-control filtercourse select2 "
>
<tr>
<option
value=
""
>
-- Filter Course --
</option>
<th
class=
"wd-20p"
>
S.No
</th>
<?php
foreach
(
$courses
as
$row
)
{
?>
<th
class=
"wd-20p"
>
Ref.No
</th>
<option
value=
"
<?php
echo
$row
->
short_name
?>
"
>
<?php
echo
$row
->
short_name
?>
</option>
<th
class=
"wd-25p"
>
Name
</th>
<?php
}
?>
<th
class=
"wd-15p"
>
Course Name
</th>
</select>
<!-- <th class="wd-15p">Fees</th>
</div>
<div
class=
'col-md-4'
>
<input
type=
"checkbox"
id=
"demandDraft"
name=
"demandDraft"
class=
"ml-2"
><label
class=
"mt-2"
>
Demand Draft
</label>
<input
type=
"checkbox"
id=
"scst"
name=
"scst"
class=
"ml-2"
><label
class=
"mt-2"
>
SC/ST
</label>
</div>
</div>
</div>
<div
class=
"table-responsive full-data"
>
<table
class=
"table-responsive-lg table display dataTablesCard student-tab dataTable no-footer"
id=
"example-student"
>
<thead>
<tr>
<th
class=
"wd-20p"
>
S.No
</th>
<th
class=
"wd-20p"
>
Ref.No
</th>
<th
class=
"wd-25p"
>
Name
</th>
<th
class=
"wd-15p"
>
Course Name
</th>
<!-- <th class="wd-15p">Fees</th>
<th class="wd-15p">Mobile</th>
<th class="wd-15p">Mobile</th>
<th class="wd-15p">staus</th> -->
<th class="wd-15p">staus</th> -->
<th
class=
"wd-15p"
>
Email
</th>
<th
class=
"wd-15p"
>
Email
</th>
<th
class=
"wd-15p"
>
Action
</th>
<th
class=
"wd-15p"
>
Action
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<?php
<?php
foreach
(
$records
as
$i
=>
$row
)
{
?>
foreach
(
$records
as
$i
=>
$row
)
{
?>
<tr>
<tr>
<td>
<?php
if
(
$page
!=
'Shortlisted'
)
{
?><?php
}
?><?=
$i
+
1
?>
</td>
<td>
<?php
if
(
$page
!=
'Shortlisted'
)
{
?><?php
}
?><?=
$i
+
1
?>
</td>
<td>
<?=
$row
->
reference_no
?>
</td>
<td>
<?=
$row
->
reference_no
?>
</td>
<td>
<?=
$row
->
first_name
?>
</td>
<td>
<?=
$row
->
first_name
?>
</td>
<td>
<?=
$row
->
short_name
;
?>
</td>
<td>
<?=
$row
->
short_name
;
?>
</td>
<!-- <td>
<?=
$row
->
application_fees
;
?>
</td>
<!-- <td>
<?=
$row
->
application_fees
;
?>
</td>
<td>
<?=
$row
->
mobile
;
?>
</td>
<td>
<?=
$row
->
mobile
;
?>
</td>
<td> <form action="
<?=
base_url
(
'ApplicationController/mailSendOnPendingList/'
)
?>
" method="post"><input type="hidden" value="
<?=
$row
->
email
?>
" name="email" id="email"><input type="hidden" value="
<?=
$row
->
first_name
.
' '
.
$row
->
middle_name
.
' '
.
$row
->
last_name
?>
" name="uname" id="uname"><button class="btn " type="submit"><i class="ti-email text-info h4"></i></button></form></td>
<td> <form action="
<?=
base_url
(
'ApplicationController/mailSendOnPendingList/'
)
?>
" method="post"><input type="hidden" value="
<?=
$row
->
email
?>
" name="email" id="email"><input type="hidden" value="
<?=
$row
->
first_name
.
' '
.
$row
->
middle_name
.
' '
.
$row
->
last_name
?>
" name="uname" id="uname"><button class="btn " type="submit"><i class="ti-email text-info h4"></i></button></form></td>
<td>
<?=
(
$row
->
apstatus
==
'1'
)
?
'Completed'
:
'Pending'
?>
</td> -->
<td>
<?=
(
$row
->
apstatus
==
'1'
)
?
'Completed'
:
'Pending'
?>
</td> -->
<td><a
title=
"Send Mail"
href=
"
<?=
base_url
(
'ApplicationController/mailSendOnShortlist/'
.
$row
->
appid
)
?>
"
><i
class=
"ti-email text-themecolor h5"
></i></a>
<td><a
title=
"Send Mail"
href=
"
<?=
base_url
(
'ApplicationController/mailSendOnShortlist/'
.
$row
->
appid
)
?>
"
><i
class=
"ti-email text-themecolor h5"
></i></a>
<td
style=
"padding-right: 10px;"
>
<td
style=
"padding-right: 10px;"
>
<!--
<?php
if
(
$row
->
payment_mode
==
0
&&
$row
->
apstatus
==
0
)
{
?>
<!--
<?php
if
(
$row
->
payment_mode
==
0
&&
$row
->
apstatus
==
0
)
{
?>
<a href="#" onclick="openPayment('
<?=
$row
->
appid
?>
',
<?=
$row
->
user_id
?>
, '
<?=
$row
->
payment_mode
?>
')" id="opentutionModal"><i class="ti-money text-themecolor h5"></i></a>
<a href="#" onclick="openPayment('
<?=
$row
->
appid
?>
',
<?=
$row
->
user_id
?>
, '
<?=
$row
->
payment_mode
?>
')" id="opentutionModal"><i class="ti-money text-themecolor h5"></i></a>
<?php
}
?>
-->
<?php
}
?>
-->
<a
title=
"Preview"
href=
"
<?=
base_url
(
'ApplicationController/viewApplication/'
.
$row
->
user_id
)
?>
"
><i
class=
"ti-eye text-themecolor h5"
></i></a>
<a
title=
"Preview"
href=
"
<?=
base_url
(
'ApplicationController/viewApplication/'
.
$row
->
user_id
)
?>
"
><i
class=
"ti-eye text-themecolor h5"
></i></a>
<!-- <a title="Edit" href="
<?=
base_url
(
'ApplicationController/applicationedit/'
.
$row
->
user_id
)
?>
" class=""><i class="ti-pencil-alt text-themecolor h5"></i></a> -->
<!-- <a title="Edit" href="
<?=
base_url
(
'ApplicationController/applicationedit/'
.
$row
->
user_id
)
?>
" class=""><i class="ti-pencil-alt text-themecolor h5"></i></a> -->
</td>
</td>
</tr>
</tr>
<?php
}
<?php
}
?>
?>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"modal fade"
id=
"self_certificationModal"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"exampleModalCenterTitle"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-dialog-centered"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h3
class=
"modal-title text-danger"
id=
"exampleModalLongTitle"
>
Alert
</h3>
</div>
</div>
<div
class=
"modal-body d-flex justify-content-center"
>
<strong>
Agree to
</strong>
"I certify that the particulars given in the application."
</p>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-sm btn-secondary"
data-dismiss=
"modal"
onclick=
"closeModal('self_certificationModal')"
>
Close
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"modal show"
id=
"tutionModal"
style=
"display: none;"
aria-modal=
"true"
role=
"dialog"
>
<div
class=
"modal-dialog"
role=
"document"
>
<div
class=
"modal-content modal-content-demo"
>
<div
class=
"modal-header"
>
<h6
class=
"modal-title"
id=
"formTitle"
>
Add payment detail
</h6>
</div>
<div
class=
"modal-body"
>
<form
method=
"POST"
id=
"tutionForm"
action=
"
<?php
echo
base_url
(
'ApplicationController/paymenthistry'
);
?>
"
>
<input
type=
"hidden"
id=
'id'
name=
'id'
>
<input
type=
"hidden"
id=
"appid"
name=
"appid"
>
<input
type=
"hidden"
id=
"userid"
name=
"userid"
>
<input
type=
"hidden"
id=
"paymentmode"
name=
"paymentmode"
>
<input
type=
"hidden"
name=
""
>
<div
class=
"form-group"
>
<label
class=
"tx-medium"
>
Name
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
class=
"form-control"
id=
"name"
name=
"name"
placeholder=
"name"
>
</div>
<div
class=
"form-group"
>
<label
class=
"tx-medium"
>
Bank Name
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
class=
"form-control"
id=
"bankname"
name=
"bankname"
placeholder=
"Bankname"
>
</div>
<div
class=
"form-group"
>
<label
class=
"tx-medium"
>
Transaction No
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
class=
"form-control"
id=
"transaction"
name=
"transaction"
placeholder=
"Transaction"
>
</div>
<div
class=
"form-group"
>
<label
class=
"tx-medium"
>
Date
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"date"
class=
"form-control"
id=
"date"
name=
"date"
placeholder=
"date"
>
</div>
<div
class=
"form-group"
>
<label
class=
"tx-medium"
>
Amount
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"number"
class=
"form-control"
id=
"amount"
name=
"amount"
placeholder=
"Amount"
>
</div>
<div
class=
"modal-footer"
>
<button
type=
"submit"
class=
"btn ripple btn-primary"
id=
"save"
>
Save
</button>
<button
type=
"button"
class=
"btn ripple btn-secondary"
id=
"closemodel"
data-bs-dismiss=
"modal"
>
Close
</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
// When a link with the class "open-in-new-tab" is clicked
// When a link with the class "open-in-new-tab" is clicked
$
(
".open-in-new-tab"
).
click
(
function
(
event
)
{
$
(
".open-in-new-tab"
).
click
(
function
(
event
)
{
// Prevent the default behavior (opening the link in the current tab)
// Prevent the default behavior (opening the link in the current tab)
...
@@ -339,4 +262,4 @@
...
@@ -339,4 +262,4 @@
}
}
});
});
});
});
</script>
</script>
\ No newline at end of file
\ No newline at end of file
admin/application/views/masters/examSchedule.php
View file @
7139bc13
...
@@ -67,10 +67,10 @@
...
@@ -67,10 +67,10 @@
<td>
<?=
$i
?>
</td>
<td>
<?=
$i
?>
</td>
<td>
<?=
$row
->
academic
?>
</td>
<td>
<?=
$row
->
academic
?>
</td>
<td>
<?=
$row
->
exam_schedule
?>
</td>
<td>
<?=
$row
->
exam_schedule
?>
</td>
<td>
<?=
$row
->
date
?>
</td>
<td>
<?=
date
(
$row
->
date
)
?>
</td>
<td>
<?=
$row
->
time
?>
</td>
<td>
<?=
$row
->
time
?>
</td>
<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
->
academic
;
?>
', '
<?php
echo
$row
->
exam_schedule
;
?>
')"
class=
"btn btn-sm btn-info"
><i
class=
"ti ti-pencil"
></i></a>
<a
data-toggle=
"tooltip"
id=
"edit"
data-placement=
"top"
title=
"Edit"
data-original-title=
"Edit"
onclick=
"edit('
<?php
echo
$row
->
id
;
?>
', '
<?php
echo
$row
->
academic
;
?>
', '
<?php
echo
$row
->
exam_schedule
;
?>
'
,'
<?php
echo
$row
->
date
;
?>
','
<?php
echo
$row
->
time
;
?>
'
)"
class=
"btn btn-sm btn-info"
><i
class=
"ti ti-pencil"
></i></a>
<a
data-toggle=
"tooltip"
data-placement=
"top"
title=
"Delete"
data-original-title=
"Delete"
onclick=
"deleteCourse('
<?php
echo
$row
->
id
;
?>
','
<?php
echo
$row
->
status
;
?>
')"
class=
"btn btn-sm
<?php
echo
$row
->
status
==
1
?
'btn-primary'
:
'btn-danger'
?>
text-white"
>
<?php
echo
$row
->
status
==
1
?
'Active'
:
'In-Active'
?>
</a>
<a
data-toggle=
"tooltip"
data-placement=
"top"
title=
"Delete"
data-original-title=
"Delete"
onclick=
"deleteCourse('
<?php
echo
$row
->
id
;
?>
','
<?php
echo
$row
->
status
;
?>
')"
class=
"btn btn-sm
<?php
echo
$row
->
status
==
1
?
'btn-primary'
:
'btn-danger'
?>
text-white"
>
<?php
echo
$row
->
status
==
1
?
'Active'
:
'In-Active'
?>
</a>
</td>
</td>
</tr>
</tr>
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
<div
class=
"modal-dialog modal-lg modal-dialog-center"
>
<div
class=
"modal-dialog modal-lg modal-dialog-center"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<div
class=
"modal-header"
>
<h1
class=
"modal-title fs-5"
id=
"
exampleModalLabel
"
>
Add Exam Schedule
</h1>
<h1
class=
"modal-title fs-5"
id=
"
formTitle
"
>
Add Exam Schedule
</h1>
<button
type=
"button"
class=
"btn-close"
data-bs-dismiss=
"modal"
aria-label=
"Close"
></button>
<button
type=
"button"
class=
"btn-close"
data-bs-dismiss=
"modal"
aria-label=
"Close"
></button>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
<form
method=
"POST"
action=
"
<?php
echo
base_url
(
'ApplicationController/commonStatusChange/'
)
?>
"
id=
"courseForm"
>
<form
method=
"POST"
action=
"
<?php
echo
base_url
(
'ApplicationController/commonStatusChange/'
)
?>
"
id=
"courseForm"
>
<input
type=
"hidden"
id=
'rowId'
name=
'id'
>
<input
type=
"hidden"
id=
'rowId'
name=
'id'
>
<input
type=
"hidden"
id=
'rowStatus'
name=
'status'
>
<input
type=
"hidden"
id=
'rowStatus'
name=
'status'
>
<input
type=
"hidden"
id=
'table'
name=
'table'
value=
"
application_fees
"
>
<input
type=
"hidden"
id=
'table'
name=
'table'
value=
"
exam_schedule
"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<h4>
Are You Sure you want to change the status?
</h4>
<h4>
Are You Sure you want to change the status?
</h4>
</div>
</div>
...
@@ -176,15 +176,14 @@
...
@@ -176,15 +176,14 @@
</html>
</html>
<script>
<script>
function
edit
(
id
,
feesVal
,
courseId
)
{
function
edit
(
id
,
academic
,
schedule
,
date
,
time
)
{
$
(
'#course_name_err'
).
text
(
' '
)
$
(
'#fees_err'
).
text
(
' '
)
$
(
'#id'
).
val
(
id
)
$
(
'#id'
).
val
(
id
)
$
(
'#fees'
).
val
(
feesVal
)
$
(
'#academic'
).
val
(
academic
)
$
(
'#courseId'
).
val
(
courseId
)
$
(
'#schedule'
).
val
(
schedule
)
$
(
'#courseId'
).
val
(
courseId
).
trigger
(
'change'
);
$
(
'#date'
).
val
(
date
)
$
(
'#formTitle'
).
text
(
'Edit Course'
)
$
(
'#time'
).
val
(
time
)
$
(
'#formTitle'
).
text
(
'Edit Exam Schedule'
)
$
(
"#applicationModal"
).
modal
(
'show'
);
$
(
"#applicationModal"
).
modal
(
'show'
);
$
(
"#courseId"
).
select2
({
$
(
"#courseId"
).
select2
({
...
...
admin/application/views/questions/edit.php
View file @
7139bc13
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<head>
<head>
<!-- Title -->
<!-- Title -->
<title>
Question
</title>
<title>
Edit
Question
</title>
<!-- Meta -->
<!-- Meta -->
<style>
<style>
...
@@ -25,46 +25,59 @@
...
@@ -25,46 +25,59 @@
<div
class=
"col-lg-12"
>
<div
class=
"col-lg-12"
>
<div
class=
"card "
>
<div
class=
"card "
>
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<h2
class=
"card-title"
>
Add
Question
</h2><bR>
<h2
class=
"card-title"
>
Edit
Question
</h2><bR>
<form
action=
"
<?php
echo
base_url
();
?>
ApplicationController/questionAdd"
method=
"post"
enctype=
"multipart/form-data"
id=
"registration_form"
>
<form
action=
"
<?php
echo
base_url
();
?>
ApplicationController/questionAdd"
method=
"post"
enctype=
"multipart/form-data"
id=
"registration_form"
>
<div
class=
"row"
>
<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>
<label
class=
"tx-medium"
>
Academic Year
<span
class=
"text-danger"
>
*
</span>
</label>
<select
name=
"academic"
id=
"academic"
class=
"form-control select2 modal-select"
>
<select
name=
"academic"
id=
"academic"
class=
"form-control select2 modal-select"
>
<option
value=
""
>
--Select--
</option>
<option
value=
""
>
--Select--
</option>
<?php
foreach
(
$academic_year
as
$row
)
{
?>
<?php
foreach
(
$academic_year
as
$row
)
{
?>
<option
value=
"
<?php
echo
$row
->
id
?>
"
>
<?php
echo
$row
->
year
?>
</option>
<option
<?=
$default
[
'academic'
]
==
$row
->
id
?
'selected '
:
''
?>
value=
"
<?php
echo
$row
->
id
?>
"
>
<?php
echo
$row
->
year
?>
</option>
<?php
}
?>
<?php
}
?>
</select>
</select>
</div>
</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>
<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"
>
<select
name=
"exam_type"
id=
"exam_type"
class=
"form-control select2 modal-select"
>
<option
value=
""
>
--Select--
</option>
<option
value=
""
>
--Select--
</option>
<?php
foreach
(
$exam_type
as
$row
)
{
?>
<?php
foreach
(
$exam_type
as
$row
)
{
?>
<option
value=
"
<?php
echo
$row
->
id
?>
"
>
<?php
echo
$row
->
exam_type_name
?>
</option>
<option
<?=
$default
[
'exam_type'
]
==
$row
->
id
?
'selected '
:
''
?>
value=
"
<?php
echo
$row
->
id
?>
"
>
<?php
echo
$row
->
exam_type_name
?>
</option>
<?php
}
?>
<?php
}
?>
</select>
</select>
</div>
</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>
<label
class=
"tx-medium"
>
Category
<span
class=
"text-danger"
>
*
</span>
</label>
<select
name=
"category"
id=
"category"
class=
"form-control select2 modal-select"
>
<select
name=
"category"
id=
"category"
class=
"form-control select2 modal-select"
>
<option
value=
""
>
--Select--
</option>
<option
value=
""
>
--Select--
</option>
<?php
foreach
(
$category
as
$row
)
{
?>
<?php
foreach
(
$category
as
$row
)
{
?>
<option
value=
"
<?php
echo
$row
->
id
?>
"
>
<?php
echo
$row
->
category
?>
</option>
<option
<?=
$default
[
'category'
]
==
$row
->
id
?
'selected '
:
''
?>
value=
"
<?php
echo
$row
->
id
?>
"
>
<?php
echo
$row
->
category
?>
</option>
<?php
}
?>
<?php
}
?>
</select>
</select>
</div>
</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
<?=
$default
[
'schedule_id'
]
==
$row
->
id
?
'selected '
:
''
?>
value=
"
<?php
echo
$row
->
id
?>
"
>
<?php
echo
$row
->
exam_schedule
?>
</option>
<?php
}
?>
</select>
</div>
<div
class=
"form-group col-md-12 mt-3"
>
<div
class=
"form-group col-md-12 mt-3"
>
...
@@ -128,10 +141,10 @@
...
@@ -128,10 +141,10 @@
<select
name=
"answer"
id=
"answer"
class=
"form-control select2 modal-select"
>
<select
name=
"answer"
id=
"answer"
class=
"form-control select2 modal-select"
>
<option
value=
""
>
--Select Answer--
</option>
<option
value=
""
>
--Select Answer--
</option>
<option
value=
"a"
>
A
</option>
<option
<?=
$default
[
'answer'
]
==
'a'
?
'selected '
:
''
?>
value=
"a"
>
A
</option>
<option
value=
"b"
>
B
</option>
<option
<?=
$default
[
'answer'
]
==
'b'
?
'selected '
:
''
?>
value=
"b"
>
B
</option>
<option
value=
"c"
>
C
</option>
<option
<?=
$default
[
'answer'
]
==
'c'
?
'selected '
:
''
?>
value=
"c"
>
C
</option>
<option
value=
"d"
>
D
</option>
<option
<?=
$default
[
'answer'
]
==
'd'
?
'selected '
:
''
?>
value=
"d"
>
D
</option>
</select>
</select>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment