<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 {width:100%;margin:0 auto;}
#contents_block {text-align:center;width:100%}
#header_block {width:100%;white-space:nowrap;height:31px;padding-top:5px;}
#fields_block {width:100%}
#fields_block td {padding-left:10px}
#buttons_block {width:100%;padding-bottom:5px;text-align:center}
#required_block {text-align:left;padding:5px}
#message_block {padding:5px 0px;text-align:center}
</style>
</head>

<body>
{$header}
{BEGIN body}
<table id="center_block"><tr><td>
<div id="header_block">
<h1>
Edit Property ID:
##foreach @TABLE.arrKeyFields as @k##
##if !@first##
,
##endif##
##Field(@k).strLabel h##: {$show_key##@index##}
##endfor##
</h1>
</div>
{BEGIN message_block}
<DIV id=message_block>
{$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" width=100%>

<tr><td colspan=2><b><font size=2>Details</font></b></td></tr>
##foreach Fields as @f filter @f.bEditPage && (strName=="FromPrice" || strName=="Name" || strName=="AddressNumber" || strName=="Street" || strName=="City" || strName=="State" || strName=="Country" || strName=="Type" || strName=="Area" || strName=="Location" || strName=="ListingDescription" || strName=="Description" || strName=="bedrooms" || strName=="bathrooms") order @f.nEditPageOrder##
  <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.bEditPage && (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.nEditPageOrder##
  <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.bEditPage && (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.nEditPageOrder##
  <tr><td class=shade width=200>##@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">
<div id="required_block" ><img src="images/icon_required.gif"> - ##message REQUIRED_FIELD##</div>
{BEGIN save_button}
 <input class=button type=submit value="##message SAVE##">
{END save_button}
{BEGIN reset_button}
 <input class=button type=reset value="##message RESET##">
{END reset_button}
</div>
</td></tr></table>
{END body}
{$footer}
</body>
</html>