当前位置: 首页>>代码示例>>PHP>>正文


PHP Utility::inputText方法代码示例

本文整理汇总了PHP中Utility::inputText方法的典型用法代码示例。如果您正苦于以下问题:PHP Utility::inputText方法的具体用法?PHP Utility::inputText怎么用?PHP Utility::inputText使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Utility的用法示例。


在下文中一共展示了Utility::inputText方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

<div class="search_student_form">
<div class="search_menu">
<a href="http://localhost/cloud/studentprofile/search/name"><div class="search_menu_item">Name Search</div></a>
<a href="http://localhost/cloud/studentprofile/search/roll"><div class="search_menu_item">Roll Number Search</div></a>
<a href="http://localhost/cloud/studentprofile/search/admission"><div class="search_menu_item">Admission Number Search</div></a>
<a href="http://localhost/cloud/studentprofile/search/class"><div class="search_menu_item">Class Search</div></a>
</div>
<form name="search_student" action=<?php 
echo "http://localhost/cloud/studentprofile/searchresult/" . $spec;
?>
 method="POST" id="form_search_student" >

<div class="search_input">
<?php 
Utility::inputText("search_input", "search_input", "Search");
?>
</div>

<div class="submit_button">
<?php 
//Utility::submitButton("search_student","search_student","Search");
?>
</div>

<div class="search_results" id="search_results">



</div>
开发者ID:srinivasans,项目名称:educloud,代码行数:29,代码来源:search_student.php

示例2:

</td>
<td class="form_input">
<?php 
Utility::inputText("section", "section", "Section");
?>
</td>
</tr>
<tr>
<td class="label">
<?php 
Utility::label("code", "Section Code", "required");
?>
</td>
<td class="form_input">
<?php 
Utility::inputText("code", "code", "Section Code");
?>
</td>
</tr>
<tr>
<td></td>
<td style="text-align:center">
<?php 
Utility::submitButton('submit', 'submit', 'Create');
?>
</td>
</tr>
</table>

<div class="error" id="error"/>
开发者ID:srinivasans,项目名称:educloud,代码行数:30,代码来源:create_section.php

示例3:

<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>
</div>

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

</html>
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:new_email_notification.php

示例4:

<td class="form_input">
<?php 
Utility::inputText("phone", "phone", "Phone");
?>
</td>
</tr>

<tr>
<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>
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:addstudent.php

示例5:

<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>




</div>

</div>
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:search_attendance_view.php

示例6: foreach

foreach ($students as $key => $value) {
    echo '<tr>';
    echo '<td>';
    Utility::inputHidden('student[]', 'student[]', $key);
    echo $roll_numbers[$key];
    echo '</td>';
    echo '<td>';
    echo $value;
    echo '</td>';
    foreach ($split_ups as $k => $v) {
        echo '<td>';
        Utility::inputText($v['id'] . '[]', $v['id'] . '[]', $v['split_up_name'] . ' Marks', 'mark_input');
        echo '</td>';
    }
    echo '<td>';
    Utility::inputText('total_marks[]', 'total_marks[]', 'Total Marks', 'mark_input');
    echo '</td>';
    echo '</tr>';
}
?>
</table>

<div style="padding:5px">
<?php 
Utility::inputHidden('exam_subject_id', 'exam_subject_id', $id);
Utility::submitButton('save_marks', 'save_marks', 'Save Marks');
?>
</div>
</form>

开发者ID:srinivasans,项目名称:educloud,代码行数:29,代码来源:marking_list_view.php

示例7:

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

<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>
开发者ID:srinivasans,项目名称:educloud,代码行数:30,代码来源:new_notice_employee.php

示例8:

<head>
<link rel="stylesheet" href="http://localhost/cloud/styles/style.css"/>
<script type="text/javascript" src="http://localhost/cloud/scripts/jquery.js"></script>
<script type="text/javascript" src="http://localhost/cloud/scripts/jquery.form.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.js"></script>

<script type="text/javascript">
$('document').ready(function(){
$('#hours').live('change',function(){
var slots=$(this).attr('value');
var html="";
for(var i=1;i<=slots;i++)
{
html+="<tr><td>Slot "+i+" :</td><td>";
html+='<?php 
Utility::inputText('slot_name[]', 'slot_name[]', 'Slot Name');
?>
'+'</td></tr>';
}
$('#timetable_slots').html(html);

});
});

$('document').ready(function(){
$('#timetable_settings').ajaxForm({
target:'#error',
success:function(){$('#error').show();}
});
});
</script>
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:timetable_settings_view.php

示例9:

<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>

<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>
开发者ID:srinivasans,项目名称:educloud,代码行数:30,代码来源:add_event.php

示例10:

<div class="create_exam">
<form id="create_exam_form" action="http://localhost/cloud/examination/createexam" method="POST">
<table cellspacing="0" cellpadding="5" class="create_exam_table">
<tr>
<td style="background:#ABCDEF" colspan="2">
Examination Settings
</td>
</tr>
<tr>
<td><?php 
Utility::label('name', 'Examination Set Name', 'required');
?>
</td>
<td><?php 
Utility::inputText('name', 'name', 'Examination Name');
?>
</td>
</tr>
<tr>
<td><?php 
Utility::label('start_date', 'Start Date', 'required');
?>
</td>
<td><?php 
Utility::datePicker('start_date', 'start_date');
?>
</td>
</tr>
<tr>
<td><?php 
开发者ID:srinivasans,项目名称:educloud,代码行数:30,代码来源:examination_create.php

示例11:

?>
</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>
<div class="add_another_btn" value="2" id="add_another_btn">
<?php 
Utility::addAnother("add_another", "+ Add Another");
?>
</div>

<div style="padding:5px">
<?php 
Utility::submitButton('save_splitup', 'save_splitup', 'Save Splitup');
?>
</td>
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:mark_split_view.php

示例12:

<td class="form_input">
<?php 
Utility::inputText("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::inputText("parent_mobile", "parent_mobile", "Mobile");
?>
</td>
</tr>


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

<div class="submit_button">
<?php 
Utility::submitButton("add_parent", "add_parent", "Save");
?>
</div>

<div class="error" id="error"></div>
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:addparent.php


注:本文中的Utility::inputText方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。