Ejemplo n.º 1
0
<td class="form_input">
<?php 
Utility::inputTextEditable($studentProfile->getReligion(), "religion", "religion", "Religion");
?>
</td>
</tr>

<tr>
<td class="label">
<?php 
Utility::label("category", "Category");
?>
</td>
<td class="form_input">
<?php 
Utility::dropDownListEditable($studentProfile->getCategory(), "category", "category", "category");
?>
</td>
</tr>

<tr>
<td class="label">
<?php 
Utility::label("mother_tongue", "Mother Tongue");
?>
</td>
<td class="form_input">
<?php 
Utility::inputTextEditable($studentProfile->getMotherTongue(), "mother_tongue", "mother_tongue", "Mother Tongue");
?>
</td>
Ejemplo n.º 2
0
<td class="form_input">
<?php 
Utility::radioButtonEditable($teacherProfile->getGender(), "gender", "gender", "gender");
?>
</td>
</tr>

<tr>
<td class="label">
<?php 
Utility::label("blood_group", "Blood Group");
?>
</td>
<td class="form_input">
<?php 
Utility::dropDownListEditable($teacherProfile->getBloodGroup(), "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::inputTextAreaEditable($teacherProfile->getExperienceInfo(), "experience_info", "experience_info", "Experience Info");
?>
</td>
<div class="content_description">Time Table Settings</div>
</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');
<?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>