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
d249f6f6
Commit
d249f6f6
authored
Mar 15, 2024
by
Manoj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exam schedule
parent
77f192f5
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
589 additions
and
194 deletions
+589
-194
ApplicationController.php
admin/application/controllers/ApplicationController.php
+75
-0
menu.php
admin/application/views/base/menu.php
+1
-0
add.php
admin/application/views/faculty/add.php
+110
-124
edit.php
admin/application/views/faculty/edit.php
+168
-60
view.php
admin/application/views/faculty/view.php
+7
-9
examSchedule.php
admin/application/views/masters/examSchedule.php
+227
-0
referenceno.php
admin/application/views/masters/referenceno.php
+1
-1
No files found.
admin/application/controllers/ApplicationController.php
View file @
d249f6f6
...
...
@@ -2454,6 +2454,81 @@ 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'
);
}
...
...
admin/application/views/base/menu.php
View file @
d249f6f6
...
...
@@ -22,6 +22,7 @@
<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>
...
...
admin/application/views/faculty/add.php
View file @
d249f6f6
<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"
>
<div
class=
"col-lg-12"
>
<div
class=
"card"
>
<div
class=
"card-body"
>
<h4
class=
"card-title"
>
Faculty create
</h4><bR>
<form
action=
"
<?php
echo
base_url
();
?>
ApplicationController/store"
method=
"post"
enctype=
"multipart/form-data"
id=
"registration_form"
>
<head>
<!-- Title -->
<title>
Add 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-body"
>
<h3
class=
""
>
Add Faculty
</h3>
<br>
<form
action=
"
<?php
echo
base_url
();
?>
ApplicationController/store"
method=
"post"
enctype=
"multipart/form-data"
id=
"registration_form"
>
<div
class=
"row"
>
<div
class=
"form-group col-md-4"
>
<label
class=
"required"
>
Name
</label>
<label
>
Name
</label>
<input
type=
"text"
class=
"form-control"
name=
"facultyname"
placeholder=
"name"
required
>
</div>
<div
class=
"form-group col-md-4"
>
<label
class=
"required"
>
Mobile
</label>
<label
>
Mobile
</label>
<input
name=
"mobile"
id=
"mobile"
type=
"number"
class=
"form-control"
placeholder=
"Mobile_number"
value=
"
<?php
echo
(
isset
(
$_POST
[
''
]))
?
$_POST
[
''
]
:
''
;
?>
"
required
>
<?php
if
(
$this
->
session
->
flashdata
(
'mobile'
))
:
?>
<span
style=
"color: red;"
>
<?=
$this
->
session
->
flashdata
(
'mobile'
)
?>
</span>
...
...
@@ -59,7 +43,7 @@ if (validation_errors()) {
<?php
endif
;
?>
</div>
<div
class=
"form-group col-md-4"
>
<label
class=
"required"
>
Email
</label>
<label
>
Email
</label>
<input
name=
"email"
id=
"email"
type=
"email"
class=
"form-control"
placeholder=
"Email"
value=
"
<?php
echo
(
isset
(
$_POST
[
''
]))
?
$_POST
[
''
]
:
''
;
?>
"
required
>
<?php
if
(
form_error
(
'email'
))
{
?>
<div
id=
"summernote"
class=
"alert alert-danger alert-dismissible fade show"
role=
"alert"
>
...
...
@@ -71,14 +55,14 @@ if (validation_errors()) {
<?php
}
?>
</div>
<div
class=
"form-group col-md-4"
>
<div
class=
"form-group col-md-4
mt-3
"
>
<label
for=
"login_pass"
class=
"form_label"
>
Password
</label>
<div
class=
"control"
>
<input
type=
"password"
name=
"password"
id=
"login_pass"
class=
"form-control password"
autocomplete=
"off"
placeholder=
"Password"
/>
<span
class=
"input-group-text"
>
<
!-- <
span class="input-group-text">
<i class="eye showPwd1"></i>
</span>
</span>
-->
<?php
if
(
form_error
(
'password'
))
{
?>
<div
class=
"alert alert-danger alert-dismissible fade show pb-0 mt-1"
role=
"alert"
>
...
...
@@ -91,15 +75,15 @@ if (validation_errors()) {
</div>
<div
class=
"form-group col-md-4"
>
<div
class=
"form-group col-md-4
mt-3
"
>
<label
for=
"login_pass"
class=
"form_label"
>
confirm Password
</label>
<div
class=
"control"
>
<!-- <input type="password" name="Password" id="login_pass" class="form-control password" autocomplete="off" placeholder="Enter password" /> -->
<input
type=
"password"
name=
"c_password"
id=
"login_pass2"
class=
"form-control password2"
autocomplete=
"off"
placeholder=
"Confirm password"
/>
<span
class=
"input-group-text"
>
<
!-- <
span class="input-group-text">
<i class="eye showPwd2"></i>
</span>
</span>
-->
<?php
if
(
form_error
(
'c_password'
))
{
?>
<div
class=
"alert alert-danger alert-dismissible fade show pb-0 mt-1"
role=
"alert"
>
...
...
@@ -111,32 +95,10 @@ if (validation_errors()) {
</div>
<!-- <div class="form-group col-md-4">
<label class="required">Password</label>
<input name="Password" id="Password" type="psw" class="form-control" placeholder="Password" value="
<?php
echo
(
isset
(
$_POST
[
''
]))
?
$_POST
[
''
]
:
''
;
?>
" required>
<?php
if
(
form_error
(
'Password'
))
{
?>
<div id="summernote" 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
form_error
(
'Password'
);
?>
</div>
<?php
}
?>
</div>
<div class="form-group col-md-4">
<label class="required">Confirm Password</label>
<input name="confirm_password" id="confirm_password" type="psw" class="form-control" placeholder="confirm_password" value="
<?php
echo
(
isset
(
$_POST
[
''
]))
?
$_POST
[
''
]
:
''
;
?>
" required>
<?php
if
(
form_error
(
'confirm_password'
))
{
?>
<div id="summernote" 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
form_error
(
'confirm_password'
);
?>
</div>
<?php
}
?>
</div> -->
<div
class=
"form-group mt-3 col-md-4"
>
</div>
<div
class=
"form-group mt-3 col-md-4"
>
<div
class=
""
>
<button
name=
"submit"
type=
"submit"
class=
"btn btn-primary waves-effect waves-light mr-1"
>
Submit
...
...
@@ -144,22 +106,53 @@ 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>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'#summernote'
).
summernote
();
</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
();
});
$
(
document
).
ready
(
function
()
{
$
(
'#registration_form'
).
validate
({
rules
:
{
...
...
@@ -214,52 +207,45 @@ if (validation_errors()) {
$
(
element
).
removeClass
(
'is-invalid'
);
}
});
});
});
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
eye1
=
document
.
querySelector
(
'.showPwd1'
);
eye1
.
addEventListener
(
'click'
,
function
()
{
toggleType1
();
})
//start of confirm password toggle
let
pwd2
=
document
.
getElementById
(
'login_pass2'
);
eye2
=
document
.
querySelector
(
'.showPwd2'
);
eye2
.
addEventListener
(
'click'
,
function
()
{
toggleType2
();
})
function
toggleType1
()
{
if
(
eye1
.
classList
.
contains
(
'closed'
))
{
pwd1
.
type
=
'password'
;
}
else
{
pwd1
.
type
=
'text'
;
}
eye1
.
classList
.
toggle
(
'closed'
);
}
//end of password toggle
function
toggleType2
()
{
if
(
eye2
.
classList
.
contains
(
'closed'
))
{
pwd2
.
type
=
'password'
;
}
else
{
pwd2
.
type
=
'text'
;
}
eye2
.
classList
.
toggle
(
'closed'
);
}
</script>
</body>
<style
type=
"text/css"
>
.required
:after
{
content
:
" *"
!important
;
color
:
red
!important
;
//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
admin/application/views/faculty/edit.php
View file @
d249f6f6
<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"
>
<div
class=
"col-lg-12"
>
<div
class=
"card"
>
<div
class=
"card-body"
>
<h4
class=
"card-title"
>
Faculty edit
</h4><bR>
<form
action=
"
<?php
echo
base_url
();
?>
ApplicationController/update/
<?php
echo
$records
[
'id'
];
?>
"
method=
"post"
enctype=
"multipart/form-data"
>
<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-body"
>
<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"
>
<label
class=
""
>
Name
</label>
...
...
@@ -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>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'#summernote'
).
summernote
();
});
</script>
</body>
<style
type=
"text/css"
>
.required
:after
{
content
:
" *"
!important
;
color
:
red
!important
;
</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
();
});
$
(
document
).
ready
(
function
()
{
$
(
'#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'
);
}
});
});
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
admin/application/views/faculty/view.php
View file @
d249f6f6
...
...
@@ -34,12 +34,13 @@
</svg>
</a></span>
</div>
<div>
<!-- Button trigger modal --
>
<button
type=
"button"
class=
"btn btn-primary"
id=
"open-modal"
>
+ New Faculty
</button>
<a
class=
"btn btn-primary"
id=
"open-modal"
href=
"
<?php
echo
base_url
();
?>
ApplicationController/facultyadd"
>
+ New Faculty
</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>
...
...
admin/application/views/masters/examSchedule.php
0 → 100644
View file @
d249f6f6
<!DOCTYPE html>
<html
lang=
"en"
>
<!-- 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 -->
<head>
<!-- Title -->
<title>
Exam Schedule
</title>
<!-- Meta -->
</head>
<body>
<div
class=
"content-body"
>
<!-- row -->
<div
class=
"container-fluid"
>
<!-- 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>
<!-- Button trigger modal -->
<button
type=
"button"
class=
"btn btn-primary"
id=
"open-modal"
>
+ New Exam Schedule
</button>
</div>
</div>
</div>
<!--column-->
<div
class=
"col-xl-12 wow fadeInUp"
data-wow-delay=
"1.5s"
>
<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"
>
Academic
</th>
<th
class=
"wd-25p"
>
Exam Schedule
</th>
<th
class=
"wd-25p"
>
Date
</th>
<th
class=
"wd-25p"
>
Time
</th>
<th
class=
"wd-15p"
>
Action
</th>
</tr>
</thead>
<tbody>
<?php
$i
=
1
;
foreach
(
$records
as
$key
=>
$row
)
{
?>
<tr>
<td>
<?=
$i
?>
</td>
<td>
<?=
$row
->
academic
?>
</td>
<td>
<?=
$row
->
exam_schedule
?>
</td>
<td>
<?=
$row
->
date
?>
</td>
<td>
<?=
$row
->
time
?>
</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"
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>
</tr>
<?php
$i
++
;
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div
class=
"modal fade"
id=
"applicationModal"
tabindex=
"-1"
aria-labelledby=
"exampleModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-lg modal-dialog-center"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h1
class=
"modal-title fs-5"
id=
"exampleModalLabel"
>
Add Exam Schedule
</h1>
<button
type=
"button"
class=
"btn-close"
data-bs-dismiss=
"modal"
aria-label=
"Close"
></button>
</div>
<div
class=
"modal-body"
>
<form
method=
"POST"
id=
"feesForm"
action=
"
<?php
echo
base_url
(
'ApplicationController/addEditexamSchedule'
);
?>
"
>
<input
type=
"hidden"
id=
'id'
name=
'id'
>
<div
class=
"row"
>
<div
class=
"form-group col-md-6"
>
<label
class=
"tx-medium"
>
Academic Year
<span
class=
"text-danger"
>
*
</span>
</label>
<select
name=
"academic"
id=
"academic"
class=
"form-control select2 modal-select"
>
<option
value=
""
>
--Select--
</option>
<?php
foreach
(
$academic_year
as
$row
)
{
?>
<option
value=
"
<?php
echo
$row
->
id
?>
"
>
<?php
echo
$row
->
year
?>
</option>
<?php
}
?>
</select>
</div>
<div
class=
"form-group col-md-6"
>
<label
class=
"tx-medium"
>
Exam Schedule
<span
class=
"text-danger"
>
*
</span>
</label>
<input
type=
"text"
class=
"form-control"
id=
"schedule"
name=
"schedule"
placeholder=
"Exam Schedule"
required
>
<!-- <p class="text-danger mt-2" id="fees_err"></p> -->
</div>
<div
class=
"form-group col-md-6"
>
<label
class=
"tx-medium"
>
Date
<span
class=
"text-danger"
>
*
</span>
</label>
<input
type=
"date"
class=
"form-control"
id=
"date"
name=
"date"
placeholder=
"Date"
required
>
<!-- <p class="text-danger mt-2" id="fees_err"></p> -->
</div>
<div
class=
"form-group col-md-6"
>
<label
class=
"tx-medium"
>
Time
<span
class=
"text-danger"
>
*
</span>
</label>
<input
type=
"time"
class=
"form-control"
id=
"time"
name=
"time"
placeholder=
"Time"
required
>
<!-- <p class="text-danger mt-2" id="fees_err"></p> -->
</div>
</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
class=
"modal show"
id=
"statusModal"
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"
>
Change Status
</h6>
</div>
<div
class=
"modal-body"
>
<form
method=
"POST"
action=
"
<?php
echo
base_url
(
'ApplicationController/commonStatusChange/'
)
?>
"
id=
"courseForm"
>
<input
type=
"hidden"
id=
'rowId'
name=
'id'
>
<input
type=
"hidden"
id=
'rowStatus'
name=
'status'
>
<input
type=
"hidden"
id=
'table'
name=
'table'
value=
"application_fees"
>
<div
class=
"form-group"
>
<h4>
Are You Sure you want to change the status?
</h4>
</div>
<div
class=
"modal-footer"
>
<button
type=
"submit"
class=
"btn ripple btn-primary"
>
Yes
</button>
<button
type=
"button"
class=
"btn ripple btn-secondary closemodel"
id=
"closemodel"
data-bs-dismiss=
"modal"
>
Close
</button>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>
<script>
function
edit
(
id
,
feesVal
,
courseId
)
{
$
(
'#course_name_err'
).
text
(
' '
)
$
(
'#fees_err'
).
text
(
' '
)
$
(
'#id'
).
val
(
id
)
$
(
'#fees'
).
val
(
feesVal
)
$
(
'#courseId'
).
val
(
courseId
)
$
(
'#courseId'
).
val
(
courseId
).
trigger
(
'change'
);
$
(
'#formTitle'
).
text
(
'Edit Course'
)
$
(
"#applicationModal"
).
modal
(
'show'
);
$
(
"#courseId"
).
select2
({
width
:
'100%'
,
});
}
function
deleteCourse
(
id
,
status
)
{
$
(
'#rowId'
).
val
(
id
)
$
(
'#rowStatus'
).
val
(
status
)
$
(
"#statusModal"
).
show
();
}
$
(
'#open-modal'
).
on
(
'click'
,
function
()
{
$
(
"#applicationModal"
).
modal
(
'show'
);
});
$
(
'.closemodel'
).
on
(
'click'
,
function
()
{
$
(
"#statusModal"
).
hide
();
});
$
(
document
).
ready
(
function
()
{
$
(
'#timepicker'
).
timepicker
({
timeFormat
:
'HH:mm:ss'
,
interval
:
30
,
// 30 minutes
minTime
:
'10'
,
maxTime
:
'12:00pm'
,
defaultTime
:
'11'
,
startTime
:
'10:00'
,
dynamic
:
false
,
dropdown
:
true
,
scrollbar
:
true
});
});
</script>
\ No newline at end of file
admin/application/views/masters/referenceno.php
View file @
d249f6f6
...
...
@@ -8,7 +8,7 @@
<head>
<!-- Title -->
<title>
Tution Category
</title>
<title>
Reference No
</title>
<!-- Meta -->
<style>
...
...
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