/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: 2009-12-04 16:51:06 UTC
  • Revision ID: gego@quad-20091204165106-wumf1gzbskkuai0g
merging Neo to trunk. freezing neo branshs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?
 
2
/*
 
3
         the ifs and buts for the forms.
 
4
*/
 
5
 
 
6
if($_POST[fromadd]){
 
7
        if($_POST[name]==null){
 
8
                
 
9
                $nameunset = 'style="background-color: red;" ';
 
10
                
 
11
        }
 
12
        if($_POST[phone] == null){
 
13
                
 
14
                $phoneunset = 'style="background-color: red;" ';
 
15
                
 
16
        }
 
17
        if($_POST[email] == null){
 
18
                
 
19
                $emailunset = 'style="background-color: red;" ';
 
20
                
 
21
        }
 
22
        if($_POST[adress] == null){
 
23
                
 
24
                $adressunset = 'style="background-color: red;" ';
 
25
                
 
26
        }
 
27
        if($_POST[StartDate] == null){
 
28
                
 
29
                $StartDateunset = 'style="background-color: red;" ';
 
30
                
 
31
        }
 
32
        if($_POST[EndDate] == null){
 
33
                
 
34
                $EndDateunset = 'style="background-color: red;" ';
 
35
                
 
36
        }
 
37
}
 
38
 
 
39
?>