<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
[[$fem.basic.head]]
</head>

<body>
[[!fem.logreg.authorizedOrNot]]
<div id="wrapper">
  <div id="top">
<div class="lefthead">
    <div id="logo">
    </div>
</div>

    <div id="hold">
    
    <div id="banner">
    [[!fem.banners.banners? &parent=`33`]]
    </div>
     <div id="bannersmall">
    [[!fem.banners.banners? &parent=`34`]]
    </div>

    <div id="menu">
[[!Wayfinder? &startId=`10` &level=`1` &rowTpl=`fem.navigacija.topNavigacijaTpl`]]
        <div id="searchbar">
	        <div class="prijava">
	        [[!Login? &tplType=`modChunk` &loginTpl=`fem.logreg.notLoggedIn` &logoutTpl=`fem.logreg.logoutTpl` &logoutResourceId=`22`]]
	        </div>
	        <div class="search">
	        [[SimpleSearchForm? &tpl=`fem.search.searchForm` &landing=`39` &method=`POST`]]
	        </div>
      </div>
     </div>
   </div>
    <div id="conteiner"> 
      <div id="left">
         <div class="tekst">
         <div class="stick">
         </div>
         </div>
       <div id="leftmenu">
[[!Wayfinder? &startId=`11` &level=`1` &rowTpl=`fem.navigacija.leftNavigacijaTpl`]]
       </div>
      </div>
[[!FormIt?
   &hooks=`fem.trosk.createProject`
   &validate=`name:required,
]]
     <div id="middle">
     <h1>[[*pagetitle]]</h1>
     [[*content]]
    	<div class="forma">
    	<h1>Kreiraj projekt</h1>

[[!+fi.error_message:notempty=`<p>[[!+fi.error_message]]</p>`]]
 
<form action="[[~[[*id]]]]" method="post" class="form">
    <input type="hidden" name="nospam:blank" value="" />
 
    <label for="name">
        Naziv projekta:<br />
        <span class="error">[[!+fi.error.name]]</span>
    </label>
    <input type="text" name="name" id="name" value="[[!+fi.name]]" />
 
    <div class="form-buttons">
        <input type="submit" value="Kreiraj" />
    </div>
</form>
		</div>
    	<div class="forma">
<h1>Postojeci troskovnici:</h1>
[[!fem.trosk.listTrosks]]​     
</div>
      </div> 
     <div id="right">
     	[[!fem.banners.rightBanners? &parent=`35`]]
     </div>
     </div>

     <div id="footer">
[[$fem.basic.foot]]
     </div>

   
 </div>   

</body>
</html>