예제 #1
0
파일: sports.php 프로젝트: eteks/wct
			</form>
		</div>
	</div>
</div><!-- end  container-->
<div class="container table-position">
	<table class="table state_table" id="sports_table">
	<thead>
		<tr class="row_color">
			<th class="align_center">SLNO</th>
			<th class="align_center">Sport Name</th>
			<th class="align_center">Action</th>
		</tr>
	</thead>
	<tbody>
		<?php 
$data = $obj->sportsselectfunction();
$i = 1;
foreach ($data as $eachrecord) {
    ?>
	  <tr class="align_center delete_color">
	    <td><?php 
    echo $i;
    ?>
</td>
		<input class="sports_id" value="<?php 
    echo $eachrecord['sports_id'];
    ?>
" type="hidden"/>
	    <td class="sports_name"><?php 
    echo $eachrecord['sports_name'];
    ?>
예제 #2
0
파일: test_battery.php 프로젝트: eteks/wct
	</div><!--end container-->
	<div class="container">
		<div class="col-xs-12 col-md-11">
			<div class="col-md-4 hidden-xs"></div>
			<div class="col-xs-12 col-md-7 align_margin">
				<form method="post" action="functions/test_battery_functions.php" id="test_battery_form">
					<div class="form-group">
						<label>Enter the name of the Test Battery</label><br>
						<input type="text" class="adjust_width" name="test_battery_name" data-validation-error-msg="please Enter the name of the Test Battery" data-validation="required">
					</div>
					<div class="form-group">
						  <label for="sel1">Select Sport</label>
						  <select class="form-control adjust_width classic" id="sel1" name="Sport" data-validation-error-msg="Please Select the sport" data-validation="required">
							  <option value="">Select Sport</option>
							  <?php 
$data = $sports->sportsselectfunction();
foreach ($data as $eachrecord) {
    ?>
							 <option value="<?php 
    echo $eachrecord['sports_id'];
    ?>
"><?php 
    echo $eachrecord['sports_name'];
    ?>
</option>
							 <?php 
}
?>
							</select>
					</div>
					<div class="align_margin">