Exemple #1
0
<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;
Exemple #2
0
						</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>
						
Exemple #3
0
    $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;
?>
Exemple #4
0
								</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">