39. File Comparison Report

Produced on Mon May 12 13:04:31 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.

39.1 Files compared

# Location File Last Modified
1 Mon May 12 13:04:31 2008 UTC
2 Dolphin-v.6.1.0\admin fields.parse.php Sat Apr 19 12:05:02 2008 UTC

39.2 Comparison summary

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

39.3 Comparison options

Whitespace
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

39.4 Active regular expressions

No regular expressions were active.

39.5 Comparison detail

    1   <?
    2  
    3   require_on ce( '../in c/header.i nc.php' );
    4   require_on ce( $dir[' inc'] . 'd b.inc.php'  );
    5   require_on ce( $dir[' inc'] . 'd esign.inc. php' );
    6   require_on ce( $dir[' classes']  . 'BxDolPF M.php' );
    7   require_on ce( $dir[' plugins']  . 'Service s_JSON.php ' );
    8  
    9   send_heade rs_page_ch anged();
    10  
    11   $logged['a dmin'] = m ember_auth ( 1, true,  true );
    12  
    13   switch( $_ REQUEST['a ction'] )
    14   {
    15       case ' getArea':
    16           ge nAreaJSON(  (int)$_RE QUEST['id' ] );
    17       break;
    18       case ' createNewB lock':
    19           cr eateNewBlo ck();
    20       break;
    21       case ' createNewI tem':
    22           cr eateNewIte m();
    23       break;
    24       case ' savePositi ons':
    25           sa vePosition s( (int)$_ REQUEST['i d'] );
    26       break;
    27       case ' loadEditFo rm':
    28           sh owEditForm ( (int)$_R EQUEST['id '], (int)$ _REQUEST[' area'] );
    29       break;
    30       case ' dummy':
    31           ec ho 'Dummy! ';
    32       break;
    33       case ' Save'://sa ve item
    34           sa veItem( (i nt)$_POST[ 'area'], $ _POST );
    35       break;
    36       case ' Delete':// delete ite m
    37           de leteItem(  (int)$_POS T['id'], ( int)$_POST ['area'] ) ;
    38       break;
    39   }
    40  
    41   function c reateNewBl ock() {
    42       $oFiel ds = new B xDolPFM( 1  );
    43       $iNewI D = $oFiel ds -> crea teNewBlock ();
    44       header ('Content- Type:text/ javascript ');
    45       echo ' {id:' . $i NewID . '} ';
    46   }
    47  
    48   function c reateNewIt em() {
    49       $oFiel ds = new B xDolPFM( 1  );
    50       $iNewI D = $oFiel ds -> crea teNewField ();
    51       
    52       header ('Content- Type:text/ javascript ');
    53       echo ' {id:' . $i NewID . '} ';
    54   }
    55  
    56   function g enAreaJSON ( $iAreaID  ) {
    57       $oFiel ds = new B xDolPFM( $ iAreaID );
    58       
    59       header ( 'Content -Type:text /javascrip t' );
    60       echo $ oFields ->  genJSON() ;
    61   }
    62  
    63   function s avePositio ns( $iArea ID ) {
    64       $oFiel ds = new B xDolPFM( $ iAreaID );
    65       
    66       header ( 'Content -Type:text /javascrip t' );
    67       $oFiel ds -> save Positions(  $_POST );
    68  
    69       $oCach er = new B xDolPFMCac her();
    70       $oCach er -> crea teCache();
    71   }
    72  
    73   function s aveItem( $ iAreaID, $ aData ) {
    74       $oFiel ds = new B xDolPFM( $ iAreaID );
    75       $oFiel ds -> save Item( $_PO ST );
    76  
    77       $oCach er = new B xDolPFMCac her();
    78       $oCach er -> crea teCache();
    79   }
    80  
    81   function d eleteItem(  $iItemID,  $iAreaID  ) {
    82       $oFiel ds = new B xDolPFM( $ iAreaID );
    83       $oFiel ds -> dele teItem( $i ItemID );
    84  
    85       $oCach er = new B xDolPFMCac her();
    86       $oCach er -> crea teCache();
    87   }
    88  
    89   function s howEditFor m( $iItemI D, $iAreaI D ) {
    90       $oFiel ds = new B xDolPFM( $ iAreaID );
    91       
    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();">
    94           <t able class ="popup_fo rm_wrapper ">
    95                <tr>
    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>
    98                    <td  class="cor ner"><img  src="image s/op_cor_t r.png"/></ td>
    99                </tr>
    100                <tr>
    101                    <td  class="sid e"><img sr c="images/ spacer.gif " alt="" / ></td>
    102                    <td  class="con tainer">
    103                         <div class ="edit_ite m_table_co nt">
    104       <?
    105       $oFiel ds -> genF ieldEditFo rm( $iItem ID );
    106       ?>
    107                         </div>
    108                    </td >
    109                    <td  class="sid e"><img sr c="images/ spacer.gif " alt="" / ></td>
    110                </tr>
    111                <tr>
    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>
    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>
    116           </ table>
    117       </form >
    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;">
    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>
    122       <?
    123   }
    124  
    125   ?>