echo smartyTranslate(array('s' => 'None'), $_smarty_tpl); } ?> </td> <?php if ($_smarty_tpl->getVariable('cookie')->value->RoleID == 1) { ?> <td>¥ <?php echo number_format($_smarty_tpl->tpl_vars['roomplan']->value['MinPrice'], 0, ".", ", "); ?> </td> <?php } else { ?> <td>¥ <?php echo number_format(Booking::shoushuliao($_smarty_tpl->tpl_vars['roomplan']->value['MinPrice'], $_smarty_tpl->tpl_vars['roomplan']->value['RoomPlanId']), 0, ".", ", "); ?> </td> <?php } ?> </tr> <?php } } ?> <!-- <tr> <td><input type="checkbox" /></td> <td><img src="<?php echo $_smarty_tpl->getVariable('img_dir')->value;
<?php $_smarty_tpl->tpl_vars['roomplan'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['hotel']->value['RoomPlanList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['smarty']->value['foreach']["roomplan"]['index'] = -1; if ($_smarty_tpl->_count($_from) > 0) { foreach ($_from as $_smarty_tpl->tpl_vars['roomplan']->key => $_smarty_tpl->tpl_vars['roomplan']->value) { $_smarty_tpl->tpl_vars['smarty']->value['foreach']["roomplan"]['index']++; ?> <?php if (!isset($_smarty_tpl->tpl_vars['roomplan']) || !is_array($_smarty_tpl->tpl_vars['roomplan']->value)) { $_smarty_tpl->createLocalArrayVariable('roomplan', null, null); } $_smarty_tpl->tpl_vars['roomplan']->value['MinPrice'] = Booking::shoushuliao($_smarty_tpl->tpl_vars['roomplan']->value['MinPrice'], $_smarty_tpl->tpl_vars['roomplan']->value['RoomPlanId']); ?> <tr > <td width="50"><?php if ($_smarty_tpl->getVariable('cookie')->value->RoleID >= 4) { echo $_smarty_tpl->getVariable('smarty')->value['foreach']['roomplan']['index'] + 1; } else { ?> <input type="checkbox" onchange="javascript:oncheck_changed('<?php echo $_smarty_tpl->tpl_vars['hotel']->value['HotelId']; ?> ')" <?php if ($_smarty_tpl->tpl_vars['roomplan']->value['PreSelect'] > 0) { ?> checked="checked"<?php }