<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Admin Control Panel</title>
<style>A:hover {color: #FF0000}</style>
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
//  End -->
</script>
</head>

<body link="#000080" vlink="#000080" alink="#000080" bgcolor="#FFFFFF">

<table border="1" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse" bordercolor="#111111">
  <tr>
    <td width="100%" bgcolor="#000000" colspan="4">
    <table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse" bordercolor="#111111">
      <tr>
        <td width="100%" background="{images}/hdrBG.gif">
        <img src="{images}/hdr.gif" border="0" width="744" height="26"></td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#666666" rowspan="2" nowrap valign="top">
    {menu}
    </td>
    <td colspan="3" bgcolor="#E6E6E6">&nbsp;</td>
  </tr>
  <tr>
    <td width="80%" colspan="3" valign="top">&nbsp;<div align="center">
      <center>
              <form name="form1" method="get" action="settings_complete.php">
            <table border="1" cellpadding="4" width="90%" cellspacing="0">
        <tr>
          <td width="100%" bgcolor="#E6E6E6"><font color="#000080"><b>Program
          Settings</b></font></td>
        </tr>
        <tr>
          <td width="100%" bgcolor="#F7F7F7">
          <p align="right">
          <font size="2">
          <a target="_blank" onclick="NewWindow(this.href,'name','700','450','yes');return false;" href="http://www.ultimatelocator.com/user_manual/cp_settings.htm">Show Help for this page</a></font></p>
                  <table cellSpacing="0" cellPadding="4" border="0" style="border-collapse: collapse" bordercolor="#111111">
                    <tr>
                      <td noWrap colSpan="2" bgcolor="#E6E6E6"><b><font size="4">General
                        Settings</font></b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Admin Image Directory:</font></td>
                      <td noWrap> <input size="40" value="{image_path}" name="image_path">
                        <br> <font size="-1">e.g.: www.mysite.com/locator/templates/images
                        would be<br>
                        entered as /locator/templates/images</font> &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Organization Email Address:</font></td>
                      <td noWrap> <input size="30" value="{organizationemail}" name="organizationemail">
                        &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Organization Name:</font></td>
                      <td noWrap><input size="30" value="{companyname}" name="organization">
                        &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Website Title:</font></td>
                      <td noWrap> <input size="40" value="{sitetitle}" name="site">
                        &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Heading Text:</font></td>
                      <td noWrap><input size="40" value="{headtext}" name="headtext">
                        &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Default Search Radius:</font></td>
                      <td noWrap> <input size="4" value="{100}" name="searchlimit">
                        &nbsp;mile radius</td>
                    </tr>
                    <tr>
                      <td noWrap colSpan="2" bgcolor="#E6E6E6"><font size="4"><b>
                        Required Fields:</b></font></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Name:</font></td>
                      <td noWrap> <input type="checkbox"  {rname} value="1" name="name_required">
                        &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Street Address:</font></td>
                      <td noWrap> <input type="checkbox"  {raddress} value="1" name="address_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">City:</font></td>
                      <td noWrap> <input type="checkbox"  {rcity} value="1" name="city_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">State:</font></td>
                      <td noWrap> <input type="checkbox"  {rstate} value="1" name="state_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Country:</font></td>
                      <td noWrap> <input type="checkbox"  {rcountry} value="1" name="country_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Zip Code:</font></td>
                      <td noWrap> <input type="checkbox"  {rzip} value="1" name="zip_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Telephone:</font></td>
                      <td noWrap> <input type="checkbox"  {rtelephone} value="1" name="telephone_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Fax:</font></td>
                      <td noWrap><input type="checkbox" {rfax} value="1" name="fax_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Email Address:</font></td>
                      <td noWrap><input type="checkbox" {remail} value="1" name="email_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Website URL:</font></td>
                      <td noWrap> <input type="checkbox"  {rwebsite} value="1" name="website_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User 1:</font></td>
                      <td noWrap><input type="checkbox"  {ruser1} value="1" name="user1_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User 2:</font></td>
                      <td noWrap><input type="checkbox"  {ruser2} value="1" name="user2_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User 3:</font></td>
                      <td noWrap><input type="checkbox"  {ruser3} value="1" name="user3_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User 4:</font></td>
                      <td noWrap><input type="checkbox"  {ruser4} value="1" name="user4_required"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User 5:</font></td>
                      <td noWrap><input type="checkbox"  {ruser5} value="1" name="user5_required"></td>
                    </tr>
                    <tr>
                      <td noWrap colSpan="2" bgcolor="#E6E6E6"><font size="4"><b>Hidden
                        Fields:</b></font></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Name:</font></td>
                      <td noWrap> <input type="checkbox" size="2" {hname} value="1" name="hide_name"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Street Address:</font></td>
                      <td noWrap> <input type="checkbox" size="2"  {haddress} value="1" name="hide_address"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">City:</font></td>
                      <td noWrap> <input type="checkbox" size="2" {hcity} value="1" name="hide_city"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">State:</font></td>
                      <td noWrap> <input type="checkbox" size="2"  {hstate} value="1" name="hide_state"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Country:</font></td>
                      <td noWrap> <input type="checkbox" size="2"  {hcountry} value="1" name="hide_country"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Zip Code:</font></td>
                      <td noWrap> <input type="checkbox" size="2"  {hzip} value="1" name="hide_zip"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Telephone:</font></td>
                      <td noWrap> <input type="checkbox" size="2" {htelephone}  value="1" name="hide_telephone"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Fax:</font></td>
                      <td noWrap> <input type="checkbox" size="2" {hfax} value="1" name="hide_fax"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Email Address:</font></td>
                      <td noWrap> <input type="checkbox" size="2"  {hemail} value="1" name="hide_email"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Website URL:</font></td>
                      <td noWrap> <input type="checkbox" size="2" {hwebsite} value="1" name="hide_website"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User 1:</font></td>
                      <td noWrap> <input type="checkbox" size="2"  {huser1} value="1" name="hide_user1"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User 2:</font></td>
                      <td noWrap> <input type="checkbox" size="2"  {huser2} value="1" name="hide_user2"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User 3:</font></td>
                      <td noWrap> <input type="checkbox" size="2"  {huser3} value="1" name="hide_user3"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User 4:</font></td>
                      <td noWrap> <input type="checkbox" size="2"  {huser4} value="1" name="hide_user4"></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User 5:</font></td>
                      <td noWrap> <input type="checkbox" size="2"  {huser5} value="1" name="hide_user5"></td>
                    </tr>
                    <tr>
                      <td noWrap colSpan="2" bgcolor="#E6E6E6"><b><font size="4">
                        Mapping Settings:</font></b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">MapQuest Base URL:</font></td>
                      <td noWrap> http:// <input size="36" value="{mapquesturl}" name="mapquest_link">
                        &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Yahoo! Maps Base URL:</font></td>
                      <td noWrap> http:// <input size="36" value="{yahoourl}" name="yahoo_link">
                        &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Show Map Link In Results:</font></td>
                      <td noWrap><b>
                        <input size="2" value="{11}" name="show_map_link">
                        &nbsp;</b><font size="-1">1=Yes, 0=No</font></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Open Map Link In New Window:</font></td>
                      <td noWrap><b>
                        <input size="2" value="{111}" name="map_target">
                        </b>&nbsp;<font size="-1">1=Yes, 0=No</font></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Map Link Text:</font></td>
                      <td noWrap><b>
                        <input value="{showmap}" name="map_link_text" size="20">
                        &nbsp;</b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Active Map Service</font></td>
                      <td noWrap><b>
                        {map_selection}
                        &nbsp;</b></td>
                    </tr>
                    <tr>
                      <td noWrap colSpan="2" bgcolor="#E6E6E6"><b><font size="4">
                        Miscellaneous Settings:</font></b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Open Website Link In New Window:</font></td>
                      <td noWrap><b>
                        <input size="2" value="{1}" name="website_link_target">
                        &nbsp;</b><font size="-1">1=Yes, 0=No</font></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Admin Max # Records Displayed
                        Per Page:</font></td>
                      <td noWrap><b>
                        <input size="2" value="{10}" name="max_records">
                        </b> </td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Front-End Max # Records Displayed
                        Per Page:</font></td>
                      <td noWrap><b>
                        <input size="2" value="{001}" name="front_max_records">
                        </b> </td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Front-End Max # Records Returned:<br> (zip code searches only)</font></td>
                      <td noWrap> <input size="2" value="{max_data}" name="max_data">
                        &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2"># Page Links Displayed Per Page:</font></td>
                      <td noWrap> <input size="2" value="{max_page}" name="max_page">
                        &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Admin Odd Row Color:</font></td>
                      <td noWrap> <input size="20" value="{oddrows}" name="oddrows">
                        &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Admin Even Row Color:</font></td>
                      <td noWrap> <input size="20" value="{evenrows}" name="evenrows">
                        &nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Use header and footer templates:</font></td>
                      <td noWrap> <input size="2" maxlength="1" value="{headerfooter}" name="headerfooter">
                        &nbsp;<font size="-1">1=Yes, 0=No</font></td>
                    </tr>                    
                    <tr>
                      <td noWrap colSpan="2" bgcolor="#E6E6E6"><b><font size="4">
                        MySQL Database Settings:</font></b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Database Host:</font></td>
                      <td noWrap><b>
                        <input size="25" name="hostname_zip" value="{localhost}">
                        </b> <font size="2">*usually localhost</font></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Database Name:</font></td>
                      <td noWrap><b>
                        <input size="25" name="database_zip" value="{mydbname}">
                        </b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Login Username:</font></td>
                      <td noWrap><b>
                        <input size="25" value="{admin}" name="username_zip">
                        &nbsp;</b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Login Password:</font></td>
                      <td noWrap><b>
                        <input size="20" value="{mypassword}" name="password_zip" type="password">
                        </b></td>
                    </tr>
                    <tr bgcolor="#E6E6E6">
                      <td noWrap colSpan="2"><b><font size="4"> User Defined fields:</font></b></td>
                    </tr>
                    <tr>
                      <td noWrap colSpan="2"><font size="-1"> Leave Blank to Disable</font></b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User1 Label:</font></td>
                      <td noWrap><b>
                        <input size="25" name="users1" value="{user1label}">
                        </b> </td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User2 Label:</font></td>
                      <td noWrap><b>
                        <input size="25" name="users2" value="{user2label}">
                        </b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User3 Label:</font></td>
                      <td noWrap><b>
                        <input name="users3" value="{user3label}" size="25">
                        </b> </td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User4 Label:</font></td>
                      <td noWrap><b>
                        <input size="25" value="{user4label}" name="users4">
                        &nbsp;</b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">User5 Label:</font></td>
                      <td noWrap><b>
                        <input size="25" value="{user5label}" name="users5" >
                        </b></td>
                    </tr>
                    <tr bgcolor="#E6E6E6">
                      <td colspan="2" noWrap><b><font size="4">Limit Searches:</font></b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Turn this feature on/off:</font></td>
                      <td noWrap><font size="2">{ext_onoff}</font></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Max # of searches per IP Address:</font></td>
                      <td noWrap><b>
                        <input size="6" name="ext_maxsearch" value="{ext_maxsearch}">
                        </b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Number of Minutes to deny search ability:</font>
                        <br><font size="1">60=1hr, 1440=24hrs, 10080=7days, 43829=1mon, 525948=1yr</font></td>
                      <td noWrap><input size="6" name="ext_minutes" value="{ext_minutes}">
                        </b></td>
                    </tr>
                    <tr>
                      <td valign="top" noWrap><font size="2">Warning Message:</font><br><font size="1">This message will be displayed to the user<br>once they have exceeded the search limit. (HTML Ok!)</font></td>
                      <td noWrap><textarea rows="5" cols="35" name="ext_msg">{ext_msg}</textarea></td>
                    </tr>
                    <tr>
                      <td noWrap colSpan="2" bgcolor="#E6E6E6"><b><font size="4">
                        Visitor Add Permissions:</font></b></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Who is allowed to add locations<br>
                        to database:</font></td>
                      <td noWrap> <select size="1" name="whoadds">
                          <option value="1" {select1}>Admin</option>
                          <option value="2" {select2}>Admin &amp; Visitors</option>
                        </select> </td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">How do you want Visitor Added<br>
                        locations to be processed:</font></td>
                      <td noWrap> <select size="1" name="howadds">
                          <option value="1" {select11}>Admin Must Manually Approve</option>
                          <option value="2" {select22}>Add Immediately to Database</option>
                        </select></td>
                    </tr>
                    <tr>
                      <td noWrap><font size="2">Add a Location Text:</font></td>
                      <td noWrap> <input size="25" value="{linkaddtext}" name="linkaddtext"></td>
                    </tr>
                    <tr>
                      <td noWrap colSpan="2"><input  type="hidden" size="40" value="{datapath}" name="path">
                        <input  type="hidden" size="40" value="{urlpath}" name="url_path">
                        <input  type="hidden" size="40" value="{admin_path}" name="admin_path">
                        <input  type="hidden" size="40" value="{user_path}" name="user_path">
                        <input size="40" type="hidden"  value="{/home/username/www/locator/}" name="systempath">
                        <input size="40" type="hidden"  value="{http://www.website.com/locations/locator.php}" name="formaction">
                        <input name="version" type="hidden" id="version" value="{version}">
                        <input name="image_path_final" type="hidden" id="image_path_final" value="{image_path_final}"></td>
                    </tr>
                    <tr>
                      <td noWrap colSpan="2">&nbsp;</td>
                    </tr>
                    <tr>
                      <td noWrap colSpan="2"> <p align="center">
                          <input type="submit" value="Save Changes">
                      </td>
                    </tr>
                  </table>
          <p align="left">&nbsp;</td>
        </tr>
      </table>

          </form>
      </center>
    </div>
    </td>
  </tr>
  <tr>
    <td width="50%" bgcolor="#000000" colspan="2">&nbsp;</td>
    <td width="50%" bgcolor="#000000" colspan="2"><align="center"><font size="2" color="#FFFFFF">Ultimate Locator {version}</font></td>
  </tr>
</table>

</body>

</html>