{include file='header.tpl'}
                                           <div id="main">


<div id="content">
<div width="1100px"  id="belka-top">

					<div id="toplogowanie">						
								 <form action="{$getUrl}" method="post">
								<table border="0" >
								<tr>
								<td height="10px"><input type="text" name="login"  style="width: 80px; height: 17px; font-size:11px; " value="{if $login != null}{$login}{else}login{/if}"  style="width: 80px;" {literal}onfocus="if (this.value == 'login') {this.value = '';}" onblur="if (this.value == '') {this.value = 'login';}"{/literal} /></td>
								<td><input type="password" name="pass"  style="width:80px; height:17px; font-size:11px; " value="{if $pass != null}{$pass}{else}pass{/if}"  style="width: 80px;" {literal}onfocus="if (this.value == 'pass') {this.value = '';}" onblur="if (this.value == '') {this.value = 'pass';}"{/literal} /></td>
								<td colspan="2"><input type="hidden" name="getLogin" value="" />
								<button type="submit" style="width: 50px; height: 20px; font-size:10px; " > OK </button>&nbsp;&nbsp;</td>
								</tr>
								</table>
								</form>
				</div>

				 <div id="tlumacz">
							{*	<div id="translate-this"><a href="http://translateth.is/" class="translate-this-button">Translate</a></div>
								 
								<script type="text/javascript" src="http://www.google.com/jsapi"></script>
								<script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>
								<script type="text/javascript"> 
									{literal} TranslateThis();	{/literal}
								</script>
								*}
				</div>
				
				<div id="dodaj-ogloszenie"><a href="panel,dodaj.html" class="ogloszenie">Dodaj ogłoszenie</a></div>
				

</div>

<div width="1100px" style="padding-top:20px;" >



			<div style="float:left; width: 200px; padding-left:12px;">
								<table  style="color:#ffffff" cellpadding="0" cellspacing="0">
									<TR><td align="center" bgcolor="#7F3D01" height="30px" width="200px">TYP TRANSAKCJI</td></tr>
								</table>

									<ul class="leftmenuT">
									 {foreach name=li from=$showKategriaLicz item=K}
									<li><a   href="szukaj,kategoria,{$K.katId},1,{$K.katName}.html" >{$K.katName} ({$K.licz }) </a></li>
									{/foreach}
									</ul>
									
			<br style="clear:both;" />
							<table  style="color:#ffffff" cellpadding="0" cellspacing="0">
								<TR><td align="center" bgcolor="#7F3D01" height="30px" width="200px" >RODZAJE NIERUCHOMOŚCI</td></tr>
							</table>

								<ul class="leftmenuM">
								 {foreach from=$showTypeLicz item=T}
								<li><a   href="szukaj,type,{$T.typeId},1,{$T.typeName}.html" >{$T.typeName} ({$T.licz })</a></li>
								{/foreach}
								</ul>
								
  
				<br style="clear:both;" />
				
					<table width="200px" border=0 cellpadding="0" cellspacing="0">
														<TR><td align="center" bgcolor="#C8C6C7" height="30px" width="200px">WOJEWÓDZTWO</td></TR>
								</table>
											<ul class="leftmenuM">
												 {foreach from=$showStateLicz item=S}
												 <li> <a   href="szukaj,woj,{$S.obStateId },1,{nopl str=$S.stateName }.html" >{$S.stateName } ({$S.licz })</a></li>
												{/foreach}
											</ul>
											
												
				<br style="clear:both;" />
									<table border=0 cellpadding="0" cellspacing="0">
									<TR><td align="center" bgcolor="#C8C6C7" height="30px" width="200px"><FONT SIZE="2">PODSTRONY</font></td></tr>
								</table>
									<ul class="leftmenuM">
									{foreach from=$showPages  item=PP}
									<li><a   href="{$PP.pagesId},{$PP.pagesTitle}.html" >{$PP.pagesTitle}</a></li>
									{/foreach}
									</ul>
									
									
									
</div>
			
			<div style="float:left; width: 850px;padding-left:5px;height:100%" valign="top">
			
			
<table >
	<TR><td align="center" bgcolor="#C8C6C7" height="30px" width="850px">PANEL UŻYTKOWNIKA - PROMUJ OBIEKT</td></tr>
</table>
                                {if $error != null}<div class="info2" align="center"><table align="center"><tr><td align="center"><img src="img/blad.png" border="0" /></td></tr><tr><td align="center"><font color="red"><b>{foreach from=$error item=E}<li>{$E}</li>{/foreach}</b></font></td></tr><tr><td><br><br></td></tr></table></div>{/if}
                                {if $success != null}<div class="info2" align="center"><table align="center"><tr><td align="center"><img src="img/ok.png" border="0" /> &nbsp;&nbsp; </td></tr><tr><td align="center"><font color="#1f8603"><b>{foreach from=$success item=S}<li>{$S}</li>{/foreach}</b></font></td></tr><tr><td><br><br></td></tr></table></div>{/if}
                                        <div class="page">
										<table width="100%"><tr><td width="150px" valign="top">
                                        {include file='panel-menu2.tpl'}
										</td><td width="1%"></td><td valign="top">
                                        {if $num_4 != 0}
                                        <strong class="pay_title">&raquo; Lista dostępnych sposobów płatności</strong> {if $obWyroz == '1'}( promocja obiektu ważna do {$obWyrozDateEnd} ){/if}<br /><br />
                                                <table width="100%" cellspacing="1" class="list">
                                                        <tr>
                                                                <td class="td_1" width="8%">wybierz</td>
                                                                <td class="td_1" width="40%">opis</td>
                                                                <td class="td_1" width="20%">czas emisji</td>
                                                                <td class="td_1" width="20%">cena</td>
                                                               
                                                        </tr>
                                                        {assign var='i' value='0'}
                                                        {foreach from=$pay_4 item=P}
                                                        {assign var='i' value=$i+1}
                                                        <tr onmouseover="style.backgroundColor='#a9a7a7'" onmouseout="style.backgroundColor='#f6f4f4'">
                                                                <td class="td_3" align="center"><a onclick="document.getElementById('payment_4_{$P.payId}').style.display='block'; document.getElementById('kwota_4_{$P.payId}').value='{$P.payPrice}'; document.getElementById('control_4_{$P.payId}').value='{$id}-{$P.payDay}-{$P.payToo}';" style="cursor: pointer;" />płatność!</a></td>
                                                                <td class="td_3">&nbsp; {$P.payDesc}</td>
                                                                <td class="td_3" align="center">+{$P.payDay} dni</td>
                                                                <td class="td_3" align="center">{$P.payPrice} pln</td>
                                                                
                                                        </tr>
                                                        {/foreach}
                                                </table>
																			{/if}
												</td></tr></table>
                                        </div>
                                        {foreach from=$pay_4 item=P2}
                                        <div class="payment" id="payment_4_{$P2.payId}" {if $P2.payId == $payId}style="display: block;"{/if}>
                                        <strong>&raquo; Szczegóły płatności</strong> <a onclick="document.getElementById('payment_4_{$P2.payId}').style.display='none';" style="float: right; cursor: pointer;">[zamknij]</a>
                                        <br /><br />
                                        {$P2.payTxt|nl2br}
                                        <br /><br />
                                        {if $P2.payOption == 'sms'}
                                        <form action="{$getUrl}" method="post">
                                        <table>
                                                <tr>
                                                        <td width="140px">Kod SMS</td>
                                                        <td><input type="text" name="code" value="" style="width: 250px;" /></td>
                                                        <td> &nbsp; <input type="hidden" name="getCode" value="" /><input type="hidden" name="payId" value="{$P2.payId}" /><input type="hidden" name="payToo" value="{$P2.payToo}" /><input type="hidden" name="payCodeSms" value="{$P2.payCodeSms}" /><button type="submit" >&nbsp; OK&nbsp; </button></td>
                                                </tr>
                                        </table>
                                        </form>
                                        {/if}
                                        {if $P2.payOption == 'online'}
                                        <form action="https://ssl.dotpay.pl" method="post">
                                                <input type="hidden" name="kwota" id="kwota_4_{$P2.payId}" value="" />
                                                <input type="hidden" name="id" value="{$dotpayId}" />
                                                <input type="hidden" name="lang" value="pl" />
                                                <input type="hidden" name="waluta" value="PLN" />
                                                <input type="hidden" name="opis" value="{$wwwSubStr} - promowanie obiektu" />
                                                <input type="hidden" name="URL" value="{$cfg_www}panel.html" />
                                                <input type="hidden" name="type" value="0" />
                                                <input type="hidden" name="txtguzik" value="&laquo; powrót do serwisu {$wwwSubStr}" />
                                                <input type="hidden" name="URLC" value="{$cfg_www}pay.php" />
                                                <input type="hidden" name="email" value="{$userEmail}" />
                                                <input type="hidden" name="control" id="control_4_{$P2.payId}" value="" />
                                                <button type="submit" >&nbsp; Płatności&nbsp; </button>
                                        </form>
                                        {/if}
                                        </div>
                                        {/foreach}
                                        
</div>
<br style="clear:both;" />
			
	</div>		
<br style="clear:both;" />
		
                         
</div>
{include file='footer.tpl'}
