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


PHP School::single_school方法代码示例

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


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

示例1: School

						</div>
					</div>
				</div>
				
				<?php 
if ($projectFrom == "school") {
    echo '<div class="form-group">
						<div class="rows">
						
						<div class="col-md-8">
						<label class="col-md-4 control-label" for="pschool">Project School</label>
						
						<div class="col-md-8">';
    $school_id = $list->project_school_id;
    $school = new School();
    $listSchool = $school->single_school($school_id);
    echo '<input class="form-control input-sm" id="project_id" name="project_id" type="text" value="';
    echo $listSchool->name;
    echo '" readonly>
						
						</div>
						</div>
						</div>
						</div>';
} else {
    echo '<div class="form-group">
						<div class="rows">
						
						<div class="col-md-8">
						<label class="col-md-4 control-label" for="pschool">Project Bureau</label>
						
开发者ID:allybitebo,项目名称:ucb,代码行数:30,代码来源:view.php

示例2: Bureau

    $bureau = new Bureau();
    $listBureau = $bureau->single_bureau($bureauId);
    echo '<input class="form-control input-sm" id="officer_id" name="officer_id" type="text" value="' . $listBureau->name . '" readonly>
							</div>
							</div>
						</div>
						<br />
						<br />';
} else {
    echo '<div class="rows">
							<div class="col-md-8">
								<label class="col-md-4 control-label" for="school">School</label>
								<div class="col-md-8">';
    $listSchool = $list->officer_school_id;
    $school = new School();
    $listSchool = $school->single_school($listSchool);
    echo '<input class="form-control input-sm" id="officer_id" name="officer_id" type="text" value="' . $listSchool->name . '" readonly>';
    echo '</div>
							</div>
						</div>
						<br />
						<br />';
}
?>
						<div class="rows">
							<div class="col-md-8">
								<label class="col-md-4 control-label" for="mobile">Mobile</label>
								<div class="col-md-8">
									<input class="form-control input-sm" id="officer_id" name="officer_id" type="text" value="<?php 
echo $list->mobile;
?>
开发者ID:allybitebo,项目名称:ucb,代码行数:31,代码来源:view.php

示例3: School

								</p>
							</div>
							<div class="col-xs-6">
								<p align="right"><a href="<?php 
echo WEB_ROOT;
?>
admin/logout.php"
								class="btn btn-info btn-xsm"><span class="glyphicon glyphicon-log-out"></span>Log out</a></p>
							</div>
						</div>
					</div>
				</div>
		</div>  
<?php 
$school = new School();
$list = $school->single_school($_GET['schoolId']);
?>
<form class="form-horizontal well span9" action="controller.php?action=edit&id=<?php 
echo $list->school_id;
?>
" method="POST">
	
	<fieldset>
		<legend>School Information</legend>
		
		
		<div class="form-group" id="school_id">
			<div class="col-md-8">
				<label class="col-md-4 control-label" for="school_id">School Number </label>
				
				<div class="col-md-8">
开发者ID:allybitebo,项目名称:ucb,代码行数:31,代码来源:view.php

示例4:

<div class="container">
	<div class="panel panel-primary">
		<div class="panel-heading">
			<div class="row">
				<div class="col-xs-3"><p align="left"><a href="<?php 
echo WEB_ROOT;
?>
admin/index.php?page=2" class="btn btn-info btn-xsm"><span class="glyphicon glyphicon-home"></span>&nbsp;Home</a><p>
				</div>
				
				<div class="col-xs-9">
					<div class="col-xs-8">
						<p ><strong><h5 align="right">
						<?php 
echo $_SESSION['ACCOUNT_FNAME'] . " " . $_SESSION['ACCOUNT_LNAME'];
?>
</h5></strong></p>
					</div>
					<div class="col-xs-4">
						<div class="col-xs-6">
							<p align="left"><a href="<?php 
echo WEB_ROOT;
?>
admin/modules/school/index.php" class="btn btn-info btn-xsm">
								<span class="glyphicon glyphicon-step-backward"></span>Back
								</a
								</p>
							</div>
							<div class="col-xs-6">
								<p align="right"><a href="<?php 
echo WEB_ROOT;
开发者ID:allybitebo,项目名称:ucb,代码行数:31,代码来源:edit.php


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