contact.php changes
Produced: 8/25/2007 12:03:49 PM
   
Mode:  Differences with Context  
   
Left file: D:\phpfootball20\contact.php     Right file: D:\phpfootball20old\contact.php  
1 <?php = 1 <?php
2 $subtitle="Contact Form";   2 $subtitle="Contact Form";
3 require("protect.php"); <> 3 //require("protect.php");
4 require("header.php"); = 4 require("header.php");
5     5  
6 //***************************************************************************   6 //***************************************************************************
7 //* ASP Football Pool                                                       *   7 //* ASP Football Pool                                                       *
8 //* Do not remove this notice.                                              *   8 //* Do not remove this notice.                                              *
9 //* Copyright 1999-2004 by Mike Hall                                        *   9 //* Copyright 1999-2004 by Mike Hall                                        *
10 //* Please see http://www.brainjar.com for documentation and terms of use.  *   10 //* Please see http://www.brainjar.com for documentation and terms of use.  *
11 //*                                                                         *   11 //*                                                                         *
12 //* PHP Football Pool                                                       *   12 //* PHP Football Pool                                                       *
13 //* PHP Port of ASP Football pool                                           *   13 //* PHP Port of ASP Football pool                                           *
14 //* Copyright 2005 by Brian Paulson and George Garcia                       *   14 //* Copyright 2005 by Brian Paulson and George Garcia                       *
15 //* Please see http://lvbash.com/phpfootball for more support on PHPFootball *   15 //* Please see http://lvbash.com/phpfootball for more support on PHPFootball *
16 //* version                                                                                                                     * <> 16 //* version                                                                                                                     *
17 //*                                                                         * = 17 //*                                                                         *
18 //***************************************************************************   18 //***************************************************************************
19     19  
20 ?>   20 ?>
21 <html>   21 <html>
22 <head>   22 <head>
 
59 <br /> = 59 <br />
60 Request Type:<br />   60 Request Type:<br />
61 <select name="attn" size="1">   61 <select name="attn" size="1">
62 <option value=" Information ">Information </option>   62 <option value=" Information ">Information </option>
63 <option value=" Technical Support ">Technical Support </option>   63 <option value=" Technical Support ">Technical Support </option>
64 <option value=" Webmaster ">Webmaster </option>   64 <option value=" Webmaster ">Webmaster </option>
65 <option value=" General ">General Comments </option> <> 65 <option value=" Genreal ">General Comments </option>
66 </select> = 66 </select>
67 <br /><br />   67 <br /><br />
68 Type verification image:<br /> <>    
69 <input name="verif_box" type="text" id="verif_box" style="padding:2px; border:1px solid #CCCCCC; width:180px; height:14px;font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px;"/>      
70 <img src="verificationimage.php?<?php echo rand(0,9999);?>" alt="verification image, type it in the box" width="50" height="24" align="absbottom" /><br />      
71 <br />      
72        
73 <!-- if the variable "wrong_code" is sent from previous page then display the error field -->      
74 <?php if(isset($_GET['wrong_code'])){?>      
75 <div style="border:1px solid #990000; background-color:#D70000; color:#FFFFFF; padding:4px; padding-left:6px;width:295px;">Wrong verification code</div><br />      
76 <?php ;}?>      
77        
78 Comments: = 68 Comments:
79 <br />   69 <br />
80 <textarea name="notes" rows="4" cols="40"></textarea>   70 <textarea name="notes" rows="4" cols="40"></textarea>
81 <br />   71 <br />
82 <input type="submit" value="Submit" />   72 <input type="submit" value="Submit" />
83 <br />   73 <br />
84 </form>   74 </form>
85 </table>   75 </table>
86 <script>   76 <script>
87 // form fields description structure   77 // form fields description structure
88 var myFields = {   78 var myFields = {
89     'visitor' : {'l': 'Name','r': true,'mn': 3},   79     'visitor' : {'l': 'Name','r': true,'mn': 3},
90         'visitormail' : {'l': 'E-mail','r':true,'f':'email','mm' : 3}, <> 80         'visitormail' : {'l': 'E-mail','r':true,'f':'email','mm' : 3},
91         'verif_box' : {'l': 'Verify Box','r':true,'mm' : 4},      
92         'notes' : {'l':'Comments','r':true,'mm' : 10}   81         'notes' : {'l':'Comments','r':true,'mm' : 10}
93 } = 82 }
94 o_config = {   83 o_config = {
95   'to_disable' : ['Submit'],   84   'to_disable' : ['Submit'],
96   'alert' : 1   85   'alert' : 1
97 }   86 }
98     87