{include file="adm-header.tpl"}
<div class="content">
{if $error != null}<div class="error">{$error}</div>{/if}
{if $success != null}<div class="success">{$success}</div>{/if}
<div class="submenu">&raquo; <a href="administrator.php?mod=config">Ustawienia ogólne</a> &nbsp;&nbsp; &raquo; <a href="administrator.php?mod=config&act=mail">Ustawienia poczty</a>  &nbsp;&nbsp; &raquo; <a href="administrator.php?mod=config&act=type">Typy oferty</a> &nbsp;&nbsp; &raquo;  <a href="administrator.php?mod=config&act=state">Regiony</a>&nbsp;&nbsp; &raquo; 
<a href="administrator.php?mod=config&act=kategoria">Typ transakcji</a> &nbsp;&nbsp; &raquo;
<a href="administrator.php?mod=config&act=stan">Stan obiektu</a> &nbsp;&nbsp; &raquo; 
<a href="administrator.php?mod=config&act=dach">Dach obiektu</a> &nbsp;&nbsp; &raquo; <a href="administrator.php?mod=config&act=budulec">Budulec obiektu</a></div>
<form action="administrator.php?mod=config&act=mail" method="post">
<table width="100%" cellspacing="2" cellpadding="2" >
<tr class="th_1"><td colspan="2" >Ustawienia poczty  </td></tr>
        <tr>
                <td class="td_1">Email administratora</td>
                <td class="td_2"><input type="hidden" name="id[]" value="{$id_mailAdmin}" /><input type="text" name="config[]" value="{$mailAdmin}" style="width: 300px;" /></td>
        </tr>
        <tr>
                <td class="td_1">Login SMTP</td>
                <td class="td_2"><input type="hidden" name="id[]" value="{$id_mailLogin}" /><input type="text" name="config[]" value="{$mailLogin}" style="width: 200px;" /> &nbsp; <a onmouseover="document.getElementById('help_1').style.display='';" onmouseout="document.getElementById('help_1').style.display='none';" style="cursor: pointer;"><img src="../img/pomoc.png" border="0" class="img" /></a> &nbsp; <span id="help_1" style="display: none;">np. kontakt@noclegi.pl lub kontakt ( zależy od serwera )</span></td>
        </tr>
        <tr>
                <td class="td_1">Hasło SMTP</td>
                <td class="td_2"><input type="hidden" name="id[]" value="{$id_mailPass}" /><input type="text" name="config[]" value="{$mailPass}" style="width: 200px;" /></td>
        </tr>
        <tr>
                <td class="td_1">Serwer SMTP</td>
                <td class="td_2"><input type="hidden" name="id[]" value="{$id_mailSmtpHost}" /><input type="text" name="config[]" value="{$mailSmtpHost}" style="width: 100px;" /> &nbsp; <a onmouseover="document.getElementById('help_2').style.display='';" onmouseout="document.getElementById('help_2').style.display='none';" style="cursor: pointer;"><img src="../img/pomoc.png" border="0" class="img" /></a> &nbsp; <span id="help_2" style="display: none;">np. mail.noclegi.pl</span></td>
        </tr>
        <tr>
                <td class="td_1">Autoryzacja SMTP</td>
                <td class="td_2"><input type="hidden" name="id[]" value="{$id_smtpAuth}" /><input type="radio" name="config[]" value="true" {if $smtpAuth == 'true'}CHECKED{/if} /> &nbsp;-&nbsp; true<br /><input type="radio" name="config[]" value="false" {if $smtpAuth == 'false'}CHECKED{/if}  /> &nbsp;-&nbsp; false</td>
        </tr>
        <tr>
                <td class="td_1">Stopka emaila</td>
                <td class="td_2"><input type="hidden" name="id[]" value="{$id_mailFooter}" /><input type="text" name="config[]" value="{$mailFooter}" style="width: 500px;" /></td>
        </tr>
        <tr>
                <td class="td_1">Logo emaila</td>
                <td class="td_2"><input type="hidden" name="id[]" value="{$id_mailLogo}" /><input type="text" name="config[]" value="{$mailLogo}" style="width: 400px;" /> &nbsp; <a onmouseover="document.getElementById('help_3').style.display='';" onmouseout="document.getElementById('help_3').style.display='none';" style="cursor: pointer;"><img src="../img/pomoc.png" border="0" class="img" /></a> &nbsp; <span id="help_3" style="display: none;">np. http://www.noclegi.pl/logo.jpg</span></td>
        </tr>
        <tr>
                <td align="center"><br /><input type="hidden" name="update_2" value="" /><input type="submit" class="submit" value=" Zapisz " /></td>
        </tr>
</table>
</form>
</div>
{include file="adm-footer.tpl"}
