/booka/newlayout

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/booka/newlayout

« back to all changes in this revision

Viewing changes to inc/formif.php

  • Committer: Gustav Hartvigsson
  • Date: 2010-02-23 13:09:24 UTC
  • Revision ID: gego@quad-20100223130924-d89fe0jlrugg9a6t
Lots of broken code that i have no idea how to fix.
it is the date checker that does not work. -_-...

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
        if($_POST[name]==null){
8
8
                
9
9
                $nameunset = 'style="background-color: red;" ';
10
 
                
 
10
                $valid=false;
11
11
        }
12
12
        if($_POST[phone] == null){
13
13
                
14
14
                $phoneunset = 'style="background-color: red;" ';
15
 
                
 
15
                $valid=false;
16
16
        }
17
17
        if($_POST[email] == null){
18
18
                
19
19
                $emailunset = 'style="background-color: red;" ';
20
 
                
 
20
                $valid=false;
21
21
        }
22
22
        if($_POST[adress] == null){
23
23
                
24
24
                $adressunset = 'style="background-color: red;" ';
25
 
                
 
25
                $valid=false;
26
26
        }
27
27
        if($_POST[StartDate] == null){
28
28
                
32
32
        if($_POST[EndDate] == null){
33
33
                
34
34
                $EndDateunset = 'style="background-color: red;" ';
35
 
                
 
35
                $valid=false;
36
36
        }
 
37
} else {
 
38
        
 
39
        $valid=false;
37
40
}
38
41
 
39
42
?>