<fieldset> <legend><?php echo lang('TOUR_INFO'); ?> </legend> <div class="column span-4"> <?php echo form_label(lang('TOUROPERATOR'), '_touroperators_rid'); ?> </div> <div class="column span-20"> <?php echo form_input('touroperator_name', get_touroperatorname_byrid(set_value('_touroperators_rid', $ds->_touroperators_rid)), 'id="touroperator_name" class="text" readonly="readonly" style="width:150px;"'); ?> </div> <div class="column span-4"> <?php echo form_label(lang('DATE_FROM'), 'date_from'); ?> </div> <div class="column span-8"> <?php echo form_input('date_from', date_conv(set_value('date_from', $ds->date_from)), 'id="date_from" class="text date-entry" readonly="readonly"'); ?> </div>
<?php echo form_input($scr_p, get_touroperatorname_byrid(set_value($val_p, $default_value)), 'id="' . $scr_p . '" class="text part-4" readonly="readonly"'); echo form_hidden($val_p, set_value($val_p, $default_value)); ?> <span style="vertical-align:middle; margin-left: 3px;"> <?php echo anchor_popup('touroperators/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("touroperators/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;