예제 #1
0
                }
                ?>
											</select>
										<?php 
            }
        }
        ?>
										<br/>
										<?php 
        if ($item->is_per_day == 1 || $item->is_per_day == 2) {
            ?>
											<?php 
            echo $item->is_per_day == 1 ? JText::_('LNG_NUMBER_OF_DAYS', true) : JText::_('LNG_NUMBER_OF_NIGHTS', true);
            ?>
											<?php 
            $nrDays = UserDataService::getNrDays();
            ?>
											<select id="days-<?php 
            echo $item->id;
            ?>
" name="extra-option-days-<?php 
            echo $item->id;
            ?>
" onchange="upateExtraOption()"  <?php 
            echo $item->map_per_length_of_stay == 1 ? 'onfocus="this.oldvalue=this.value;this.blur();" onchange="this.value=this.oldvalue;"' : '';
            ?>
 >
												<?php 
            for ($i = 1; $i < 21; $i++) {
                ?>
													<option value="<?php