Adding Field

I have added a field such as Owner Name and Owner Phone number in the database as fields which I want included when a user adds information in the following php scirpt below. Where can I insert the code?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>{$meta_title}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$meta_encoding}">
<meta name="keywords" content="{$meta_keyword}">
<meta name="description" content="{$meta_description}">
 
{$javascript_rightclick}
<script language="javascript" type="text/javascript" src="javascript.js"></script>
<script language="javascript" src="spacer.js"></script>
<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce.js"></script>
<script language="javascript" type="text/javascript" src="tinymce.js"></script>
 
<script language="javascript" type="text/javascript">
tinyMCE.init({ldelim}
 
	mode		: "exact",
	elements	: "listing_full_desc",
	theme		: "advanced",
	height		: "200px",
    width		: "500px",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align 	: "left"
 
{rdelim});
 
</script>
<link href="class.css" type="text/css" rel="stylesheet">
</head>
 
<body>
<table cellpadding="0" cellspacing="0" border="0" align="center">
<!-- global_top.html -->
{include file="global_top.html"} 
<!-- global_top.html -->
 
<tr>
	<td width="10"><img src="images/spacer.gif" border="0" width="10" height="1"></td>	
	<td valign="top">
	
		<!-- global_left.html -->
		{include file="global_left.html"} 
		<!-- global_left.html -->
	
	</td>
	<td width="5"><img src="images/spacer.gif" border="0" width="5" height="1"></td>	
	<td valign="top">
	
		<!-- center for content -->
		<table cellpadding="0" cellspacing="0" border="0" align="center">
		<tr>
			<td><img src="images/center_left_top.gif" width="10" height="6"></td>
			<td background="images/center_hor_top.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td><img src="images/center_right_top.gif" width="10" height="6"></td>
		</tr>
		<tr>
			<td width="10" background="images/center_ver_left.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td width="560" height="650" valign="top" style="padding-left:5px; padding-right:5px; padding-top:20px; padding-bottom:20px">
			
				<table width="560" cellpadding="0" cellspacing="0" class="normal_12_black" border="0">
				<tr>
					<td><img src="site_title_header.php?title=Create New Property Listing ..."></td>
				</tr>
				<tr>
					<td height="20"><img src="images/spacer.gif" width="1" height="1"></td>
				</tr>
				<!--
				<tr>
					<td>
						Lorem ipsum dolor sit amet consectetuer In ipsum elit sem Ut. 
						Amet odio Morbi ornare sapien vestibulum id Pellentesque justo Integer nibh. 
						Vel pretium tellus porttitor ipsum vel Morbi id id nibh wisi. 
						Elit Nulla mattis Vivamus parturient at elit urna lacinia nulla mollis. 
						Eget id wisi Morbi leo orci tincidunt ut Maecenas neque Aliquam. 
						Enim consectetuer felis et ac orci.
					</td>
				</tr>
				-->
				<!-- the tab -->
				<tr>
					<td height="30"><img src="images/spacer.gif" width="1" height="1"></td>
				</tr>
				<!-- the tab -->
				<tr>
					<td>
 
						<form action="system_member_listing_add_agent.php" method="post" name="form_listing_add">
						<table border="0" cellpadding="4" cellspacing="0" class="normal_12_black">
						<tr>
							<td colspan="3">
								
								{if $warning_message == "incomplete_form"}
								<font class="normal_12_red">
								Please fill the following form completely.<br>
								Please make sure that you have filled the fields marked red ...
								</font>
								
								{else}
								Please fill the following form completely.<br>
								Please make sure that you have filled the fields marked red ...
								{/if}
 
							</td>
						</tr>
 
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<!--
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Current Listing Package Choosed ... 
							</td>
						</tr>
						<tr>
							<td width="100"><font class="{$warning_listing_package}"><b>Package</b></font> <font class="normal_12_red"></font></td>
							<td width="10"><b>:</b></td>
							<td width="520">
								{$listing_package_name}
								<input type="hidden" name="listing_package" value="{$listing_package}">
								{php} $_SESSION['clisting_package_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						-->
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Enter Property Details ... 
							</td>
						</tr>
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td width="100"><font class="{$warning_listing_type}"><b>Property<br>Type</b></font> <font class="normal_12_red">*</font></td>
							<td width="10"><b>:</b></td>
							<td width="520">
								<select name="listing_type" style="width:200px" class="textbox">
								{section name=var loop=$listing_type_id}
								<option value="{$listing_type_id[var]}" {if $listing_type_id[var] == $clisting_type} selected {/if}>{$listing_type_name[var]}</option>
								{/section}
								</select>
								{php} $_SESSION['clisting_type_warn'] = ''; {/php}
							</td>
						</tr>
						{if $setup_enable_mls == "Y"}
						<tr>
							<td><font class="{$warning_listing_mls}"><b>MLS #</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_mls" value="{$clisting_mls}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_mls_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_title == "Y"}
						<tr>
							<td><font class="{$warning_listing_title}"><b>Listing<br>Name</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_title" value="{$clisting_title}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_availability == "Y"}
						<tr>
							<td><font class="{$warning_listing_availability}"><b>Availability</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_availability" value="{$clisting_availability}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_availability_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_purpose}"><b>Property<br>is for</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
							
								<input type="radio" name="listing_purpose" value="sale" onclick="set_layer('listing_rent_field', 'hidden')" {if $clisting_purpose == "sale"} checked {/if} > Sale
								&nbsp;&nbsp;&nbsp;
 
								<input type="radio" name="listing_purpose" value="rent" onclick="set_layer('listing_rent_field', 'visible')" {if $clisting_purpose == "rent"} checked {/if} > Rent
								{php} $_SESSION['clisting_purpose_warn'] = ''; {/php}
								
							</td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_price}"><b>Price / Cost</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
							
								<table border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td>
										<input type="text" name="listing_price" value="{$clisting_price}" class="textbox" style="width:125px">
										{php} $_SESSION['clisting_price_warn'] = ''; {/php}
									</td>
									<td>
									
										<div id="listing_rent_field">
										<table border="0" cellpadding="0" cellspacing="0">
										<tr>
											<td style="padding-left:10px"><font class="{$warning_listing_rent}"><strong>Rent Period</strong></font> <font class="normal_12_red">*</font></td>
											<td style="padding-left:10px">
												<select name="listing_rent" class="textbox" style="width:70px">
												{section name=var loop=$listing_rent_id}
												<option value="{$listing_rent_id[var]}" {if $listing_rent_id[var] == $clisting_rent} selected {/if}>{$listing_rent_name[var]}</option>
												{/section}
												</select>
											</td>
										</tr>
										</table>
										</div>
 
 
										<script language="javascript">
										<!--	
																							
											if (document.form_listing_add.listing_purpose[0].checked) {ldelim}
												set_layer('listing_rent_field', 'hidden');
											{rdelim}
 
											if (document.form_listing_add.listing_purpose[1].checked) {ldelim}
												set_layer('listing_rent_field', 'visible');
											{rdelim}
											
										-->
										</script>											
 
 
									</td>
								</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_currency}"><b>Currency</b></font> <font class="normal_12_red"></font></td>
							<td><b>:</b></td>
							<td>{$listing_currency_name}</td>
						</tr>
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_address}"><b>Mailing Address</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_address" value="{$clisting_address}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_address_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td></td>
							<td></td>
							<td>
								<input type="text" name="listing_address2" value="{$clisting_address2}" class="textbox" style="width:295px">
							</td>
						</tr>
						{if $setup_enable_suburb == "Y"}
						<tr>
							<td><font class="{$warning_listing_suburb}"><b>Suburb</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_suburb" value="{$clisting_suburb}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_suburb_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_city == "Y"}
						<tr>
							<td><font class="{$warning_listing_city}"><b>City</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_city" value="{$clisting_city}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_city_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_state == "Y"}
						<tr>
							<td><font class="{$warning_listing_state}"><b>Province / State</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_state" value="{$clisting_state}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_state_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_zip == "Y"}
						<tr>
							<td><font class="{$warning_listing_zip}"><b>ZIP Code</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_zip" value="{$clisting_zip}" class="textbox" style="width:95px"> &nbsp;
								ZIP Code will be used for ZIP Radius Search ...
								{php} $_SESSION['clisting_zip_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_country == "Y"}
						<tr>
							<td><font class="{$warning_listing_country}"><b>Country</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<select name="listing_country" style="width:300px" class="textbox">
								{section name=var loop=$listing_country_id}
								<option value="{$listing_country_id[var]}" {if $listing_country_id[var] == $clisting_country} selected {/if}>{$listing_country_name[var]}</option>
								{/section}
								</select>
								{php} $_SESSION['clisting_country_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						{if $setup_enable_desc_short == "Y"}
						<tr>
							<td valign="top"><font class="{$warning_listing_brief_desc}"><b>Short<br>Description</b></font> <font class="normal_12_red">*</font></td>
							<td valign="top"><br><b>:</b></td>
							<td valign="top">
								<textarea name="listing_brief_desc" class="form_no_editor" style="width:400px;height:70px">{$clisting_brief_desc}</textarea>
								{php} $_SESSION['clisting_brief_desc_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						{/if}
						{if $setup_enable_desc_detail == "Y"}
						<tr>
							<td valign="top"><font class="{$warning_listing_full_desc}"><b>Full<br>Description</b></font> <font class="normal_12_red">*</font></td>
							<td valign="top"><br><b>:</b></td>
							<td valign="top">
							</td>
						</tr>
						<tr>
							<td colspan="3">
								<textarea name="listing_full_desc" class="form_no_editor" style="width:400px;height:70px">{$clisting_full_desc}</textarea>
								{php} $_SESSION['clisting_full_desc_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Enter Additional Information ... 
							</td>
						</tr>
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td valign="top">
									
										<table border="0" cellpadding="2" cellspacing="0">
										{if $setup_enable_beds == "Y"}
										<tr>
											<td width="70"><font class="{$warning_listing_bedroom}"><b>Bedrooms</b></font> <font class="normal_12_red"></font></td>
											<td width="10"><b>:</b></td>
											<td width="150">
												<select name="listing_bedrooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_bedroom_id}
												<option value="{$listing_bedroom_id[var]}" {if $listing_bedroom_id[var] == $clisting_bedrooms} selected {/if}>{$listing_bedroom_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_bedroom_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_baths == "Y"}
										<tr>
											<td><font class="{$warning_listing_bathroom}"><b>Bathrooms</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_bathrooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_bathroom_id}
												<option value="{$listing_bathroom_id[var]}" {if $listing_bathroom_id[var] == $clisting_bathrooms} selected {/if}>{$listing_bathroom_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_bathroom_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_floors == "Y"}
										<tr>
											<td><font class="{$warning_listing_story}"><b>Floors</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_story" style="width:125px" class="textbox">
												{section name=var loop=$listing_floor_id}
												<option value="{$listing_floor_id[var]}" {if $listing_floor_id[var] == $clisting_story} selected {/if}>{$listing_floor_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_story_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_rooms == "Y"}
										<tr>
											<td><font class="{$warning_listing_room}"><b>Rooms</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_rooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_room_id}
												<option value="{$listing_room_id[var]}" {if $listing_room_id[var] == $clisting_rooms} selected {/if}>{$listing_room_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_room_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_garage == "Y"}
										<tr>
											<td><font class="{$warning_listing_garage}"><b>Garages</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_garage" style="width:125px" class="textbox">
												{section name=var loop=$listing_garage_id}
												<option value="{$listing_garage_id[var]}" {if $listing_garage_id[var] == $clisting_garage} selected {/if}>{$listing_garage_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_garage_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_buildingstyle == "Y"}
										<tr>
											<td><font class="{$warning_listing_buildingstyle}"><b>Building<br>Style</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_buildingstyle" style="width:125px" class="textbox">
												{section name=var loop=$listing_buildingstyle_id}
												<option value="{$listing_buildingstyle_id[var]}" {if $listing_buildingstyle_id[var] == $clisting_buildingstyle} selected {/if}>{$listing_buildingstyle_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_buildingstyle_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										</table>
																	
									</td>
									<td valign="top">
									
										<table border="0" cellpadding="2" cellspacing="0">
										{if $setup_enable_lotsize == "Y"}
										<tr>
											<td width="70"><font class="{$warning_listing_lotsize}"><b>Lot Size</b></font> <font class="normal_12_red"></font></td>
											<td width="10"><b>:</b></td>
											<td width="150">
												<input type="text" name="listing_lotsize" value="{$clisting_lotsize}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_lotsize_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_sqfootage == "Y"}
										<tr>
											<td nowrap><font class="{$warning_listing_squarefeet}"><b>SQ Footage</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_squarefeet" value="{$clisting_squarefeet}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_squarefeet_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_year == "Y"}
										<tr>
											<td><font class="{$warning_listing_yearbuilt}"><b>Year Built</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_yearbuilt" value="{$clisting_yearbuilt}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_yearbuilt_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_exterior == "Y"}
										<tr>
											<td><font class="{$warning_listing_exterior}"><b>Exterior</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_exterior" value="{$clisting_exterior}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_exterior_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_interior == "Y"}
										<tr>
											<td><font class="{$warning_listing_interior}"><b>Interior</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_interior" value="{$clisting_interior}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_interior_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										</table>
									
									
									</td>
								</tr>
								</table>
							
							
							</td>
						</tr>
						{if $setup_enable_schoolinfo == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_school}"><b>School Information</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_school" class="form_no_editor" style="width:500px;height:70px">{$clisting_school}</textarea>
								{php} $_SESSION['clisting_school_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_propertycondition == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_condition}"><b>Property Condition</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_condition" class="form_no_editor" style="width:500px;height:70px">{$clisting_condition}</textarea>
								{php} $_SESSION['clisting_condition_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_directions == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_direction}"><b>Driving Direction</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_direction" class="form_no_editor" style="width:500px;height:70px">{$clisting_direction}</textarea>
								{php} $_SESSION['clisting_direction_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_environment == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Property Environment ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_environment_id}
								<tr>
									<td><input name="listing_environment_checkbox_{$listing_row_environment_id[row]}" type="checkbox" value="{$listing_row_environment_id[row]}" {if $listing_row_environment_status[row] == "yes"} checked {/if} ></td>
									<td width="150">{$listing_row_environment_name[row]}</td>
									{section name=col loop=$listing_col_environment_id[row]}
									<td><input name="listing_environment_checkbox_{$listing_col_environment_id[row][col]}" type="checkbox" value="{$listing_col_environment_id[row][col]}" {if $listing_col_environment_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_environment_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_environment_list" value="{$listing_environment_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_appliance == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Appliances ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_appliance_id}
								<tr>
									<td><input name="listing_appliance_checkbox_{$listing_row_appliance_id[row]}" type="checkbox" value="{$listing_row_appliance_id[row]}" {if $listing_row_appliance_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_appliance_name[row]}</td>
									{section name=col loop=$listing_col_appliance_id[row]}
									<td><input name="listing_appliance_checkbox_{$listing_col_appliance_id[row][col]}" type="checkbox" value="{$listing_col_appliance_id[row][col]}" {if $listing_col_appliance_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_appliance_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_appliance_list" value="{$listing_appliance_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_accomodation == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Accomodations ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_accomodation_id}
								<tr>
									<td><input name="listing_accomodation_checkbox_{$listing_row_accomodation_id[row]}" type="checkbox" value="{$listing_row_accomodation_id[row]}" {if $listing_row_accomodation_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_accomodation_name[row]}</td>
									{section name=col loop=$listing_col_accomodation_id[row]}
									<td><input name="listing_accomodation_checkbox_{$listing_col_accomodation_id[row][col]}" type="checkbox" value="{$listing_col_accomodation_id[row][col]}" {if $listing_col_accomodation_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_accomodation_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_accomodation_list" value="{$listing_accomodation_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_neighborhood == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Neighborhood ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_neighborhood_id}
								<tr>
									<td><input name="listing_neighborhood_checkbox_{$listing_row_neighborhood_id[row]}" type="checkbox" value="{$listing_row_neighborhood_id[row]}" {if $listing_row_neighborhood_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_neighborhood_name[row]}</td>
									{section name=col loop=$listing_col_neighborhood_id[row]}
									<td><input name="listing_neighborhood_checkbox_{$listing_col_neighborhood_id[row][col]}" type="checkbox" value="{$listing_col_neighborhood_id[row][col]}" {if $listing_col_neighborhood_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_neighborhood_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_neighborhood_list" value="{$listing_neighborhood_list}" />
 
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_other == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Other Features ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_feature_id}
								<tr>
									<td><input name="listing_feature_checkbox_{$listing_row_feature_id[row]}" type="checkbox" value="{$listing_row_feature_id[row]}" {if $listing_row_feature_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_feature_name[row]}</td>
									{section name=col loop=$listing_col_feature_id[row]}
									<td><input name="listing_feature_checkbox_{$listing_col_feature_id[row][col]}" type="checkbox" value="{$listing_col_feature_id[row][col]}" {if $listing_col_feature_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_feature_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_feature_list" value="{$listing_feature_list}" />
								
							</td>
						</tr>
						{/if}
						
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" align="center">
								<input type="submit" name="submit" value="Add Listing" class="form_button">
							</td>
						</tr>
						</table>
						</form>
 
					</td>
				</tr>
				</table>
 
				
			</td>
			<td width="10" background="images/center_ver_right.gif"><img src="images/spacer.gif" width="1" height="1"></td>
		</tr>
		<tr>
			<td><img src="images/center_left_bottom.gif" width="10" height="6"></td>
			<td background="images/center_hor_bottom.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td><img src="images/center_right_bottom.gif" width="10" height="6"></td>
		</tr>
		</table>
		<!-- center for content -->
	
	</td>
	<td width="5"><img src="images/spacer.gif" border="0" width="5" height="1"></td>	
	<td valign="top">
	
		<!-- global_right.html -->
		{include file="global_right.html"} 
		<!-- global_right.html -->
	
	</td>
	<td width="10"><img src="images/spacer.gif" border="0" width="10" height="1"></td>	
</tr>
 
<!-- global_bottom.html -->
{include file="global_bottom.html"} 
<!-- global_bottom.html -->
</table>
 
</body>
</html>

Open in new window

Starquest321Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NerdsOfTechTechnology ScientistCommented:
I put the code right above property details
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>{$meta_title}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$meta_encoding}">
<meta name="keywords" content="{$meta_keyword}">
<meta name="description" content="{$meta_description}">
 
{$javascript_rightclick}
<script language="javascript" type="text/javascript" src="javascript.js"></script>
<script language="javascript" src="spacer.js"></script>
<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce.js"></script>
<script language="javascript" type="text/javascript" src="tinymce.js"></script>
 
<script language="javascript" type="text/javascript">
tinyMCE.init({ldelim}
 
	mode		: "exact",
	elements	: "listing_full_desc",
	theme		: "advanced",
	height		: "200px",
    width		: "500px",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align 	: "left"
 
{rdelim});
 
</script>
<link href="class.css" type="text/css" rel="stylesheet">
</head>
 
<body>
<table cellpadding="0" cellspacing="0" border="0" align="center">
<!-- global_top.html -->
{include file="global_top.html"} 
<!-- global_top.html -->
 
<tr>
	<td width="10"><img src="images/spacer.gif" border="0" width="10" height="1"></td>	
	<td valign="top">
	
		<!-- global_left.html -->
		{include file="global_left.html"} 
		<!-- global_left.html -->
	
	</td>
	<td width="5"><img src="images/spacer.gif" border="0" width="5" height="1"></td>	
	<td valign="top">
	
		<!-- center for content -->
		<table cellpadding="0" cellspacing="0" border="0" align="center">
		<tr>
			<td><img src="images/center_left_top.gif" width="10" height="6"></td>
			<td background="images/center_hor_top.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td><img src="images/center_right_top.gif" width="10" height="6"></td>
		</tr>
		<tr>
			<td width="10" background="images/center_ver_left.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td width="560" height="650" valign="top" style="padding-left:5px; padding-right:5px; padding-top:20px; padding-bottom:20px">
			
				<table width="560" cellpadding="0" cellspacing="0" class="normal_12_black" border="0">
				<tr>
					<td><img src="site_title_header.php?title=Create New Property Listing ..."></td>
				</tr>
				<tr>
					<td height="20"><img src="images/spacer.gif" width="1" height="1"></td>
				</tr>
				<!--
				<tr>
					<td>
						Lorem ipsum dolor sit amet consectetuer In ipsum elit sem Ut. 
						Amet odio Morbi ornare sapien vestibulum id Pellentesque justo Integer nibh. 
						Vel pretium tellus porttitor ipsum vel Morbi id id nibh wisi. 
						Elit Nulla mattis Vivamus parturient at elit urna lacinia nulla mollis. 
						Eget id wisi Morbi leo orci tincidunt ut Maecenas neque Aliquam. 
						Enim consectetuer felis et ac orci.
					</td>
				</tr>
				-->
				<!-- the tab -->
				<tr>
					<td height="30"><img src="images/spacer.gif" width="1" height="1"></td>
				</tr>
				<!-- the tab -->
				<tr>
					<td>
 
						<form action="system_member_listing_add_agent.php" method="post" name="form_listing_add">
						<table border="0" cellpadding="4" cellspacing="0" class="normal_12_black">
						<tr>
							<td colspan="3">
								
								{if $warning_message == "incomplete_form"}
								<font class="normal_12_red">
								Please fill the following form completely.<br>
								Please make sure that you have filled the fields marked red ...
								</font>
								
								{else}
								Please fill the following form completely.<br>
								Please make sure that you have filled the fields marked red ...
								{/if}
 
							</td>
						</tr>
 
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<!--
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Current Listing Package Choosed ... 
							</td>
						</tr>
						<tr>
							<td width="100"><font class="{$warning_listing_package}"><b>Package</b></font> <font class="normal_12_red"></font></td>
							<td width="10"><b>:</b></td>
							<td width="520">
								{$listing_package_name}
								<input type="hidden" name="listing_package" value="{$listing_package}">
								{php} $_SESSION['clisting_package_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						-->
						<tr>
							<td><font class="{$warning_listing_title}"><b>Property Owner's Name</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="owner_name" value="{$owner_name}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_title}"><b>Property Owner's<br>Phone</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="owner_phone" value="{$owner_phone}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Enter Property Details ... 
							</td>
						</tr>
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td width="100"><font class="{$warning_listing_type}"><b>Property<br>Type</b></font> <font class="normal_12_red">*</font></td>
							<td width="10"><b>:</b></td>
							<td width="520">
								<select name="listing_type" style="width:200px" class="textbox">
								{section name=var loop=$listing_type_id}
								<option value="{$listing_type_id[var]}" {if $listing_type_id[var] == $clisting_type} selected {/if}>{$listing_type_name[var]}</option>
								{/section}
								</select>
								{php} $_SESSION['clisting_type_warn'] = ''; {/php}
							</td>
						</tr>
						{if $setup_enable_mls == "Y"}
						<tr>
							<td><font class="{$warning_listing_mls}"><b>MLS #</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_mls" value="{$clisting_mls}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_mls_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_title == "Y"}
						<tr>
							<td><font class="{$warning_listing_title}"><b>Listing<br>Name</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_title" value="{$clisting_title}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_availability == "Y"}
						<tr>
							<td><font class="{$warning_listing_availability}"><b>Availability</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_availability" value="{$clisting_availability}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_availability_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_purpose}"><b>Property<br>is for</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
							
								<input type="radio" name="listing_purpose" value="sale" onclick="set_layer('listing_rent_field', 'hidden')" {if $clisting_purpose == "sale"} checked {/if} > Sale
								&nbsp;&nbsp;&nbsp;
 
								<input type="radio" name="listing_purpose" value="rent" onclick="set_layer('listing_rent_field', 'visible')" {if $clisting_purpose == "rent"} checked {/if} > Rent
								{php} $_SESSION['clisting_purpose_warn'] = ''; {/php}
								
							</td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_price}"><b>Price / Cost</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
							
								<table border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td>
										<input type="text" name="listing_price" value="{$clisting_price}" class="textbox" style="width:125px">
										{php} $_SESSION['clisting_price_warn'] = ''; {/php}
									</td>
									<td>
									
										<div id="listing_rent_field">
										<table border="0" cellpadding="0" cellspacing="0">
										<tr>
											<td style="padding-left:10px"><font class="{$warning_listing_rent}"><strong>Rent Period</strong></font> <font class="normal_12_red">*</font></td>
											<td style="padding-left:10px">
												<select name="listing_rent" class="textbox" style="width:70px">
												{section name=var loop=$listing_rent_id}
												<option value="{$listing_rent_id[var]}" {if $listing_rent_id[var] == $clisting_rent} selected {/if}>{$listing_rent_name[var]}</option>
												{/section}
												</select>
											</td>
										</tr>
										</table>
										</div>
 
 
										<script language="javascript">
										<!--	
																							
											if (document.form_listing_add.listing_purpose[0].checked) {ldelim}
												set_layer('listing_rent_field', 'hidden');
											{rdelim}
 
											if (document.form_listing_add.listing_purpose[1].checked) {ldelim}
												set_layer('listing_rent_field', 'visible');
											{rdelim}
											
										-->
										</script>											
 
 
									</td>
								</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_currency}"><b>Currency</b></font> <font class="normal_12_red"></font></td>
							<td><b>:</b></td>
							<td>{$listing_currency_name}</td>
						</tr>
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_address}"><b>Mailing Address</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_address" value="{$clisting_address}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_address_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td></td>
							<td></td>
							<td>
								<input type="text" name="listing_address2" value="{$clisting_address2}" class="textbox" style="width:295px">
							</td>
						</tr>
						{if $setup_enable_suburb == "Y"}
						<tr>
							<td><font class="{$warning_listing_suburb}"><b>Suburb</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_suburb" value="{$clisting_suburb}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_suburb_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_city == "Y"}
						<tr>
							<td><font class="{$warning_listing_city}"><b>City</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_city" value="{$clisting_city}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_city_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_state == "Y"}
						<tr>
							<td><font class="{$warning_listing_state}"><b>Province / State</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_state" value="{$clisting_state}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_state_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_zip == "Y"}
						<tr>
							<td><font class="{$warning_listing_zip}"><b>ZIP Code</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_zip" value="{$clisting_zip}" class="textbox" style="width:95px"> &nbsp;
								ZIP Code will be used for ZIP Radius Search ...
								{php} $_SESSION['clisting_zip_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_country == "Y"}
						<tr>
							<td><font class="{$warning_listing_country}"><b>Country</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<select name="listing_country" style="width:300px" class="textbox">
								{section name=var loop=$listing_country_id}
								<option value="{$listing_country_id[var]}" {if $listing_country_id[var] == $clisting_country} selected {/if}>{$listing_country_name[var]}</option>
								{/section}
								</select>
								{php} $_SESSION['clisting_country_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						{if $setup_enable_desc_short == "Y"}
						<tr>
							<td valign="top"><font class="{$warning_listing_brief_desc}"><b>Short<br>Description</b></font> <font class="normal_12_red">*</font></td>
							<td valign="top"><br><b>:</b></td>
							<td valign="top">
								<textarea name="listing_brief_desc" class="form_no_editor" style="width:400px;height:70px">{$clisting_brief_desc}</textarea>
								{php} $_SESSION['clisting_brief_desc_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						{/if}
						{if $setup_enable_desc_detail == "Y"}
						<tr>
							<td valign="top"><font class="{$warning_listing_full_desc}"><b>Full<br>Description</b></font> <font class="normal_12_red">*</font></td>
							<td valign="top"><br><b>:</b></td>
							<td valign="top">
							</td>
						</tr>
						<tr>
							<td colspan="3">
								<textarea name="listing_full_desc" class="form_no_editor" style="width:400px;height:70px">{$clisting_full_desc}</textarea>
								{php} $_SESSION['clisting_full_desc_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Enter Additional Information ... 
							</td>
						</tr>
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td valign="top">
									
										<table border="0" cellpadding="2" cellspacing="0">
										{if $setup_enable_beds == "Y"}
										<tr>
											<td width="70"><font class="{$warning_listing_bedroom}"><b>Bedrooms</b></font> <font class="normal_12_red"></font></td>
											<td width="10"><b>:</b></td>
											<td width="150">
												<select name="listing_bedrooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_bedroom_id}
												<option value="{$listing_bedroom_id[var]}" {if $listing_bedroom_id[var] == $clisting_bedrooms} selected {/if}>{$listing_bedroom_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_bedroom_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_baths == "Y"}
										<tr>
											<td><font class="{$warning_listing_bathroom}"><b>Bathrooms</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_bathrooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_bathroom_id}
												<option value="{$listing_bathroom_id[var]}" {if $listing_bathroom_id[var] == $clisting_bathrooms} selected {/if}>{$listing_bathroom_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_bathroom_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_floors == "Y"}
										<tr>
											<td><font class="{$warning_listing_story}"><b>Floors</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_story" style="width:125px" class="textbox">
												{section name=var loop=$listing_floor_id}
												<option value="{$listing_floor_id[var]}" {if $listing_floor_id[var] == $clisting_story} selected {/if}>{$listing_floor_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_story_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_rooms == "Y"}
										<tr>
											<td><font class="{$warning_listing_room}"><b>Rooms</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_rooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_room_id}
												<option value="{$listing_room_id[var]}" {if $listing_room_id[var] == $clisting_rooms} selected {/if}>{$listing_room_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_room_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_garage == "Y"}
										<tr>
											<td><font class="{$warning_listing_garage}"><b>Garages</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_garage" style="width:125px" class="textbox">
												{section name=var loop=$listing_garage_id}
												<option value="{$listing_garage_id[var]}" {if $listing_garage_id[var] == $clisting_garage} selected {/if}>{$listing_garage_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_garage_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_buildingstyle == "Y"}
										<tr>
											<td><font class="{$warning_listing_buildingstyle}"><b>Building<br>Style</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_buildingstyle" style="width:125px" class="textbox">
												{section name=var loop=$listing_buildingstyle_id}
												<option value="{$listing_buildingstyle_id[var]}" {if $listing_buildingstyle_id[var] == $clisting_buildingstyle} selected {/if}>{$listing_buildingstyle_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_buildingstyle_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										</table>
																	
									</td>
									<td valign="top">
									
										<table border="0" cellpadding="2" cellspacing="0">
										{if $setup_enable_lotsize == "Y"}
										<tr>
											<td width="70"><font class="{$warning_listing_lotsize}"><b>Lot Size</b></font> <font class="normal_12_red"></font></td>
											<td width="10"><b>:</b></td>
											<td width="150">
												<input type="text" name="listing_lotsize" value="{$clisting_lotsize}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_lotsize_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_sqfootage == "Y"}
										<tr>
											<td nowrap><font class="{$warning_listing_squarefeet}"><b>SQ Footage</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_squarefeet" value="{$clisting_squarefeet}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_squarefeet_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_year == "Y"}
										<tr>
											<td><font class="{$warning_listing_yearbuilt}"><b>Year Built</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_yearbuilt" value="{$clisting_yearbuilt}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_yearbuilt_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_exterior == "Y"}
										<tr>
											<td><font class="{$warning_listing_exterior}"><b>Exterior</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_exterior" value="{$clisting_exterior}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_exterior_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_interior == "Y"}
										<tr>
											<td><font class="{$warning_listing_interior}"><b>Interior</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_interior" value="{$clisting_interior}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_interior_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										</table>
									
									
									</td>
								</tr>
								</table>
							
							
							</td>
						</tr>
						{if $setup_enable_schoolinfo == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_school}"><b>School Information</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_school" class="form_no_editor" style="width:500px;height:70px">{$clisting_school}</textarea>
								{php} $_SESSION['clisting_school_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_propertycondition == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_condition}"><b>Property Condition</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_condition" class="form_no_editor" style="width:500px;height:70px">{$clisting_condition}</textarea>
								{php} $_SESSION['clisting_condition_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_directions == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_direction}"><b>Driving Direction</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_direction" class="form_no_editor" style="width:500px;height:70px">{$clisting_direction}</textarea>
								{php} $_SESSION['clisting_direction_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_environment == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Property Environment ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_environment_id}
								<tr>
									<td><input name="listing_environment_checkbox_{$listing_row_environment_id[row]}" type="checkbox" value="{$listing_row_environment_id[row]}" {if $listing_row_environment_status[row] == "yes"} checked {/if} ></td>
									<td width="150">{$listing_row_environment_name[row]}</td>
									{section name=col loop=$listing_col_environment_id[row]}
									<td><input name="listing_environment_checkbox_{$listing_col_environment_id[row][col]}" type="checkbox" value="{$listing_col_environment_id[row][col]}" {if $listing_col_environment_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_environment_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_environment_list" value="{$listing_environment_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_appliance == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Appliances ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_appliance_id}
								<tr>
									<td><input name="listing_appliance_checkbox_{$listing_row_appliance_id[row]}" type="checkbox" value="{$listing_row_appliance_id[row]}" {if $listing_row_appliance_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_appliance_name[row]}</td>
									{section name=col loop=$listing_col_appliance_id[row]}
									<td><input name="listing_appliance_checkbox_{$listing_col_appliance_id[row][col]}" type="checkbox" value="{$listing_col_appliance_id[row][col]}" {if $listing_col_appliance_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_appliance_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_appliance_list" value="{$listing_appliance_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_accomodation == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Accomodations ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_accomodation_id}
								<tr>
									<td><input name="listing_accomodation_checkbox_{$listing_row_accomodation_id[row]}" type="checkbox" value="{$listing_row_accomodation_id[row]}" {if $listing_row_accomodation_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_accomodation_name[row]}</td>
									{section name=col loop=$listing_col_accomodation_id[row]}
									<td><input name="listing_accomodation_checkbox_{$listing_col_accomodation_id[row][col]}" type="checkbox" value="{$listing_col_accomodation_id[row][col]}" {if $listing_col_accomodation_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_accomodation_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_accomodation_list" value="{$listing_accomodation_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_neighborhood == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Neighborhood ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_neighborhood_id}
								<tr>
									<td><input name="listing_neighborhood_checkbox_{$listing_row_neighborhood_id[row]}" type="checkbox" value="{$listing_row_neighborhood_id[row]}" {if $listing_row_neighborhood_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_neighborhood_name[row]}</td>
									{section name=col loop=$listing_col_neighborhood_id[row]}
									<td><input name="listing_neighborhood_checkbox_{$listing_col_neighborhood_id[row][col]}" type="checkbox" value="{$listing_col_neighborhood_id[row][col]}" {if $listing_col_neighborhood_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_neighborhood_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_neighborhood_list" value="{$listing_neighborhood_list}" />
 
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_other == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Other Features ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_feature_id}
								<tr>
									<td><input name="listing_feature_checkbox_{$listing_row_feature_id[row]}" type="checkbox" value="{$listing_row_feature_id[row]}" {if $listing_row_feature_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_feature_name[row]}</td>
									{section name=col loop=$listing_col_feature_id[row]}
									<td><input name="listing_feature_checkbox_{$listing_col_feature_id[row][col]}" type="checkbox" value="{$listing_col_feature_id[row][col]}" {if $listing_col_feature_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_feature_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_feature_list" value="{$listing_feature_list}" />
								
							</td>
						</tr>
						{/if}
						
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" align="center">
								<input type="submit" name="submit" value="Add Listing" class="form_button">
							</td>
						</tr>
						</table>
						</form>
 
					</td>
				</tr>
				</table>
 
				
			</td>
			<td width="10" background="images/center_ver_right.gif"><img src="images/spacer.gif" width="1" height="1"></td>
		</tr>
		<tr>
			<td><img src="images/center_left_bottom.gif" width="10" height="6"></td>
			<td background="images/center_hor_bottom.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td><img src="images/center_right_bottom.gif" width="10" height="6"></td>
		</tr>
		</table>
		<!-- center for content -->
	
	</td>
	<td width="5"><img src="images/spacer.gif" border="0" width="5" height="1"></td>	
	<td valign="top">
	
		<!-- global_right.html -->
		{include file="global_right.html"} 
		<!-- global_right.html -->
	
	</td>
	<td width="10"><img src="images/spacer.gif" border="0" width="10" height="1"></td>	
</tr>
 
<!-- global_bottom.html -->
{include file="global_bottom.html"} 
<!-- global_bottom.html -->
</table>
 
</body>
</html>

Open in new window

0
Starquest321Author Commented:
Excellent. Thank you so much. Can you tell me what does class="{$warning_listing_title} do?
0
NerdsOfTechTechnology ScientistCommented:
In particular to class="{$warning_listing_title} :
Your template will parse this file and replace that class="{$warning_listing_title} : with your CSS style that is derived from the template file.

Don't forget:
If you are fetching data to prefill (to edit a listing, for instance) you will need to add code in your template for the new fields. Check your documentation for the template you are working with to do that.

Best Regards,
=NerdsOfTech
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Starquest321Author Commented:
Excellent. Does the code above show me which php file that I would need to look at?
0
Starquest321Author Commented:
You rock - really thanks!
0
Starquest321Author Commented:
I think this is it? Where would I need to add the code?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>{$meta_title}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$meta_encoding}">
<meta name="keywords" content="{$meta_keyword}">
<meta name="description" content="{$meta_description}">
 
{$javascript_rightclick}
<script language="javascript" type="text/javascript" src="javascript.js"></script>
<script language="javascript" src="spacer.js"></script>
<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce.js"></script>
<script language="javascript" type="text/javascript" src="tinymce.js"></script>
 
<script language="javascript" type="text/javascript">
tinyMCE.init({ldelim}
 
	mode		: "exact",
	elements	: "listing_full_desc",
	theme		: "advanced",
	height		: "200px",
    width		: "500px",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align 	: "left"
 
{rdelim});
 
</script>
<link href="class.css" type="text/css" rel="stylesheet">
</head>
 
<body>
<table cellpadding="0" cellspacing="0" border="0" align="center">
<!-- global_top.html -->
{include file="global_top.html"} 
<!-- global_top.html -->
 
<tr>
	<td width="10"><img src="images/spacer.gif" border="0" width="10" height="1"></td>	
	<td valign="top">
	
		<!-- global_left.html -->
		{include file="global_left.html"} 
		<!-- global_left.html -->
	
	</td>
	<td width="5"><img src="images/spacer.gif" border="0" width="5" height="1"></td>	
	<td valign="top">
	
		<!-- center for content -->
		<table cellpadding="0" cellspacing="0" border="0" align="center">
		<tr>
			<td><img src="images/center_left_top.gif" width="10" height="6"></td>
			<td background="images/center_hor_top.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td><img src="images/center_right_top.gif" width="10" height="6"></td>
		</tr>
		<tr>
			<td width="10" background="images/center_ver_left.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td width="560" height="650" valign="top" style="padding-left:5px; padding-right:5px; padding-top:20px; padding-bottom:20px">
			
				<table width="560" cellpadding="0" cellspacing="0" class="normal_12_black" border="0">
				<tr>
					<td><img src="site_title_header.php?title=Edit Property Listing ..."></td>
				</tr>
				<tr>
					<td height="20"><img src="images/spacer.gif" width="1" height="1"></td>
				</tr>
				<!--
				<tr>
					<td>
						Lorem ipsum dolor sit amet consectetuer In ipsum elit sem Ut. 
						Amet odio Morbi ornare sapien vestibulum id Pellentesque justo Integer nibh. 
						Vel pretium tellus porttitor ipsum vel Morbi id id nibh wisi. 
						Elit Nulla mattis Vivamus parturient at elit urna lacinia nulla mollis. 
						Eget id wisi Morbi leo orci tincidunt ut Maecenas neque Aliquam. 
						Enim consectetuer felis et ac orci.
					</td>
				</tr>
				-->
				<!-- the tab -->
				<tr>
					<td height="30"><img src="images/spacer.gif" width="1" height="1"></td>
				</tr>
				<!-- the tab -->
				<tr>
					<td>
 
						<form action="system_member_listing_edit.php" method="post" name="form_listing_add">
						<input type="hidden" name="listing" value="{$listing_id}">
						<table border="0" cellpadding="4" cellspacing="0" class="normal_12_black">
						<tr>
							<td colspan="3">
								
								{if $warning_message == "incomplete_form"}
								<font class="normal_12_red">
								Please fill the following form completely.<br>
								Please make sure that you have filled the fields marked red ...
								</font>
								
								{else}
								Please fill the following form completely.<br>
								Please make sure that you have filled the fields marked red ...
								{/if}
 
							</td>
						</tr>
 
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Enter Property Details ... 
							</td>
						</tr>
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td width="100"><font class="{$warning_listing_type}"><b>Property<br>Type</b></font> <font class="normal_12_red">*</font></td>
							<td width="10"><b>:</b></td>
							<td width="520">
								<select name="listing_type" style="width:200px" class="textbox">
								{section name=var loop=$listing_type_id}
								<option value="{$listing_type_id[var]}" {if $listing_type_id[var] == $listing_type} selected {/if}>{$listing_type_name[var]}</option>
								{/section}
								</select>
								{php} $_SESSION['clisting_type_warn'] = ''; {/php}
							</td>
						</tr>
						{if $setup_enable_mls == "Y"}
						<tr>
							<td><font class="{$warning_listing_mls}"><b>MLS #</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_mls" value="{$listing_mls}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_mls_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_title == "Y"}
						<tr>
							<td><font class="{$warning_listing_title}"><b>Listing<br>Name</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_title" value="{$listing_title}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_availability == "Y"}
						<tr>
							<td><font class="{$warning_listing_availability}"><b>Availability</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_availability" value="{$listing_availability}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_availability_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_purpose}"><b>Property<br>is for</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
							
								<input type="radio" name="listing_purpose" value="sale" onclick="set_layer('listing_rent_field', 'hidden')" {if $listing_purpose == "sale"} checked {/if} > Sale
								&nbsp;&nbsp;&nbsp;
 
								<input type="radio" name="listing_purpose" value="rent" onclick="set_layer('listing_rent_field', 'visible')" {if $listing_purpose == "rent"} checked {/if} > Rent
								{php} $_SESSION['clisting_purpose_warn'] = ''; {/php}
								
							</td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_price}"><b>Price / Cost</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
							
								<table border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td>
										<input type="text" name="listing_price" value="{$listing_price}" class="textbox" style="width:125px">
										{php} $_SESSION['clisting_price_warn'] = ''; {/php}
									</td>
									<td>
									
										<div id="listing_rent_field">
										<table border="0" cellpadding="0" cellspacing="0">
										<tr>
											<td style="padding-left:10px"><font class="{$warning_listing_rent}"><strong>Rent Period</strong></font> <font class="normal_12_red">*</font></td>
											<td style="padding-left:10px">
												<select name="listing_rent" class="textbox" style="width:70px">
												{section name=var loop=$listing_rent_id}
												<option value="{$listing_rent_id[var]}" {if $listing_rent_id[var] == $listing_rent} selected {/if}>{$listing_rent_name[var]}</option>
												{/section}
												</select>
											</td>
										</tr>
										</table>
										</div>
 
 
										<script language="javascript">
										<!--	
																							
											if (document.form_listing_add.listing_purpose[0].checked) {ldelim}
												set_layer('listing_rent_field', 'hidden');
											{rdelim}
 
											if (document.form_listing_add.listing_purpose[1].checked) {ldelim}
												set_layer('listing_rent_field', 'visible');
											{rdelim}
											
										-->
										</script>											
 
 
									</td>
								</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_currency}"><b>Currency</b></font> <font class="normal_12_red"></font></td>
							<td><b>:</b></td>
							<td>{$listing_currency_name}</td>
						</tr>
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_address}"><b>Mailing Address</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_address" value="{$listing_address}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_address_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td></td>
							<td></td>
							<td>
								<input type="text" name="listing_address2" value="{$listing_address2}" class="textbox" style="width:295px">
							</td>
						</tr>
						{if $setup_enable_suburb == "Y"}
						<tr>
							<td><font class="{$warning_listing_suburb}"><b>Suburb</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_suburb" value="{$listing_suburb}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_suburb_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_city == "Y"}
						<tr>
							<td><font class="{$warning_listing_city}"><b>City</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_city" value="{$listing_city}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_city_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_state == "Y"}
						<tr>
							<td><font class="{$warning_listing_state}"><b>Province / State</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_state" value="{$listing_state}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_state_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_zip == "Y"}
						<tr>
							<td><font class="{$warning_listing_zip}"><b>ZIP Code</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_zip" value="{$listing_zip}" class="textbox" style="width:95px"> &nbsp;
								ZIP Code will be used for ZIP Radius Search ...
								{php} $_SESSION['clisting_zip_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_country == "Y"}
						<tr>
							<td><font class="{$warning_listing_country}"><b>Country</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<select name="listing_country" style="width:300px" class="textbox">
								{section name=var loop=$listing_country_id}
								<option value="{$listing_country_id[var]}" {if $listing_country_id[var] == $listing_country} selected {/if}>{$listing_country_name[var]}</option>
								{/section}
								</select>
								{php} $_SESSION['clisting_country_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						{if $setup_enable_desc_short == "Y"}
						<tr>
							<td valign="top"><font class="{$warning_listing_brief_desc}"><b>Short<br>Description</b></font> <font class="normal_12_red">*</font></td>
							<td valign="top"><br><b>:</b></td>
							<td valign="top">
								<textarea name="listing_brief_desc" class="form_no_editor" style="width:400px;height:70px">{$listing_brief_desc}</textarea>
								{php} $_SESSION['clisting_brief_desc_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						{/if}
						{if $setup_enable_desc_detail == "Y"}
						<tr>
							<td valign="top"><font class="{$warning_listing_full_desc}"><b>Full<br>Description</b></font> <font class="normal_12_red">*</font></td>
							<td valign="top"><br><b>:</b></td>
							<td valign="top">
							</td>
						</tr>
						<tr>
							<td colspan="3">
								<textarea name="listing_full_desc" class="form_no_editor" style="width:400px;height:70px">{$listing_full_desc}</textarea>
								{php} $_SESSION['clisting_full_desc_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Enter Additional Information ... 
							</td>
						</tr>
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td valign="top">
									
										<table border="0" cellpadding="2" cellspacing="0">
										{if $setup_enable_beds == "Y"}
										<tr>
											<td width="70"><font class="{$warning_listing_bedroom}"><b>Bedrooms</b></font> <font class="normal_12_red"></font></td>
											<td width="10"><b>:</b></td>
											<td width="150">
												<select name="listing_bedrooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_bedroom_id}
												<option value="{$listing_bedroom_id[var]}" {if $listing_bedroom_id[var] == $listing_bedrooms} selected {/if}>{$listing_bedroom_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_bedroom_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_baths == "Y"}
										<tr>
											<td><font class="{$warning_listing_bathroom}"><b>Bathrooms</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_bathrooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_bathroom_id}
												<option value="{$listing_bathroom_id[var]}" {if $listing_bathroom_id[var] == $listing_bathrooms} selected {/if}>{$listing_bathroom_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_bathroom_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_floors == "Y"}
										<tr>
											<td><font class="{$warning_listing_story}"><b>Floors</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_story" style="width:125px" class="textbox">
												{section name=var loop=$listing_floor_id}
												<option value="{$listing_floor_id[var]}" {if $listing_floor_id[var] == $listing_story} selected {/if}>{$listing_floor_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_story_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_rooms == "Y"}
										<tr>
											<td><font class="{$warning_listing_room}"><b>Rooms</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_rooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_room_id}
												<option value="{$listing_room_id[var]}" {if $listing_room_id[var] == $listing_rooms} selected {/if}>{$listing_room_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_room_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_garage == "Y"}
										<tr>
											<td><font class="{$warning_listing_garage}"><b>Garages</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_garage" style="width:125px" class="textbox">
												{section name=var loop=$listing_garage_id}
												<option value="{$listing_garage_id[var]}" {if $listing_garage_id[var] == $listing_garage} selected {/if}>{$listing_garage_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_garage_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_buildingstyle == "Y"}
										<tr>
											<td><font class="{$warning_listing_buildingstyle}"><b>Building<br>Style</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_buildingstyle" style="width:125px" class="textbox">
												{section name=var loop=$listing_buildingstyle_id}
												<option value="{$listing_buildingstyle_id[var]}" {if $listing_buildingstyle_id[var] == $listing_buildingstyle} selected {/if}>{$listing_buildingstyle_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_buildingstyle_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										</table>
																	
									</td>
									<td valign="top">
									
										<table border="0" cellpadding="2" cellspacing="0">
										{if $setup_enable_lotsize == "Y"}
										<tr>
											<td width="70"><font class="{$warning_listing_lotsize}"><b>Lot Size</b></font> <font class="normal_12_red"></font></td>
											<td width="10"><b>:</b></td>
											<td width="150">
												<input type="text" name="listing_lotsize" value="{$listing_lotsize}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_lotsize_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_sqfootage == "Y"}
										<tr>
											<td nowrap><font class="{$warning_listing_squarefeet}"><b>SQ Footage</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_squarefeet" value="{$listing_squarefeet}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_squarefeet_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_year == "Y"}
										<tr>
											<td><font class="{$warning_listing_yearbuilt}"><b>Year Built</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_yearbuilt" value="{$listing_yearbuilt}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_yearbuilt_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_exterior == "Y"}
										<tr>
											<td><font class="{$warning_listing_exterior}"><b>Exterior</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_exterior" value="{$listing_exterior}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_exterior_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_interior == "Y"}
										<tr>
											<td><font class="{$warning_listing_interior}"><b>Interior</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_interior" value="{$listing_interior}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_interior_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										</table>
									
									
									</td>
								</tr>
								</table>
							
							
							</td>
						</tr>
						{if $setup_enable_schoolinfo == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_school}"><b>School Information</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_school" class="form_no_editor" style="width:500px;height:70px">{$listing_school}</textarea>
								{php} $_SESSION['clisting_school_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_propertycondition == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_condition}"><b>Property Condition</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_condition" class="form_no_editor" style="width:500px;height:70px">{$listing_condition}</textarea>
								{php} $_SESSION['clisting_condition_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_directions == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_direction}"><b>Driving Direction</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_direction" class="form_no_editor" style="width:500px;height:70px">{$listing_direction}</textarea>
								{php} $_SESSION['clisting_direction_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_environment == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Property Environment ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_environment_id}
								<tr>
									<td><input name="listing_environment_checkbox_{$listing_row_environment_id[row]}" type="checkbox" value="{$listing_row_environment_id[row]}" {if $listing_row_environment_status[row] == "yes"} checked {/if} ></td>
									<td width="150">{$listing_row_environment_name[row]}</td>
									{section name=col loop=$listing_col_environment_id[row]}
									<td><input name="listing_environment_checkbox_{$listing_col_environment_id[row][col]}" type="checkbox" value="{$listing_col_environment_id[row][col]}" {if $listing_col_environment_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_environment_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_environment_list" value="{$listing_environment_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_appliance == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Appliances ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_appliance_id}
								<tr>
									<td><input name="listing_appliance_checkbox_{$listing_row_appliance_id[row]}" type="checkbox" value="{$listing_row_appliance_id[row]}" {if $listing_row_appliance_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_appliance_name[row]}</td>
									{section name=col loop=$listing_col_appliance_id[row]}
									<td><input name="listing_appliance_checkbox_{$listing_col_appliance_id[row][col]}" type="checkbox" value="{$listing_col_appliance_id[row][col]}" {if $listing_col_appliance_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_appliance_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_appliance_list" value="{$listing_appliance_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_accomodation == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Accomodations ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_accomodation_id}
								<tr>
									<td><input name="listing_accomodation_checkbox_{$listing_row_accomodation_id[row]}" type="checkbox" value="{$listing_row_accomodation_id[row]}" {if $listing_row_accomodation_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_accomodation_name[row]}</td>
									{section name=col loop=$listing_col_accomodation_id[row]}
									<td><input name="listing_accomodation_checkbox_{$listing_col_accomodation_id[row][col]}" type="checkbox" value="{$listing_col_accomodation_id[row][col]}" {if $listing_col_accomodation_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_accomodation_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_accomodation_list" value="{$listing_accomodation_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_neighborhood == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Neighborhood ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_neighborhood_id}
								<tr>
									<td><input name="listing_neighborhood_checkbox_{$listing_row_neighborhood_id[row]}" type="checkbox" value="{$listing_row_neighborhood_id[row]}" {if $listing_row_neighborhood_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_neighborhood_name[row]}</td>
									{section name=col loop=$listing_col_neighborhood_id[row]}
									<td><input name="listing_neighborhood_checkbox_{$listing_col_neighborhood_id[row][col]}" type="checkbox" value="{$listing_col_neighborhood_id[row][col]}" {if $listing_col_neighborhood_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_neighborhood_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_neighborhood_list" value="{$listing_neighborhood_list}" />
 
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_other == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Other Features ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_feature_id}
								<tr>
									<td><input name="listing_feature_checkbox_{$listing_row_feature_id[row]}" type="checkbox" value="{$listing_row_feature_id[row]}" {if $listing_row_feature_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_feature_name[row]}</td>
									{section name=col loop=$listing_col_feature_id[row]}
									<td><input name="listing_feature_checkbox_{$listing_col_feature_id[row][col]}" type="checkbox" value="{$listing_col_feature_id[row][col]}" {if $listing_col_feature_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_feature_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_feature_list" value="{$listing_feature_list}" />
								
							</td>
						</tr>
						{/if}
						
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" align="center">
								<input type="submit" name="submit" value="Edit Listing" class="form_button">
							</td>
						</tr>
						</table>
						</form>
 
					</td>
				</tr>
				</table>
 
				
			</td>
			<td width="10" background="images/center_ver_right.gif"><img src="images/spacer.gif" width="1" height="1"></td>
		</tr>
		<tr>
			<td><img src="images/center_left_bottom.gif" width="10" height="6"></td>
			<td background="images/center_hor_bottom.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td><img src="images/center_right_bottom.gif" width="10" height="6"></td>
		</tr>
		</table>
		<!-- center for content -->
	
	</td>
	<td width="5"><img src="images/spacer.gif" border="0" width="5" height="1"></td>	
	<td valign="top">
	
		<!-- global_right.html -->
		{include file="global_right.html"} 
		<!-- global_right.html -->
	
	</td>
	<td width="10"><img src="images/spacer.gif" border="0" width="10" height="1"></td>	
</tr>
 
<!-- global_bottom.html -->
{include file="global_bottom.html"} 
<!-- global_bottom.html -->
</table>
 
</body>
</html>

Open in new window

0
Starquest321Author Commented:
I added your code. It works. Except that it doesn't save the informaiton in the database when I look at it. What could be the problem?
0
Starquest321Author Commented:
The names of the fields are actually listing_owner and listing_owner_phone so I put in the code below ..  .(I just changed the field names) Did I miss something?
<tr>
							<td><font class="{$warning_listing_title}"><b>Property Owner's Name</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_owner" value="{$listing_owner}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_title}"><b>Property Owner's<br>Phone</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_owner_phone" value="{$listing_owner_phone}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
 
						
<tr>

Open in new window

0
Starquest321Author Commented:
And this is the table type from the database:

listing_owner_phone text utf8_unicode_ci  No  
0
NerdsOfTechTechnology ScientistCommented:
Thanks for the information!

I will review and post a comment in about 5 minutes
0
Starquest321Author Commented:
Thanks. What is weird is that in the other fields they add a $c .. . and you didn't. Look below.
td>
								<input type="text" name="owner_name" value="{$owner_name}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
<tr>
							<td><font class="{$warning_listing_title}"><b>Listing<br>Name</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_title" value="{$clisting_title}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
						</tr>

Open in new window

0
NerdsOfTechTechnology ScientistCommented:
The code you want to edit is on:
system_member_listing_add_agent.php
0
NerdsOfTechTechnology ScientistCommented:
Try it as it may already be coded for that

$c
<tr>
							<td><font class="{$warning_listing_title}"><b>Property Owner's Name</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_owner" value="{$clisting_owner}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_title}"><b>Property Owner's<br>Phone</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_owner_phone" value="{$clisting_owner_phone}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
 
						
<tr>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Starquest321Author Commented:
I added the $c correction. How weird. While the fields and the boxes are displayed and there are NO errors on the page - the owner name/phone isn't saved. All other information IS saved. What can it be?
0
Starquest321Author Commented:
Here is member_listing_edit . . .what should I add there?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>{$meta_title}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$meta_encoding}">
<meta name="keywords" content="{$meta_keyword}">
<meta name="description" content="{$meta_description}">
 
{$javascript_rightclick}
<script language="javascript" type="text/javascript" src="javascript.js"></script>
<script language="javascript" src="spacer.js"></script>
<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce.js"></script>
<script language="javascript" type="text/javascript" src="tinymce.js"></script>
 
<script language="javascript" type="text/javascript">
tinyMCE.init({ldelim}
 
	mode		: "exact",
	elements	: "listing_full_desc",
	theme		: "advanced",
	height		: "200px",
    width		: "500px",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align 	: "left"
 
{rdelim});
 
</script>
<link href="class.css" type="text/css" rel="stylesheet">
</head>
 
<body>
<table cellpadding="0" cellspacing="0" border="0" align="center">
<!-- global_top.html -->
{include file="global_top.html"} 
<!-- global_top.html -->
 
<tr>
	<td width="10"><img src="images/spacer.gif" border="0" width="10" height="1"></td>	
	<td valign="top">
	
		<!-- global_left.html -->
		{include file="global_left.html"} 
		<!-- global_left.html -->
	
	</td>
	<td width="5"><img src="images/spacer.gif" border="0" width="5" height="1"></td>	
	<td valign="top">
	
		<!-- center for content -->
		<table cellpadding="0" cellspacing="0" border="0" align="center">
		<tr>
			<td><img src="images/center_left_top.gif" width="10" height="6"></td>
			<td background="images/center_hor_top.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td><img src="images/center_right_top.gif" width="10" height="6"></td>
		</tr>
		<tr>
			<td width="10" background="images/center_ver_left.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td width="560" height="650" valign="top" style="padding-left:5px; padding-right:5px; padding-top:20px; padding-bottom:20px">
			
				<table width="560" cellpadding="0" cellspacing="0" class="normal_12_black" border="0">
				<tr>
					<td><img src="site_title_header.php?title=Edit Property Listing ..."></td>
				</tr>
				<tr>
					<td height="20"><img src="images/spacer.gif" width="1" height="1"></td>
				</tr>
				<!--
				<tr>
					<td>
						Lorem ipsum dolor sit amet consectetuer In ipsum elit sem Ut. 
						Amet odio Morbi ornare sapien vestibulum id Pellentesque justo Integer nibh. 
						Vel pretium tellus porttitor ipsum vel Morbi id id nibh wisi. 
						Elit Nulla mattis Vivamus parturient at elit urna lacinia nulla mollis. 
						Eget id wisi Morbi leo orci tincidunt ut Maecenas neque Aliquam. 
						Enim consectetuer felis et ac orci.
					</td>
				</tr>
				-->
				<!-- the tab -->
				<tr>
					<td height="30"><img src="images/spacer.gif" width="1" height="1"></td>
				</tr>
				<!-- the tab -->
				<tr>
					<td>
 
						<form action="system_member_listing_edit.php" method="post" name="form_listing_add">
						<input type="hidden" name="listing" value="{$listing_id}">
						<table border="0" cellpadding="4" cellspacing="0" class="normal_12_black">
						<tr>
							<td colspan="3">
								
								{if $warning_message == "incomplete_form"}
								<font class="normal_12_red">
								Please fill the following form completely.<br>
								Please make sure that you have filled the fields marked red ...
								</font>
								
								{else}
								Please fill the following form completely.<br>
								Please make sure that you have filled the fields marked red ...
								{/if}
 
							</td>
						</tr>
 
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Enter Property Details ... 
							</td>
						</tr>
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td width="100"><font class="{$warning_listing_type}"><b>Property<br>Type</b></font> <font class="normal_12_red">*</font></td>
							<td width="10"><b>:</b></td>
							<td width="520">
								<select name="listing_type" style="width:200px" class="textbox">
								{section name=var loop=$listing_type_id}
								<option value="{$listing_type_id[var]}" {if $listing_type_id[var] == $listing_type} selected {/if}>{$listing_type_name[var]}</option>
								{/section}
								</select>
								{php} $_SESSION['clisting_type_warn'] = ''; {/php}
							</td>
						</tr>
						{if $setup_enable_mls == "Y"}
						<tr>
							<td><font class="{$warning_listing_mls}"><b>MLS #</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_mls" value="{$listing_mls}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_mls_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_title == "Y"}
						<tr>
							<td><font class="{$warning_listing_title}"><b>Listing<br>Name</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_title" value="{$listing_title}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_title_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_availability == "Y"}
						<tr>
							<td><font class="{$warning_listing_availability}"><b>Availability</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_availability" value="{$listing_availability}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_availability_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_purpose}"><b>Property<br>is for</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
							
								<input type="radio" name="listing_purpose" value="sale" onclick="set_layer('listing_rent_field', 'hidden')" {if $listing_purpose == "sale"} checked {/if} > Sale
								&nbsp;&nbsp;&nbsp;
 
								<input type="radio" name="listing_purpose" value="rent" onclick="set_layer('listing_rent_field', 'visible')" {if $listing_purpose == "rent"} checked {/if} > Rent
								{php} $_SESSION['clisting_purpose_warn'] = ''; {/php}
								
							</td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_price}"><b>Price / Cost</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
							
								<table border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td>
										<input type="text" name="listing_price" value="{$listing_price}" class="textbox" style="width:125px">
										{php} $_SESSION['clisting_price_warn'] = ''; {/php}
									</td>
									<td>
									
										<div id="listing_rent_field">
										<table border="0" cellpadding="0" cellspacing="0">
										<tr>
											<td style="padding-left:10px"><font class="{$warning_listing_rent}"><strong>Rent Period</strong></font> <font class="normal_12_red">*</font></td>
											<td style="padding-left:10px">
												<select name="listing_rent" class="textbox" style="width:70px">
												{section name=var loop=$listing_rent_id}
												<option value="{$listing_rent_id[var]}" {if $listing_rent_id[var] == $listing_rent} selected {/if}>{$listing_rent_name[var]}</option>
												{/section}
												</select>
											</td>
										</tr>
										</table>
										</div>
 
 
										<script language="javascript">
										<!--	
																							
											if (document.form_listing_add.listing_purpose[0].checked) {ldelim}
												set_layer('listing_rent_field', 'hidden');
											{rdelim}
 
											if (document.form_listing_add.listing_purpose[1].checked) {ldelim}
												set_layer('listing_rent_field', 'visible');
											{rdelim}
											
										-->
										</script>											
 
 
									</td>
								</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_currency}"><b>Currency</b></font> <font class="normal_12_red"></font></td>
							<td><b>:</b></td>
							<td>{$listing_currency_name}</td>
						</tr>
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td><font class="{$warning_listing_address}"><b>Mailing Address</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_address" value="{$listing_address}" class="textbox" style="width:295px">
								{php} $_SESSION['clisting_address_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td></td>
							<td></td>
							<td>
								<input type="text" name="listing_address2" value="{$listing_address2}" class="textbox" style="width:295px">
							</td>
						</tr>
						{if $setup_enable_suburb == "Y"}
						<tr>
							<td><font class="{$warning_listing_suburb}"><b>Suburb</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_suburb" value="{$listing_suburb}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_suburb_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_city == "Y"}
						<tr>
							<td><font class="{$warning_listing_city}"><b>City</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_city" value="{$listing_city}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_city_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_state == "Y"}
						<tr>
							<td><font class="{$warning_listing_state}"><b>Province / State</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_state" value="{$listing_state}" class="textbox" style="width:195px">
								{php} $_SESSION['clisting_state_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_zip == "Y"}
						<tr>
							<td><font class="{$warning_listing_zip}"><b>ZIP Code</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<input type="text" name="listing_zip" value="{$listing_zip}" class="textbox" style="width:95px"> &nbsp;
								ZIP Code will be used for ZIP Radius Search ...
								{php} $_SESSION['clisting_zip_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_country == "Y"}
						<tr>
							<td><font class="{$warning_listing_country}"><b>Country</b></font> <font class="normal_12_red">*</font></td>
							<td><b>:</b></td>
							<td>
								<select name="listing_country" style="width:300px" class="textbox">
								{section name=var loop=$listing_country_id}
								<option value="{$listing_country_id[var]}" {if $listing_country_id[var] == $listing_country} selected {/if}>{$listing_country_name[var]}</option>
								{/section}
								</select>
								{php} $_SESSION['clisting_country_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						{if $setup_enable_desc_short == "Y"}
						<tr>
							<td valign="top"><font class="{$warning_listing_brief_desc}"><b>Short<br>Description</b></font> <font class="normal_12_red">*</font></td>
							<td valign="top"><br><b>:</b></td>
							<td valign="top">
								<textarea name="listing_brief_desc" class="form_no_editor" style="width:400px;height:70px">{$listing_brief_desc}</textarea>
								{php} $_SESSION['clisting_brief_desc_warn'] = ''; {/php}
							</td>
						</tr>
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						{/if}
						{if $setup_enable_desc_detail == "Y"}
						<tr>
							<td valign="top"><font class="{$warning_listing_full_desc}"><b>Full<br>Description</b></font> <font class="normal_12_red">*</font></td>
							<td valign="top"><br><b>:</b></td>
							<td valign="top">
							</td>
						</tr>
						<tr>
							<td colspan="3">
								<textarea name="listing_full_desc" class="form_no_editor" style="width:400px;height:70px">{$listing_full_desc}</textarea>
								{php} $_SESSION['clisting_full_desc_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Enter Additional Information ... 
							</td>
						</tr>
						<tr>
							<td height="10" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td valign="top">
									
										<table border="0" cellpadding="2" cellspacing="0">
										{if $setup_enable_beds == "Y"}
										<tr>
											<td width="70"><font class="{$warning_listing_bedroom}"><b>Bedrooms</b></font> <font class="normal_12_red"></font></td>
											<td width="10"><b>:</b></td>
											<td width="150">
												<select name="listing_bedrooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_bedroom_id}
												<option value="{$listing_bedroom_id[var]}" {if $listing_bedroom_id[var] == $listing_bedrooms} selected {/if}>{$listing_bedroom_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_bedroom_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_baths == "Y"}
										<tr>
											<td><font class="{$warning_listing_bathroom}"><b>Bathrooms</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_bathrooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_bathroom_id}
												<option value="{$listing_bathroom_id[var]}" {if $listing_bathroom_id[var] == $listing_bathrooms} selected {/if}>{$listing_bathroom_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_bathroom_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_floors == "Y"}
										<tr>
											<td><font class="{$warning_listing_story}"><b>Floors</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_story" style="width:125px" class="textbox">
												{section name=var loop=$listing_floor_id}
												<option value="{$listing_floor_id[var]}" {if $listing_floor_id[var] == $listing_story} selected {/if}>{$listing_floor_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_story_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_rooms == "Y"}
										<tr>
											<td><font class="{$warning_listing_room}"><b>Rooms</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_rooms" style="width:125px" class="textbox">
												{section name=var loop=$listing_room_id}
												<option value="{$listing_room_id[var]}" {if $listing_room_id[var] == $listing_rooms} selected {/if}>{$listing_room_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_room_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_garage == "Y"}
										<tr>
											<td><font class="{$warning_listing_garage}"><b>Garages</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_garage" style="width:125px" class="textbox">
												{section name=var loop=$listing_garage_id}
												<option value="{$listing_garage_id[var]}" {if $listing_garage_id[var] == $listing_garage} selected {/if}>{$listing_garage_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_garage_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_buildingstyle == "Y"}
										<tr>
											<td><font class="{$warning_listing_buildingstyle}"><b>Building<br>Style</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<select name="listing_buildingstyle" style="width:125px" class="textbox">
												{section name=var loop=$listing_buildingstyle_id}
												<option value="{$listing_buildingstyle_id[var]}" {if $listing_buildingstyle_id[var] == $listing_buildingstyle} selected {/if}>{$listing_buildingstyle_name[var]}</option>
												{/section}
												</select>
												{php} $_SESSION['clisting_buildingstyle_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										</table>
																	
									</td>
									<td valign="top">
									
										<table border="0" cellpadding="2" cellspacing="0">
										{if $setup_enable_lotsize == "Y"}
										<tr>
											<td width="70"><font class="{$warning_listing_lotsize}"><b>Lot Size</b></font> <font class="normal_12_red"></font></td>
											<td width="10"><b>:</b></td>
											<td width="150">
												<input type="text" name="listing_lotsize" value="{$listing_lotsize}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_lotsize_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_sqfootage == "Y"}
										<tr>
											<td nowrap><font class="{$warning_listing_squarefeet}"><b>SQ Footage</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_squarefeet" value="{$listing_squarefeet}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_squarefeet_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_year == "Y"}
										<tr>
											<td><font class="{$warning_listing_yearbuilt}"><b>Year Built</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_yearbuilt" value="{$listing_yearbuilt}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_yearbuilt_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_exterior == "Y"}
										<tr>
											<td><font class="{$warning_listing_exterior}"><b>Exterior</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_exterior" value="{$listing_exterior}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_exterior_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										{if $setup_enable_interior == "Y"}
										<tr>
											<td><font class="{$warning_listing_interior}"><b>Interior</b></font> <font class="normal_12_red"></font></td>
											<td><b>:</b></td>
											<td>
												<input type="text" name="listing_interior" value="{$listing_interior}" class="textbox" style="width:125px">
												{php} $_SESSION['clisting_interior_warn'] = ''; {/php}
											</td>
										</tr>
										{/if}
										</table>
									
									
									</td>
								</tr>
								</table>
							
							
							</td>
						</tr>
						{if $setup_enable_schoolinfo == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_school}"><b>School Information</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_school" class="form_no_editor" style="width:500px;height:70px">{$listing_school}</textarea>
								{php} $_SESSION['clisting_school_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_propertycondition == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_condition}"><b>Property Condition</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_condition" class="form_no_editor" style="width:500px;height:70px">{$listing_condition}</textarea>
								{php} $_SESSION['clisting_condition_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_directions == "Y"}
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td valign="top" colspan="3"><font class="{$warning_listing_direction}"><b>Driving Direction</b></font> <font class="normal_12_red"></font></td>
						</tr>
						<tr>
							<td valign="top" colspan="3">
								<textarea name="listing_direction" class="form_no_editor" style="width:500px;height:70px">{$listing_direction}</textarea>
								{php} $_SESSION['clisting_direction_warn'] = ''; {/php}
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_environment == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Property Environment ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_environment_id}
								<tr>
									<td><input name="listing_environment_checkbox_{$listing_row_environment_id[row]}" type="checkbox" value="{$listing_row_environment_id[row]}" {if $listing_row_environment_status[row] == "yes"} checked {/if} ></td>
									<td width="150">{$listing_row_environment_name[row]}</td>
									{section name=col loop=$listing_col_environment_id[row]}
									<td><input name="listing_environment_checkbox_{$listing_col_environment_id[row][col]}" type="checkbox" value="{$listing_col_environment_id[row][col]}" {if $listing_col_environment_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_environment_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_environment_list" value="{$listing_environment_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_appliance == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Appliances ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_appliance_id}
								<tr>
									<td><input name="listing_appliance_checkbox_{$listing_row_appliance_id[row]}" type="checkbox" value="{$listing_row_appliance_id[row]}" {if $listing_row_appliance_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_appliance_name[row]}</td>
									{section name=col loop=$listing_col_appliance_id[row]}
									<td><input name="listing_appliance_checkbox_{$listing_col_appliance_id[row][col]}" type="checkbox" value="{$listing_col_appliance_id[row][col]}" {if $listing_col_appliance_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_appliance_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_appliance_list" value="{$listing_appliance_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_accomodation == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Accomodations ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_accomodation_id}
								<tr>
									<td><input name="listing_accomodation_checkbox_{$listing_row_accomodation_id[row]}" type="checkbox" value="{$listing_row_accomodation_id[row]}" {if $listing_row_accomodation_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_accomodation_name[row]}</td>
									{section name=col loop=$listing_col_accomodation_id[row]}
									<td><input name="listing_accomodation_checkbox_{$listing_col_accomodation_id[row][col]}" type="checkbox" value="{$listing_col_accomodation_id[row][col]}" {if $listing_col_accomodation_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_accomodation_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_accomodation_list" value="{$listing_accomodation_list}" />
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_neighborhood == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Neighborhood ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_neighborhood_id}
								<tr>
									<td><input name="listing_neighborhood_checkbox_{$listing_row_neighborhood_id[row]}" type="checkbox" value="{$listing_row_neighborhood_id[row]}" {if $listing_row_neighborhood_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_neighborhood_name[row]}</td>
									{section name=col loop=$listing_col_neighborhood_id[row]}
									<td><input name="listing_neighborhood_checkbox_{$listing_col_neighborhood_id[row][col]}" type="checkbox" value="{$listing_col_neighborhood_id[row][col]}" {if $listing_col_neighborhood_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_neighborhood_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_neighborhood_list" value="{$listing_neighborhood_list}" />
 
								
							</td>
						</tr>
						{/if}
						{if $setup_enable_feature_other == "Y"}
						<tr>
							<td height="30" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" height="28" background="images/bg_tab.gif" style="background-repeat:no-repeat; padding-left:28px; padding-top:5px; font-weight: bold;" class="normal_12_blue_verdana" valign="top">
								Choose Other Features ... 
							</td>
						</tr>
						<tr>
							<td colspan="3">
							
								<table border="0" cellpadding="2" cellspacing="0">
								{section name=row loop=$listing_row_feature_id}
								<tr>
									<td><input name="listing_feature_checkbox_{$listing_row_feature_id[row]}" type="checkbox" value="{$listing_row_feature_id[row]}" {if $listing_row_feature_status[row] == "yes"} checked {/if}></td>
									<td width="150">{$listing_row_feature_name[row]}</td>
									{section name=col loop=$listing_col_feature_id[row]}
									<td><input name="listing_feature_checkbox_{$listing_col_feature_id[row][col]}" type="checkbox" value="{$listing_col_feature_id[row][col]}" {if $listing_col_feature_status[row][col] == "yes"} checked {/if}></td>
									<td width="150">{$listing_col_feature_name[row][col]}</td>
									{/section}
								</tr>
								{/section}
								</table>
								<input type="hidden" name="listing_feature_list" value="{$listing_feature_list}" />
								
							</td>
						</tr>
						{/if}
						
						<tr>
							<td height="20" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td colspan="3" align="center">
								<input type="submit" name="submit" value="Edit Listing" class="form_button">
							</td>
						</tr>
						</table>
						</form>
 
					</td>
				</tr>
				</table>
 
				
			</td>
			<td width="10" background="images/center_ver_right.gif"><img src="images/spacer.gif" width="1" height="1"></td>
		</tr>
		<tr>
			<td><img src="images/center_left_bottom.gif" width="10" height="6"></td>
			<td background="images/center_hor_bottom.gif"><img src="images/spacer.gif" width="1" height="1"></td>
			<td><img src="images/center_right_bottom.gif" width="10" height="6"></td>
		</tr>
		</table>
		<!-- center for content -->
	
	</td>
	<td width="5"><img src="images/spacer.gif" border="0" width="5" height="1"></td>	
	<td valign="top">
	
		<!-- global_right.html -->
		{include file="global_right.html"} 
		<!-- global_right.html -->
	
	</td>
	<td width="10"><img src="images/spacer.gif" border="0" width="10" height="1"></td>	
</tr>
 
<!-- global_bottom.html -->
{include file="global_bottom.html"} 
<!-- global_bottom.html -->
</table>
 
</body>
</html>

Open in new window

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.