Example #1
0
		<?php 
echo Form::Label('min_order', 'Min Order', array('class' => 'label_search_rest'));
?>
		<?php 
echo Form::select('min_order', array_merge(array('' => ''), array(range(0, 100))), NULL, array('class' => 'rest_search_select rest_search_select'));
?>
		<div class="clear" style="height:18px"></div>
		<?php 
echo Form::Label('delivery_cost', 'Delivery Cost', array('class' => 'label_search_rest'));
?>
		<?php 
echo Form::select('delivery_cost', array_merge(array('' => ''), array(range(0, 50))), NULL, array('class' => 'rest_search_select rest_search_select'));
?>
		<div class="clear" style="height:18px"></div>
		<?php 
echo Form::Label('delivery_time', 'Delivery Time', array('class' => 'label_search_rest'));
?>
		<?php 
echo Form::select('delivery_time', array_merge(array('' => ''), array(range(0, 90))), NULL, array('class' => 'rest_search_select rest_search_select'));
?>
		<div class="clear" style="height:18px"></div>
		<?php 
echo Form::label('kitchen_type', 'Kitchen Type', array('class' => 'label_search_rest'));
?>
		<?php 
echo Form::select('kitchen_type', $categories, 20, array('id' => 'kitchen_type', 'class' => 'rest_search_select rest_search_select'));
?>
	</div>
	<?php 
echo Form::close();
?>
Example #2
0
		</tr>
		<tr>
			<td>
				<?php 
Form::Label("Password", "password");
?>
				<br />
				<?php 
Form::Passwordbox("password", "password");
?>
			</td>
		</tr>
		<tr>
			<td>
				<?php 
Form::Label("Retype password", "retypedPassword");
?>
				<br />
				<?php 
Form::Passwordbox("retypedPassword", "retypedPassword");
?>
			</td>
		</tr>
		<tr>
			<td class="align-center">
				<?php 
Form::SubmitButton("submit", "Register");
?>
			</td>
		</tr>
	</table>
                    <div class="modal-body">
                        <?php 
echo Form::open(array('url' => '/aTempDes/add', 'class' => 'form', 'novalidate' => 'novalidate', 'files' => true));
?>

                        <input type="hidden" name="_token" value="<?php 
echo e(csrf_token());
?>
" />

                        <div class="form-group">
                            <?php 
if (isset($cats)) {
    ?>
                                <?php 
    echo Form::Label('catLabel', 'Category:');
    ?>

                                <?php 
    echo Form::select('cat_Name', $cats, null, ['class' => 'form-control']);
    ?>

                            <?php 
}
?>
                        </div>

                        <div class="form-group">
                            <label for="iName">Design Name</label>
                            <input type="text" class="form-control" id="iName" name="iName">
                        </div>
Example #4
0
		<?php 
echo Form::Label('Ingredient');
?>
		<?php 
echo Form::input('auto_ingredient', NULL, array('class' => 'auto_ingredient dish_search_input'));
?>
		<div class="clear" style="height:10px"></div>
		<?php 
echo Form::Label('max_price', 'Max Price', array('class' => 'label_search_rest'));
?>
		<?php 
echo Form::select('max_price', array_merge(array('' => ''), array(range(0, 90))), NULL, array('class' => 'dish_search_select rest_search_select'));
?>
		<div class="clear" style="height:10px"></div>
		<?php 
echo Form::Label('mdv', 'Meat Or Dairy', array('class' => 'label_search_rest'));
?>
		<?php 
echo Form::select('mdv', Kohana::config('global.mdv'), '', array('class' => 'dish_search_select rest_search_select'));
?>
		<div class="clear" style="height:10px"></div>
		<?php 
echo Form::label('dish_category', 'category', array('class' => 'label_search_rest'));
?>
		<?php 
$arr_cat = array_merge($categories->as_array('id', 'name'));
?>
		<?php 
echo Form::select('dish_category', $categories->as_array('id', 'name'), 19, array('id' => 'kitchen_type', 'class' => 'dish_search_select rest_search_select'));
?>
		<div class="clear" style="height:10px"></div>
Example #5
0
	<table class="form-table">
		<tr>
			<td>
				<?php 
Form::Label("User name", "user");
?>
				<br />
				<?php 
Form::Textbox("user", "user");
?>
			</td>
		</tr>
		<tr>
			<td>
				<?php 
Form::Label("Password", "password");
?>
				<br />
				<?php 
Form::Passwordbox("password", "password");
?>
			</td>
		</tr>
		<tr>
			<td class="align-center">
				<?php 
Form::SubmitButton("submit", "Log in");
?>
			</td>
		</tr>
	</table>
Example #6
0
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . "/include/header.php";
Site::RequiresLoggedInUser("/log-in.php");
?>

<h1>Add or remove champions owned by you</h1>

<form method="post" action="/process/manage-champions.php" accept-charset="UTF-8">
	<table class="form-table">
		<tr>
			<td>
				<?php 
Form::Label("Champion", "champion");
?>
				<br />
				<?php 
Form::Combobox("champion", "champion", ChampionFacade::GetAllChampions());
?>
			</td>
		</tr>
		<tr>
			<td class="align-center">
				<?php 
Form::SubmitButton("submit", "Add");
?>
 <?php 
Form::SubmitButton("submit", "Remove");
?>
 
			</td>
                        </div>
                    </div>
                    <div class="box-body">
                        <div class="col-md-12">
                            <form class="form-horizontal" role="form" method="POST" action="/custOrdRep">
                                <div class="form-group">
                                    <div class="input-group">
                                        <input type="hidden" name="_token" value="<?php 
echo e(csrf_token());
?>
" />
                                        <?php 
if (isset($custDets)) {
    ?>
                                            <?php 
    echo Form::Label('custName', 'Customer Name:');
    ?>

                                            <?php 
    echo Form::select('custMail', $custDets, null, ['class' => 'form-control', 'style' => 'width:510px']);
    ?>

                                        <?php 
}
?>
                                    </div><!-- /.input group -->
                                </div>
                                <button type="submit" class="btn btn-success btn-lg center-block"><i class="fa fa-download"></i>Generate PDF</button>
                            </form>
                        </div>
                    </div><!-- /.box-body -->
Example #8
0
	<table class="form-table">
		<tr>
			<td>
				<?php 
Form::Label("Champion name", "champion");
?>
				<br />
				<?php 
Form::Textbox("champion", "champion");
?>
			</td>
		</tr>
		<tr>
			<td>
				<?php 
Form::Label("Champion image (.png, max size: 300kB)", "image");
?>
				<br />
				<?php 
Form::Filebox("image", "image");
?>
			</td>
		</tr>
		<tr>
			<td class="align-center">
				<?php 
Form::SubmitButton("submit", "Add");
?>
			</td>
		</tr>
	</table>