203. File Comparison Report

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

203.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\inc\classes BxDolProfileView.php Thu Sep 20 08:58:32 2007 UTC
2 Dolphin-v.6.1.0\inc\classes BxDolProfileView.php Thu Mar 27 04:18:10 2008 UTC

203.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 9 64
Changed 4 29
Inserted 3 8
Removed 1 1

203.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

203.4 Active regular expressions

No regular expressions were active.

203.5 Comparison detail

1   <?   1   <?
2     2  
3   require_on ce( BX_DIR ECTORY_PAT H_CLASSES  . 'BxDolPr ofile.php'  );   3   require_on ce( BX_DIR ECTORY_PAT H_CLASSES  . 'BxDolPr ofile.php'  );
    4   require_on ce( BX_DIR ECTORY_PAT H_CLASSES  . 'BxDolPr ofileField s.php' );
4     5  
5   class BxDo lProfileVi ew extends  BxDolProf ile   6   class BxDo lProfileVi ew extends  BxDolProf ile
6   {   7   {
7       var $o TemplConfi g;   8       var $o TemplConfi g;
8           
9       var $s ColumnsOrd er;   9       var $s ColumnsOrd er;
    10       var $o PF; // pro file field s object
    11       var $a PFBlocks;  //profile  fields blo cks
    12       var $a CoupleMutu alItems;
10          13       
11       functi on BxDolPr ofileView(  $ID )   14       functi on BxDolPr ofileView(  $ID )
12       {   15       {
13           gl obal $site ;   16           gl obal $site ;
14           gl obal $logg ed;   17           gl obal $logg ed;
15              18           
16           Bx DolProfile ::BxDolPro file( $ID,  0 );   19           Bx DolProfile ::BxDolPro file( $ID,  0 );
17              20           
18           // $this -> I D = $this  -> _iProfi leID;   21           // $this -> I D = $this  -> _iProfi leID;
19              22           
20           $t his -> oTe mplConfig  = new BxTe mplConfig(  $site );   23           $t his -> oTe mplConfig  = new BxTe mplConfig(  $site );
21           $t his -> sCo lumnsOrder  = getPara m( 'profil e_view_col s' );   24           $t his -> sCo lumnsOrder  = getPara m( 'profil e_view_col s' );
22              25           
23            if(   $this   ->   _iProfileI D   )
  26            if(   $this   ->   _iProfileI D   )   {
24           {    
25                $this ->  getProfil eData();   27                $this ->  getProfil eData();
26                   28                
27                 if(   $this   ->   _aProfile   )
  29                 if(   $this   ->   _aProfile   )   {
28                {   30                     if(   $logged['m ember']   )   {
29                     if(   $logged['m ember']   )
   
30                    {    
31                         if( (int)$ _COOKIE['m emberID']  == $this - > _iProfil eID )   31                         if( (int)$ _COOKIE['m emberID']  == $this - > _iProfil eID )
32                             $this  -> owner =  true;   32                             $this  -> owner =  true;
33                     }   33  
                     
34                }   34                         $iPFArea =  6;
    35                    } el seif( $log ged['admin '] )
    36                         $iPFArea =  5;
    37                    else if( $logge d['moderat or'] )
    38                         $iPFArea =  7;
35                else   39                    else
    40                         $iPFArea =  8;
    41                    
    42                    $thi s -> oPF =  new BxDol ProfileFie lds( $iPFA rea );
    43                    if(  !$this ->  oPF -> aBl ocks)
36                    retu rn false;   44                         return fal se;
37            }   45  
                 
38           
else
  46                    $thi s -> aPFBl ocks = $th is -> oPF  -> aBlocks ;
    47                    //ec hoDbg( $th is -> aPFB locks );
    48                    
    49                    if(  $this -> b Couple )
    50                         $this -> a CoupleMutu alItems =  $this -> o PF -> getC oupleMutua lFields();
    51                    
    52                } else
    53                    retu rn false;
    54            }   else
39                return f alse;   55                return f alse;
40       }   56       }
41          57       
42   }   58   }
43   ?>   59   ?>