Esempio n. 1
0
</td>
<td class="form_input">
<?php 
Utility::dropDownList("section", "section", "section");
?>
</td>
</tr>
<tr>
<td class="label">
<?php 
Utility::label("subject", "Subject", "required");
?>
</td>
<td class="form_input" id="subject_tab">
<?php 
Utility::dropDownList("subject[]", "subject[]", "subject");
?>
</td>
</tr>
<tr><td>

</td>
<td>
<div class="add_another_btn" value="2" id="add_another_btn">
<?php 
Utility::addAnother("add_another", "+ Add Another");
?>
</div>
</td>

</tr>
Esempio n. 2
0
<img class="content_heading_image" src="http://localhost/cloud/images/miscellaneous.png"/>
<div class="content_description">Create Section</div>
</div>

<div class="create_section">
<form id="create_section_form" name="create_section" method="POST" action="http://localhost/cloud/section/validate">
<table class="create_section_form">
<tr>
<td class="label">
<?php 
Utility::label("class_level", "Class/Standard", "required");
?>
</td>
<td class="form_input">
<?php 
Utility::dropDownList("class_level", "class_level", "numeric_level");
?>
</td>
</tr>
<tr>
<td class="label">
<?php 
Utility::label("section", "Section", "required");
?>
</td>
<td class="form_input">
<?php 
Utility::inputText("section", "section", "Section");
?>
</td>
</tr>
<form id="exam_subjects_form" action="http://localhost/cloud/examination/subjectssave" method="POST">
<table cellspacing="0" cellpadding="5" border="1" class="exam_subjects_table">
<tr>
<td style="background:#ABCDEF" colspan="2">
Examination Subjects
</td>
</tr>
<tr>
<td style="background:#ABCDEF">
<?php 
Utility::label('exam', 'Select Examination', 'required');
?>
</td>
<td style="background:#ABCDEF">
<?php 
Utility::dropDownList('exam_id', 'exam_id', 'exams');
?>
</td>
</tr>
<?php 
foreach ($sections as $key => $value) {
    echo '<tr>';
    echo '<td>' . $value . '</td>';
    echo '<td>';
    echo '<table>';
    foreach ($subjects[$key] as $k => $v) {
        echo "<tr><td>" . $subject_name[$v] . " : </td><td>";
        $id = $key . "-" . $v;
        Utility::checkBox($id, $id);
        echo '</td>';
    }
<?php

include_once 'controller/utility_class.php';
Utility::dropDownList('section', 'section', '', 'text', $sections);
<?php

include_once 'controller/utility_class.php';
?>
<table cellspacing="0" cellpadding="5" border="1" class="exam_timetable">
<?php 
$slot = 0;
Utility::inputHidden('check', 'check', 1);
echo '<tr class="report_list_head">';
echo '<td></td>';
foreach ($days as $n => $day) {
    echo '<td colspan="' . $slots . '">' . $day . '</td>';
}
echo '</tr>';
foreach ($section_array as $key => $value) {
    echo '<tr>';
    echo '<td class="report_list_data">';
    echo $section_name[$key];
    echo '</td>';
    for ($i = 0; $i < $slots * $numDays; $i++) {
        echo '<td>';
        $id = $days[$i / $slots] . '_' . $i % $slots . '_' . $key;
        Utility::dropDownList($id, $id, "", "text", $subject_array[$key]);
        echo '</td>';
        $slot++;
    }
    echo '</tr>';
}
?>
</table>
Esempio n. 6
0
<td class="form_input">
<?php 
Utility::inputText("religion", "religion", "Religion");
?>
</td>
</tr>

<tr>
<td class="label">
<?php 
Utility::label("category", "Category");
?>
</td>
<td class="form_input">
<?php 
Utility::dropDownList("category", "category", "category");
?>
</td>
</tr>

<tr>
<td class="label">
<?php 
Utility::label("mother_tongue", "Mother Tongue");
?>
</td>
<td class="form_input">
<?php 
Utility::inputText("mother_tongue", "mother_tongue", "Mother Tongue");
?>
</td>
<div class="student_menu">

<?php 
$highlight = 'attendance';
include 'admin_student_menu.php';
?>

<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/employee_search_attendance.png">
<div class="content_description">Employee Attendance Report</div>
</div>

<div class="employee_report">
<?php 
Utility::label('employee', 'Select Employee', 'required');
Utility::dropDownList('teacher', 'teacher', 'teacher');
?>
<div id="employee_report_view" class="employee_report_view"></div>
</div>

</div>

</div>
</div>

<?php 
include 'footer.php';
?>
</body>

</html>
</td>
<td>
<?php 
Utility::dropDownList('exam_id', 'exam_id', 'exams');
?>
</td>
</tr>
<tr style="background:#ABCDEF">
<td>
<?php 
Utility::label('section', 'Select Section');
?>
</td>
<td>
<?php 
Utility::dropDownList('section', 'section', 'section');
?>
</td>
</tr>
</table>

<div class="exam_timetable_view" id="exam_timetable">
</div>


</div>

</div>

</div>
</div>
<?php

include_once 'controller/utility_class.php';
?>

<div class="teacher_section_relation">
<table class="teacher_section_relation">
<?php 
$html = "";
foreach ($subject_array as $key => $value) {
    $html .= "<tr>";
    $html .= '<td class="form_input" id="' . $key . '">' . $value;
    echo $html;
    Utility::inputHidden($key, "subject[]", $key);
    $html = '</td>';
    $html .= '<td class="form_input" id="' . $key . '">';
    echo $html;
    if (array_key_exists($key, $teacher_id)) {
        Utility::dropDownListEditable($teacher_id[$key], 'fixed', 'teacher[]', 'teacher', NULL, $key, $teacher[$teacher_id[$key]], 'teacher_select');
    } else {
        Utility::dropDownList($key, 'teacher[]', 'teacher', 'teacher_select', $key);
    }
    $html = '</td>';
    $html .= "</tr>";
}
echo $html;
?>
</table>
</div>
<div class="timetable_settings">
<form id="timetable_settings" action="http://localhost/cloud/timetable/settingssave" method="POST">
<table style="margin:0px auto;text-align:center;">
<tr>
<td>
<?php 
Utility::label('hours', 'Number of Slots Per Day', 'required');
?>
</td>
<td>
<?php 
if ($set == true) {
    Utility::dropDownListEditable(count($slots), 'hours', 'hours', 'numeric_level');
} else {
    Utility::dropDownList('hours', 'hours', 'numeric_level');
}
?>
</td>
</tr>
</table>
<table id="timetable_slots">
<?php 
if ($set == true) {
    $count = 0;
    foreach ($slots as $key => $value) {
        $count++;
        echo '<tr><td>Slot ' . $count . ' :</td><td>';
        Utility::inputTextEditable($value, 'slot_name[]', 'slot_name[]', 'Slot Name');
        echo '</td></tr>';
    }
 protected function getmarkinglist()
 {
     global $user;
     global $objPDO;
     $student = new student($objPDO, $user->getuserId());
     $headMenu = array("username" => $student->getName());
     if ($user->checkAdmin() == true && isset($_GET['uid']) && isset($_GET['ref'])) {
         $role = $student->getacctType();
         include $_SERVER['DOCUMENT_ROOT'] . '/cloud/model/examination_section_subject_class.php';
         include $_SERVER['DOCUMENT_ROOT'] . '/cloud/controller/utility_class.php';
         include $_SERVER['DOCUMENT_ROOT'] . '/cloud/model/subject_class.php';
         $rel = new ExaminationSectionSubject($objPDO);
         $exam_id = $_GET['uid'];
         $section_id = $_GET['ref'];
         $sec_sub = $rel->getSectionExams($exam_id, $section_id);
         $sub = new Subject($objPDO);
         $subject_name = $sub->getSubjectArray();
         $subjects = array();
         foreach ($sec_sub as $key => $value) {
             $subjects[$value] = $subject_name[$value];
         }
         Utility::dropDownList('subject', 'subject', '', 'text', $subjects);
     } else {
         header('Location:http://localhost/cloud');
     }
 }
Esempio n. 12
0
<div class="event_name">
<?php 
Utility::inputText('event_name', 'event_name', 'Event');
?>
</div>

<div class="event_description">
<?php 
Utility::inputText('event_description', 'event_description', 'Event Description');
?>
</div>

<div class="event_type">
<?php 
Utility::dropDownList('event_type', 'event_type', 'event_type');
?>
</div>

<div class="submit" style="margin:0px auto;width:14%;">
<?php 
Utility::submitButton('submit', 'submit', 'Create Event');
?>
</div>

</div>
</form>

<div class="error" style="margin-top:5%" id="error"></div>

Esempio n. 13
0
<td><?php 
Utility::label('end_date', 'End Date', 'required');
?>
</td>
<td><?php 
Utility::datePicker('end_date', 'end_date');
?>
</td>
</tr>
<tr>
<td><?php 
Utility::label('fn_an', 'Sessions', 'required');
?>
</td>
<td><?php 
Utility::dropDownList('fn_an', 'fn_an', 'fn_an');
?>
</td>
</tr>

</table>
<div style="padding:5px">
<?php 
Utility::submitButton('create_exam', 'create_exam', 'Create Examination');
?>
</td>
</div>
</form>


<div class="error" id="error"></div>
<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/email_notice.png">
<div class="content_description">Send Email Notification</div>
</div>

<div class="email_notification_new">
<table>
<tr>
<td>
<?php 
Utility::label('to_type', 'Recepient Method');
?>
</td>
<td>
<?php 
Utility::dropDownList('to_type', 'to_type', 'to_type');
?>
</td>
</tr>
</table>
<div class="to_address" id="to_address">
<?php 
Utility::inputText('to', 'to', 'To Address Search');
Utility::inputText('address', 'address', 'To: Address');
?>

<div id="ajax_search_load" class="ajax_search_load">
</div>
</div>

</div>
Esempio n. 15
0
}
?>

<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/employee_notice.png">
<div class="content_description">Create New Notice</div>
</div>

<div class="new_notice_employee">
<form name="create_notice" id="create_notice" method="post" action="http://localhost/cloud/notice/create_employee">
		<?php 
Utility::inputText('heading', 'heading', 'Heading');
?>
		<textarea name="content" id="content" class="notice_info"></textarea>
		<?php 
Utility::dropDownList('importance', 'importance', 'importance');
?>
		<div style="width:12%;padding-top:20px;margin:0px auto">
		<?php 
Utility::submitButton('submit', 'submit', 'Create Notice');
?>
		</div>
</form>  

<div class="error" style="margin-top:50px;" id="error"></div> 
</div>

</div>

</div>
</div>
<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/time_table.png">
<div class="content_description">Teacher Time Table</div>
</div>

<form id="time_table_form" name="time_table_form" method="POST" action="http://localhost/cloud/timetable/validate">
<table class="time_table_section">
<tr>
<td class="label">
<?php 
Utility::label("teacher", "Teacher", "required");
?>
</td>
<td class="form_input">
<?php 
Utility::dropDownList("teacher", "teacher", "teacher", NULL, 0);
?>
</td>
</table>

<div id="time_table_view"></div>

</form>

</div>

</div>
</div>

<?php 
include 'footer.php';
Esempio n. 17
0
<td class="form_input">
<?php 
Utility::radioButton("gender", "gender", "gender");
?>
</td>
</tr>

<tr>
<td class="label">
<?php 
Utility::label("blood_group", "Blood Group");
?>
</td>
<td class="form_input">
<?php 
Utility::dropDownList("blood_group", "blood_group", "blood_group");
?>
</td>
</tr>

<tr>
<td class="label">
<?php 
Utility::label("experience_info", "Experience Info");
?>
</td>
<td class="form_input">
<?php 
Utility::inputTextArea("experience_info", "experience_info", "Experience Info");
?>
</td>
<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/miscellaneous.png"/>
<div class="content_description">Section Student Relations</div>
</div>

<div class="section_student_relations">
<table class="section_student_relations_form">
<tr>
<td class="label">
<?php 
Utility::label("section", "Section Code", "required");
?>
</td>
<td class="form_input">
<?php 
Utility::dropDownList("section", "section", "section");
?>
</td>
</tr>
</table>

<div class="student_list" id="student_list"></div>



<div class="error" id="error"/>


</div>

</div>
Esempio n. 19
0
?>
</td>
<td>
<?php 
Utility::dropDownList('section', 'section', 'section');
?>
</td>
<tr style="background:#ABCDEF">
<td>
<?php 
Utility::label('subject', 'Select Subject');
?>
</td>
<td>
<?php 
Utility::dropDownList('subject', 'subject', 'subject');
?>
</td>
<tr>
<td class="label" >
<?php 
Utility::inputText("split[]", "split[]", "Weightage (Marks Split)");
?>
</td>
<td class="form_input" >
<?php 
Utility::inputText('split_name[]', 'split_name[]', 'Split Name');
?>
</td>
</tr>
</table>