<?php /* Smarty version Smarty-3.1.12, created on 2015-07-06 01:42:32
         compiled from "./templates/gra_okienko_wybierz_pokoj_gry.tpl" */ ?>
<?php /*%%SmartyHeaderCode:4552206105599c0e834d0a2-44334647%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '38636777efeecd67da0ed030dfb263af1fb7cc37' => 
    array (
      0 => './templates/gra_okienko_wybierz_pokoj_gry.tpl',
      1 => 1434453749,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '4552206105599c0e834d0a2-44334647',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'lista_pokoi_gry' => 0,
    'lista' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_5599c0e84021f9_53844103',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5599c0e84021f9_53844103')) {function content_5599c0e84021f9_53844103($_smarty_tpl) {?><section id="okienko"><article id="okienko1_wybierz_pokoj"><h1>Wybierz pokój gry</h1><form name="formWybierzPokojGry" action="gra,wybierz-pokoj-gry.html" method="post"><?php if ($_smarty_tpl->tpl_vars['lista_pokoi_gry']->value){?><div id="select1"><select name="wybrany_pokoj_gry" class="lista_rozwijana" style="margin-top:15px;width:254px"><?php  $_smarty_tpl->tpl_vars['lista'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['lista']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['lista_pokoi_gry']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['lista']->key => $_smarty_tpl->tpl_vars['lista']->value){
$_smarty_tpl->tpl_vars['lista']->_loop = true;
?><option value="<?php echo $_smarty_tpl->tpl_vars['lista']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['lista']->value['nazwa'];?>
</option><?php } ?></select></div><?php }else{ ?><p style="margin:17px">Aktualnie brak wolnych pokoi gry.</p><?php }?><input type="hidden" name="akcja" value="zapisz_pokoj_gry" /></form><?php if ($_smarty_tpl->tpl_vars['lista_pokoi_gry']->value){?><a href="javascript:document.formWybierzPokojGry.submit();" id="uruchom_wybierz_pokoj">Wybierz i przejd¼ dalej</a><?php }else{ ?><a href="gra,wyloguj.html" id="zamknij1" style="left: 105px;">Zamknij</a><?php }?><div class="c"></div></article></section><?php }} ?>