{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;" />
			</div>
			
			<div style="float:left; width: 650px;padding-left:5px;height:100%" valign="top">
<table >
	<TR><td align="center" bgcolor="#C8C6C7" height="30px" width="650px">DODAJ OGŁOSZENIE</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">
												</td>
												<td width="1%"></td>
												<td valign="top" >
												
<script src="js/jquery.tools.min.js"></script>
	<link rel="stylesheet" type="text/css" href="css/toltip.css"/>	

                                               <table border="0">
                                                <form action="{$getUrl}" method="post" id="myform" enctype="multipart/form-data">
                                                        <tr>
                                                                <td><strong>&raquo; Informacje</strong></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150xp">Tytuł ogłoszenia&nbsp; *</td>
                                                                <td><input type="text" name="name" value="{$name}" style="width: 300px;"  title="Proszę wprowadzić tytuł ogłoszenia."/></td>
                                                                <td></td>
                                                        </tr>

                                                        <tr>
                                                                <td width="150xp">Miasto ( miejscowość )&nbsp; *</td>
                                                                <td><input type="text" name="city" value="{$city}" style="width: 300px;"  title="Proszę wpisać Miasto"/></td>
                                                                <td></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="150xp">Imię&nbsp; *</td>
                                                                <td><input type="text" name="imie" value="{$imie}" style="width: 100px;"   title="Proszę wpisać imię"/></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150xp">Telefon&nbsp; *</td>
                                                                <td><input type="text" name="tel" value="{$tel}" style="width: 100px;"  title="Proszę wpisać Nr. Telefonu"/></td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="150xp">Adres Email&nbsp; *</td>
                                                                <td><input type="text" name="email" value="{$email}" style="width: 150px;"  title="Proszę wpisać Email"/></td>
                                                       			 <td></td>
														</tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>


                                                       
                                                </table>
												</td></TR>
												<tr><td colspan="3">
                                                <table>
									
                                          
												
										
                                                        <tr>
                                                                <td><strong>&raquo; Treść ogłoszenia</strong> *</td>
                                                                <td></td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
                                                </table>
                                                <table>
                                                        <tr>
                                                                <td><textarea name="txt" rows="" cols="" style="width: 600px; height: 150px;" class="textarea"  title="Proszę opisać ogłoszenie">{$txt}</textarea></td>
                                                        </tr>
                                                        <tr>
                                                                <td><br /></td>
                                                        </tr>
																												<tr><td><img src="class/CaptchaSecurityImages.php?width=100&height=40&characters=5" /></td></tr>
																												<tr><td><label for="security_code">Kod bezpieczeństwa: </label> <input id="security_code" name="security_code" type="text" title="Proszę wpisać KOD BEZPIECZEŃSTWA"/></td></tr>
                                                        <tr>
                                                                <td align="right"><br /><input type="hidden" name="add" value="" /><button type="reset" title="Czyści formularz">&nbsp; Reset &nbsp; </button> &nbsp; <button type="submit" title="Formularz zostanie zapisany">&nbsp; Dodaj ogłoszenie &nbsp; </button></td>
                                                        </tr>
                                                </table>
                                                </form>
																								
{literal}
<script> 
// execute your scripts when the DOM is ready. this is a good habit
$(function() {
		var $j = jQuery.noConflict(); 
// select all desired input fields and attach tooltips to them
$("#myform :input").tooltip({

	// place tooltip on the right edge
	position: "center right",

	// a little tweaking of the position
	offset: [-2, 10],

	// use the built-in fadeIn/fadeOut effect
	effect: "fade",

	// custom opacity setting
	opacity: 0.7

});
});
</script>

		{/literal}	
		
												</td></tr></table>
                                        </div>
																				
																				
																				
									<div  style="float:bottom;">
											<div align=left><font face="Tahoma" size="1">Reklama</font></div>
											 {assign var='i' value='0'}
											{foreach from=$reklamaC  item=RC}
											{assign var='i' value=$i+1}
											<center><a href="{$RC.url}" target=_blanck>{$RC.kod} </a></center>
											{/foreach}
									</div>

			</div>
			
			<div style="float:right;width:200px;padding-right: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="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>
<br style="clear:both;" />
			
	</div>		
<br style="clear:both;" />
		
                         
</div>


{include file='footer.tpl'}
