當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Utility::label方法代碼示例

本文整理匯總了PHP中Utility::label方法的典型用法代碼示例。如果您正苦於以下問題:PHP Utility::label方法的具體用法?PHP Utility::label怎麽用?PHP Utility::label使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Utility的用法示例。


在下文中一共展示了Utility::label方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

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

<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');
?>
開發者ID:srinivasans,項目名稱:educloud,代碼行數:30,代碼來源:new_email_notification.php

示例2:

<tr>
<td class="label">
<?php 
Utility::label("section", "Section Code", "required");
?>
</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");
開發者ID:srinivasans,項目名稱:educloud,代碼行數:31,代碼來源:subject_relations.php

示例3:

    }
}
?>

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


<table class="attendance_search">
<form id="student_view" action="http://localhost/cloud/attendance/getstudent" method="POST">
<tr>
<td class="label">
<?php 
Utility::label("search", "Search Student", "required");
?>
</td>
<td class="form_input">
<?php 
Utility::inputText("search", "search", "Search Student");
?>
</td>
</tr>
</form>
</table>

<div id="attendance_search_view" class="attendance_search_view"></div>
<div class="paginate" id="paginate"></div>

開發者ID:srinivasans,項目名稱:educloud,代碼行數:29,代碼來源:search_attendance_view.php

示例4:

<td class="label">
<?php 
Utility::label("mobile", "Mobile", "required");
?>
</td>
<td class="form_input">
<?php 
Utility::inputText("mobile", "mobile", "Mobile");
?>
</td>
</tr>

<tr>
<td class="label">
<?php 
Utility::label("email", "E-mail");
?>
</td>
<td class="form_input">
<?php 
Utility::inputEmail("email", "email", "E-mail");
?>
</td>
</tr>

</table>
<!--End of Contact Details -->

<div class="submit_button">
<?php 
Utility::submitButton("add_student", "add_student", "Enroll");
開發者ID:srinivasans,項目名稱:educloud,代碼行數:31,代碼來源:addstudent.php

示例5: foreach

<img class="content_heading_image" src="http://localhost/cloud/images/examination.png">
<div class="content_description">Examination</div>
</div>

<div class="exam_subjects">
<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) {
開發者ID:srinivasans,項目名稱:educloud,代碼行數:31,代碼來源:examination_subjects.php

示例6:

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

<div class="content_heading" style="width:200px;">
<img class="content_heading_image" style="width:80px;" src="http://localhost/cloud/images/attendance.png">
<div class="content_description">Employee Attendance</div>
</div>

<div class="employee_att_view">

<table class="employee_att_view">
<tr>
<td><?php 
Utility::label('date', 'Date', 'Required');
?>
</td>
<td><?php 
Utility::datePicker('date', 'date');
?>
</td>
</tr>
</table>

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

</div>

開發者ID:srinivasans,項目名稱:educloud,代碼行數:29,代碼來源:employee_attendance_view.php

示例7:

$highlight = 'examination';
include 'admin_student_menu.php';
?>

<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/examination.png">
<div class="content_description">Examination Timetable</div>
</div>

<div class="exam_timetable">
<form id="exam_timetable_form" action="http://localhost/cloud/examination/savetimetable" method="POST">
<table cellspacing="0" cellpadding="5" border="1" class="exam_timetable">
<tr style="background:#ABCDEF">
<td>
<?php 
Utility::label('exam_id', 'Select Examination');
?>
</td>
<td>
<?php 
Utility::dropDownList('exam_id', 'exam_id', 'exams');
?>
</td>
</tr>
</table>

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

<div style="padding:5px">
<?php 
開發者ID:srinivasans,項目名稱:educloud,代碼行數:31,代碼來源:examination_timetable.php

示例8:

<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>
開發者ID:srinivasans,項目名稱:educloud,代碼行數:29,代碼來源:employee_report_view.php

示例9:

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

<tr>
<td class="label">
<?php 
Utility::label("date", "Date", "required");
?>
</td>
<td class="form_input">
<?php 
Utility::datePicker("date", "date");
?>
</td>
</tr>
</table>

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



開發者ID:srinivasans,項目名稱:educloud,代碼行數:27,代碼來源:section_attendance_view.php

示例10:

$highlight = 'time_table';
include 'admin_student_menu.php';
?>

<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/settings.png">
<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 
開發者ID:srinivasans,項目名稱:educloud,代碼行數:31,代碼來源:timetable_settings_view.php

示例11:

<td class="label">
<?php 
Utility::label("parent_phone", "Phone");
?>
</td>
<td class="form_input">
<?php 
Utility::inputTextEditable($parent->getPhone(), "parent_phone", "parent_phone", "Phone");
?>
</td>
</tr>

<tr>
<td class="label">
<?php 
Utility::label("parent_mobile", "Emergency Contact Number");
?>
</td>
<td class="form_input">
<?php 
Utility::inputTextEditable($parent->getMobile(), "parent_mobile", "parent_mobile", "Mobile");
?>
</td>
</tr>


</table>
<!--End of Parent Contact Details -->


<div class="submit_button">
開發者ID:srinivasans,項目名稱:educloud,代碼行數:31,代碼來源:confirmaddstudent.php

示例12:

    include 'admin_student_menu.php';
} else {
    if ($role == 'teacher') {
        include 'employee_menu.php';
    }
}
?>

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

<div class="section_report">
<?php 
Utility::label('section', 'Section', 'required');
Utility::dropDownList('section', 'section', 'section');
?>
<div id="section_report_view" class="section_report_view"></div>
</div>

</div>

</div>
</div>

<?php 
include 'footer.php';
?>
</body>
開發者ID:srinivasans,項目名稱:educloud,代碼行數:30,代碼來源:section_report_view.php

示例13:

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

<div class="content_heading" style="width:200px;">
<img class="content_heading_image" style="width:80px;" src="http://localhost/cloud/images/events.png">
<div class="content_description">Create Event</div>
</div>

<div class="create_event">
<form class="create_event_form" id="create_event_form" action="http://localhost/cloud/notice/createevent" method="POST">
<div class="event_date">
<?php 
Utility::label('date', 'Event Date', 'required');
Utility::datePickerEditable($date, 'date', 'date');
?>
</div>

<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>
開發者ID:srinivasans,項目名稱:educloud,代碼行數:30,代碼來源:add_event.php

示例14:

?>
</td>
</tr>
<tr>
<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>
開發者ID:srinivasans,項目名稱:educloud,代碼行數:31,代碼來源:examination_create.php

示例15:

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

<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>
開發者ID:srinivasans,項目名稱:educloud,代碼行數:30,代碼來源:timetable_employee_view.php


注:本文中的Utility::label方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。