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


<div id="content">

<div id="demo">
<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>
				
				<div id="dodaj-ogloszenie"><a href="panel,dodaj.html" class="ogloszenie">Dodaj ogłoszenie</a></div>
				

</div>

<div width="1100px"  >

					<div  style="float:left; width: 720px; padding-left:10px;"> 
					<center><br>
					<form id="search" action="szukaj.html" method="post">
					<fieldset id="log">
					 <table style="width: 690px; margin-left: -20px; " border="0"  cellspacing="9" CELLPADDING="3">
							<tr><td align="left">Typ Nieruchomosci:</td>
							<td width="200px" align="left" >
																 <select name="type"  style="width: 170px;">
																										 <option value="">- rodzaj nieruchomości</option>
																										 {foreach from=$showType item=T}
																										 <option value="{$T.typeId}" {if $T.typeId == $type}SELECTED{/if}>- {$T.typeName}</option>
																										 {/foreach}
																	</select>
							</td>
							<td align="left">Województwo:</td>
															<td align="left">
																<select name="state"  style="width: 160px;">
																										<option value="">- województwo</option>
																										{foreach from=$showState item=S}
																										<option value="{$S.stateId}" {if $S.stateId == $state}SELECTED{/if}>- {$S.stateName}</option>
																										{/foreach}
																										</select>
															</td>
															</TR>
							
							<tr><td align="left">Typ transakcji:</td>
															<td align="left">
															<select name="kategoria"  style="width: 140px;">
																										 <option value="">- typ transakcji</option>
																										 {foreach from=$showKategoria item=KK}
																										 <option value="{$KK.katId}" {if $KK.katId == $kat}SELECTED{/if}>- {$KK.katName}</option>
																										 {/foreach}
															</select>
															</td>
									<td align="left">Miasto:</td>
															<td align="left">
																	<input type="text" name="txt" value="{if $txt != null}{$txt}{else}szukane miasto{/if}"  style="width: 150px;" {literal}onfocus="if (this.value == 'szukane miasto') {this.value = '';}" onblur="if (this.value == '') {this.value = 'szukane miasto';}"{/literal} />
															</td>
															</tr>
							<tr><td align="left">Powierzchnia:</td>
															<td align="left">
																		<input type="text" name="powOn" value="{if $powOn != null}{$powOn}{else}pow. od{/if}"  style="width: 80px;" {literal}onfocus="if (this.value == 'pow. od') {this.value = '';}" onblur="if (this.value == '') {this.value = 'pow. od';}"{/literal} /> &nbsp;&nbsp;
																		<input type="text" name="powOff" value="{if $powOff != null}{$powOff}{else}pow. do{/if}"  style="width: 80px;" {literal}onfocus="if (this.value == 'pow. do') {this.value = '';}" onblur="if (this.value == '') {this.value = 'pow. do';}"{/literal} />
															</td>
									<td align="left">Dzielnica:</td>
															<td align="left">
																		<input type="text" name="dziel" value="{if $dziel != null}{$dziel}{else}szukana dzielnica{/if}"  style="width: 150px;" {literal}onfocus="if (this.value == 'szukana dzielnica') {this.value = '';}" onblur="if (this.value == '') {this.value = 'szukana dzielnica';}"{/literal} />
															</td>
							</tr>
							<tr><td align="left">Rynek:</td>
															<td align="left">
																			<select name="rynek"  style="width: 120px;">
																						<option value="">- rynek</option>
																						{foreach from=$showRynek item=RY}
																					 <option value="{$RY.rynekId}" {if $RY.rynekId == $rynek}SELECTED{/if}>- {$RY.rynekName}</option>
																					 {/foreach}
																					 </select>
															</td>
									<td align="left">Ulica:</td>
															<td align="left">
																		<input type="text" name="ulica" value="{if $ulica != null}{$ulica}{else}szukana ulica{/if}"  style="width: 150px;" {literal}onfocus="if (this.value == 'szukana ulica') {this.value = '';}" onblur="if (this.value == '') {this.value = 'szukana ulica';}"{/literal} />
															</td>
							</tr>			
							<tr><td align="left">Cena:</td>
															<td align="left">
																	<input type="text" name="priceOn" value="{if $priceOn != null}{$priceOn}{else}cena od{/if}"  style="width: 80px;" {literal}onfocus="if (this.value == 'cena od') {this.value = '';}" onblur="if (this.value == '') {this.value = 'cena od';}"{/literal} /> &nbsp;&nbsp; 
																	<input type="text" name="priceOff" value="{if $priceOff != null}{$priceOff}{else}cena do{/if}"  style="width: 79px;" {literal}onfocus="if (this.value == 'cena do') {this.value = '';}" onblur="if (this.value == '') {this.value = 'cena do';}"{/literal} />
															</td>
															<td align="left"></td>
															<td align="center">
																					 <input type="hidden" name="getSearch" value="" /><button type="submit" >&nbsp; Szukaj &nbsp; </button>
															</td>
							</tr>	


					</table>
					</fieldset>
					</form></center>

					</div>
					
					<div style="float:left; width:330px;  padding-top:13px;">
								<table border="0"  style="color:#ffffff" cellpadding="0" cellspacing="0">
								<TR><td align="center" bgcolor="#7F3D01" height="25px" width="330px"><FONT SIZE="3">AKTUALNOŚCI</font></td></tr>
								</table>
								<table>
								<tr><td>
									{assign var='i' value='0'}
																													{foreach from=$showOgl item=OG}
																													{assign var='i' value=$i+1}
																													{if isset($ie)}{else}<span>{/if}


								<table width="330px" border=0 cellpadding="0" cellspacing="0" >
								<tr><td {if $i%2 != 0}class="ogl_1"{else}class="ogl_2"{/if}> <span class="offersdetails2">&raquo;</span> <b>{$OG.aktTitle }</b></td></tr>
								<tr><td></td></tr>
								<tr><td {if $i%2 != 0}class="ogl_1"{else}class="ogl_2"{/if}> {$OG.aktTxt|substr:0:110 }<div align="right"><a href="news,{$OG.aktId},{$OG.aktTitle}.html" class="offersdetails">Więcej</a> <span class="offersdetails2">&raquo;</span></div></td></tr>
								<tr><td height="10px"></td></tr>
								</table>

																													{if isset($ie)}{else}</span>{/if}
																													{/foreach}
								</TD></tr>
								</table>
					<div>
					
					
</div>

</div>

<div width="1100px"  >

						<div style="float:left; width: 200px; padding-left:12px;">
								<table  style="color:#ffffff" cellpadding="0" cellspacing="0">
									<TR><td align="center" bgcolor="#7F3D01" height="25px" width="200px"><FONT SIZE="3" >TYP TRANSAKCJI</font></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>
						</div>


				<div   style="float:left; width: 830px; height:200px; padding-left:10px;" align="center" bgcolor="#000fff" >
												<table border="0" width="710px" align="center">
												<TR>
												<td align="center"><div align="left"><font face="Tahoma" size="1">Reklama</font></div>
												 {assign var='i' value='0'}
												{foreach from=$reklamaD  item=RD}
												{assign var='i' value=$i+1}
												<center><a href="{$RD.url}" target="_blanck">{$RD.kod} </a></center>
												{/foreach}
												</tr>
												</table>
												
																				<div  align="center"> {if $top != null}{$top}{/if}</div>
				<div>
				
				
</div></div>

<br style="clear:both;" />

	{literal}
     <SCRIPT LANGUAGE="JavaScript">
  <!--
  function displayWindow1(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=yes,scrollbars=yes,menubar=no' );
  }
  //-->
  </SCRIPT>
	{/literal}

<div width="1100px"  >


						<div style="float:left; width: 520px; padding-left:12px;" > 

               {if $nump != 0}
                   <ul >
													<table width="520px" border=0 cellpadding="0" cellspacing="0" valign="top"  style="color:#ffffff">
													<TR><td align="center" bgcolor="#7F3D01" height="25px" width="500px"><FONT SIZE="2"><b>OBIEKTY PROMOWANE</b></font> <a href="szukaj.html"  class="loginA"> więcej obiektów </a><span class="offersdetails3">&raquo;</span></td></TR>
													</table>
		
                                          {assign var='i' value='0'}
                                          {foreach name=promo from=$promo item=P}
                                          {assign var='i' value=$i+1}

													<div {if $i%2 != 0}class="list_1A"{else}class="list_2A"{/if} {if $P.obPromo == '1'}style="border: 1px solid #{$promoColorBorder}; background: #{$promoColorBg}"{elseif $P.obLastMinute == '1'}{/if} {if $P.obLastMinute == '1'}style="border: 1px solid #{$lastColorBorder}; background: #{$lastColorBg}"{/if}>
																	<table width="510px" height="150px" border="0" cellpadding="4" cellspacing="4"  style="background:#9d500a">
																	<tr><td width="190px" height="130px" rowspan="7" align="center"  style="background:#D2C276">{if $P.photo != null}
																	<A href="obiekt,{$P.obId},{nopl str=$P.obName}.html"   ><img src="files/photo/sre/{$P.photo}" border="0" width="170" style="border: 3px double #b6c1ce " /></a>
																	{else}
																	<A href="obiekt,{$P.obId},{nopl str=$P.obName}.html"  /></A>{/if}</td>
																	<td height="20px"  width="30px" rowspan="7" align="center" style="background:#d2c276" >
																	<!--<A href="galeria,{$P.obId}.html"></a>-->
																	<a href="obiekt,{$P.obId},{nopl str=$P.obName}.html"><img src="images/fotki.png" border="0"	></a><br>
																	<A href="javascript:displayWindow1('mapa.php?tytul={$P.obName}&typ={$P.typeName}&miasto={$P.obCity}&ulica={$P.obAdress}&kat={$P.katName}',525,425)"><img src="images/mapa.png" border="0"	title="<b>Województwo:</b> {$P.stateName} <br> <b>Miasto:</b> {$P.obCity}<br> <b>Ulica:</b> {$P.obAdress}"></a>
																	</td>
																	<td height="20px"  colspan="2" style="background:#d2c276" align="center"><strong style="color:#000000"> {$P.obName|substr:0:40}</strong></td></tr>
																	<tr><td colspan="2"><b>Typ:</b> <span style="color:#ffffff">{$P.typeName}</span></td></tr>
																	<tr><td colspan="2"><b>Stan:</b> {$P.stanName}</td></tr>
																	<tr><td colspan="2"><b>Ogłoszenie:</b> {$P.katName}</td></tr>
																	<tr><td colspan="2"><b>Zabudowa:</b> {$P.rodzajName}</td></tr>
																	<tr><td><b>Powierzchnia:</b> {$P.obPoC }m2</td><td align="right" ><span style="color:#ffffff"><b>Cena: {$P.obPriceOn} zł</b></span></td></tr>

																	<tr><td align="right" height="20px" colspan="2" ><a href="obiekt,{$P.obId},{nopl str=$P.obName}.html"  class="offersdetailsA">zobacz szczegóły</a> <span class="offersdetails2A">&raquo;</span></td></tr>	
																	</table>
													 </div>

                                          {/foreach}
										</ul>
                    {/if}
					</div>




					<div style="float:left; width: 520px; padding-left:12px;" >
                       <ul >
														<table width="520px" border=0 cellpadding="0" cellspacing="0" valign="top">
														<TR><td align="center" bgcolor="#C8C6C7" height="25px" width="500px"><FONT SIZE="2" >OGŁOSZENIA NOWE</font></td></TR>
														</table>
                                          {assign var='i' value='0'}
                                          {foreach from=$index item=I}
                                          {assign var='i' value=$i+1}

													<div {if $i%2 != 0}class="list_1"{else}class="list_2"{/if}{if $I.obPromo == '1'}style="border: 1px solid #{$promoColorBorder}; background: #{$promoColorBg}"{elseif $I.obLastMinute == '1'}style="border: 1px solid #{$lastColorBorder}; background: #{$lastColorBg}"{/if}>																					
																<table width="510px" height="150px" border="0" cellpadding="0" cellspacing="3">
																<tr><td width="190px"  height="130px" rowspan="7"  align="center"  style="background:#D0CDCD">{if $I.photo != null}<A href="obiekt,{$I.obId},{nopl str=$I.obName}.html" ><img src="files/photo/sre/{$I.photo}" border="0" width="170" style="border: 3px double #b6c1ce " /></a>
																{else}
																<a href="obiekt,{$I.obId},{nopl str=$I.obName}.html"  /><img src="img/brak_zdjecia.gif" border="0" width="170" style="border: 3px double #b6c1ce " /></A>{/if}</td>
																<td height="20px"  width="30px" rowspan="7" align="center" style="background:#d0cdcd" >
																<A href="obiekt,{$I.obId},{nopl str=$I.obName}.html"><img src="images/fotki.png" border="0"></a><br>
																<A href="javascript:displayWindow1('mapa.php?tytul={$I.obName}&typ={$I.typeName}&miasto={$I.obCity}&ulica={$I.obAdress}&kat={$I.katName}',525,425)"><img src="images/mapa.png" border="0"	title="<b>Województwo:</b> {$I.stateName} <br> <b>Miasto:</b> {$I.obCity}<br> <b>Ulica:</b> {$I.obAdress}"></a>
																</td>
																<td  height="20px" colspan="2" style="background:#dddcdc" align="center"><strong> {$I.obName|substr:0:42}</strong></td></tr>
																<tr><td colspan="2"><b>Typ:</b> <span class="green">{$I.typeName|substr:0:15}</span></td></tr>
																<tr><td colspan="2"><b>Stan:</b> {$I.stanName}</td></tr>
																<tr><td colspan="2"><b>Ogłoszenie:</b> {$I.katName}</td></tr>
																<tr><td colspan="2"><b>Zabudowa:</b> {$I.rodzajName}</td></tr>
																<tr><td ><b>Powierzchnia:</b> {$I.obPoC }m2</td><td align="right"><span class="green"><b>Cena:</b> {$I.obPriceOn} zł</span></td></tr>

																<tr><td align="right" height="20px" colspan="2" ><a href="obiekt,{$I.obId},{nopl str=$I.obName}.html" class="offersdetails">zobacz szczegóły</a> <span class="offersdetails2">&raquo;</span></td></tr>
																</table>
													</div>

                                          {/foreach}
                          </ul>
						</div>

</div></div>


<br style="clear:both;" />


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

			   <script type="text/javascript" src="js/wyroznione/jquery-1.7.2.min.js"></script>
				<link rel="stylesheet" type="text/css" href="js/wyroznione/slidedeck.skin.css" media="screen" />
				<!--[if lte IE 8]><link rel="stylesheet" type="text/css" href="js/wyroznione/slidedeck.skin.ie.css" media="screen,handheld" /><![endif]-->
				<script type="text/javascript" src="js/wyroznione/slidedeck.jquery.lite.pack.js"></script>
		
			<div style="float:left; width: 200px; padding-left:12px;">
							<table  style="color:#ffffff" cellpadding="0" cellspacing="0">
								<TR><td align="center" bgcolor="#7F3D01" height="25px" 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>
			</div>
			
	<div style="float:right; padding-right:10px;" >
			<table style="color:#ffffff" valign="top">
								<TR><td align="center" bgcolor="#7F3D01" height="25px" width="840px" ><FONT SIZE="2"><b>OGŁOSZENIA WYRÓŻNIONE</b></font></td></tr>
			</table>
							<div id="slidedeck_frame" class="skin-slidedeck" >

								<dl class="slidedeck">
				{assign var='i' value='0'}
				{foreach from=$showPromoM item=I}
				{assign var='i' value=$i+1}
				
									<dt>&nbsp;&nbsp;&nbsp; {$I.typeName|substr:0:19}&nbsp;<img src="images/gwiazda2.png"></dt>
									<dd>
									<div style="width:570px;"  style=""> 
									
									
											<div style="float:left;width:250px;">	
												<div style="margin:4px; font-size:12px; width:250px;">
												<b>Województwo:</b> {$I.stateName}<br>
												<b>Miejscowość:</b> {$I.obCity} <br>
												<b>Ulica:</b> {$I.obAdress}<br>
													<b>Cena: <font color="red"> {$I.obPriceOn} zł</b></font><br><br>
													
													<b>Typ transakcji:</b> {$I.katName}<br>
													<b>Typ oferty:</b> {$I.typeName}<br>
													<b>Typ zabudowy:</b> {$I.rodzajName}<br>
													<b>Stan:</b> {$I.stanName} <br>
													</div>
											
																						{if $I.obRoom!= null}
											<div style="width:250px;margin-right:4px;">
																								<table border="0" width="250px" aling="center" cellpadding="3" cellspacing="3">
																								<tr><td class="opis2" colspan="3">DOTATKOWE DANE: </td></tr>
																									<tr>
																										<td valign="top"  class="iko">
																																							{if strstr($I.obRoom, 'b1')}Aneks kuchenny,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b2')}Umeblowane,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b3')}Strych,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b4')}Winda,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b5')}Telefon,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b6')}Internet,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b7')}Domofon,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b8')}Monitoring,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b9')}Ochrona,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b10')}Ogrodzenie,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b11')}Parking,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b12')}Kominek,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b13')}Balkon,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b14')}Altana,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b15')}Piwnica,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b16')}Suszarnia,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b17')}Garaż,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b18')}Ogród,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b19')}Ogródek,&nbsp; &nbsp;{else}{/if}
																																							{if strstr($I.obRoom, 'b20')}Sad&nbsp; &nbsp;{else}{/if}
																									</td>
																								 </tr>
																								</table>   
											</div>
																								{else}{/if}
													<div style="margin:4px;" align="right"><a href="obiekt,{$I.obId},{nopl str=$I.obName}.html" class="offersdetails">zobacz szczegóły</a> <span class="offersdetails2">&raquo;</span></div>
											</div>							
												
											<div style="float:left;"><a href="obiekt,{$I.obId},{nopl str=$I.obName}.html"><img src=" files/photo/big/{$I.photo} " alt="{$I.obName} - {$I.obCity}"  width="300px" height="250px"  border="0"/></a></div>
										
										</div>
										
									</dd>
				
				{/foreach}
								</dl>
							</div>
	</div>
		<script type="text/javascript">
				{literal}
			$('.slidedeck').slidedeck({
                autoPlay: true,
                cycle: true, 
                autoPlayInterval: 7000 
            });
				{/literal}
		</script>
</div>
<br style="clear:both;" />

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

				<div style="float:left; width: 200px;  padding-left:12px;" >
								<table style="color:#ffffff">
								<TR><td align="center" bgcolor="#7F3D01" height="25px" width="200px"><FONT SIZE="2" >AGENCJE NIERUCHOMOŚCI</td></tr>
								</table>

																					{assign var='i' value='0'}
                                          {foreach from=$showDiler item=Di}
                                          {assign var='i' value=$i+1}
                                          {if isset($ie)}{else}<span>{/if}
																								<div {if $i%2 != 0}class="list_1"{else}class="list_2"{/if} >
																								<table border="0" cellpadding="1" cellspacing="3" >
																								<tr ><td width="170px" align="center" height="70px">
																								{if $Di.dilerfoto != null } 
																								<img src="./diler/male/{$Di.dilerfoto}"  style="border: 3px double #b6c1ce ">
																								{else}{/if}
																								<br><font style="font-size: 11px;">Miasto: {$Di.dilerMiasto}<br>
																								<span class="offersdetails2">&raquo;</span> <a href="agent,{$Di.uzytkownik}.html" class="offersdetails2B">strona agencji </a>
																								</td>
																	<td   width="20px"  align="center" style="background:#d0cdcd" >
																	<A href="agent,{$Di.uzytkownik}.html"><img src="images/fotki.png" border="0"		title="Przejście do strony Agencji jak i Ogłoszeń tej Agencji."></a><br>
																	<A href="#"><img src="images/mapa.png" border="0"	title="<b>Maiasto:</b> {$Di.dilerMiasto}<br><b>Ulica:</b> {$Di.dilerUlica}<br><b>Telefon:</b> {$Di.dilerTel }<br><b>E-mail</b>: {$Di.dilerEmail}"></a>
																	</td>
																								</tr>

																								</table>
																								</div>
                                          {if isset($ie)}{else}</span>{/if}
                                          {/foreach}

			</div>
			
			<div   style="float:left; width: 850px; display:block; padding-left:10px;" align="center"  >
									
						{if $glowna!= null}<div id="welcome" ><div id="witaj">Witaj w serwisie: </div> {$glowna}</br></div>{else}{/if}
						
						{if $reklamaD2!= null}
						<div >
														<table border="0" width="710px" align="center">
																	<TR>
																	<td align="center"><div align="left"><font face="Tahoma" size="1">Reklama</font></div>
																	 {assign var='i' value='0'}
																	{foreach from=$reklamaD2  item=RD2}
																	{assign var='i' value=$i+1}
																	<center><a href="{$RD2.url}" target="_blanck">{$RD2.kod} </a></center>
																	{/foreach}
																	</tr>
														</table>
						</div>
						{else}{/if}
						
					<br style="clear:both;" />	
			<div >  {if $left != null}{literal}<center>{/literal}{$left}{literal}</center>{/literal}{/if}</div>
			
				</div>
				
</div>


<br style="clear:both;" />


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


			<div style="float:left;width:200px;padding-left:10px;">
								<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="leftmenuMM">
												 {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>
			</div>

				
			<div style="float:left;width:300px;padding-left:20px;padding-right:20px;">
						<table width="304px" border=0 cellpadding="3" cellspacing="3" >
						<TR><td align="center" bgcolor="#C8C6C7" height="25px" width="304px">SZUKAM NIERUCHOMOŚCI</td></tr>
						</table>
						 {assign var='i' value='0'}
                                          {foreach from=$showOglB item=OG}
                                          {assign var='i' value=$i+1}
                                          {if isset($ie)}{else}<span>{/if}


													<table width="300px" border=0 cellpadding="0" cellspacing="0" >
													<tr><td width="42px"><img src="img/ksiazka.png"></td><td {if $i%2 != 0}class="ogl_1"{else}class="ogl_2"{/if}><b>{$OG.ogloszenieImie}</b>  szuka nieruchomości w <b>{$OG.ogloszenieMiasto }</b></td></tr>
													<tr><td></td></tr>
													<tr><td width="50px"><a href="ogloszenia.html"  class="logo" >zobacz</a> <span class="offersdetails2">&raquo;</span></td><td {if $i%2 != 0}class="ogl_1"{else}class="ogl_2"{/if}><span >{$OG.ogloszenieTxt}</span></td></tr>
													<tr><td height="10px"></td></tr>
													</table>
                                          {if isset($ie)}{else}</span>{/if}
                                          {/foreach}
							<div style="float:left;"><span class="offersdetails2">&raquo;</span> <a href="ogloszenie-dodaj.html"  class="offersdetails">dodaj ogłoszenie</a> </div>	<div style="float:right;"><span class="offersdetails2">&raquo;</span> <a href="ogloszenia.html"  class="offersdetails"> więcej ogłoszeń </a></div>

			</div>


				<div style="float:left; width: 300px; height:100px; "  >
						<table width="304px" border=0 cellpadding="3" cellspacing="3" >
						<TR><td align="center" bgcolor="#C8C6C7" height="25px" width="260px">REKLAMA</td></tr>
						</table>
								<DIV style=" padding-top:10px; " >
				
										 {assign var='i' value='0'}
										{foreach from=$reklama  item=R}
										{assign var='i' value=$i+1}
										<center><a href="{$R.url}" target=_blanck>{$R.kod} </a></center>
										{/foreach}    
								</div>
								<DIV style=" padding-top:10px; " >
										{assign var='i' value='0'}
										{foreach from=$reklama  item=R}
										{assign var='i' value=$i+1}
										<center><a href="{$R.url}" target=_blanck>{$R.kod} </a></center>
										{/foreach} 
								</div>
									<DIV style=" padding-top:10px; " >
										{assign var='i' value='0'}
										{foreach from=$reklama  item=R}
										{assign var='i' value=$i+1}
										<center><a href="{$R.url}" target=_blanck>{$R.kod} </a></center>
										{/foreach} 
								</div>
			</div>
						
						
						<div style="float:right; width: 200px; padding-right:20px;">
									<table border=0 cellpadding="0" cellspacing="0">
									<TR><td align="center" bgcolor="#C8C6C7" height="30px" width="200px">PODSTRONY</font></td></tr>
								</table>
									<ul class="leftmenuMM">
									{foreach from=$showPages  item=PP}
									<li><a   href="{$PP.pagesId},{$PP.pagesTitle}.html" >{$PP.pagesTitle}</a></li>
									{/foreach}
									</ul>
					</div>

</div>


<br style="clear:both;" /><br style="clear:both;" />

</div>

</div>
 <script src="js/jquery.tools.min.js"></script>
 <script type="text/javascript" src="./js/toltip.js" ></script>
 <script>  
			{literal}
					$("#demo img[title]").tooltip({
					offset: [10, 2],
					 effect: 'slide'

					}).dynamic({ bottom: { direction: 'down', bounce: true } });
			{/literal}
</script>
 
</div>


 
 
                     
{include file='footer.tpl'}
