Esempio n. 1
0
<div class="row">

  <div class="col-12 col-sm-12 col-lg-12">
	<?php 
if (isset($_GET['instructorId'])) {
    $instructor = new Instructor();
    $cur = $instructor->single_instructor($_GET['instructorId']);
}
?>
 
<form class="form-horizontal span4" action="controller.php?action=delsubj" method="POST">
	<div class="panel panel-primary">
	  <div class="panel-heading">
	    <h3 class="panel-title"><span class="glyphicon glyphicon-user"></span> Instructor's Subject </h3>
	  </div>
	  <div class="panel-body">
	   <div class="row" >	   
     	 <div class="container">

     	  <div class="well" > 

    	<form class="form-horizontal span4" action="" method="POST">
    		<table>			 
         	
		    <tbody>
		     	<tr>
		     		<td>
		     			<p>
				     		<b>Full Name : </b><?php 
echo isset($cur) ? $cur->INST_FULLNAME : 'Fullname';
?>
Esempio n. 2
0
<?php

$instid = $_GET['id'];
$singleinstructor = new Instructor();
$object = $singleinstructor->single_instructor($instid);
?>
 <form class="form-horizontal well span4" action="controller.php?action=edit&id=<?php 
echo $instid;
?>
" method="POST">

          <fieldset>
            <legend>New Faculty</legend>
                              

              <div class="form-group">
                    <div class="col-md-8">
                      <label class="col-md-4 control-label" for=
                      "name">Fullname:</label>

                      <div class="col-md-8">
                        <input name="deptid" type="hidden" value="">
                         <input class="form-control input-sm" id="name" name="name" placeholder=
                            "Account Name" type="text" value="<?php 
echo $object->INST_FULLNAME;
?>
">
                      </div>
                    </div>
                  </div>