3. File Comparison Report

Produced on Thu Jul 17 07:17:04 2008 UTC. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

3.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.1.2\admin fields.parse.php Sat Apr 19 12:05:02 2008 UTC
2 Dolphin-v.6.1.3\admin fields.parse.php Wed Jul 16 09:51:21 2008 UTC

3.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 242
Changed 1 8
Inserted 0 0
Removed 0 0

3.3 Comparison options

Whitespace All differences in whitespace within lines are ignored
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

3.4 Active regular expressions

No regular expressions were active.

3.5 Comparison detail

1   <?   1   <?
2     2  
3   require_on ce( '../in c/header.i nc.php' );   3   require_on ce( '../in c/header.i nc.php' );
4   require_on ce(   $dir['inc' ]   .   'db.inc.ph p'   );   4   require_on ce(   BX_DIRECTO RY_PATH_IN C   .   'db.inc.ph p'   );
5   require_on ce(   $dir['inc' ]   .   'design.in c.php'   );   5   require_on ce(   BX_DIRECTO RY_PATH_IN C   .   'design.in c.php'   );
6   require_on ce(   $dir['clas ses']   .   'BxDolPFM. php'   );   6   require_on ce(   BX_DIRECTO RY_PATH_CL ASSES   .   'BxDolPFM. php'   );
7   require_on ce(   $dir['plug ins']   .   'Services_ JSON.php'   );   7   require_on ce(   BX_DIRECTO RY_PATH_PL UGINS   .   'Services_ JSON.php'   );
8     8  
9   send_heade rs_page_ch anged();   9   send_heade rs_page_ch anged();
10     10  
11   $logged['a dmin'] = m ember_auth ( 1, true,  true );   11   $logged['a dmin'] = m ember_auth ( 1, true,  true );
12     12  
13   switch( $_ REQUEST['a ction'] )   13   switch( $_ REQUEST['a ction'] )
14   {   14   {
15       case ' getArea':   15       case ' getArea':
16           ge nAreaJSON(  (int)$_RE QUEST['id' ] );   16           ge nAreaJSON(  (int)$_RE QUEST['id' ] );
17       break;   17       break;
18       case ' createNewB lock':   18       case ' createNewB lock':
19           cr eateNewBlo ck();   19           cr eateNewBlo ck();
20       break;   20       break;
21       case ' createNewI tem':   21       case ' createNewI tem':
22           cr eateNewIte m();   22           cr eateNewIte m();
23       break;   23       break;
24       case ' savePositi ons':   24       case ' savePositi ons':
25           sa vePosition s( (int)$_ REQUEST['i d'] );   25           sa vePosition s( (int)$_ REQUEST['i d'] );
26       break;   26       break;
27       case ' loadEditFo rm':   27       case ' loadEditFo rm':
28           sh owEditForm ( (int)$_R EQUEST['id '], (int)$ _REQUEST[' area'] );   28           sh owEditForm ( (int)$_R EQUEST['id '], (int)$ _REQUEST[' area'] );
29       break;   29       break;
30       case ' dummy':   30       case ' dummy':
31           ec ho 'Dummy! ';   31           ec ho 'Dummy! ';
32       break;   32       break;
33       case ' Save'://sa ve item   33       case ' Save'://sa ve item
34           sa veItem( (i nt)$_POST[ 'area'], $ _POST );   34           sa veItem( (i nt)$_POST[ 'area'], $ _POST );
35       break;   35       break;
36       case ' Delete':// delete ite m   36       case ' Delete':// delete ite m
37           de leteItem(  (int)$_POS T['id'], ( int)$_POST ['area'] ) ;   37           de leteItem(  (int)$_POS T['id'], ( int)$_POST ['area'] ) ;
38       break;   38       break;
39   }   39   }
40     40  
41   function c reateNewBl ock() {   41   function c reateNewBl ock() {
42       $oFiel ds = new B xDolPFM( 1  );   42       $oFiel ds = new B xDolPFM( 1  );
43       $iNewI D = $oFiel ds -> crea teNewBlock ();   43       $iNewI D = $oFiel ds -> crea teNewBlock ();
44       header ('Content- Type:text/ javascript ');   44       header ('Content- Type:text/ javascript ');
45       echo ' {id:' . $i NewID . '} ';   45       echo ' {id:' . $i NewID . '} ';
46   }   46   }
47     47  
48   function c reateNewIt em() {   48   function c reateNewIt em() {
49       $oFiel ds = new B xDolPFM( 1  );   49       $oFiel ds = new B xDolPFM( 1  );
50       $iNewI D = $oFiel ds -> crea teNewField ();   50       $iNewI D = $oFiel ds -> crea teNewField ();
51          51       
52       header ('Content- Type:text/ javascript ');   52       header ('Content- Type:text/ javascript ');
53       echo ' {id:' . $i NewID . '} ';   53       echo ' {id:' . $i NewID . '} ';
54   }   54   }
55     55  
56   function g enAreaJSON ( $iAreaID  ) {   56   function g enAreaJSON ( $iAreaID  ) {
57       $oFiel ds = new B xDolPFM( $ iAreaID );   57       $oFiel ds = new B xDolPFM( $ iAreaID );
58          58       
59       header ( 'Content -Type:text /javascrip t' );   59       header ( 'Content -Type:text /javascrip t' );
60       echo $ oFields ->  genJSON() ;   60       echo $ oFields ->  genJSON() ;
61   }   61   }
62     62  
63   function s avePositio ns( $iArea ID ) {   63   function s avePositio ns( $iArea ID ) {
64       $oFiel ds = new B xDolPFM( $ iAreaID );   64       $oFiel ds = new B xDolPFM( $ iAreaID );
65          65       
66       header ( 'Content -Type:text /javascrip t' );   66       header ( 'Content -Type:text /javascrip t' );
67       $oFiel ds -> save Positions(  $_POST );   67       $oFiel ds -> save Positions(  $_POST );
68     68  
69       $oCach er = new B xDolPFMCac her();   69       $oCach er = new B xDolPFMCac her();
70       $oCach er -> crea teCache();   70       $oCach er -> crea teCache();
71   }   71   }
72     72  
73   function s aveItem( $ iAreaID, $ aData ) {   73   function s aveItem( $ iAreaID, $ aData ) {
74       $oFiel ds = new B xDolPFM( $ iAreaID );   74       $oFiel ds = new B xDolPFM( $ iAreaID );
75       $oFiel ds -> save Item( $_PO ST );   75       $oFiel ds -> save Item( $_PO ST );
76     76  
77       $oCach er = new B xDolPFMCac her();   77       $oCach er = new B xDolPFMCac her();
78       $oCach er -> crea teCache();   78       $oCach er -> crea teCache();
79   }   79   }
80     80  
81   function d eleteItem(  $iItemID,  $iAreaID  ) {   81   function d eleteItem(  $iItemID,  $iAreaID  ) {
82       $oFiel ds = new B xDolPFM( $ iAreaID );   82       $oFiel ds = new B xDolPFM( $ iAreaID );
83       $oFiel ds -> dele teItem( $i ItemID );   83       $oFiel ds -> dele teItem( $i ItemID );
84     84  
85       $oCach er = new B xDolPFMCac her();   85       $oCach er = new B xDolPFMCac her();
86       $oCach er -> crea teCache();   86       $oCach er -> crea teCache();
87   }   87   }
88     88  
89   function s howEditFor m( $iItemI D, $iAreaI D ) {   89   function s howEditFor m( $iItemI D, $iAreaI D ) {
90       $oFiel ds = new B xDolPFM( $ iAreaID );   90       $oFiel ds = new B xDolPFM( $ iAreaID );
91          91       
92       ?>   92       ?>
93       <form  name="fiel dEditForm"  method="p ost" actio n="<?= $_S ERVER['PHP _SELF'] ?> " target=" fieldFormS ubmit" ons ubmit="cle arFormErro rs( this ) " onreset= "hideEditF orm();">   93       <form  name="fiel dEditForm"  method="p ost" actio n="<?= $_S ERVER['PHP _SELF'] ?> " target=" fieldFormS ubmit" ons ubmit="cle arFormErro rs( this ) " onreset= "hideEditF orm();">
94           <t able class ="popup_fo rm_wrapper ">   94           <t able class ="popup_fo rm_wrapper ">
95                <tr>   95                <tr>
96                    <td  class="cor ner"><img  src="image s/op_cor_t l.png"/></ td>   96                    <td  class="cor ner"><img  src="image s/op_cor_t l.png"/></ td>
97                    <td  class="sid e_ver"><im g src="ima ges/spacer .gif" alt= "" /></td>   97                    <td  class="sid e_ver"><im g src="ima ges/spacer .gif" alt= "" /></td>
98                    <td  class="cor ner"><img  src="image s/op_cor_t r.png"/></ td>   98                    <td  class="cor ner"><img  src="image s/op_cor_t r.png"/></ td>
99                </tr>   99                </tr>
100                <tr>   100                <tr>
101                    <td  class="sid e"><img sr c="images/ spacer.gif " alt="" / ></td>   101                    <td  class="sid e"><img sr c="images/ spacer.gif " alt="" / ></td>
102                    <td  class="con tainer">   102                    <td  class="con tainer">
103                         <div class ="edit_ite m_table_co nt">   103                         <div class ="edit_ite m_table_co nt">
104       <?   104       <?
105       $oFiel ds -> genF ieldEditFo rm( $iItem ID );   105       $oFiel ds -> genF ieldEditFo rm( $iItem ID );
106       ?>   106       ?>
107                         </div>   107                         </div>
108                    </td >   108                    </td >
109                    <td  class="sid e"><img sr c="images/ spacer.gif " alt="" / ></td>   109                    <td  class="sid e"><img sr c="images/ spacer.gif " alt="" / ></td>
110                </tr>   110                </tr>
111                <tr>   111                <tr>
112                    <td  class="cor ner"><img  src="image s/op_cor_b l.png"/></ td>   112                    <td  class="cor ner"><img  src="image s/op_cor_b l.png"/></ td>
113                    <td  class="sid e_ver"><im g src="ima ges/spacer .gif" alt= "" /></td>   113                    <td  class="sid e_ver"><im g src="ima ges/spacer .gif" alt= "" /></td>
114                    <td  class="cor ner"><img  onload="if ( navigato r.appName  == 'Micros oft Intern et Explore r' && vers ion >= 5.5  && versio n < 7 ) pn g_fix();"  src="image s/op_cor_b r.png"/></ td>   114                    <td  class="cor ner"><img  onload="if ( navigato r.appName  == 'Micros oft Intern et Explore r' && vers ion >= 5.5  && versio n < 7 ) pn g_fix();"  src="image s/op_cor_b r.png"/></ td>
115                </tr>   115                </tr>
116           </ table>   116           </ table>
117       </form >   117       </form >
118          118       
119       <ifram e height=" 100" width ="100" scr olling="no " framebor der="1" na me="fieldF ormSubmit"  src="<?=  $_SERVER[' PHP_SELF']  ?>?action =dummy" st yle="displ ay:none;">   119       <ifram e height=" 100" width ="100" scr olling="no " framebor der="1" na me="fieldF ormSubmit"  src="<?=  $_SERVER[' PHP_SELF']  ?>?action =dummy" st yle="displ ay:none;">
120           Yo ur browser  doesn't s upport IFR AMEs. We r ecommend u pgrading y our browse r for corr ect work o f the buil der.   120           Yo ur browser  doesn't s upport IFR AMEs. We r ecommend u pgrading y our browse r for corr ect work o f the buil der.
121       </ifra me>   121       </ifra me>
122       <?   122       <?
123   }   123   }
124     124  
125   ?>   125   ?>