<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% Dim rs_users Dim rs_users_numRows Set rs_users = Server.CreateObject("ADODB.Recordset") rs_users.ActiveConnection = MM_piba_STRING rs_users.Source = "SELECT * FROM users" rs_users.CursorType = 0 rs_users.CursorLocation = 2 rs_users.LockType = 1 rs_users.Open() rs_users_numRows = 0 %> <% Dim rs_members__sort rs_members__sort = "member" If (Request.QueryString("sort") <> "") Then rs_members__sort = Request.QueryString("sort") End If %> <% Dim rs_members__dir rs_members__dir = "asc" If (Request.QueryString("dir") <> "") Then rs_members__dir = Request.QueryString("dir") End If %> <% Dim rs_members__MMColParam2 rs_members__MMColParam2 = "%" If (Request.QueryString("alph") <> "") Then rs_members__MMColParam2 = Request.QueryString("alph") End If %> <% Dim rs_members Dim rs_members_numRows Set rs_members = Server.CreateObject("ADODB.Recordset") rs_members.ActiveConnection = MM_piba_STRING rs_members.Source = "SELECT * FROM members WHERE member LIKE '" + Replace(rs_members__MMColParam2, "'", "''") + "%' ORDER BY " + Replace(rs_members__sort, "'", "''") + " " + Replace(rs_members__dir, "'", "''") + "" rs_members.CursorType = 0 rs_members.CursorLocation = 2 rs_members.LockType = 1 rs_members.Open() rs_members_numRows = 0 %> <% ' *** Validate request to log in to this site. MM_LoginAction = Request.ServerVariables("URL") If Request.QueryString<>"" Then MM_LoginAction = MM_LoginAction + "?" + Server.HTMLEncode(Request.QueryString) MM_valUsername=CStr(Request.Form("username")) If MM_valUsername <> "" Then MM_fldUserAuthorization="access" MM_redirectLoginSuccess="home.asp" MM_redirectLoginFailed="error.asp" MM_flag="ADODB.Recordset" set MM_rsUser = Server.CreateObject(MM_flag) MM_rsUser.ActiveConnection = MM_piba_STRING MM_rsUser.Source = "SELECT username, password" If MM_fldUserAuthorization <> "" Then MM_rsUser.Source = MM_rsUser.Source & "," & MM_fldUserAuthorization MM_rsUser.Source = MM_rsUser.Source & " FROM users WHERE username='" & Replace(MM_valUsername,"'","''") &"' AND password='" & Replace(Request.Form("password"),"'","''") & "'" MM_rsUser.CursorType = 0 MM_rsUser.CursorLocation = 2 MM_rsUser.LockType = 3 MM_rsUser.Open If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then ' username and password match - this is a valid user Session("MM_Username") = MM_valUsername If (MM_fldUserAuthorization <> "") Then Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value) Else Session("MM_UserAuthorization") = "" End If if CStr(Request.QueryString("accessdenied")) <> "" And false Then MM_redirectLoginSuccess = Request.QueryString("accessdenied") End If MM_rsUser.Close Response.Redirect(MM_redirectLoginSuccess) End If MM_rsUser.Close Response.Redirect(MM_redirectLoginFailed) End If %> Padre Island Business Association
 

Home
Members
Bulletin
Events
Contact Us

Welcome to the Padre Island Business Association!

Businesses interested in becoming members of the Padre Island Business Association should contact the Membership Committee Chair, John White.

All other inquiries, please give us a call at 361.949.9498 or use the contact form below. Either way, we'd love to hear from you!

 
  PIBA Updates  
First Name:
*
Last Name:
*
Email Address:
*
Phone:
*
  * = (Required)
Contact me by:
A Good Time is:
Comments or
Questions:

 

Call PIBA at:
361.949.9498
   
FAX:
361.949.4612
   
Mailing Address:
Padre Island Business Association
Suite A, PMB 313
14493 SPID,
Corpus Christi, TX 78418
   
 
 
PIBA
 
 
Username:
 
Password:
 
PIBA

MEMBERSHIP APPLICATION
HOME
| MEMBERS | BULLETIN | EVENTS | CONTACT
Copyright © 2008. All Rights Reserved. Padre Island Business Assocation

www.padreislandbusiness.com

 

<% rs_users.Close() Set rs_users = Nothing %> <% rs_members.Close() Set rs_members = Nothing %>