Esempio n. 1
0
function bureau()
{
    ?>
  <div>
	<ul>
		<?php 
    $bureau = new Bureau();
    $bureauList = $bureau->listOfBureau();
    foreach ($bureauList as $list) {
        echo '<li>';
        echo '<a href = "index.php?view=listProj&&sid=null&bid=' . $list->bureau_id . '&bureau_name=' . $list->name . '" class="button green"><strong class="title">' . $list->name . '</a></strong>';
        echo '</li>';
    }
    ?>
	</ul>
</div>
<?php 
}
Esempio n. 2
0
				<label class="col-md-4 control-label" for="website">Website</label>
				
				<div class="col-md-8">
					<input class="form-control input-sm" id="website" name="website" placeholder="Website" type="text" value="">
				</div>
			</div> <br /><br />
		
			
			<div class="col-md-8">
				<label class="col-md-4 control-label" for="bureau">Bureau</label>
				
				<div class="col-md-8">
					<select class="form-control input-sm" name="bureau" id="bureau">
						<?php 
$bureau = new Bureau();
$cur = $bureau->listOfBureau();
foreach ($cur as $bureau) {
    echo '<option value="' . $bureau->bureau_id . '">' . $bureau->name . '</option>';
}
?>
						
					</select>	
				</div>
			</div>
			<br /><br />
	    
                    <div class="col-md-8">
                      <label class="col-md-4 control-label" for= "idno"></label>
                      <div class="col-md-8">
                        <button class="btn btn-default" name="submit" type="submit" ><span class="glyphicon glyphicon-floppy-save"></span> Save</button>
                      </div>
Esempio n. 3
0
					<th>Short Name</th>
				    <th>Edit </th>
					<th>Details</th>
				</tr>	
			</thead>
			<tbody>
				<?php 
$account_username = $_SESSION['ACCOUNT_USERNAME'];
//$account_password = $_SESSION['ACCOUNT_PASSWORD'];
$account_type = $_SESSION['ACCOUNT_TYPE'];
//echo 'username =   '******'account type =   '. $account_type;
//echo 'password =   '******'dministrator') {
$bureau = new Bureau();
$bureauList = $bureau->listOfBureau();
foreach ($bureauList as $list) {
    echo '<tr>';
    echo '<td width="5%" align="center"></td>';
    echo '<td width="15%"><input type="checkbox" name="selector[]" id="selector[]" value="' . $list->bureau_id . '"/>';
    echo '<td width="40%" >' . $list->name . '</td>';
    echo '<td width="20%" >' . $list->shortname . '</td>';
    echo '<td width="10%" ><a href = "index.php?view=edit&id=' . $list->bureau_id . '" ><span class="glyphicon glyphicon-list-alt"> </span>  Edit</a></td>';
    echo '<td><a href = "index.php?view=view&bureauId=' . $list->bureau_id . '" ><span class="glyphicon glyphicon-list-alt"> </span>  View</a></td>';
    echo '</tr>';
}
//}
//}
?>
			</tbody>
		</table>