home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
bombers.k12.ar.us
/
bombers.k12.ar.us.tar
/
bombers.k12.ar.us
/
survey
/
NoResults.asp
< prev
next >
Wrap
Text File
|
2006-11-29
|
3KB
|
95 lines
<!--#Include File="Include/Top_inc.asp"-->
<%
'***********************************************************************
' Application: SelectSurveyASP Advanced v8.1.11
' Author: Aaron Baril for ClassApps.com
' Page Description: This page is displayed when a user attempts to view
' the results of a survey that does not yet have any
' results.
'
' COPYRIGHT NOTICE
'
' See attached Software License Agreement
'
' (c) Copyright 2002 - 2006 by ClassApps.com. All rights reserved.
'***********************************************************************
%>
<!--#Include File="Include/SurveyUtility_inc.asp"-->
<!--#Include File="Include/Utility_inc.asp"-->
<!--#Include File="Include/CurrentUser_inc.asp"-->
<!--#Include File="Include/SurveySecurity_inc.asp"-->
<!--#Include File="Include/Constants_inc.asp"-->
<!--#Include File="Include/Config_inc.asp"-->
<!--#Include File="Include/adovbs_inc.asp"-->
<html>
<head>
<title>No Results</title>
<link rel="stylesheet" href="Resources/StyleSheet/SurveyStyle.css">
</head>
<body class="MainBodyStyle">
<!--#Include File="Include/FrameworkTop_inc.asp"-->
<table border="0" cellspacing="0" cellpadding="0" width="754" class="MediumBlueBackgroundColor">
<tr>
<td height="36" valign="center">
<span class="H1HeadingStyle"><a name="skipnav" tabindex="1">Surveys</a></span>
</td>
</tr>
</table>
<!--#Include File="Include/FrameworkTop2_inc.asp"-->
<%
Dim rsSurvey
Dim strSQL
'Select the list of owners and the title of the survey
Set rsSurvey = Server.CreateObject("ADODB.Recordset")
strSQL = "SELECT title, owners FROM sur_survey WHERE survey_id = " & Request.QueryString("SurveyID")
rsSurvey.Open ConvertSQL(strSQL), SURVEY_APP_CONNECTION, adOpenForwardOnly, adLockReadOnly, adCmdText
rsSurvey.MoveFirst
%>
<table width="740" border="0" cellpadding="0" cellspacing="6" class="LightGrayBackgroundColor">
<tr>
<td width="1"></td>
<td width="738" align="left" valign="center" height="36" class="Normal">
<span class="H2HeadingStyle">No Results</span>
</td>
<td width="1"> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td height="1" background="Resources/Images/ThinDivider.gif"></td></tr>
<table border="0" cellpadding="0" cellspacing="6" width="740" class="WhiteBackgroundColor">
<tr>
<td width="1" rowspan="20"></td>
<td align="left" valign="top">
<br><br>
<span class="Normal">There are currently no results for the survey '<%=rsSurvey("title")%>'.</span>
<br><br><br>
</td>
<td width="1" rowspan="20"> </td>
</tr>
<tr>
<td align="right">
<a href="SurveyList.asp"><img border="0" src="Resources/Buttons/OK.gif" alt="Click to return to the main list of surveys."></a>
</td>
</tr>
</table>
<!--#Include File="Include/FrameworkBottom_inc.asp"-->
</body>
</html>
<%
'Clean up
rsSurvey.Close
Set rsSurvey = Nothing
'Ensure that the web server returns the page
Response.Flush
%>