<?php /* Smarty version Smarty-3.1.14, created on 2017-12-05 15:28:41
         compiled from "smarty/templates/photo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:10912339815a26ad1982a2b3-60512737%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '98d4746f5e5ba3be4e8722f3ba29b3539f092117' => 
    array (
      0 => 'smarty/templates/photo.tpl',
      1 => 1507202271,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '10912339815a26ad1982a2b3-60512737',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'feluletid' => 0,
    'varosid' => 0,
    'kampanyid' => 0,
    'feluletkod' => 0,
    'searchfeluletkodcenter' => 0,
    'surfaceid' => 0,
    'isneedphoto' => 0,
    'plakatnev' => 0,
    'login' => 0,
    'kepdb' => 0,
    'datumfrom' => 0,
    'datumto' => 0,
    'varosok' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_5a26ad19857a16_10149194',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5a26ad19857a16_10149194')) {function content_5a26ad19857a16_10149194($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/netfoto.bigteam.hu/smarty/libs/plugins/function.html_options.php';
?><?php echo $_smarty_tpl->getSubTemplate ("headingphoto.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>


<script language="javascript">
  var selectedFeluletId = <?php echo $_smarty_tpl->tpl_vars['feluletid']->value;?>
;
  var varosId = <?php echo $_smarty_tpl->tpl_vars['varosid']->value;?>
;
  var kampanyId = <?php echo $_smarty_tpl->tpl_vars['kampanyid']->value;?>
;
  var feluletKod = <?php echo $_smarty_tpl->tpl_vars['feluletkod']->value;?>
;
  var searchFeluletKodCenter = <?php echo $_smarty_tpl->tpl_vars['searchfeluletkodcenter']->value;?>
;
  var surfaceId = <?php echo $_smarty_tpl->tpl_vars['surfaceid']->value;?>
;
  var isNeedPhoto = <?php echo $_smarty_tpl->tpl_vars['isneedphoto']->value;?>
;
  var plakatNev = <?php echo $_smarty_tpl->tpl_vars['plakatnev']->value;?>
;
</script>


<?php if ($_smarty_tpl->tpl_vars['login']->value==1){?>
  <input type="hidden" name="kepdb" value=<?php echo $_smarty_tpl->tpl_vars['kepdb']->value;?>
 />
  <table width="100%">
    <tr valign="top">
      <td>
        <table>
          <tr>
            <td style="width: 186px;" align="right">Ragasztási időszak (&eacute;&eacute;&eacute;&eacute;.hh.nn.):&nbsp;</td>
            <td style="width: 50px;" align="left" valign="center">
              <table>
                <tr>
                  <td><input type="text" size="10" name="datumfrom" value="<?php echo $_smarty_tpl->tpl_vars['datumfrom']->value;?>
" onChange="return true;" readonly id="datumfrom" /></td>
                  <td><img src="images/calendar.png" onclick="displayCalendar(document.getElementsByName('datumfrom')[0],'yyyy.mm.dd.',this)"></td>
                  <td> - </td>
                  <td><input type="text" size="10" name="datumto" value="<?php echo $_smarty_tpl->tpl_vars['datumto']->value;?>
" onChange="return true;" readonly id="datumto" /></td>
                  <td><img src="images/calendar.png" onclick="displayCalendar(document.getElementsByName('datumto')[0],'yyyy.mm.dd.',this)"></td>
                </tr>
              </table>
            </td>
            <td align="left"><button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only ui-state-hover" style="width: 75px; height: 20px;" onClick="getFeluletek();"><span>Szűrés</span></button></td>
          </tr>
          <tr>
            <td colspan="5">Város:&nbsp;<?php echo smarty_function_html_options(array('name'=>'varosok','id'=>"varosok",'options'=>$_smarty_tpl->tpl_vars['varosok']->value,'selected'=>0),$_smarty_tpl);?>
&nbsp;&nbsp;Felületkód:&nbsp;<input type="text" size="24" maxlength="20" id="feluletkod" name="feluletkod" value="" />&nbsp;<input type="checkbox" name="searchfeluletkodcenter" id="searchfeluletkodcenter" />&nbsp;Keresés felületkód közepére&nbsp;&nbsp;<input type="checkbox" name="isneedphoto" id="isneedphoto" />Fotó szükséges</td>
          </tr>
          <tr><td>&nbsp;</td></tr>
          <tr>
            <td align="center" colspan="4">
              <table id="surfaces"></table>
              <div id="pagerf"></div>
            </td>
          </tr>
          <tr><td>&nbsp;</td></tr>
        </table>
      </td>
    </tr>
  </table>
  <table width="100%">
    <tr>
      <td style="vertical-align: top;">
        <table width="100%">
          <tr>
            <td>
              <table style="width: 516px;">
                <tr><td style="height: 16px">&nbsp;</td></tr>
                <tr><td style="width: 100px">&nbsp;</td><td align="center"><img id="backimg2" src="images/back.jpg" width="50" height="50" title="Előző" /></td><td align="center"><img id="deleteimg2" src="images/delete.jpg" width="50" height="50" title="Töröl" /></td><td align="center"><img id="nextimg2" src="images/next.jpg" width="50" height="50" title="Következő" /></td><td style="width: 100px">&nbsp;</td></tr>
                <tr><td>&nbsp;</td></tr>
              </table>
              <table style="width: 516px;">
                <tr><td align="center"><div id="kep2"><img src='images/noimageassigned.jpg' width='400' height='250' style='border:1px solid black' /></div></td></tr>
              </table>
              <table style="width: 516px;">
                <tr><td>&nbsp;</td></tr>
                <tr>
                  <td align="center" colspan="4"><button id="savephotobutton" type="button" name="savephoto" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only ui-state-hover" style="width: 200px; height: 20px;"><span>Hozzárendelések mentése</span></button></td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
      <td style="vertical-align: top;">
        <table>
          <tr>
            <td width="440">
              <table style="width: 400px;">
                <tr><td align="center" colspan="4"><div id="kepszam">Hozzárendelhető képek száma: <?php echo $_smarty_tpl->tpl_vars['kepdb']->value;?>
</div></td></tr>
              </table>
              <table style="width: 400px;">
                <tr><td align="center"><img id="firstimg" src="images/first.jpg" width="50" height="50" title="Első" /></td><td align="center"><img id="backimg" src="images/back.jpg" width="50" height="50" title="Előző" /></td><td align="center"><img id="deleteimg" src="images/delete.jpg" width="50" height="50" title="Töröl" /></td><td align="center"><img id="nextimg" src="images/next.jpg" width="50" height="50" title="Következő" /></td><td align="center"><img id="lastimg" src="images/last.jpg" width="50" height="50" title="Utolsó" /></td></tr>
                <tr><td>&nbsp;</td></tr>
              </table>
              <table style="width: 400px;">
                <tr><td align="center"><div id="kep"><img src='images/noimage.jpg' width='400' height='250' style='border:1px solid black' /></div></td></tr>
              </table>
              <table style="width: 400px;">
                <tr><td id="kepnev" align="center">&nbsp;</td></tr>
                <tr>
                  <td align="center"><button id="assignphotobutton" type="button" name="assignphoto" class="ui-button ui-widget ui-state-disabled ui-corner-all ui-button-text-only ui-state-hover" style="width: 130px; height: 40px;"><span>Hozzárendelés</span></button>&nbsp;<input type="checkbox" name="repairerphoto" id="repairerphoto" style="position: relative; top: 3px;" />&nbsp;javító fotó</td>
                </tr>
                <tr><td>&nbsp;</td></tr>
                <tr><td align="center" id="uploadphoto" colspan="4"><noscript><p>Kérem engedélyezze a JavaScript-t a kép feltöltéséhez.</p></noscript></td></tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
<?php }?>

</CENTER>
</BODY>
</HTML>
<?php }} ?>