{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"></div>
<table width="100%" cellspacing="2" cellpadding="2" >
 <tr class="th_1"><td colspan="2" >Reklama - Bannery (flash, jpg, gif, ...)  </td></tr>
<tr><td class="td_1">Przejdz do REKLAMY <BR>(BOX LEWY):</td><td align="center" class="td_2"><b>Typ:</b> <a href="?mod=baner&typ=b1">BANNERY (210 x 110 ):</a> <-- (po załadowaniu badz usunięciu bannera nacisnij link)</td></tr>
<tr><td class="td_1">Przejdz do REKLAMY <BR>(STRONA GŁÓWNA):</td><td align="center" class="td_2"><b>Typ:</b> <a href="?mod=baner&typ=b2">BANNERY (340 x 60 ):</a> <-- (po załadowaniu badz usunięciu bannera nacisnij link)</td></tr>
<tr><td class="td_1">Przejdz do REKLAMY <BR>(STRONA GŁÓWNA):</td><td align="center" class="td_2"><b>Typ:</b> <a href="?mod=baner&typ=b3">BANNERY (728 x 90 ):</a> <-- (po załadowaniu badz usunięciu bannera nacisnij link)</td></tr>
<tr><td class="td_1">Przejdz do REKLAMY <BR>(STRONA GŁÓWNA):</td><td align="center" class="td_2"><b>Typ:</b> <a href="?mod=baner&typ=b4">BANNERY (728 x 90 ):</a> <-- (po załadowaniu badz usunięciu bannera nacisnij link)</td></tr>
<tr><td class="td_1">Przejdz do REKLAMY <BR>(STRONA SZUKAJ):</td><td align="center" class="td_2"><b>Typ:</b> <a href="?mod=baner&typ=b5">BANNERY (728 x 90 ):</a> <-- (po załadowaniu badz usunięciu bannera nacisnij link)</td></tr>
<table>






 {if $typ == 'b1' } <br>
<form enctype="multipart/form-data" action="?mod=baner&typ=b1" method=post>
<table width="100%" cellspacing="2" cellpadding="2" >
<tr><td><input type=hidden name=id value=reklama><input type=hidden name=co value=1><input type=hidden name=edycja value=true></td></tr>
<tr><td class="td_1"  >Dodaj Banner (w:210 h:110):</td><td class="td_2" align=left>
<TABLE align="center"><TR><td>Plik do załadowania: </td><td><input name=button type=file class=btn /></td></tr>
<tr><td>Link do strony (wpisac http://): </td><td align=left><input type=text name=url /> (link jest dla: jpg, gif)</td><td><input type=submit name=dodaj value=" DODAJ " class=btn></td></tr></table>
</form>
</td></tr>
</table>
{/if}

 {if $typ == 'b2' }<br>
<form enctype="multipart/form-data" action="?mod=baner&typ=b2" method=post>
<table width="100%" cellspacing="2" cellpadding="2" >
<tr><td><input type=hidden name=id value=reklamaB><input type=hidden name=co value=2><input type=hidden name=edycja value=true></td></tr>
<tr><td class="td_1"  >Dodaj Banner (w:340 h:60):</td><td class="td_2" align=left>
<TABLE align="center"><TR><td>Plik do załadowania: </td><td><input name=button type=file class=btn /></td></tr>
<tr><td>Link do strony (wpisac http://): </td><td align=left><input type=text name=url /> (link jest dla: jpg, gif)</td><td><input type=submit name=dodaj value=" DODAJ " class=btn></td></tr></table>
</form>
</td></tr>
</table>
{/if}


 {if $typ == 'b3' }<br>
<form enctype="multipart/form-data" action="?mod=baner&typ=b3" method=post>
<table width="100%" cellspacing="2" cellpadding="2" >
<tr><td><input type=hidden name=id value=reklamaC><input type=hidden name=co value=3><input type=hidden name=edycja value=true></td></tr>
<tr><td class="td_1"  >Dodaj Banner (w:728 h:90):</td><td class="td_2" align=left>
<TABLE align="center"><TR><td>Plik do załadowania: </td><td><input name=button type=file class=btn /></td></tr>
<tr><td>Link do strony (wpisac http://): </td><td align=left><input type=text name=url /> (link jest dla: jpg, gif)</td><td><input type=submit name=dodaj value=" DODAJ " class=btn></td></tr></table>
</form>
</td></tr>
</table>
{/if}

 {if $typ == 'b4' }<br>
<form enctype="multipart/form-data" action="?mod=baner&typ=b4" method=post>
<table width="100%" cellspacing="2" cellpadding="2" >
<tr><td><input type=hidden name=id value=reklamaD><input type=hidden name=co value=4><input type=hidden name=edycja value=true></td></tr>
<tr><td class="td_1"  >Dodaj Banner (w:728 h:90):</td><td class="td_2" align=left>
<TABLE align="center"><TR><td>Plik do załadowania: </td><td><input name=button type=file class=btn /></td></tr>
<tr><td>Link do strony (wpisac http://): </td><td align=left><input type=text name=url /> (link jest dla: jpg, gif)</td><td><input type=submit name=dodaj value=" DODAJ " class=btn></td></tr></table>
</form>
</td></tr>
</table>
{/if}

 {if $typ == 'b5' }<br>
<form enctype="multipart/form-data" action="?mod=baner&typ=b5" method=post>
<table width="100%" cellspacing="2" cellpadding="2" >
<tr><td><input type=hidden name=id value=reklamaS><input type=hidden name=co value=5><input type=hidden name=edycja value=true></td></tr>
<tr><td class="td_1"  >Dodaj Banner (w:728 h:90):</td><td class="td_2" align=left>
<TABLE align="center"><TR><td>Plik do załadowania: </td><td><input name=button type=file class=btn /></td></tr>
<tr><td>Link do strony (wpisac http://): </td><td align=left><input type=text name=url /> (link jest dla: jpg, gif)</td><td><input type=submit name=dodaj value=" DODAJ " class=btn></td></tr></table>
</form>
</td></tr>
</table>
{/if}




 {if $typ == 'b1' } <br><br>
<table width="100%"  cellspacing="2" cellpadding="2" >
<tr><td  class="td_1" >Baza BANNERÓW -  (w:210 h:110):</td><td  class="td_2" align=center>
<table border="0" width="100%">
{assign var='i' value='0'}
{foreach from=$kod item=K}
{assign var='i' value=$i+1}
<tr  {if $i%2 != 0}class="list_1" style="border: 1px solid " {else}class="list_2"{/if}>
<td align="center"><a href="{ $K.url }" target=_blanck>{ $K.kod }</a></td><td width="50" align="center"> <a href="?mod=baner&o={ $K.id }&typ=b1&usun=true"><img src="../img/admin-delete.png" border="0" class="img" title="USUŃ"/> </a></td>
 </tr>
{/foreach}
</table>
 </td></tr>
{$tresc}
</table>
{/if}


 {if $typ == 'b2' } <br><br>
<table width="100%"  cellspacing="2" cellpadding="2" >
<tr><td  class="td_1" >Baza BANNERÓW -  (w:340 h:60):</td><td  class="td_2" align=center>

<table border="0" width="100%">
{assign var='i' value='0'}
{foreach from=$kodB item=KB}
{assign var='i' value=$i+1}

<tr  {if $i%2 != 0}class="list_1" style="border: 1px solid " {else}class="list_2"{/if}>
<td align="center"><a href="{ $KB.url }" target=_blanck>{ $KB.kod }</a></td><td width="50" align="center"> <a href="?mod=baner&o={ $KB.id }&typ=b2&usun=true"><img src="../img/admin-delete.png" border="0" class="img" title="USUŃ"/> </a></td>
 </tr>
{/foreach}
</table>
 </td></tr>
{$trescB}
</table>
{/if}


 {if $typ == 'b3' } <br><br>
<table width="100%"  cellspacing="2" cellpadding="2" >
<tr><td  class="td_1" >Baza BANNERÓW -  (w:728 h:90):</td><td  class="td_2" align=center>

<table border="0" width="100%">
{assign var='i' value='0'}
{foreach from=$kodC item=KC}
{assign var='i' value=$i+1}

<tr  {if $i%2 != 0}class="list_1" style="border: 1px solid " {else}class="list_2"{/if}>
<td align="center"><a href="{ $KC.url }" target=_blanck>{ $KC.kod }</a></td><td width="50" align="center"> <a href="?mod=baner&o={ $KC.id }&typ=b3&usun=true"><img src="../img/admin-delete.png" border="0" class="img" title="USUŃ"/> </a></td>
 </tr>
{/foreach}
</table>
 </td></tr>
{$trescC}
</table>
{/if}

 {if $typ == 'b4' } <br><br>
<table width="100%"  cellspacing="2" cellpadding="2" >
<tr><td  class="td_1" >Baza BANNERÓW -  (w:728 h:90):</td><td  class="td_2" align=center>

<table border="0" width="100%">
{assign var='i' value='0'}
{foreach from=$kodD item=KD}
{assign var='i' value=$i+1}

<tr  {if $i%2 != 0}class="list_1" style="border: 1px solid " {else}class="list_2"{/if}>
<td align="center"><a href="{ $KD.url }" target=_blanck>{ $KD.kod }</a></td><td width="50" align="center"> <a href="?mod=baner&o={ $KD.id }&typ=b4&usun=true"><img src="../img/admin-delete.png" border="0" class="img" title="USUŃ"/> </a></td>
 </tr>
{/foreach}
</table>
 </td></tr>
{$trescC}
</table>
{/if}


 {if $typ == 'b5' } <br><br>
<table width="100%"  cellspacing="2" cellpadding="2" >
<tr><td  class="td_1" >Baza BANNERÓW -  (w:728 h:90):</td><td  class="td_2" align=center>

<table border="0" width="100%">
{assign var='i' value='0'}
{foreach from=$kodS item=KS}
{assign var='i' value=$i+1}

<tr  {if $i%2 != 0}class="list_1" style="border: 1px solid " {else}class="list_2"{/if}>
<td align="center"><a href="{ $KS.url }" target=_blanck>{ $KS.kod }</a></td><td width="50" align="center"> <a href="?mod=baner&o={ $KS.id }&typ=b5&usun=true"><img src="../img/admin-delete.png" border="0" class="img" title="USUŃ"/> </a></td>
 </tr>
{/foreach}
</table>
 </td></tr>
{$trescC}
</table>
{/if}

</div>
{include file="adm-footer.tpl"}

