home *** CD-ROM | disk | FTP | other *** search
/ 202.53.64.216 / 202.53.64.216.tar / 202.53.64.216 / revelationindia / inner_enquiry.asp < prev    next >
Text File  |  2007-02-15  |  14KB  |  381 lines

  1. <SCRIPT LANGUAGE=javascript>
  2. <!--
  3.  
  4. function Validate(frm)
  5. {
  6.  
  7.     if (frm.fname.value == "" )
  8.     {
  9.         alert("Please Enter Your First Name");
  10.         frm.fname.focus();
  11.         return false;
  12.     }
  13.     if (frm.lname.value == "" )
  14.     {
  15.         alert("Please Enter Your Last Name");
  16.         frm.lname.focus();
  17.         return false;
  18.     }
  19.     if (frm.gender.value == "" )
  20.     {
  21.         alert("Please Choose the Gender");
  22.         frm.gender.focus();
  23.         return false;
  24.     }
  25.     /*if (frm.age.value == "" )
  26.     {
  27.         alert("Please Enter Your Age");
  28.         frm.age.focus();
  29.         return false;
  30.     }*/
  31.     if (frm.designation.value == "" )
  32.     {
  33.         alert("Please Enter Your Designation");
  34.         frm.designation.focus();
  35.         return false;
  36.     }
  37.     if (frm.org.value == "" )
  38.     {
  39.         alert("Please Enter Your Organisation Name");
  40.         frm.org.focus();
  41.         return false;
  42.     }
  43.     if (frm.street.value == "" )
  44.     {
  45.         alert("Please Enter Your Street Address");
  46.         frm.street.focus();
  47.         return false;
  48.     }
  49.     if (frm.city.value == "" )
  50.     {
  51.         alert("Please Enter Your City Name");
  52.         frm.city.focus();
  53.         return false;
  54.     }
  55.     if (frm.state.value == "" )
  56.     {
  57.         alert("Please Enter Your State Name");
  58.         frm.state.focus();
  59.         return false;
  60.     }
  61.     if (frm.country.value == "" )
  62.     {
  63.         alert("Please Enter Your Country Name");
  64.         frm.country.focus();
  65.         return false;
  66.     }
  67.     /*if (frm.zip.value == "" )
  68.     {
  69.         alert("Please Enter Your Zip/Postal Code");
  70.         frm.zip.focus();
  71.         return false;
  72.     }*/
  73.     if (frm.email.value == "" )
  74.     {
  75.         alert("Please Enter Your Email Id");
  76.         frm.email.focus();
  77.         return false;
  78.     }
  79.     if (frm.email.value.search('@') == -1 )
  80.     {
  81.         alert("Invalid Email Id! '@' Missing. Please Re-enter Your Email Id");
  82.         frm.email.focus();
  83.         return false;
  84.     }
  85.     if (frm.subject.value == "" )
  86.     {
  87.         alert("Please Enter Subject/Topic");
  88.         frm.subject.focus();
  89.         return false;
  90.     }
  91.     if (frm.message.value == "" )
  92.     {
  93.         alert("Please Enter Your Comments/Message");
  94.         frm.message.focus();
  95.         return false;
  96.     }
  97. }
  98.  
  99. function ClearAll(frm)
  100. {
  101.     var i ;
  102.     
  103.     for (i=0;i<frm.elements.length;i++)
  104.             frm.elements[i].value = "";
  105.     frm.fname.focus();        
  106.     return false;
  107.  
  108. }
  109.  
  110. //-->
  111. </SCRIPT> 
  112. <HTML>
  113. <HEAD>
  114. <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
  115. <TITLE>J & SM Ministries</TITLE>
  116. <style>
  117.  
  118.             A:Hover
  119.             {
  120.                 COLOR : #cc0000;Text-Decoration : none
  121.             }
  122.  
  123. </style>
  124. <link rel="stylesheet" type="text/css" href="main.css">
  125. </HEAD>
  126. <BODY onload ="javascript:document.frmenquiry.fname.focus()"  leftmargin=0 topmargin=0 bottommargin=0 rightmargin=0 bgcolor="#5e53c7">
  127. <FORM action = "postenquiry.asp?flag=enquiry" method = post name = frmenquiry onsubmit = "return Validate(this)">
  128. <TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0 bgcolor="#5e53c7" align=center>
  129.     <TR>
  130.         <TD valign=top align=middle>
  131.         <TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0 align=center>
  132.                     <TR>
  133.                         <TD valign=top align=middle> </TD>
  134.                         <TD valign=top align=middle><!--#include file="Include\topblue.inc"--></TD>
  135.                         <TD valign=top align=middle> </TD>
  136.                     </TR>
  137.                 </TABLE>
  138.  
  139.         </TD>
  140.     </TR></TR>
  141.     <TR> 
  142.     <TD valign=top align=middle></TD>
  143.   </TR>
  144.     <TR>
  145.         <TD valign=top align=middle>
  146.       <TABLE cellSpacing=0 cellPadding=0 width="96%" border=0 align=top >
  147.        <TR height=600>
  148.           <TD valign=top bgcolor="#5e53c7" width=160><!--#include file="Include\leftrev.inc"--></TD>
  149.           <TD valign=top>
  150.             <br><TABLE cellSpacing=0 cellPadding=0 width="90%" border=0 align=center>
  151.                                               <TR bgcolor="#8580d8">
  152.                                               <TD width="11"><IMG height=25 src="images/secondlefttop.jpg" width=11></TD>
  153.                                               
  154.                                               <TD width="50%" bgcolor="#8580d8" class=LeftMenu><b>CONTACT US</b></TD>
  155.                                               <TD> </TD>
  156.                                               <TD width="11"><IMG height=25 src="images/secondrighttop.jpg" width=11></TD>  
  157.                                               </TR>
  158.                                               <TR>
  159.                                               <TD colspan=3 valign=top bgcolor=#ffffff class="Para2">
  160.                                               <TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=2 height=1120>
  161.                                                     <TR>
  162.                                                         <TD class=Para2 valign=top>
  163.                                                         <TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0 align=center>
  164.                                                             
  165.                                                             <TR>
  166.                                                             <TD> </TD>
  167.                                                                 <TD> </TD>
  168.                                                             </TR>
  169.                                                             <TR>
  170.                                                             <TD class=Para5 vAlign=top> </TD>
  171.                                                                 <TD class=Para4 valign=top>
  172.                                                                 <TABLE WIDTH="100%" BORDER=0 CELLSPACING=1 CELLPADDING=2>
  173.                                                                     <TR>
  174.                                                                                                                                             
  175.                                                                         <TD valign=top align=middle><IMG src="Images\bibles11.jpg" border=1></TD>
  176.                                                                     </TR>    
  177.                                                                                     
  178.                                                                      <TR>
  179.                                                                         <TD valign=top colspan=2>
  180.                                                                         <br><TABLE WIDTH=95% BORDER=0 CELLSPACING=0 CELLPADDING=0 align=center>
  181.                                                                             <TR>
  182.                                                                                 <TD valign=top class=PgTxtB>First Name:</TD>
  183.                                                                                 <TD valign=top class=PgTxtB><input id=fname name=fname size = 27><SPAN class=ParaR>*</SPAN></TD>
  184.                                                                             </TR>
  185.                                                                             <TR><TD> </TD></TR>
  186.                                                                             <TR>
  187.                                                                                 <TD valign=top class=PgTxtB>Last Name:</TD>
  188.                                                                                 <TD valign=top class=PgTxtB><input id=lname name=lname size = 27><SPAN class=ParaR>*</SPAN></TD>
  189.                                                                             </TR>
  190.                                                                             <TR><TD> </TD></TR>
  191.                                                                             <TR>
  192.                                                                                 <TD valign=top class=PgTxtB>Gender:</TD>
  193.                                                                                 <TD valign=top class=PgTxtB><select name = gender>
  194.                                                                                 <option value = "Male" selected>Male</option>
  195.                                                                                 <option value = "Female">Female</option>
  196.                                                                                 </select><SPAN class=ParaR>*</SPAN></TD>
  197.                                                                             </TR>
  198.                                                                             <TR><TD> </TD></TR>
  199.                                                                             <TR>
  200.                                                                                 <TD valign=top class=PgTxtB>Date Of Birth:</TD>
  201.                                                                                 <TD valign=top class=PgTxtB>
  202.                                                                                 <select name = day>
  203.                                                                                     <% for i= 1 to 30 %>
  204.                                                                                     <option value = <%=i%>><%=i%>
  205.                                                                                     <%next %>
  206.                                                                                 </select>
  207.                                                                                 <select name = month>
  208.                                                                                     <option value = 01 
  209.                                                                                       selected>January</option>
  210.                                                                                     <option value = 02>February</option>
  211.                                                                                     <option value = 03>March</option>
  212.                                                                                     <option value = 04>April</option>
  213.                                                                                     <option value = 05>May</option>
  214.                                                                                     <option value = 06>June</option>
  215.                                                                                     <option value = 07>July</option>
  216.                                                                                     <option value = 08>August</option>
  217.                                                                                     <option value = 09>September</option>
  218.                                                                                     <option value = 10>October</option>
  219.                                                                                     <option value = 11>November</option>
  220.                                                                                     <option value = 12>December</option>
  221.                                                                                 </select>
  222.                                                                                 <select name = year>
  223.                                                                                     <% for i= 1940 to 2000 %>
  224.                                                                                     <option value = <%=i%>><%=i%>
  225.                                                                                     <%next %>
  226.                                                                                 </select>
  227.                                                                                 <SPAN class=ParaR>*</SPAN></TD>
  228.                                                                             </TR>
  229.                                                                             <TR><TD> </TD></TR>
  230.                                                                             <TR>
  231.                                                                                 <TD valign=top class=PgTxtB>Designation:</TD>
  232.                                                                                 <TD valign=top class=PgTxtB><input id="designation" name="designation" size = 27><SPAN class=ParaR>*</SPAN></TD>
  233.                                                                             </TR>
  234.                                                                             <TR><TD> </TD></TR>
  235.                                                                             <TR>
  236.                                                                                 <TD valign=top class=PgTxtB>Organisation:</TD>
  237.                                                                                 <TD valign=top class=PgTxtB><input id="org" name="org" size = 27><SPAN class=ParaR>*</SPAN></TD>
  238.                                                                             </TR>
  239.                                                                             <TR><TD> </TD></TR>
  240.                                                                             <TR>
  241.                                                                                 <TD valign=top class=PgTxtB>Street:</TD>
  242.                                                                                 <TD valign=top class=PgTxtB><input id="street" name="street" size = 27><SPAN class=ParaR>*</SPAN></TD>
  243.                                                                             </TR>
  244.                                                                             <TR><TD> </TD></TR>
  245.                                                                             <TR>
  246.                                                                                 <TD valign=top class=PgTxtB>City:</TD>
  247.                                                                                 <TD valign=top class=PgTxtB><input id="city" name="city" size = 27><SPAN class=ParaR>*</SPAN></TD>
  248.                                                                             </TR>
  249.                                                                             <TR><TD> </TD></TR>
  250.                                                                             <TR>
  251.                                                                                 <TD valign=top class=PgTxtB>State/Province:</TD>
  252.                                                                                 <TD valign=top class=PgTxtB><input id="state" name="state" size = 27><SPAN class=ParaR>*</SPAN></TD>
  253.                                                                             </TR>
  254.                                                                             <TR><TD> </TD></TR>
  255.                                                                             <TR>
  256.                                                                                 <TD valign=top class=PgTxtB>Country:</TD>
  257.                                                                                 <TD valign=top class=PgTxtB><input id="country" name="country" size = 27><SPAN class=ParaR>*</SPAN></TD>
  258.                                                                             </TR>
  259.                                                                             <TR><TD> </TD></TR>
  260.                                                                             <TR>
  261.                                                                                 <TD valign=top class=PgTxtB>Zip Code:</TD>
  262.                                                                                 <TD valign=top class=PgTxtB><input id="zip" name="zip" size = 27></TD>
  263.                                                                             </TR>
  264.                                                                             <TR><TD> </TD></TR>
  265.                                                                             <TR>
  266.                                                                                 <TD valign=top class=PgTxtB>Phone:</TD>
  267.                                                                                 <TD valign=top class=PgTxtB><input id="phoneno" name="phoneno" size = 27 ></TD>
  268.                                                                             </TR>
  269.                                                                             <TR><TD> </TD></TR>
  270.                                                                             <TR>
  271.                                                                                 <TD valign=top class=PgTxtB>Fax:</TD>
  272.                                                                                 <TD valign=top class=PgTxtB><input id="fax" name="fax" size = 27></TD>
  273.                                                                             </TR>
  274.                                                                             <TR>
  275.                                                                                 <TD valign=top class=PgTxtB>Email:</TD>
  276.                                                                                 <TD valign=top class=PgTxtB><input id="email" name="email" size = 27><SPAN class=ParaR>*</SPAN></TD>
  277.                                                                             </TR>
  278.                                                                             <TR>
  279.                                                                                 <TD valign=top class=PgTxtB>Enquiry About:</TD>
  280.                                                                                 <TD valign=top class=PgTxtB>
  281.                                                                                 <SELECT id=subject name=subject>
  282.                                                                                     <OPTION value="Advertisement" 
  283.                                                                                           selected>Advertisement</OPTION>
  284.                                                                                      <OPTION value="Articles">Articles</OPTION>    
  285.                                                                                     <OPTION value="Issues">Issues</OPTION>
  286.                                                                                     <OPTION value="Ministry">Ministry</OPTION>
  287.                                                                                     <OPTION value="Matrimonial">Matrimonial</OPTION>
  288.                                                                                     <OPTION value="Subscription">Subscription</OPTION>
  289.                                                                                     <OPTION value="Services">Services</OPTION>
  290.                                                                                     <OPTION value="Other">Other</OPTION>
  291.                                                                                     </SELECT>
  292.                                                                                 <SPAN class=ParaR>*</SPAN></TD>
  293.                                                                             </TR>
  294.                                                                             <TR>
  295.                                                                                 <TD valign=top class=PgTxtB>Message:</TD>
  296.                                                                                 <TD valign=top class=PgTxtB><TEXTAREA cols=45 id=message name=message rows=10></TEXTAREA><SPAN class=ParaR>*</SPAN></TD>
  297.                                                                             </TR>
  298.                                                                             <TR><TD> </TD></TR>
  299.                                                                             
  300.                                                                         </TABLE>
  301.  
  302.                                                                         
  303.                                                                         </TD>
  304.                                                                         </TR>
  305.                                                                            </TD>
  306.                                                                         </TR></TABLE>
  307.                                                                         
  308.                                                                         </TD>
  309.                                                                     </TR>
  310.                                                                     <TR>
  311.                                                                  <TD> </TD>
  312.                                                                 <TD><IMG height=1 src="Images/dot.gif" width=630></TD>
  313.                                                             </TR>
  314.                                                             <tr>
  315.                                                             <TD> </TD>
  316.                                                                             <td align=center><INPUT type = image src = "images\submit1.gif" border=0 onclick = "return Validate(frmenquiry)" id=image1 name=image1>
  317.                                                                                  <INPUT type =image src = "images\cancel1.gif" border=0 onclick = "return ClearAll(frmenquiry)" id=image2 name=image2>
  318.                                                                                  
  319.                                                                               <INPUT type= image src="images\back2.gif" id=back name=back onclick = 'javascript:history.back(1)'>
  320.                                                                             </td>
  321.                                                                             </TR>
  322.                                                                 <TR>
  323.                                                                  <TD> </TD>
  324.                                                                 <TD>
  325.                                                                 <br><br><TABLE WIDTH=45% BORDER=0 CELLSPACING=0 CELLPADDING=0 align=center>
  326.                                                                 <TR>
  327.                                                                     <TD class=PgTxtP valign=top align=middle><b>THE REVELATION</b></TD>
  328.                                                                 </TR>
  329.                                                                 <TR>
  330.                                                                     <TD class=PgTxtM valign=top align=middle><b>HYDERBAD</b></TD>
  331.                                                                 </TR>
  332.                                                                 <TR>
  333.                                                                     <TD class=PgTxtB valign=top align=middle><b>E-Mail: <a href= "mailto:info@revelationindia.com"><SPAN class=PgTxtBr>info@revelationindia.com</SPAN></b></TD>
  334.                                                                 </TR>
  335.                                                             </TABLE>
  336.                                                                 </TD>
  337.                                                             </TR>    
  338.                                                             
  339.                                                             
  340.                                                             
  341.                                                             <TR>
  342.                                                                  <TD> </TD>
  343.                                                                 <TD>
  344.                                                                 <br><br><BR><table border=0 align = center width = "50%" cellspacing = 2 cellpadding = 2>
  345.                                                                     
  346.                                                                     </table>
  347.                                                                 </TD>
  348.                                                             </TR>
  349.                                                             </TABLE>
  350.  
  351.                                                                  </TD>
  352.                                                             </TR>
  353.                                                     </TABLE>
  354.                                                         
  355.                                             </TD>
  356.                                           <TD bgcolor="#ffffff"> </TD>
  357.                                             </TR>
  358.                                             </TABLE>
  359.                                             
  360.                                                                         
  361.                                       </TD>
  362.           <TD valign=top align=middle bgcolor="#5e53c7" width=150><!--#include file="Include\rightrev.inc"--></TD>
  363.                                               </TR>
  364.                 </TABLE>
  365.             
  366.             
  367.             </TD></TR>
  368.     <TR>
  369.         <TD valign=top align=middle><IMG src="Images/Bottomline.jpg"></TD>
  370.     </TR></TABLE>
  371.  
  372.  
  373. </BODY>
  374. </HTML>
  375.  
  376.                                                                 
  377.  
  378.                                                             
  379.                                                         
  380.                                                                 
  381.