Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Adding Field

Posted on 2008-11-18
15
Medium Priority
?
191 Views
Last Modified: 2013-12-13
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

0
Comment
Question by:Starquest321
  • 10
  • 5
15 Comments
 
LVL 20

Expert Comment

by:NerdsOfTech
ID: 22991930
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
 

Author Comment

by:Starquest321
ID: 22992007
Excellent. Thank you so much. Can you tell me what does class="{$warning_listing_title} do?
0
 
LVL 20

Expert Comment

by:NerdsOfTech
ID: 22992057
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Starquest321
ID: 22992073
Excellent. Does the code above show me which php file that I would need to look at?
0
 

Author Comment

by:Starquest321
ID: 22992074
You rock - really thanks!
0
 

Author Comment

by:Starquest321
ID: 22992083
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
 

Author Comment

by:Starquest321
ID: 22992140
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
 

Author Comment

by:Starquest321
ID: 22992170
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
 

Author Comment

by:Starquest321
ID: 22992180
And this is the table type from the database:

listing_owner_phone text utf8_unicode_ci  No  
0
 
LVL 20

Expert Comment

by:NerdsOfTech
ID: 22992229
Thanks for the information!

I will review and post a comment in about 5 minutes
0
 

Author Comment

by:Starquest321
ID: 22992240
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
 
LVL 20

Expert Comment

by:NerdsOfTech
ID: 22992245
The code you want to edit is on:
system_member_listing_add_agent.php
0
 
LVL 20

Accepted Solution

by:
NerdsOfTech earned 2000 total points
ID: 22992250
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
 

Author Comment

by:Starquest321
ID: 22992393
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
 

Author Comment

by:Starquest321
ID: 22992398
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

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question