826. File Comparison Report

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

826.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5 viewVideo.php Fri Feb 8 06:52:06 2008 UTC
2 Dolphin-v.6.1.0 viewVideo.php Tue Apr 15 11:33:46 2008 UTC

826.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 11 104
Changed 6 346
Inserted 2 2
Removed 2 4

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

826.4 Active regular expressions

No regular expressions were active.

826.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' );    
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' );    
25   require_on ce( BX_DIR ECTORY_PAT H_INC . 's haring.inc .php' );   22   require_on ce(BX_DIRE CTORY_PATH _INC . 'sh aring.inc. php');
    23   require_on ce(BX_DIRE CTORY_PATH _CLASSES .  'BxDolSha redMediaVi ew.php');
26     24  
27   $_page['na me_index']     = 81;   25   $iFile = 0 ;
28   $_page['cs s_name']       = 'vie wVideo.css ';   26   if (isset( $_GET['fil eUri']))
    27       $iFile  = getFile IdByUri($_ GET['fileU ri'], 'vid eo');
    28   elseif (is set($_GET[ 'fileID']) )
    29       $iFile  = (int)$_ GET['fileI D'];
    30  
    31   $member['I D'] = (int )$_COOKIE[ 'memberID' ];
    32       
    33   $oNew = ne w BxDolSha redMediaVi ew($iFile,  'video',  $site, $di r, $member );
29     34  
30   $oVotingVi ew = new B xTemplVoti ngView('gv ideo', 0,  0);   35   $oVotingVi ew = new B xTemplVoti ngView('gv ideo', 0,  0);
31   $_page['ex tra_js']   = $oVoting View->getE xtraJs();   36   $_page['ex tra_js']   = $oVoting View->getE xtraJs();
32     37  
33   if ( !( $l ogged['adm in'] = mem ber_auth(  1, false )  ) )   38   $_page['na me_index']  = 81;
34   {   39   $_ni = $_p age['name_ index'];
35       if ( ! ( $logged[ 'member']  = member_a uth( 0, fa lse ) ) )   40   $_page['cs s_name'] =  $oNew->oS hared->sCs sName;
36       {   41   $_page['ex tra_css']  = $oNew->o CmtsView-> getExtraCs s();
37           if  ( !( $log ged['aff']  = member_ auth( 2, f alse ) ) )   42   $_page['ex tra_js']   .= $oNew-> oCmtsView- >getExtraJ s();
38           {    
39                $logged[ 'moderator '] = membe r_auth( 3,  false );    
40           }    
41       }    
42   }    
43     43  
    44   check_logg ed();
44     45  
45   $_page['he ader'] = _ t( "_view  Video" );   46   $_page['he ader'] = _ t( "_view  Video" );
46      
47   $_ni = $_p age['name_ index'];   47   $_ni = $_p age['name_ index'];
48     48  
49   $member['I D'] = (int )$_COOKIE[ 'memberID' ];   49   $check_res  = checkAc tion( $mem ber['ID'],  $oNew->oS hared->sVi ewActionNa me);
50     50   if ( $chec k_res[CHEC K_ACTION_R ESULT] !=  CHECK_ACTI ON_RESULT_ ALLOWED &&  !$logged[ 'admin'] & & !$logged ['moderato r'] && $aF ile['medPr ofId'] !=  $member['I D']) {
51   $iFile = i sset($_GET ['fileID'] ) ? (int)$ _GET['file ID'] : 0;   51        $ sCod e   
=   "
52      
53   if (isset( $_POST['co mmentAdd'] ) && isset ($_POST['c ommentText ']) && str len($_POST ['commentT ext']) > 0 )    
54   {    
55       $iFile ID = (int) $_POST['fi leID'];    
56       $iUser  = (int)$_ POST['prof ileID'];    
57       $sText  = htmlspe cialchars_ adv($_POST ['commentT ext']);    
58       addMed iaComment( $iFileID,  $iUser, $s Text, 'Vid eo');    
59       header ('location :' . $_SER VER['PHP_S ELF'].'?fi leID='.$_P OST['fileI D']);    
60   }    
61      
62       $sQuer y = "    
63           SE LECT  `Ray MovieFiles `.`ID` as  `medID`,    
64                    `Ray MovieFiles `.`Title`  as `medTit le`,    
65                    `Ray MovieFiles `.`Tags` a s `medTags `,    
66                    `Ray MovieFiles `.`Descrip tion` as ` medDesc`,    
67                    `Ray MovieFiles `.`Date` a s `medDate `,    
68                    `Ray MovieFiles `.`Views`  as `medVie ws`,    
69                    `Ray MovieFiles `.`Owner`  as `medPro fId`,    
70                    COUN T( `share1 `.`ID` ) A S `medCoun t`,    
71                    `Pro files`.`Ni ckName`    
72           FR OM `RayMov ieFiles`    
73           LE FT JOIN `R ayMovieFil es` AS `sh are1` USIN G ( `Owner ` )    
74           IN NER JOIN ` Profiles`  ON `Profil es`.`ID`=` RayMovieFi les`.`Owne r`    
75           WH ERE `RayMo vieFiles`. `ID` = $iF ile    
76           GR OUP BY `sh are1`.`Own er`    
77       ";    
78      
79   $aFile = d b_arr($sQu ery);    
80      
81   $check_res  = checkAc tion( $mem ber['ID'],  ACTION_ID _VIEW_GALL ERY_VIDEO  );    
82   if ( $chec k_res[CHEC K_ACTION_R ESULT] !=  CHECK_ACTI ON_RESULT_ ALLOWED &&  !$logged[ 'admin'] & & !$logged ['moderato r'] && $aF ile['medPr ofId'] !=  $member['I D'])    
83   {    
84        $ r e t    =   "    
85           <t able width =100% heig ht=100% ce llpadding= 0 cellspac ing=0 clas s=text2>   52           <t able width =100% heig ht=100% ce llpadding= 0 cellspac ing=0 clas s=text2>
86                <td alig n=center b gcolor=$bo xbg2>   53                <td alig n=center b gcolor=$bo xbg2>
87                    ". $ check_res[ CHECK_ACTI ON_MESSAGE ] ."<br />   54                    ". $ check_res[ CHECK_ACTI ON_MESSAGE ] ."<br />
88                </td>   55                </td>
89           </ table>\n";   56           </ table>\n";
90     57  
91       $_page ['name_ind ex'] = 0;   58       $_page ['name_ind ex'] = 0;
92        $_page_con t[0]['page _main_code ']   =   $ r e t ;   59        $_page_con t[0]['page _main_code ']   =   $ sCod e
;
93       PageCo de();   60       PageCo de();
94       exit() ;   61       exit() ;
95   }   62   }
96     63  
97   if   (
is_array($ aFil e
))
  64   if   ( ! is_array($ oN e w->aInfo ))   {
98   {    
99       $_page ['header']  = $aFile[ 'medTitle' ];    
100           
101       db_res ("UPDATE ` RayMovieFi les` SET ` Views` = ` Views` + 1  WHERE `ID `='$iFile' ");    
102           
103       $_page _cont[$_ni ]['pageSet 1'] = Page CompCreate Blocks(1);    
104       $_page _cont[$_ni ]['pageSet 2'] = Page CompCreate Blocks(2);    
105       PageCo de();    
106   }    
107   else    
108   {    
109       $sCode  = MsgBox(  _t( '_No  file' ) );   65       $sCode  = MsgBox(  _t( '_No  file' ) );
110       $_page ['name_ind ex'] = 0;   66       $_page ['name_ind ex'] = 0;
111       $_page _cont[0][' page_main_ code'] = $ sCode;   67       $_page _cont[0][' page_main_ code'] = $ sCode;
112       PageCo de();   68       PageCo de();
113       exit() ;   69       exit() ;
114   }   70   }
115     71   else { 
116     72       $_page ['header']  = $oNew-> aInfo['med Title'];
117   /*-------- ---------- ----------  functions  of block  drawing -- ---------- ---------- ---------- ---------- ---*/   73       db_res ("UPDATE ` {$oNew->oS hared->sMa inTable}`  SET `{$oNe w->oShared ->aTableFi elds['medV iews']}` =  `{$oNew-> oShared->a TableField s['medView s']}` + 1  WHERE `{$o New->oShar ed->aTable Fields['me dID']}`='$ iFile'");
118     74       $_page _cont[$_ni ]['page_ma in_code']  = $oNew->g etCode();
119   function P ageCompCre ateBlocks( $iCol = 1)   75        Pag e
Code () ;
120   {    
121       global  $logged;    
122           
123       if( $l ogged['mem ber'] )    
124           $s Visible =  'memb';    
125       else    
126           $s Visible =  'non';    
127           
128       $sCode  = '';    
129       $sPos  = ' style  = "float:  left;"';    
130           
131       $sQuer y = "SELEC T * FROM ` shareVideo Compose` W HERE `Colu mn`='$iCol ' AND FIND _IN_SET( ' $sVisible' , `Visible ` ) ORDER  BY `Order` ";    
132           
133       $rComp ose = db_r es($sQuery );    
134       while  ($aCompose  = mysql_f etch_array ($rCompose ))    
135       {    
136           $f unc  = 'Pa geComp' .  $aCompose[ 'Func'];    
137           $s Func = $fu nc( $aComp ose['Conte nt'] );    
138           $s Code .= De signBoxCon tent(_t($a Compose['C aption']), $sFunc,'1' );    
139       }    
140      
141       return  "<div id= \"col$iCol \"".$sPos. ">".$sCode ."</div>";    
142   }    
143      
144      
145   function P ageCompRSS ( $sConten t )    
146   {    
147       list(  $sUrl, $iN um ) = exp lode( '#',  $sContent  );    
148       $iNum  = (int)$iN um;    
149           
150       return  genRSSHtm lOut( $sUr l, $iNum ) ;    
151   }    
152      
153   function P ageCompEch o( $sConte nt )    
154   {    
155       return  $sContent ;    
156   }    
157      
158      
159   function P ageCompVie wFile()    
160   {    
161       global  $aFile;    
162           
163       $sCode  = getAppl icationCon tent('movi e','player ',array('i d' => $aFi le['medID' ], 'file'  => 'true') ,true);    
164           
165       return  $sCode;    
166   }    
167      
168   function P ageCompAct ionList()    
169   {    
170       global  $site;    
171       global  $aFile;    
172           
173       $sMain  = 'viewVi deo.php?fi leID='.$aF ile['medID '];    
174           
175       $sOncl ick = "jav ascript: w indow.open ( 'videoAc tions.php? fileID={$a File['medI D']}&{acti on}', 'vid eo', 'widt h=500, hei ght=380, m enubar=no, status=no, resizable= yes,scroll bars=yes,t oolbar=no, location=n o' );";    
176       $aActi ons = arra y(    
177           'F ave'=>arra y('icon'=> 'action_fa ve.gif','l ink'=>'jav ascript:vo id(0);','o nClick'=>s tr_replace ('{action} ','action= favorite', $sOnclick) ),    
178           'S hare'=>arr ay('icon'= >'action_s hare.gif', 'link'=>'j avascript: void(0);', 'onClick'= >str_repla ce('{actio n}','actio n=share',$ sOnclick)) ,    
179           'R eport'=>ar ray('icon' =>'action_ report.gif ','link'=> 'javascrip t:void(0); ','onClick '=>str_rep lace('{act ion}','act ion=report ',$sOnclic k))    
180           );    
181      
182       $sCode  = '<div i d="actionL ist">';    
183       foreac h ($aActio ns as $sKe y => $sVal )    
184       {    
185           $s Code .= '< div><img s rc="'.$sit e['icons'] .$sVal['ic on'].'"><a  href="'.$ sVal['link '].'" oncl ick="'.$sV al['onClic k'].'">'._ t('_'.$sKe y).'</a></ div>';    
186       }    
187       $sCode  .= '</div ><div clas s="clear_b oth"></div >';    
188           
189       return  $sCode;    
190   }    
191      
192   function P ageCompRat e()    
193   {    
194       global  $iFile;    
195      
196       $sCode  = '<cente r>' . _t(' _Gallery v ideo ratin g is not e nabled') .  '</center >';    
197      
198       $oVoti ngView = n ew BxTempl VotingView  ('gvideo' , (int)$iF ile);    
199       if( $o VotingView ->isEnable d())    
200           $s Code = $oV otingView- >getBigVot ing ();    
201      
202       return  $sCode;    
203   }    
204      
205   function P ageCompVie wComments( )    
206   {    
207       global  $site;    
208       global  $aFile;    
209       global  $member;    
210       global  $logged;    
211           
212       $iDivi s = 2;    
213       $iCurr   = 1;    
214           
215       if (!i sset($_GET ['commPage ']))    
216       {    
217           $s Limit =  '  LIMIT 0,' .$iDivis;    
218       }    
219       else    
220       {    
221           $i Curr = (in t)$_GET['c ommPage'];    
222           if ( $iCurr <  1 ) $iCur r = 1;    
223           $s Limit =  '  LIMIT '.( $iCurr - 1 )*$iDivis. ','.$iDivi s;    
224       }    
225           
226       $sQuer y = "SELEC T UNIX_TIM ESTAMP(`co mmDate`) A S `commDat e`,    
227                           `commTex t`,    
228                           `profile ID`,    
229                           `Profile s`.`NickNa me`    
230                           FROM    
231                           `shareVi deoComment s`    
232                           INNER JO IN `Profil es` ON `Pr ofiles`.`I D`=`shareV ideoCommen ts`.`profi leID`    
233                           WHERE `m edID`='{$a File['medI D']}' ORDE R BY `comm Date` DESC ";    
234      
235       $rComm ents = db_ res($sQuer y);    
236       $iNums  = mysql_n um_rows($r Comments);    
237       $sNav  = $iNums >  $iDivis ?  commentNa vigation($ iNums,$iDi vis,$iCurr ) : '';    
238           
239       $sQuer y .= $sLim it;    
240      
241       $rComm ents = db_ res($sQuer y);    
242           
243       $sCode  = '<div i d="comment s">';    
244           
245       while( $aComments  = mysql_f etch_array ($rComment s))    
246       {    
247           $s Code .= '< div class= "commentUn it">';    
248                $sCode . = '<div cl ass="userP ic">'.get_ member_ico n($aCommen ts['profil eID'],'lef t').'</div >';    
249                $sCode . = '<div cl ass="comme ntMain"><d iv class=" commentInf o"><a href ="'.getPro fileLink($ aComments[ 'profileID ']).'">'.$ aComments[ 'NickName' ].'</a> ';    
250                $sCode . = '(' . de fineTimeIn terval($aC omments['c ommDate']) .')</div>' ;    
251                $sCode . = '<div cl ass="comme ntText">'. $aComments ['commText '].'</div> </div>';    
252                $sCode . = '<div cl ass="clear _both"></d iv>';    
253           $s Code .= '< /div>';     
254       }    
255           
256       if ( $ logged['me mber'] )    
257       {    
258           $s Code .= '< div id="co mmentArea" ><div><a i d="comment Link" onCl ick="docum ent.getEle mentById(\ 'answerFor mTo\').sty le.display  = \'block \';     
259           th is.style.d isplay = \ 'none\';"  href="java script:voi d(0);">'._ t("_Post C omment").' </a>'.'</d iv>';    
260           $s Code .= '    
261                <div id= "answerFor mTo" style ="display: none;">    
262                    <for m method=" post" id=" postForm"  action="'. $_SERVER[' PHP_SELF'] .'">    
263                         <div>'._t( "_Post Com ment").'</ div>    
264                         <div>    
265                             <texta rea name=" commentTex t" cols="5 0" rows="1 0"></texta rea>    
266                         </div>               
267                         <input typ e="hidden"  name="pro fileID" va lue="'.$me mber['ID'] .'">    
268                         <input typ e="hidden"  name="fil eID" value ="'.$aFile ['medID']. '">    
269                         <input typ e="submit"  name="com mentAdd" v alue="Post ">    
270                         <input typ e="button"  value="Ca ncel" onCl ick="    
271                         javascript : document .getElemen tById(\'an swerFormTo \').style. display =  \'none\';    
272                         document.g etElementB yId(\'comm entLink\') .style.dis play = \'b lock\'">    
273                    </fo rm>    
274                </div>    
275           </ div>';    
276       }    
277           
278       $sCode  .= $sNav;    
279       $sCode  .= '</div >';    
280           
281       return  $sCode;    
282   }    
283      
284   function P ageCompFil eInfo()    
285   {    
286       global  $site;    
287       global  $aFile;    
288           
289       if ($a File['medC ount'] - 1  > 0)    
290       {    
291           $s LinkMore =  '<a href= "browseVid eo.php?use rID='.$aFi le['medPro fId'].'">' .$aFile['m edCount']. '</a>';    
292       }    
293       else    
294       {    
295           $s LinkMore =  $aFile['m edCount'];    
296       }    
297           
298       $sTitl e = strlen ($aFile['m edTitle'])  > 0 ? $aF ile['medTi tle'] : _t ("_Untitle d");    
299           
300       $sCode  .= '<div  id="videoI nfo">';    
301       $sCode  .= '<div  id="fileTo p">';    
302           $s Code .= '< div class= "fileTitle ">'.$sTitl e.'</div>' ;    
303           $s Code .= '< div class= "userPic"> '.get_memb er_icon($a File['medP rofId'],'l eft').'</d iv>';    
304           $s Code .= '< div class= "fileUserI nfo"><a hr ef="'.getP rofileLink ($aFile['m edProfId'] ).'">'.$aF ile['NickN ame'].'</a ></div>';    
305           $s Code .= '< div>'._t(" _Videos"). ': <b>'.$s LinkMore.' </b></div> ';    
306                    
307       $sCode  .= '</div >';    
308       $sCode  .= '<div  class="cle ar_both">< /div>';    
309                    
310       $sCode  .= '<div  id="servic eInfo">';    
311                    
312           $s Code .= '< div>'._t(" _Added").' : <b>'.def ineTimeInt erval($aFi le['medDat e']).'</b> </div>';    
313           $s Code .= '< div>'._t(" _Views").' : '.$aFile ['medViews '].'</div> ';    
314           $s Code .= '< div>'._t(" _URL").':  <input typ e="text" o nClick="th is.focus() ; this.sel ect();" re adonly="tr ue" value= "'.$site[' url'].'vie wVideo.php ?fileID='. $aFile['me dID'].'"/> </div>';    
315           $s Code .= '< div>'._t(" _Embed").'  : <input  type="text " onClick= "this.focu s(); this. select();"  readonly= "true" val ue="'.html specialcha rs(getEmbe dCode('mov ie', 'play er', array ('file'=>$ aFile['med ID']))).'" ></div>';    
316           $s Code .= '< div>'._t(" _Tags").':  '.getTagL inks($aFil e['medTags '],'Video' ).'</div>' ;    
317           $s Code .= '< div>'._t(" _Descripti onMedia"). ': '.$aFil e['medDesc '].'</div> ';    
318                    
319       $sCode  .= '</div >';    
320               
321       $sCode  .= '</div >';    
322      
323       return  $sCode;    
324   }    
325      
326   function P ageCompLas tFiles()    
327   {    
328       global  $site;    
329       global  $aFile;    
330           
331       $iLimi t = 2;    
332           
333       $sQuer y = "SELEC T `ID` as  `medID`,    
334                           `Title`  as `medTit le`,    
335                           `Date` a s `medDate `,    
336                           `Views`  as `medVie ws`    
337                           FROM `Ra yMovieFile s`     
338                           WHERE `O wner`='{$a File['medP rofId']}'     
339                           AND `ID` <>'{$aFile ['medID']} ' AND `App roved`='tr ue' ORDER  BY `Date`  DESC LIMIT  $iLimit";    
340       $rLast  = db_res( $sQuery);    
341           
342       $sLink More =  '' ;    
343       if ($a File['medC ount'] - 1  > $iLimit )    
344       {    
345           $s LinkMore =  '<a href= "browseVid eo.php?use rID='.$aFi le['medPro fId'].'">' ._t("_See  all videos  of this u ser").'</a >';    
346       }    
347       $sCode  = '<div i d="lastFil es">';    
348           
349       while  ($aLast =  mysql_fetc h_array($r Last))    
350       {    
351           $s Title = st rlen($aLas t['medTitl e']) > 0 ?  $aLast['m edTitle']  : _t("_Unt itled");    
352               
353           $o VotingView  = new BxT emplVoting View ('gvi deo', $aLa st['medID' ]);    
354           if ( $oVoting View->isEn abled() )    
355           {    
356                $sRate =  $oVotingV iew->getSm allVoting( 0);    
357                $sShowRa te = '<div  class="ga lleryRate" >'. $sRate  . '</div> ';    
358           }    
359           $s Code .= '< div class= "lastFileU nit">';    
360                $sCode . = '<div cl ass="lastF ilesPic">' ;    
361                    $sCo de .= '<a  href="'.$s ite['url'] .'viewVide o.php?file ID='.$aLas t['medID'] .'">';    
362                         $sCode .=  '<img src= "'.$site[' url'].'ray /modules/m ovie/files /'.$aLast[ 'medID'].' _small.jpg ">';    
363                    $sCo de .= '</a >';    
364                $sCode . = '</div>' ;    
365                $sCode . = '<div><a  href="'.$ site['url' ].'viewVid eo.php?fil eID='.$aLa st['medID' ].'"><b>'. $sTitle.'< /b></a></d iv>';    
366                $sCode . = '<div>'. _t("_Added ").': <b>' .defineTim eInterval( $aLast['me dDate']).' </b></div> ';    
367                $sCode . = '<div>'. _t("_Views ").': <b>' .$aLast['m edViews']. '</b></div >';    
368                $sCode . = $sShowRa te;    
369           $s Code .= '< /div>';    
370           $s Code .= '< div class= "clear_bot h"></div>' ;    
371       }    
372       $sCode  .= '<div  class="las tFilesLink ">'.$sLink More.'</di v>';    
373       $sCode  .= '</div >';    
374           
375        r e turn   $s Code
;
   
376   }   76   }
377     77  
378   ?>   78   ?>