<?php if (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "" . ",") !== false || "" == "")){if (!(false)){ ?><p>We encountered errors in the form you submitted.</p> <?php }} }?><form method="post" action="" id="homealert" name="homealert"><input type=hidden name="subject" value="Email Update"><fieldset><legend>Contact Information </legend><div class="notes"><h4>MLS Email Updates </h4><p class="last"><strong>Bolded Fields are required.<br /></strong></p></div><div class="required"><label for="fName"><?phpif (ValidatedField("homealert","homealert")) {if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "1" . ",") !== false || "1" == "")){if (!(false)){?><?php }}}?>First Name: </label><inputname="fName" type="text" id="fName" value="<?php echo(ValidatedField("homealert","fName")) ?>"></div><div class="required"><label for="lName"><?phpif (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "7" . ",") !== false || "7" == "")){if (!(false)){?><?php // homealert(7:)}}}?> Last Name: </label><inputname="lName" type="text" id="lName" value="<?php echo(ValidatedField("homealert","lName")) ?>"></div><div class="required"><label for="phone"><?phpif (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "8" . ",") !== false || "8" == "")){if (!(false)){?><?php }}}?>Daytime Phone: </label><input name="DayPhone" type="text" value="<?php echo(ValidatedField("homealert","DayPhone")) ?>" maxlength=40><div class="small">Include Area Code </div></div><div class="optional"><label for="EveningPhone">Evening Phone:</label><inputname="EveningPhone" type="text" id="EveningPhone" value="<?php echo(ValidatedField("homealert","EveningPhone")) ?>"></div><div class="optional"><label for"fax">Fax: </label><input name="fax" type="text" id="fax" value="<?php echo(ValidatedField("homealert","fax")) ?>" maxlength=40></div><div class="required"><label for="email"><?phpif (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "2" . ",") !== false || "2" == "")){if (!(false)){?><?php // homealert(2:)}}}?> Email: </label><input name="email" type="text" size="45" id="email" value="<?php echo(ValidatedField("homealert","email")) ?>"/></div><div class="optional"><label for="Address">Address: </label> <input name="Address" type="text" id="Address" value="<?php echo(ValidatedField("homealert","Address")) ?>"></div><div class="optional"><label for"City">City: </label><input name="City" type="text" id="City" value="<?php echo(ValidatedField("homealert","City")) ?>"></div><div class="optional"><label for="State">State: </label><select name="State"> <option value=" " <?php if (!(strcmp(" ", (ValidatedField("homealert","State"))))) {echo "selected=\"selected\"";} ?>>Select</option> <?php do {?> <option value="<?php echo $row_rsState['code_sta']?>"<?php if (!(strcmp($row_rsState['code_sta'], (ValidatedField("homealert","State"))))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsState['name_sta']?></option> <?php } while ($row_rsState = mysql_fetch_assoc($rsState));$rows = mysql_num_rows($rsState);if($rows > 0) { mysql_data_seek($rsState, 0);$row_rsState = mysql_fetch_assoc($rsState);} ?></select></div><div class="optional"><label for="Zip">Zip Code: </label> <input name="Zip" type="text" id="Zip" value="<?php echo(ValidatedField("homealert","Zip")) ?>"></div></fieldset><fieldset><legend>Property Information</legend><div class="required"><label for="searchState">State/Province</label><select name="searchState"><option value=" " <?php if (!(strcmp(" ", (ValidatedField("homealert","searchState"))))) {echo "selected=\"selected\"";} ?>>Select</option><?php do {?><option value="<?php echo $row_rsState['code_sta']?>"<?php if (!(strcmp($row_rsState['code_sta'], (ValidatedField("homealert","searchState"))))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsState['name_sta']?></option><?php } while ($row_rsState = mysql_fetch_assoc($rsState));$rows = mysql_num_rows($rsState);if($rows > 0) { mysql_data_seek($rsState, 0);$row_rsState = mysql_fetch_assoc($rsState);} ?></select></div><div class="required"><label for="Area"> <?phpif (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "6" . ",") !== false || "6" == "")) {if (!(false)){?> <?php }}}?>Area: </label><textarea name="Area"><?php echo(ValidatedField("homealert","Area")) ?></textarea><div class="small">County or area of search. Required to set up email updates</div> </div><div class="required"> <label for="PriceRangeLower"><?php if (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "3" . ",") !== false || "3" == "")){if (!(false)){ ?><?php}} }?>Minimum Price:</label> <input name="PriceRangeLower" type="text" class="formtext" value="<?php echo(ValidatedField("homealert","PriceRangeLower")) ?>"/></div><div class="required"><label for="PriceRangeUpper"><?php if (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "4" . ",") !== false || "4" == "")){if (!(false)){ ?> <?php }}}?>