-
Notifications
You must be signed in to change notification settings - Fork 0
/
teachingLearning1.php
247 lines (238 loc) · 11.5 KB
/
teachingLearning1.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<?php
session_start();
include('DBConnect.php');
include('form_process/teachingProcess.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>Research Publication </title>
<?php
include('cssLinks.php');
?>
</head>
<body>
<?php
if(isset($_SESSION['username'])){
echo '<div id="wrap">';
include('header.php');
?>
<div class="container" style="background-color:#FFFFFF;">
<h3 align="center">Teaching Learning And Evaluation Related Activities</h3>
<div class="row" style=" margin-bottom:50px;">
<div class="col-sm-9">
<ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="#lectures">Lectures/Seminars</a></li>
<li><a href="#resources">Resources Provided</a></li>
<li><a href="#innovation">Innovation</a></li>
<li><a href="#duties">Examination Duties</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="lectures">
<h5 align="center"> Lectures, Seminar,Tutorial, Practical, Contact Hours</h5>
<form role="form" name="lectures" action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>" method="post" id="lectureForm">
<div class="form-group">
<div id="lect"><br />
<label>Course / Paper</label>
<input type="text" class="form-control required" name="course" title="Please Enter Course Name">
<br /><label>Level</label>
<input type="text" class="form-control required" name="level" title="Please Enter The Level"/>
<br /><label>Mode Of Teaching</label>
<input type="text" class="form-control required" name="teachingModes" title="Please Enter Teaching Mode"/>
<br /><label> No. of Classes/per Week Allocated</label>
<input type="text" class="form-control required" name="classAllocated" title="Please Enter No. Of Class Allocated"/>
<br /><label>Total Number of Classes Conducted</label>
<input type="text" class="form-control required" name="classConducted" title="Please Enter Total No. of Conducted Classes"/>
<br /><label>Practicals</label>
<input type="text" class="form-control required" name="practicals" title="Please Enter Practicles">
<br /><label>% of Classes Taken AS Per Documented Record</label>
<input type="text" class="form-control required" name="classTakenRecord" title="Please Enter the % value"/>
<br /><label>Classes Taken (max 50 for 100% Performance and Proportionate Score upto 80% Performance, below which no Score may be given)</label>
<input type="text" class="form-control required" name="classTaken" title="Please Enter Classes Taken"/>
<br /><label>Teaching Load in Excess of UGC norm(max score : 10)</label>
<input type="text" class="form-control required" name="teachingLoads" title="Please Enter Teaching Load"/>
</div><!--End of lect id -->
<br><input class="btn btn-primary" type="submit" value="Save" name="lectSave" />
<select name="lect" onChange="showUser(this.value, this.name)">
<option>--Title--</option>
<?php
include('DBConnect.php');
$user_id = $_SESSION['username'];
$query = mysqli_query($con,"SELECT * from Teach_LSTP WHERE User_Id='$user_id'");
while($row = mysqli_fetch_assoc($query)){
?> <option><?php echo $row['Teach_LSTP_Course']; ?></option>
<?php } ?>
</select>
<input type="submit" class="btn btn-primary" value="Delete" name="lectDelete" />
</div><!--End of form-group class -->
</form>
</div><!--End of lecture id -->
<div class="tab-pane" id="resources">
<h5 align="center">Reading/Instructional material consulted and additional
knowledge resources provided to students</h5><br>
<form role="form" name="resources" action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>" method="post" id="resourceForm">
<div class="form-group">
<div id="res"><br />
<label>Course / Paper</label>
<input type="text" class="form-control required" name="readingCourse" title="Please Enter Course Name">
<br><label>Consulted</label>
<input type="text" class="form-control required" name="consulted" title="Please Enter value"/>
<br><label>Prescribed</label>
<input type="text" class="form-control required" name="prescribed" title="Please Fill this information"/>
<br><label>Additional Resources Provided : </label>
Yes<input type="radio" name="addiResources" value="Yes"/>
No<input type="radio" name="addiResources" value="No"/>
<input type="text" class="form-control required" name="resrc" title="Please Fill this information"/>
</div><!--End if id res for Ajax -->
</div>
<input class="btn btn-primary" type="submit" value="Save" name="resourceSave" />
<select name="course" onChange="showUser(this.value, this.name)">
<option>--Course--</option>
<?php
include('DBConnect.php');
$user_id = $_SESSION['username'];
$query = mysqli_query($con,"SELECT * from Teach_RIMC WHERE User_Id='$user_id'");
while($row = mysqli_fetch_assoc($query)){
?> <option><?php echo $row['Teach_RIMC_Course']; ?></option>
<?php } ?>
</select>
<input type="submit" class="btn btn-primary" value="Delete" name="resourceDelete" />
</form>
</div><!--End of resource id -->
<div class="tab-pane" id="innovation">
<h5 align="center">Use of participatory and innovative Teaching-Learning
Methodologies, Updating of subject contents</h5><br>
<form role="form" method="post" name="innovation" action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>" id="innovationForm">
<div class="form-group">
<div id="inno"><br />
<label>Short Description </label>
<input type="text" class="form-control required" name="description" title="Please Enter Description">
<br><label>API Score</label>
<input type="text" class="form-control required" name="api" title="Please Enter API Score"/>
</div>
</div>
<input class="btn btn-primary" type="submit" value="Save" name="innovationSave" />
<select name="desc" onChange="showUser(this.value, this.name)">
<option>--Description--</option>
<?php
include('DBConnect.php');
$user_id = $_SESSION['username'];
$query = mysqli_query($con,"SELECT * from Teach_TLM WHERE User_Id='$user_id'");
while($row = mysqli_fetch_assoc($query)){
?> <option><?php echo $row['Teach_TLM_SD']; ?></option>
<?php } ?>
</select>
<input type="submit" class="btn btn-primary" value="Delete" name="innovationDelete" />
</form>
</div><!--End of innovation id -->
<div class="tab-pane" id="duties">
<h5 align="center">Examination Duties Assigned and Performed</h5><br>
<form role="form" name="duties" action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>" method="post" id="dutiesForm">
<div class="form-group">
<div id="duty">
<label>Type of Examination Duties</label>
<input type="text" class="form-control required" name="typeDuties" title="Please Enter The Type">
<br><label>Duties Assigned</label>
<input type="text" class="form-control required" name="assignedDuties" title="Please Enter Assigned Duties"/>
<br><label>Extent to which carried out(%)</label>
<input type="text" class="form-control required" name="extent" title="Please Enter % Value">
<br><label>API Score</label>
<input type="text" class="form-control required" name="api" title="Please Enter API Score"/>
</div>
</div>
<input class="btn btn-primary" type="submit" value="Save" name="dutiesSave" />
<select name="dut" onChange="showUser(this.value, this.name)">
<option>--Duties--</option>
<?php
include('DBConnect.php');
$user_id = $_SESSION['username'];
$query = mysqli_query($con,"SELECT * from Teach_EDAP WHERE User_Id='$user_id'");
while($row = mysqli_fetch_assoc($query)){
?> <option><?php echo $row['Teach_EDAP_TED']; ?></option>
<?php } ?>
</select>
<input type="submit" class="btn btn-primary" value="Delete" name="dutiesDelete" />
</form>
</div><!--End of innovation id -->
</div><!--End of tab-content class -->
</div><!--End of col-sm-9 class -->
<div class="col-sm-3">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">QuickLinks</h3>
</div>
<div class="panel-body">
<a href="general_Information.php">General Category</a><br><br>
<a href="academicActivity.php">Academic Activity </a><br><br>
<a href="curricularActivities.php">Co-Curricular, Extension,Professional Development Related Activity</a><br><br>
<a href="researchPublication.php">Research, publication And Academic Contribution</a><br><br>
<a href="API_Summary.php">API Summary</a><br><br>
<a href="otherInfo.php">Other Relevent Information<br> And Closures</a><br><br>
</div>
</div>
</div><!--End of col-sm-3 class -->
</div><!--End of row class -->
</div><!--End of container class -->
</div><!--end of wrap id -->
<?php
include('footer.php');
include('jsLinks.php');
?>
<script>
$(document).ready(function() {
$('#lectureForm').validate();
$('#resourceForm').validate();
$('#innovationForm').validate();
$('#dutiesForm').validate();
}); // end ready()
</script>
<script>
function showUser(value, name)
{
if (value=="")
{
document.getElementById("lect").innerHTML="";
return;
}
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
if(name == "lect"){
document.getElementById("lect").innerHTML=xmlhttp.responseText;
}
if(name == "course"){
document.getElementById("res").innerHTML=xmlhttp.responseText;
}
if(name == "desc"){
document.getElementById("inno").innerHTML=xmlhttp.responseText;
}
if(name == "dut"){
document.getElementById("duty").innerHTML=xmlhttp.responseText;
}
}
}
xmlhttp.open("GET","form_process/teachingShow.php?val="+value+"&name="+name,true);
xmlhttp.send();
}
</script>
<?php
}
else{
header('location:index.php');
}
?>
</body>
</html>