818. File Comparison Report

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

818.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5 uploadShareVideo.php Wed Mar 5 05:31:28 2008 UTC
2 Dolphin-v.6.1.0 uploadShareVideo.php Mon Apr 21 05:39:12 2008 UTC

818.2 Comparison summary

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

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

818.4 Active regular expressions

No regular expressions were active.

818.5 Comparison detail

1   <?php   1   <?php
2     2  
3   /********* ********** ********** ********** ********** ********** ********** ******   3   /********* ********** ********** ********** ********** ********** ********** ******
4   *                              D olphin Sma rt Communi ty Builder   4   *                              D olphin Sma rt Communi ty Builder
5   *                                 --------- --------   5   *                                 --------- --------
6   *     begi n                 : M on Mar 23  2006   6   *     begi n                 : M on Mar 23  2006
7   *     copy right             : ( C) 2006 Bo onEx Group   7   *     copy right             : ( C) 2006 Bo onEx Group
8   *     webs ite               : h ttp://www. boonex.com /   8   *     webs ite               : h ttp://www. boonex.com /
9   * This fil e is part  of Dolphin  - Smart C ommunity B uilder   9   * This fil e is part  of Dolphin  - Smart C ommunity B uilder
10   *   10   *
11   * Dolphin  is free so ftware. Th is work is  licensed  under a Cr eative Com mons Attri bution 3.0  License.    11   * Dolphin  is free so ftware. Th is work is  licensed  under a Cr eative Com mons Attri bution 3.0  License. 
12   * http://c reativecom mons.org/l icenses/by /3.0/   12   * http://c reativecom mons.org/l icenses/by /3.0/
13   *   13   *
14   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;   14   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;
15   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.   15   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.
16   * See the  Creative C ommons Att ribution 3 .0 License  for more  details.    16   * See the  Creative C ommons Att ribution 3 .0 License  for more  details. 
17   * You shou ld have re ceived a c opy of the  Creative  Commons At tribution  3.0 Licens e along wi th Dolphin   17   * You shou ld have re ceived a c opy of the  Creative  Commons At tribution  3.0 Licens e along wi th Dolphin
18   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m   18   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m
19   ********** ********** ********** ********** ********** ********** ********** *****/   19   ********** ********** ********** ********** ********** ********** ********** *****/
20     20  
21   require_on ce('inc/he ader.inc.p hp');   21   require_on ce('inc/he ader.inc.p hp');
22   require_on ce( BX_DIR ECTORY_PAT H_INC . 'd esign.inc. php' );   22   require_on ce( BX_DIR ECTORY_PAT H_INC . 'd esign.inc. php' );
23   require_on ce( BX_DIR ECTORY_PAT H_INC . 'a dmin.inc.p hp' );   23   require_on ce( BX_DIR ECTORY_PAT H_INC . 'a dmin.inc.p hp' );
24   require_on ce( BX_DIR ECTORY_PAT H_INC . 'i mages.inc. php' );   24   require_on ce( BX_DIR ECTORY_PAT H_INC . 'i mages.inc. php' );
25   require_on ce( BX_DIR ECTORY_PAT H_INC . 's haring.inc .php' );   25   require_on ce( BX_DIR ECTORY_PAT H_INC . 's haring.inc .php' );
26   require_on ce( BX_DIR ECTORY_PAT H_ROOT . ' ray/module s/movie/in c/function s.inc.php'  );   26   require_on ce( BX_DIR ECTORY_PAT H_ROOT . ' ray/module s/movie/in c/function s.inc.php'  );
27     27  
28   $_page['na me_index']     = 82;   28   $_page['na me_index']     = 82;
29   $_page['cs s_name']       = 'vie wVideo.css ';   29   $_page['cs s_name']       = 'vie wVideo.css ';
30     30  
31   $_page['ex tra_js'] =  '';   31   $_page['ex tra_js'] =  '';
32     32  
33   if ( !( $l ogged['adm in'] = mem ber_auth(  1, false )  ) )   33   if ( !( $l ogged['adm in'] = mem ber_auth(  1, false )  ) )
34   {   34   {
35       if ( ! ( $logged[ 'member']  = member_a uth( 0, fa lse ) ) )   35       if ( ! ( $logged[ 'member']  = member_a uth( 0, fa lse ) ) )
36       {   36       {
37           if  ( !( $log ged['aff']  = member_ auth( 2, f alse ) ) )   37           if  ( !( $log ged['aff']  = member_ auth( 2, f alse ) ) )
38           {   38           {
39                $logged[ 'moderator '] = membe r_auth( 3,  false );   39                $logged[ 'moderator '] = membe r_auth( 3,  false );
40           }   40           }
41       }   41       }
42   }   42   }
43     43  
44     44  
45   $_page['he ader'] = _ t( "_uploa d Video" ) ;   45   $_page['he ader'] = _ t( "_uploa d Video" ) ;
46   $_page['he ader_text' ] = _t("_u pload Vide o");   46   $_page['he ader_text' ] = _t("_u pload Vide o");
47     47  
48   $_ni = $_p age['name_ index'];   48   $_ni = $_p age['name_ index'];
49     49  
50   $member['I D'] = (int )$_COOKIE[ 'memberID' ];   50   $member['I D'] = (int )$_COOKIE[ 'memberID' ];
51   $member['P assword']  = $_COOKIE ['memberPa ssword'];   51   $member['P assword']  = $_COOKIE ['memberPa ssword'];
52     52  
53   $check_res  = checkAc tion( $mem ber['ID'],  ACTION_ID _UPLOAD_GA LLERY_VIDE O );   53   $check_res  = checkAc tion( $mem ber['ID'],  ACTION_ID _UPLOAD_GA LLERY_VIDE O );
54   if ( $chec k_res[CHEC K_ACTION_R ESULT] !=  CHECK_ACTI ON_RESULT_ ALLOWED &&  !$logged[ 'admin'] & & !$logged ['moderato r'] )   54   if ( $chec k_res[CHEC K_ACTION_R ESULT] !=  CHECK_ACTI ON_RESULT_ ALLOWED &&  !$logged[ 'admin'] & & !$logged ['moderato r'] )
55   {   55   {
56       $ret   = "   56       $ret   = "
57           <t able width =100% heig ht=100% ce llpadding= 0 cellspac ing=0 clas s=text2>   57           <t able width =100% heig ht=100% ce llpadding= 0 cellspac ing=0 clas s=text2>
58                <td alig n=center b gcolor=$bo xbg2>   58                <td alig n=center b gcolor=$bo xbg2>
59                    ". $ check_res[ CHECK_ACTI ON_MESSAGE ] ."<br />   59                    ". $ check_res[ CHECK_ACTI ON_MESSAGE ] ."<br />
60                </td>   60                </td>
61           </ table>\n";   61           </ table>\n";
62     62  
63       $_page ['name_ind ex'] = 0;   63       $_page ['name_ind ex'] = 0;
64       $_page _cont[0][' page_main_ code'] = $ ret;   64       $_page _cont[0][' page_main_ code'] = $ ret;
65       PageCo de();   65       PageCo de();
66       exit() ;   66       exit() ;
67   }   67   }
68     68  
69   $_page_con t[$_ni]['p age_main_c ode'] = Pa geMainCode ();   69   $_page_con t[$_ni]['p age_main_c ode'] = Pa geMainCode ();
70     70  
71   PageCode() ;   71   PageCode() ;
72     72  
73   function P ageMainCod e()   73   function P ageMainCod e()
74   {   74   {
75       global  $site;   75       global  $site;
76       global  $member;   76       global  $member;
77          77       
78       $sCode  = '<div i d="agreeme nt" style= "text-alig n: center; "><div sty le="font-w eight: bol d;">'._t(" _Media upl oad Agreem ent",_t("_ Video")).' </div><div ><textarea  rows="20"  cols="80"  readonly= "true">'._ t("_Licens e Agreemen t",$site[' url']).'</ textarea>< /div><div> <input typ e="submit"  id="agree " value="' ._t("_I ag ree").'" o nclick="do cument.get ElementByI d(\'upload Form\').st yle.displa y = \'bloc k\';    78       $sCode  = '<div i d="agreeme nt" style= "text-alig n: center; "><div sty le="font-w eight: bol d;">'._t(" _Media upl oad Agreem ent",_t("_ Video")).' </div><div ><textarea  rows="20"  cols="80"  readonly= "true">'._ t("_Licens e Agreemen t",$site[' url']).'</ textarea>< /div><div> <input typ e="submit"  id="agree " value="' ._t("_I ag ree").'" o nclick="do cument.get ElementByI d(\'upload Form\').st yle.displa y = \'bloc k\'; 
79       docume nt.getElem entById(\' agreement\ ').style.d isplay = \ 'none\';"" ></div></d iv>';   79       docume nt.getElem entById(\' agreement\ ').style.d isplay = \ 'none\';"" ></div></d iv>';
80        $sCode   .=   '<div   id="upload Form"   style="tex t-align:   center;dis play:none; ">'.getApp licationCo ntent('mov ie','edito r',array(' id'   =>   $member['I D'],'passw ord'=>$mem ber['Passw ord'])
).'</div>' ;
  80        $sCode   .=   '<div   id="upload Form"   style="tex t-align:   center;dis play:none; ">'.getApp licationCo ntent('mov ie','edito r',array(' id'   =>   $member['I D'],'passw ord'=>$mem ber['Passw ord']) ,true ).'</div>' ;
81          81       
82       return  $sCode;   82       return  $sCode;
83   }   83   }
84     84  
85   ?>   85   ?>