Exemplo n.º 1
0
						<?php 
echo @form_hidden('user_id', $user->ID);
?>
						<?php 
echo form_hidden('first_name', $user->meta['first_name']);
?>
						<?php 
echo form_hidden('last_name', $user->meta['last_name']);
?>
					</td>
				</tr>

				<tr class="ui-helper-reset">
					<th>For the Month</th>
					<td><?php 
echo form_dropdown('for_month', getMonthList(), date('F'));
?>
</td>
				</tr>

				<tr class="ui-helper-reset">
					<th>Current Status</th>
					<?php 
if (can_this_user('change_status')) {
    ?>
					<td><?php 
    echo form_dropdown('current_status', array('In Process' => 'In Process', 'Submitted for Approval' => 'Submitted for Approval', 'Approved' => 'Approved'));
    ?>
</td>
					<?php 
} else {
Exemplo n.º 2
0
Arquivo: form.php Projeto: robocon/shs
		<div class="col">
			<div class="cell">
				<h3>Ẻ�������͡�����Ũӹǹ��������ԡ��</h3>
			</div>
		</div>
		<form action="ward_stat.php" method="post">
			<div class="col">
				<div class="cell">
					�ͼ�����: <select name="department">
						<?php foreach( $departs as $key => $depval ): ?>
						<?php $select = ( isset($item['department']) && $item['department'] == $depval ) ? 'selected="selected"' : '' ; ?>
						<option value="<?=$depval;?>" <?=$select;?>><?=$depval;?></option>
						<?php endforeach; ?>
						</select>

					��Ш���͹ <?=getMonthList('date_month', $this_month);?>
					<label for="date_year">
						�.�. <input type="text" id="date_year" class="width-1of24" name="date_year" value="<?php echo $th_year;?>">
					</label>

				</div>
			</div>
			<div class="col">
				<div class="cell">
					<label for="all_patient">
						1. �ӹǹ������㹷����� <input type="text" class="width-1of24" name="all_patient" value="<?=$item['all_patient'];?>">
					</label>
				</div>
			</div>
			<div class="col">
				<div class="cell">
Exemplo n.º 3
0
?>
<div class="ui-block wide">
	<h3><a href="#">General Information</a></h3>
	<div>
		<table cellspacing="0" border="0">
			<tr>
				<th style="width: 420px;"><label for="office">Office</label></th>
				<td><?php 
echo form_dropdown('office', $locations, $office);
?>
</td>
			</tr>
			<tr>
				<th><label for="month">Month</label></th>
				<td><?php 
echo form_dropdown('month', getMonthList(), $month);
?>
</td>
			</tr>
			<tr>
				<th><label for="quarter">Quarter</label></th>
				<td><?php 
echo form_dropdown('quarter', array(1 => 1, 2, 3, 4), $quarter);
?>
</td>
			</tr>
			<tr>
				<th><label for="fiscial_year">Fiscal Year</label></th>
				<td><?php 
echo form_dropdown('fiscial_year', getYearList(), $fiscial_year);
?>
Exemplo n.º 4
0
                    <form action="nhso_and_sso.php" method="post" target="_blank">
                        <div class="col">
                            <div class="cell">
                                <label for="run_number">���� ��:</label>
                                <input type="text" id="run_number" name="run_number" >
                            </div>
                        </div>
                        <div class="col">
                            <div class="cell">
                                <label for="run_number">�ѹ/��͹/��:</label>
                                <?php
                                $def_day = date('d');
                                getDateList('select_day', $def_day);

                                $def_month = date('m');
                                getMonthList('select_month', $def_month);

                                $def_year = date('Y');
                                getYearList('select_year', true, $def_year);
                                ?>
                            </div>
                        </div>
                        <?php
                        if ( $type !== 'nhso-lmc' ) {

                            ?>
                            <div class="col">
                                <div class="cell">
                                    <label for="run_number">���¹ ����ӹ�¡���ç��Һ�� :</label>
                                    <input type="text" name="to">
                                </div>
Exemplo n.º 5
0
if (isset($_POST['action'])) {
    $task = $_POST['action'];
} else {
    if (isset($_GET['action'])) {
        $task = $_GET['action'];
    }
}
switch ($task) {
    case 'getCountryName':
        getCountryName($conn);
        break;
    case 'getYear':
        getYear($conn);
        break;
    case "getMonthList":
        getMonthList($conn);
        break;
    case 'getItemGroup':
        getItemGroup($conn);
        break;
    case 'getItemList':
        getItemList($conn);
        break;
    case 'getShipmentStatus':
        getShipmentStatus($conn);
        break;
    case "getFundingSource":
        getFundingSource($conn);
        break;
    case "getYearList":
        getYearList($conn);
Exemplo n.º 6
0
						<?php 
echo @form_hidden('user_id', $user->ID);
?>
						<?php 
echo @form_hidden('first_name', $user->meta['first_name']);
?>
						<?php 
echo @form_hidden('last_name', $user->meta['last_name']);
?>
					</td>
				</tr>

				<tr class="ui-helper-reset">
					<th>For the Month</th>
					<td><?php 
echo form_dropdown('for_month', getMonthList(), $travel_request['details']->for_month);
?>
</td>
				</tr>

				<tr class="ui-helper-reset">
					<th>Current Status</th>
					<?php 
if (can_this_user('change_status')) {
    ?>
					<td><?php 
    echo form_dropdown('current_status', array('In Process' => 'In Process', 'Submitted for Approval' => 'Submitted for Approval', 'Approved' => 'Approved'), $travel_request['details']->current_status, 'class="set_status"');
    ?>
</td>
					<?php 
} else {
Exemplo n.º 7
0
							<td><?php 
echo form_input('filters[search_value][last_name]', @$_GET['filters']['search_value']['last_name']);
?>
 </td>
						</tr>
						<tr>
							<td>Month of: <?php 
echo form_hidden('filters[search_val][]', 'for_month');
?>
</td>
							<td><?php 
echo form_dropdown('filters[search_type][]', array('equals' => '=', 'not_equal' => '!=', 'less_than' => '<', 'less_than_equal' => '<=', 'greater_than' => '>', 'greater_than_equal' => '>=', 'like' => 'Like'));
?>
</td>
							<td><?php 
echo form_dropdown('filters[search_value][for_month]', array_merge(array('' => 'Select One'), getMonthList()), @$_GET['filters']['search_value']['for_month']);
?>
 </td>
						</tr>
						<tr>
							<td>Status: <?php 
echo form_hidden('filters[search_val][]', 'current_status');
?>
</td>
							<td><?php 
echo form_dropdown('filters[search_type][]', array('equals' => '=', 'not_equal' => '!=', 'less_than' => '<', 'less_than_equal' => '<=', 'greater_than' => '>', 'greater_than_equal' => '>=', 'like' => 'Like'));
?>
</td>
							<td><?php 
echo form_dropdown('filters[search_value][current_status]', array('' => 'Select One', 'In Process' => 'In Process', 'Submitted for Approval' => 'Submitted for Approval', 'Approved' => 'Approved'), @$_GET['filters']['search_value']['current_status']);
?>