示例#1
0
echo form_hidden('_countries_rids_from[]', $route['_countries_rids_from']);
?>
			<?php 
echo $countries_list[$route['_countries_rids_from']];
?>
		</td>
		<td>
			<?php 
echo form_hidden('points_from[]', $route['points_from']);
?>
			<?php 
echo $route['points_from'];
?>
		</td>
		<td>
			<?php 
echo form_hidden('departures[]', $route['departures']);
?>
			<?php 
echo $route['departures'];
?>
		</td>
		<td>
			<?php 
echo form_hidden('_countries_rids_to[]', $route['_countries_rids_to']);
?>
			<?php 
echo $countries_list[$route['_countries_rids_to']];
?>
		</td>
		<td>
示例#2
0
<?php

echo form_input($scr_p, get_aircompanyname_byrid(set_value($val_p, $default_value)), 'id="' . $scr_p . '" class="text" readonly="readonly" style="width:200px;"');
echo form_hidden($val_p, set_value($val_p, $default_value));
?>
<span style="vertical-align:middle; margin-left: 3px;">
<?php 
echo anchor_popup('aircompanies/vjournal/go/val_p/' . $val_p . '/scr_p/' . $scr_p, img('public/img/icons/refresh.gif'), array('title' => lang('SELECT_BTN'), 'id' => "sbtn_{$val_p}", 'name' => "sbtn_{$val_p}", 'width' => '950', 'height' => '600'));
?>
<?if($show_details) { ?>
	<?php 
echo anchor_popup("aircompanies/vedit/'+\$('input[name=\\'{$val_p}\\']').val()+'", img('public/img/icons/edit.gif'), array('title' => lang('DETAILS_BTN'), 'id' => "sbtn_{$val_p}_details", 'name' => "sbtn_{$val_p}_details", 'width' => '950', 'height' => '600'));
?>
<? } ?>
<?php 
echo anchor('', img('public/img/icons/close_dashboard.gif'), 'title="' . lang('CLEAR_BTN') . '" id="cbtn_' . $val_p . '" name="cbtn_' . $val_p . '"');
?>
</span>  
<script type="text/javascript">
$(document).ready(
		function(){
			$('#cbtn_<?php 
echo $val_p;
?>
').click(function(){
				$("input[name='<?php 
echo $val_p;
?>
']").val('');
				$('#<?php 
echo $scr_p;