home *** CD-ROM | disk | FTP | other *** search
/ 202.53.64.216 / 202.53.64.216.tar / 202.53.64.216 / revelationindia / testprayer.asp < prev    next >
Text File  |  2004-09-27  |  2KB  |  87 lines

  1. <!--#include file="increvelation.asp"-->
  2. <%
  3.     if len(session("adminid"))= 0 then
  4.         Response.Redirect "adminlogin.asp"
  5.     end if
  6. %>
  7.  
  8. <%
  9.     dim EnquiryId,Email,Message1
  10.     dim Flag
  11.     dim rsPrayer
  12.     
  13.     'EnquiryId = Request.QueryString("enqid")
  14.         
  15.     'Flag = Request.QueryString("flag")
  16.     
  17.     EnquiryId = 2
  18.     Flag = "Prayer"
  19.     
  20.     set rsPrayer = server.CreateObject("adodb.recordset")
  21.     
  22.     set rsPrayer = GetEnquiries(Flag,EnquiryId)
  23.     
  24.     'if rsPrayer.EOF = true and rsPrayer.BOF = true then
  25.         
  26.     'end if
  27.     
  28.     Email = rsPrayer.Fields("email")
  29.     Message1 = rsPrayer.Fields("message")
  30.     
  31.     
  32. %> 
  33.  
  34. <html>
  35. <head>
  36. <title>RevelationIndia-Admin</title>
  37. <style>
  38. A
  39.             {
  40.                 COLOR : white; Text-Decoration : underline
  41.             }
  42.  
  43.             A:Hover
  44.             {
  45.                 COLOR : #cc0000;Text-Decoration : underline
  46.             }
  47. </style>
  48. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  49. </head>
  50. <body bgcolor="#F7F7FF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  51.  <!--#include file ="include\admintop.inc"--> 
  52.       
  53.   
  54. <form name = "frmreply.asp" action = "posttestprayer.asp?enqid=<%=Enquiryid%>" method = "post">
  55. <table width="779" border="0" cellspacing="0" cellpadding="0" height="500">
  56.   <tr> 
  57.     <td width="150" rowspan="9" valign="top"> 
  58.    <%' <!--#include file ="include\lefthome.inc"-->  %>
  59.     </td>
  60.     <td colspan="2" align="center" valign="top" rowspan="9" width="700"> 
  61. <CENTER>
  62. <font color = navy size=4 face = verdana >
  63. <b>Reply To Prayer Request</b></font></CENTER>
  64. <br>
  65. <TABLE WIDTH="75%" BORDER=0 CELLSPACING=2 CELLPADDING=5 align = center>
  66.     <TR>
  67.         <TD><font size=2 color = navy face=verdana><b>To</b></font></TD>
  68.         <TD><input name = "to" size = 45 value="<%=Email%>" ></TD>
  69.     </TR>
  70.     <TR>
  71.         <TD><font size=2 color = navy face=verdana ><b>Subject</b></font></TD>
  72.         <TD><INPUT name=subject size=45 value="RE: <%=Message1%>" ></TD>
  73.     </TR>
  74.     <TR>
  75.         <TD><font size=2 color = navy face=verdana><b>Message</b></font></TD>
  76.         <TD><TEXTAREA cols=65 name=message rows=15></TEXTAREA></TD>
  77.     </TR>
  78.     <TR>
  79.         <TD> </TD>
  80.         <TD align = right><INPUT type="submit" value=" Post " id=submit1 name=submit1 >
  81.         <INPUT type="reset" value="Cancel" id=reset1 name=reset1>
  82.         <INPUT type="button" value="Back" id=back name=back onclick="javascript:history.back(1)"></TD>
  83.     </TR>
  84. </TABLE></CENTER></FONT>
  85.  
  86. </BODY>
  87. </HTML>