<!--#include virtual="/includes/topofpage.asp"-->
    <%	
Dim Page 
Page = "7"

Dim Conn
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open Application("conn_string")

If (UCase(Request.ServerVariables("REQUEST_METHOD")) = "POST" And Request.Form("page") = "0") Then
	If Request.Form("Admin_Group_ID") <> "" Then
		Session("Admin_Group_ID") = Request.Form("Admin_Group_ID")
	End If
	
	If Session("Admin_Group_ID") = "" Then
		Session("Admin_Group_ID") = "0"
	End If
End If

Dim SQLName, RSName
SQLName = "get_entity_from_group @Group_ID='" & Session("Admin_Group_ID") & "'"
Set RSName=Conn.Execute(SQLName)


If (UCase(Request.ServerVariables("REQUEST_METHOD")) = "POST" And Request.Form("page") = Page) Then
	Dim i, Form_String, Sub_String
	Dim SQL, RS
	
Form_String = Split(Request.Form, "&", -1)

    i=2
    Do while i < (Request.Form.Count)
    SQL = "Update_Attribute '" & Session("Admin_Group_ID") & "','"
    Sub_String = Split(Form_String(i), "=", -1)
    SQL = SQL & Sub_String(0) & "','" & Sub_String(1) & "', '7'"
    Conn.Execute (SQL)
    i=i+1
    Loop 
    
    If Request.Form("cont") = "1" Then Response.Redirect "default.asp"
    If Request.Form("cont") = "2" Then Response.Redirect "on-site-business_admin.asp"

End If
%>



<html>
<STYLE>
BODY {SCROLLBAR-FACE-COLOR: #5e5ebe; SCROLLBAR-HIGHLIGHT-COLOR: #5e5ebe; SCROLLBAR-SHADOW-COLOR: #5e5ebe; SCROLLBAR-3DLIGHT-COLOR: #5e5ebe; SCROLLBAR-ARROW-COLOR:  #6666CC; SCROLLBAR-TRACK-COLOR: #E3E3E3; SCROLLBAR-DARKSHADOW-COLOR: #666666; }
</STYLE>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function Sub_Form(cont) {
form1.cont.value=cont
form1.submit();
}

//-->
</script>
<link rel="stylesheet" href="../Style-sheets/standard-input-form.css" type="text/css">
<link rel="stylesheet" href="/Style-sheets/headline.css" type="text/css">
<link rel="stylesheet" href="/Style-sheets/galley-text-indent.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/icon-return-to-main-2.gif','images/icon-submit-changes-2.gif','images/icon-continue-wizard-2.gif')">
<form name="form1" method="post" action="">
<INPUT type="hidden" id=page name=page value="<%=Page%>">
<INPUT type="hidden" id=cont name=cont value="">
  <table width="525" border="0" cellspacing="0" cellpadding="2" align="center">
    <tr> 
      <td width="338">&nbsp;</td>
      <td align="right" width="187">&nbsp;</td>
    </tr>
    <tr> 
      <td width="338" bgcolor="#5e5ebe" class="headline-ffffff" 

align="center">On-Site Features</td>

      <td bgcolor="#5e5ebe" align="right" width="187"><a href="default.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','images/icon-return-to-main-2.gif',1)"><img src="images/icon-return-to-main.gif" width="75" height="17" usemap="#returntomain" border="0" name="Image1"></a></td>
    </tr>
    <% If Not RSName.EOF Then %>
    <tr> 
      <td class="galley-text-indent" colspan="2"><%=RSName("Name")%> - <%=RSName("City")%>, 
        <%=RSName("State")%>&nbsp; <%=RSName("ZIP")%></td>
    </tr>
    <% Else %>
    <tr> 
      <td class="galley-text-indent-alert" colspan="2">No Entity Selected! Go 
        back and choose a location to edit from the dropdown menu.</td>
    </tr>
    <% End If %>
    <% RSName.Close %>
  </table>
  <table width="500" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr> 
      <td width="230" class="manage-menu">Atm Machine</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="35" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
<!--    <tr> 
      <td width="230" class="manage-menu">Corrals/stalls</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="120" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
-->    
    <tr> 
      <td width="230" class="manage-menu">Driving range</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="147" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Equestrian trails</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="158" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Fishing</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="172" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
<!--    <tr> 
      <td width="230" class="manage-menu">Golf</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="192" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
-->    
    <tr> 
      <td width="230" class="manage-menu">Golf Course</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="193" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Bar-B-Que Facilities</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="51" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Hiking Trails</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="218" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Bike Trails</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="66" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Horseshoes</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="222" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Internet Café</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="238" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Lake</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="253" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Beach View</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="562" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Lake View</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="563" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">River View</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="564" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Beach Front</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="559" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Lake Front</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="560" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">River Front</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="561" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Marina</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="275" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Mini Golf</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="291" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Newsstand</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="305" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
<!--    <tr> 
      <td width="230" class="manage-menu">Parking</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="319" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Parking Facility</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="320" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
-->    
    <tr> 
      <td width="230" class="manage-menu">Parking Self</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="321" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Parking/Garage</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="323" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Phone Jack For Fax And Pc</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="332" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Playground </td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="337" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Pool table</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="340" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Tennis Courts</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="354" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Putting Green</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="358" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
<!--    <tr> 
      <td width="230" class="manage-menu">Putting range</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="359" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
-->    
    <tr> 
      <td width="230" class="manage-menu">Rec Room</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="363" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Renovated</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="368" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
<!--    <tr> 
      <td width="230" class="manage-menu">Safe Deposit Box</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="389" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
-->    
    <tr> 
      <td width="230" class="manage-menu">Safe Deposit Boxes</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="390" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Vending Machines</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="476" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Video game center</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="478" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Volleyball</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="483" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Walk paths</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="487" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Waterfalls And Lagoons</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="493" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
    <tr> 
      <td width="230" class="manage-menu">Wedding Chapel</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="495" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
<!--    <tr> 
      <td width="230" class="manage-menu">Wheelchair Accessible</td>
      <td width="72" class="manage-menu"> 
        <input type="checkbox" name="498" value="True">
        Yes </td>
      <td width="65">&nbsp;</td>
    </tr>
-->    
  </table>
  <table width="525" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr bgcolor="#5e5ebe"> 
    <td align="right" width="49%"><a href="javascript:Sub_Form('1');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('submitchanges','','images/icon-submit-changes-2.gif',1)"><img src="images/icon-submit-changes.gif" width="200" height="15" name="submitchanges" border="0"></a></td>
    <td width="51%"><a href="javascript:Sub_Form('2');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','images/icon-continue-wizard-2.gif',1)"><img src="images/icon-continue-wizard.gif" width="150" height="15" usemap="#continue" border="0" name="Image2"></a></td>
  </tr>
  <tr> 
    <td width="49%">&nbsp;</td>
    <td width="51%">&nbsp;</td>
  </tr>
</table>
</form></body>
</html>
