<html>
<head><title>##strCaption h##</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
#center_block{$id} {width:100%;margin:0 auto;}
#contents_block{$id} {text-align:center;}
#header_block{$id} {white-space:nowrap;height:31px;padding-top:5px;}
#fields_block{$id} {width:100%}
#buttons_block{$id} {padding-bottom:5px;white-space:nowrap;text-align:center;}
#required_block{$id} {text-align:left;padding:5px}
#message_block{$id} {padding:5px 0px}
</style>
</head>
<body>
{$header}
{BEGIN body}

<TABLE id="center_block{$id}" cellpadding=0 cellspacing=0><tr><td id="header_block{$id}">
{BEGIN flybody}

<div id="header_block{$id}">
<h1>Add new property</h1>
</div>

{BEGIN message_block}
<div id="message_block{$id}">{$message}</div>
{END message_block}


&nbsp;&nbsp;&nbsp;<a href="##@TABLE.strShortTableName##_list.##@ext##?a=return">Back to properties</a><br><br>

<table cellpadding=4 cellspacing=2 border=0 id="fields_block{$id}">
<tr><td colspan=2><b><font size=2>Details</font></b></td></tr>
##foreach Fields as @f filter @f.bAddPage && (strName=="FromPrice" || strName=="Name" || strName=="AddressNumber" || strName=="Street" || strName=="City" || strName=="State" || strName=="Country" || strName=="sType" || strName=="Area" || strName=="Location" || strName=="ListingDescription" || strName=="Description" || strName=="bedrooms" || strName=="bathrooms") order @f.nAddPageOrder##
  <tr><td class=shade  width=150>##@f.strLabel h##</td><td width=250>
    {$##@f.strName g##_editcontrol}
  ##if NeedLegendIcon(@f)##
    &nbsp;<img src="images/icon_required.gif">
  ##endif##
  </td></tr>
##endfor##

<tr><td colspan=2>&nbsp;</td></tr>
<tr><td colspan=2><b><font size=2>Amenities</font></b></td></tr>
##foreach Fields as @f filter @f.bAddPage && (strName=="HandicapFriendly" || strName=="Kitchen" || strName=="AirConditioning" || strName=="Dishwasher" || strName=="Microwave" || strName=="WasherDryer" || strName=="ScreenedPorch" || strName=="BedLinensProvided" || strName=="Fireplace" || strName=="PoolTable" || strName=="HighSpeedInternet" || strName=="CableTV" || strName=="DVDVCR" || strName=="PrivatePool" || strName=="HeatedPool" || strName=="HotTub" || strName=="Grill" || strName=="EnclosedOutsideShower" || strName=="GameRoom" || strName=="Elevator" || strName=="PetsAllowed" || strName=="NonSmoking" || strName=="CommunityFacilities" || strName=="CommunityPool" || strName=="CommunityTennisCourts" || strName=="CommunityClubHouse" || strName=="Golf") order @f.nAddPageOrder##
  <tr><td class=shade  width=150>##@f.strLabel h##</td><td width=250>
    {$##@f.strName g##_editcontrol}
  ##if NeedLegendIcon(@f)##
    &nbsp;<img src="images/icon_required.gif">
  ##endif##
  </td></tr>
##endfor##

<tr><td colspan=2>&nbsp;</td></tr>
<tr><td colspan=2><b><font size=2>Photos</font></b></td></tr>
##foreach Fields as @f filter @f.bAddPage && (strName=="ListingPhoto" || strName=="Photo1" || strName=="Photo2" || strName=="Photo3" || strName=="Photo4" || strName=="Photo5" || strName=="Photo6" || strName=="Photo7" || strName=="Photo8" || strName=="Photo9" || strName=="Photo10" || strName=="Photo11" || strName=="Photo12" || strName=="Photo13" || strName=="Photo14" || strName=="Photo15") order @f.nAddPageOrder##
  <tr><td class=shade  width=150>##@f.strLabel h##</td><td width=250>
    {$##@f.strName g##_editcontrol}
  ##if NeedLegendIcon(@f)##
    &nbsp;<img src="images/icon_required.gif">
  ##endif##
  </td></tr>
##endfor##

</table>

<div id="buttons_block{$id}">

<div id="required_block{$id}" ><img src="images/icon_required.gif"> - ##message REQUIRED_FIELD##</div>

{BEGIN save_button}
 <input class=button type=submit value="##message SAVE##" name=submit1>
{END save_button}
{BEGIN reset_button}
 <input class=button type=reset value="##message RESET##">
{END reset_button}
{BEGIN cancel_button}
 <input class=button type=button value="##message CANCEL##" {$cancelbutton_attrs}>
{END cancel_button}
</div>
{END flybody}
</td></tr>
</table>
{END body}
{$footer}
</body>
</html>

