{include file='header.tpl'}

<div id="main">

<div id="content" >	<div id="sidebar" style="padding-left:15px;">{include file='diler-menu.tpl'}</div>
<font size="2px"><b>OGŁOSZENIA AGENCJI</b></font>
<div style="float:right;padding-right:15px; ">
				<script src="js/jquery.js" type="text/javascript"></script>
				<script src="js/main.js" type="text/javascript"></script>

                  
					<table >
						<TR><td align="center" bgcolor="#A04D01" height="30px" width="810px"><FONT SIZE="3" color="#ffffff">OGŁOSZENIA</font></td></tr>
					</table>
																										{assign var='i' value='0'}
																										{foreach from=$index item=I}
																										{assign var='i' value=$i+1}
																						
<div class="{if $i%2 != 0}list_1{else}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="800px"  border="0" cellpadding="7" cellspacing="7">																										
									
									<tr><td width="80px" rowspan="4">{if $I.photo != null}<A href="obiekt,{$I.obId},{nopl str=$I.obName}.html"   title=""><img src="files/photo/sre/{$I.photo}" border="0"  style="border: 3px double #b6c1ce " /></a>{else}<A href="obiekt,{$I.obId},{nopl str=$I.obName}.html" title=""><img src="img/no_pic.jpg" border="0" width="100" style="border: 3px double #b6c1ce " /></a>{/if}</td></tr>
									<tr><td colspan="4" style="background-color:#d2d0d0;" style="padding:3px 3px 3px 3px;">{if $I.obPromo == '1'}<img src="images/p.gif" border="0" width="15" title="<CENTER>PROMOWANE OGŁOSZENIE<br><br> <b>{$I.obName}</b></CENTER>" style="padding-left:6px;" alt="OGŁOSZENIE PROMOWANE" />{else}{/if}{if $I.obWyroz == '1'}&nbsp;&nbsp;<img src="images/w.gif" border="0"  style="padding-left:6px;" width="15" title="<CENTER>WYRÓŻNIONE OGŁOSZENIE<br><br> <b>{$I.obName}</b></CENTER>" alt="OGŁOSZENIE WYRÓŻNIONE" /> {else}{/if}&nbsp;&nbsp;<strong>{$I.obName}</strong></TD></tr>
									<tr><td width="140px"> <b>Ogłoszenie: <span class="green">{$I.katName}</span></b><br><b>Typ: <span class="green">{$I.typeName}</span></b><BR><b>Stan:</b> {$I.stanName}</td>
									<td width="180px"><b>Zabudowa:</b> {$I.rodzajName}<br><b>Powierzchnia:</b> {$I.obPoC} m2<br><b>Województwo:</b> {$I.stateName}<br></td>
									<td width="130px"><b>Miejscowosæ:</b> {$I.obCity}<br><span class="green"><b>Cena:</b></span> {$I.obPriceOn} zł</td>
									<td align="right"><a href="obiekt,{$I.obId},{nopl str=$I.obName}.html" class="offersdetails">zobacz szczegóły</a> <span class="offersdetails2">&raquo;</span><br /></td>
									</tr>
									<tr><td colspan="4" valing="top">
									<table border="0" width="100%" valing="top" cellpadding="0" cellspacing="0">
													<tr><td class="opis2" >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> 
													 
													 

						</td></tr>
                                                </table>

                                                 </div>
																									
																										{/foreach}
																	 
																						 {if $num > $n}<center>{$str}</center>{/if}
																	 
<!-- --->
														
														

														
				</div>
			</div>

</div>


{include file='footer.tpl'}
