{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 - DODAJ 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%" border="0">
										<tr><td width="100px" valign="top">
										      {include file='panel-menu.tpl'}
												</td>
												<td width="1%"></td>
												<td valign="top" >
                                               <table border="0" cellpadding="0" cellspacing="5">
                                               <form action="{$getUrl}" method="post" enctype="multipart/form-data">
                                                        <tr>
                                                                <td><strong>&raquo; Lokalizacja obiektu</strong></td>
                                                                 <td>&nbsp; </td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Nazwa obiektu</td>
                                                                <td><input type="text" name="name" value="{$name}" style="width: 300px;" /></td>
                                                                <td>&nbsp; *</td>
                                                        </tr>
														 <tr>
                                                                <td width="150px" >Typ transakcji</td>
                                                                <td  >																				
                                                                        <select name="kat" style="width: 150px;">
                                                                                <option value="1">- wybierz</option>
																			    {foreach from=$showKategoria item=KT}<option value="{$KT.katId}" {if $KT.katId == $kat}SELECTED{/if}>- {$KT.katName}</option>{/foreach}  
                                                                        </select>
                                                                </td>
                                                                <td>&nbsp; *</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Typ oferty</td>
                                                                <td>
                                                                        <select name="type" style="width: 150px;">
                                                                                <option value="19">- wybierz</option>
                                                                                {foreach from=$showType item=T}
                                                                                <option value="{$T.typeId}" {if $T.typeId == $type}SELECTED{/if}>- {$T.typeName}</option>
                                                                                {/foreach}
                                                                        </select>
                                                                </td>
                                                                <td>&nbsp; *</td>
                                                        </tr>
														
		
														
                                                        <tr>
                                                                <td><br /><br /></td>
                                                        </tr>

                                                        <tr>
                                                                <td width="150px">Ulica</td>
                                                                <td><input type="text" name="adress" value="{$adress}" style="width: 300px;" /></td>
                                                                <td>&nbsp; *</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Dzielnica</td>
                                                                <td><input type="text" name="dzielnica" value="{$dzielnica}" style="width: 300px;" /></td>
                                                                <td>&nbsp; </td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Miasto ( miejscowość )</td>
                                                                <td><input type="text" name="city" value="{$city}" style="width: 300px;" /></td>
                                                                <td>&nbsp; *</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Województwo</td>
                                                                <td>
                                                                <select name="state" style="width: 230px;">
                                                                                <option value="42">- wybierz</option>
                                                                                {foreach from=$showState item=S}
                                                                                <option value="{$S.stateId}" {if $S.stateId == $state}SELECTED{/if}>- {$S.stateName}</option>
                                                                                {/foreach}
                                                                        </select>
                                                                </td>
                                                                <td>&nbsp; *</td>
                                                        </tr>
														 <tr>
                                                                <td width="150px" >Region</td>
                                                                <td  >																				
                                                                     <select name="region" style="width: 230px;">
                                                                                <option value="0">- wybierz</option>
                                                                                {foreach from=$showRegion item=Z}
                                                                                <option value="{$Z.regionId}" {if $Z.regionId == $region}SELECTED{/if}>- {$Z.regionName}</option>
                                                                                {/foreach}
                                                                        </select>
                                                                </td>
                                                                <td>&nbsp; </td>
                                                        </tr>
														 <tr>
                                                                <td width="150px" >Przy drodze</td>
                                                                <td  >																				
                                                                        <select name="droga" style="width: 154px;">
                                                                                <option value="0">- wybierz</option>
                                                                                {foreach from=$showDroga item=D}
                                                                                <option value="{$D.drogaId}" {if $D.drogaId == $droga}SELECTED{/if}>- {$D.drogaName}</option>
                                                                                {/foreach}
                                                                        </select>
                                                                </td>
                                                                <td>&nbsp; </td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                        <tr>
                                                                <td><strong>&raquo; Dane kontaktowe</strong></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Telefon</td>
                                                                <td><input type="text" name="tel" value="{$tel}" style="width: 100px;" /></td>
                                                                <td>&nbsp; *</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Adres Email</td>
                                                                <td><input type="text" name="email" value="{$email}" style="width: 150px;" /></td>
																<td>&nbsp; *</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Strona WWW (bez www.)</td>
                                                                <td><input type="text" name="www" value="{$www}" style="width: 150px;" /></td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                        <tr>
                                                                <td><strong>&raquo; Informacje inne</strong></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Rok budowy</td>
                                                                <td><input type="text" name="rok" value="{$rok}" style="width: 60px;" /></td>
                                                                <td>&nbsp; </td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Typ zabudowy</td>
                                                                <td> <select name="rodzaj" style="width: 154px;">
                                                                     <option value="9">- wybierz</option>
                                                                     {foreach from=$showRodzaj item=RO}
                                                                     <option value="{$RO.rodzajId}" {if $RO.rodzajId == $rodzaj}SELECTED{/if}>- {$RO.rodzajName}</option>
                                                                     {/foreach}
                                                                </select></td>
                                                                <td>&nbsp; *</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Typ obiektu</td>
                                                                <td><select name="rynek" style="width: 154px;">
                                                                     <option value="2">- wybierz</option>
                                                                     {foreach from=$showRynek item=RY}
                                                                     <option value="{$RY.rynekId}" {if $RY.rynekId == $rynek}SELECTED{/if}>- {$RY.rynekName}</option>
                                                                     {/foreach}
                                                                </select>
																</td>
                                                                <td>&nbsp; *</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Pow. mieszkalna (m2)</td>
                                                                <td><input type="text" name="pom" value="{$pom}" style="width: 60px;" /></td>
                                                                <td>&nbsp; </td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Pow. całkowita (m2)</td>
                                                                <td><input type="text" name="poc" value="{$poc}" style="width: 60px;" /></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Liczba pięter</td>
                                                                <td><input type="text" name="pietra" value="{$pietra}" style="width: 60px;" /></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Piętro</td>
                                                                <td><input type="text" name="pietro" value="{$pietro}" style="width: 60px;" /></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Liczba pokoi</td>
                                                                <td><input type="text" name="pokoje" value="{$pokoje}" style="width: 60px;" /></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Pow. działki (m2)</td>
                                                                <td><input type="text" name="pow" value="{$pow}" style="width: 110px;" /></td>
                                                                <td></td>
                                                        </tr>
																											<tr>
                                                                <td width="150px" >Budulec</td>
                                                                <td  >																				
                                                                        <select name="budulec" style="width: 154px;">
                                                                                <option value="9">- wybierz</option>
                                                                               {foreach from=$showBudulec item=BU}<option value="{$BU.budulecId}" {if $BU.budulecId == $budulec}SELECTED{/if}>- {$BU.budulecName}</option>{/foreach}
                                                                             
                                                                        </select>
                                                                </td>
                                                                <td>&nbsp; </td>
                                                        </tr>

																													<tr>
                                                                <td width="150px" >Dach</td>
                                                                <td  >																				
                                                                        <select name="dach" style="width: 154px;">
                                                                                <option value="8">- wybierz</option>
                                                                               {foreach from=$showDach item=DA}<option value="{$DA.dachId}" {if $DA.dachId == $dach}SELECTED{/if}>- {$DA.dachName}</option>{/foreach}
                                                                             
                                                                        </select>	
                                                                </td>
                                                                <td>&nbsp; </td>
                                                        </tr>
														
														
														 <tr>
                                                                <td width="150px" >Droga dojazdowa</td>
                                                                <td  >																				
                                                                  <select name="dojazd" style="width: 154px;">
                                                                  <option value="5">- wybierz</option>
                                                                 {foreach from=$showDojazd item=DO}<option value="{$DO.dojazdId}" {if $DO.dojazdId == $dojazd}SELECTED{/if}>- {$DO.dojazdName}</option>{/foreach}
                                                                  </select>		
                                                                </td>
                                                                <td>&nbsp; </td>
                                                        </tr>	
														 <tr>
                                                                <td width="150px" >Ogrodzenie działki</td>
                                                                <td  >																				
                                                                        <select name="ogrodzenie" style="width: 154px;">
                                                                                <option value="6">- wybierz</option>
                                                                               {foreach from=$showOgrodzenie item=OG}<option value="{$OG.ogrodzenieId}" {if $OG.ogrodzenieId == $ogrodzenie}SELECTED{/if}>- {$OG.ogrodzenieName}</option>{/foreach}
                                                                        </select>		
                                                                </td>
                                                                <td>&nbsp; </td>
                                                        </tr>	
														 <tr>
                                                                <td width="150px" >Ogrzewanie</td>
                                                                <td  >																				
                                                                        <select name="ogrzewanie" style="width: 154px;">
                                                                                <option value="10">- wybierz</option>
                                                                               {foreach from=$showOgrzewanie item=OG}<option value="{$OG.ogrzewanieId}" {if $OG.ogrzewanieId == $ogrzewanie}SELECTED{/if}>- {$OG.ogrzewanieName}</option>{/foreach}
                                                                        </select>		
                                                                </td>
                                                                <td>&nbsp; </td>
                                                        </tr>	
														 <tr>
                                                                <td width="150px" >Kanalizacja</td>
                                                                <td  >																				
                                                                        <select name="kanalizacja" style="width: 154px;">
                                                                                <option value="3">- wybierz</option>
                                                                               {foreach from=$showKanalizacja item=KA}<option value="{$KA.kanalizacjaId}" {if $KA.kanalizacjaId == $kanalizacja}SELECTED{/if}>- {$KA.kanalizacjaName}</option>{/foreach}
                                                                        </select>		
                                                                </td>
                                                                <td>&nbsp; </td>
                                                        </tr>	
														 <tr>
                                                                <td width="150px" >Okna</td>
                                                                <td  >																				
                                                                        <select name="okna" style="width: 154px;">
                                                                                <option value="1">- wybierz</option>
                                                                               {foreach from=$showOkna item=OK}<option value="{$OK.oknaId}" {if $OK.oknaId == $okna}SELECTED{/if}>- {$OK.oknaName}</option>{/foreach}
                                                                        </select>		
                                                                </td>
                                                                <td>&nbsp; </td>
                                                        </tr>	
														 <tr>
                                                                <td width="150px" >Stan budynku</td>
                                                                <td  >																				
                                                                        <select name="stan" style="width: 154px;">
                                                                                <option value="3">- wybierz</option>
                                                                               {foreach from=$showStan item=ST}<option value="{$ST.stanId}" {if $ST.stanId == $stan}SELECTED{/if}>- {$ST.stanName}</option>{/foreach}
                                                                        </select>		
                                                                </td>
                                                                <td>&nbsp; *</td>
                                                        </tr>	
														
														<tr>
                                                                <td><br /><br /></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150px">Cena </td>
                                                                <td><input type="text" name="priceOn" value="{$priceOn}" style="width: 70px;" /> zł</td>
                                                               <td>&nbsp; *</td>
                                                        </tr>
													
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>

													   
													   
                                                </table>
												</td></TR>
												<tr><td colspan="3">
                                                <table>
												 <tr>
                                                                <td><strong>&raquo; Media:</strong></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                     <tr>
                                        				<td width="180px"><input type="checkbox" name="a[]" value="a1" {if strstr($E.obTeren, 'a1')}CHECKED{/if} />&nbsp;&nbsp; Woda</td>
                                        				<td width="180px"><input type="checkbox" name="a[]" value="a2" {if strstr($E.obTeren, 'a2')}CHECKED{/if} />&nbsp;&nbsp; Prąd</td>
                                        				<td><input type="checkbox" name="a[]" value="a8" {if strstr($E.obTeren, 'a8')}CHECKED{/if} />&nbsp;&nbsp; Siła</td>
                                       					<td><input type="checkbox" name="a[]" value="a4" {if strstr($E.obTeren, 'a4')}CHECKED{/if} />&nbsp;&nbsp; Gaz</td>
                                					</tr>
                               					
                                			
                                		
													     <tr>
                                                                <td><br /><br></td>
                                                        </tr>
		 											<tr>		
																<td><strong>&raquo; Dodatkowe dane:</strong></td>
                                                                <td></td>
                                                        </tr>
                                                   
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                        <tr>
                                      						  <td width="180px"><input type="checkbox" name="b[]" value="b1" {if strstr($E.obRoom, 'b1')}CHECKED{/if} />&nbsp;&nbsp; Aneks kuchenny</td>
                                  						      <td width="180px"><input type="checkbox" name="b[]" value="b2" {if strstr($E.obRoom, 'b2')}CHECKED{/if} />&nbsp;&nbsp; Umeblowane</td>
                                   						      <td width="180px"><input type="checkbox" name="b[]" value="b3" {if strstr($E.obRoom, 'b3')}CHECKED{/if} />&nbsp;&nbsp; Strych</td>
                                					          <td><input type="checkbox" name="b[]" value="b4" {if strstr($E.obRoom, 'b4')}CHECKED{/if} />&nbsp;&nbsp; Winda</td>
                                						</tr>
                                						<tr>
                                        					  <td><input type="checkbox" name="b[]" value="b5" {if strstr($E.obRoom, 'b5')}CHECKED{/if} />&nbsp;&nbsp; Telefon</td>
                                       						  <td><input type="checkbox" name="b[]" value="b6" {if strstr($E.obRoom, 'b6')}CHECKED{/if} />&nbsp;&nbsp; Internet</td>
                                       						  <td><input type="checkbox" name="b[]" value="b7" {if strstr($E.obRoom, 'b7')}CHECKED{/if} />&nbsp;&nbsp; Domofon</td>
                                      						  <td><input type="checkbox" name="b[]" value="b8" {if strstr($E.obRoom, 'b8')}CHECKED{/if} />&nbsp;&nbsp; Monitoring</td>
                                						</tr>
                               							 <tr>
                                       						 <td><input type="checkbox" name="b[]" value="b9" {if strstr($E.obRoom, 'b9')}CHECKED{/if} />&nbsp;&nbsp; Ochrona</td>
                                       						 <td><input type="checkbox" name="b[]" value="b10" {if strstr($E.obRoom, 'b10')}CHECKED{/if} />&nbsp;&nbsp; Ogrodzenie</td>
                                      						  <td><input type="checkbox" name="b[]" value="b11" {if strstr($E.obRoom, 'b11')}CHECKED{/if} />&nbsp;&nbsp; Parking</td>
                                     					     <td><input type="checkbox" name="b[]" value="b12" {if strstr($E.obRoom, 'b12')}CHECKED{/if} />&nbsp;&nbsp; Kominek</td>
                              						    </tr>
  															<tr>
                                        <td width="180px"><input type="checkbox" name="b[]" value="b13" {if strstr($E.obNearby, 'b13')}CHECKED{/if} />&nbsp;&nbsp; Balkon</td>
                                        <td width="180px"><input type="checkbox" name="b[]" value="b14" {if strstr($E.obNearby, 'b14')}CHECKED{/if} />&nbsp;&nbsp; Altana</td>
                                        <td width="180px"><input type="checkbox" name="b[]" value="b15" {if strstr($E.obNearby, 'b15')}CHECKED{/if} />&nbsp;&nbsp; Piwnica</td>
                                        <td><input type="checkbox" name="b[]" value="b16" {if strstr($E.obNearby, 'b16')}CHECKED{/if} />&nbsp;&nbsp; Suszarnia</td>
                                </tr>
             <tr>
                                        <td><input type="checkbox" name="b[]" value="b17" {if strstr($E.obNearby, 'b17')}CHECKED{/if} />&nbsp;&nbsp; Garaż</td>
                                        <td><input type="checkbox" name="b[]" value="b18" {if strstr($E.obNearby, 'b18')}CHECKED{/if} />&nbsp;&nbsp; Ogród</td>
                                        <td><input type="checkbox" name="b[]" value="b19" {if strstr($E.obNearby, 'b19')}CHECKED{/if} />&nbsp;&nbsp; Ogródek</td>
                                        <td><input type="checkbox" name="b[]" value="b20" {if strstr($E.obNearby, 'b20')}CHECKED{/if} />&nbsp;&nbsp; Sad</td>
                                </tr>
													     <tr>
                                                                <td><br /><br></td>
                                                        </tr>
		 											<tr>		
																<td><strong>&raquo; Okolica:</strong></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>

								       <tr>
                                        <td><input type="checkbox" name="c[]" value="c1" {if strstr($E.obNearby, 'c1')}CHECKED{/if} />&nbsp;&nbsp; Rzeka</td>
                                        <td><input type="checkbox" name="c[]" value="c2" {if strstr($E.obNearby, 'c2')}CHECKED{/if} />&nbsp;&nbsp; Góry</td>
                                        <td><input type="checkbox" name="c[]" value="c3" {if strstr($E.obNearby, 'c3')}CHECKED{/if} />&nbsp;&nbsp; Łąki</td>
                                        <td><input type="checkbox" name="c[]" value="c4" {if strstr($E.obNearby, 'c4')}CHECKED{/if} />&nbsp;&nbsp; Lasy</td>
                                </tr>
								       <tr>
                                        <td><input type="checkbox" name="c[]" value="c5" {if strstr($E.obNearby, 'c5')}CHECKED{/if} />&nbsp;&nbsp; Jezioro</td>
                                        <td><input type="checkbox" name="c[]" value="c6" {if strstr($E.obNearby, 'c6')}CHECKED{/if} />&nbsp;&nbsp; Stawy</td>
                                        <td><input type="checkbox" name="c[]" value="c7" {if strstr($E.obNearby, 'c7')}CHECKED{/if} />&nbsp;&nbsp; Wieś</td>
                                        <td><input type="checkbox" name="c[]" value="c8" {if strstr($E.obNearby, 'c8')}CHECKED{/if} />&nbsp;&nbsp; Miasto</td>
                                </tr>
                                           
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
												
										
                                                        <tr>
                                                                <td><strong>&raquo; Opis obiektu</strong> </td>
                                                                <td align="right"></td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                </table>
                                                <table width="100%">
                                                        <tr>
                                                                <td><textarea id="editor14"  name="txt" rows="20" cols="60" style="width: 680px; height: 150px;" class="textarea">{$txt}</textarea>
{literal}
<script type="text/javascript" src="./3administrator/ckeditor/edytor/edytor14.js"></script>
{/literal}

																																</td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                        <tr>
                                                                <td><strong>&raquo; Zdjęcia</strong> ( <a onClick="document.getElementById('hidden').style.display='block'; document.getElementById('hidden_1').style.display='';" style="cursor: pointer;">dodaj więcej zdjęć</a> ) &nbsp; <span style="display: none;" id="hidden_1"><a onclick="document.getElementById('hidden').style.display='none'; document.getElementById('hidden_1').style.display='none';" style="cursor: pointer;">zamknij [X]</a></span></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                        <tr>
                                                                <td>
                                                                        <table>
                                                                                <tr><td><input type="file" name="photo_1" value="" style="width: 450px;" /></td></tr>
                                                                                <tr><td><input type="file" name="photo_2" value="" style="width: 450px;" /></td></tr>
                                                                                <tr><td><input type="file" name="photo_3" value="" style="width: 450px;" /></td></tr>
                                                                        </table>
                                                                        <table style="display: none;" id="hidden">
                                                                                {$ph}
                                                                        </table>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td align="right"><br /><input type="hidden" name="add" value="" /><button type="reset" >&nbsp; Reset &nbsp; </button> &nbsp; <button type="submit" >&nbsp; Dodaj obiekt &nbsp; </button></td>
                                                        </tr>
                                                </table>
                                                </form>
												</td></tr></table>
                                        </div>
</div>
<br style="clear:both;" />
			
	</div>		
<br style="clear:both;" />
		
                         
</div>
{include file='footer.tpl'}