ARC Pressure Data Headquarters
Welcome to the Administration area.
<%if sCaller="subscriber" then%>
| |
Add Subscriber |
| |
|
This area is used to add subscribers to ARC's Newsletter Subscriber list. |
| |
Search for a Subscriber |
| |
|
This area is used find a subscriber on ARC's Newsletter Subscriber list. |
| |
Edit/Delete File |
| |
|
This area is used to edit or delete a subscriber's information from ARC's Newsletter Subscriber list. |
<%elseif sCaller="add" then%>
Add Subscriber
<%elseif sCaller="search" then%>
Search for a Subscriber
<%elseif sCaller="details" then%>
Subscriber Details
<%
sSQL = "Select * from Subscribers where subscriberid=" & Request.QueryString("p") & ""
%>
<%
set oRs1 = Server.CreateObject("ADODB.Recordset")
oRs1.Open sSQL, oConn, 3, 3
%>
|
First Name:
|
<%=oRs1("FirstName")%>
|
Address Line 1:
|
<%=oRs1("AddressLine1")%>
|
|
Last Name:
|
<%=oRs1("LastName")%>
|
Address Line 2:
|
<%=oRs1("AddressLine2")%>
|
|
Company:
|
<%=oRs1("Company")%>
|
City:
|
<%=oRs1("City")%>
|
|
Phone Number:
|
<%=oRs1("PhoneNumber")%>
|
State/Province:
|
<%=oRs1("State")%>
|
|
Fax Number:
|
<%=oRs1("FaxNumber")%>
|
Zip Code:
|
<%=oRs1("ZipCode")%>
|
|
Email Address:
|
<%=oRs1("EmailAddress")%>
|
Country:
|
<%=oRs1("Country")%>
|
<%elseif sCaller="editdetails" then%>
Edit Subscriber Details
<%
sSQL = "Select * from Subscribers where subscriberid=" & Request.QueryString("p") & ""
%>
<%
set oRs1 = Server.CreateObject("ADODB.Recordset")
oRs1.Open sSQL, oConn, 3, 3
%>
<%else%>
Edit Subscriber Data
Select a Subscriber to Edit
<%if view="active" then %>
<%
sSQL = "Select * from Subscribers where status='Active' order by LastName, FirstName, Status"
set oRs1 = Server.CreateObject("ADODB.Recordset")
oRs1.Open sSQL, oConn, 3, 3
%>
<%elseif view="inactive" then %>
<%
sSQL = "Select * from Subscribers where status='Inactive' order by FirstName, LastName, Status"
set oRs1 = Server.CreateObject("ADODB.Recordset")
oRs1.Open sSQL, oConn, 3, 3
%>
<%else%>
<%
sSQL = "Select * from Subscribers order by FirstName, LastName, Status"
set oRs1 = Server.CreateObject("ADODB.Recordset")
oRs1.Open sSQL, oConn, 3, 3
%>
<%end if%>
| Edit |
Delete |
Details |
First Name |
Last Name |
Company |
Email Address |
Status |
Date Last Updated |
<% do While not oRs1.EOF %>
">
| ">Edit |
">Delete |
">Details |
<%=oRs1("FirstName")%> |
<%=oRs1("LastName")%> |
<%=oRs1("Company")%> |
<%=oRs1("EmailAddress")%> |
<%=oRs1("Status")%> |
<%=oRs1("LastUpdate")%> |
<%oRs1.MoveNext()%>
<%loop%>
|
<%end if%>