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

825.1 Files compared

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

825.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 12 106
Changed 6 341
Inserted 3 5
Removed 2 4

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

825.4 Active regular expressions

No regular expressions were active.

825.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 wPhoto.css ';   26   if (isset( $_GET['fil eUri']))
    27       $iFile  = getFile IdByUri($_ GET['fileU ri'], 'pho to');
    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, 'photo', $ site, $dir , $member) ;
29     34  
30   $oVotingVi ew = new B xTemplVoti ngView('gp hoto', 0,  0);   35   $oVotingVi ew = new B xTemplVoti ngView('gp hoto', 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  Photo" );   46   $_page['he ader'] = _ t( "_view  Photo" );
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,'Phot o');    
59       header ('location :' . $_SER VER['PHP_S ELF'].'?fi leID='.$_P OST['fileI D']);    
60   }    
61      
62       $sQuer y = "    
63           SE LECT  `sha rePhotoFil es`.*,    
64                    UNIX _TIMESTAMP (`sharePho toFiles`.` medDate`)  as `medDat e`,    
65                    COUN T( `share1 `.`medID`  ) AS `medC ount`,    
66                    `Pro files`.`Ni ckName`    
67           FR OM `shareP hotoFiles`    
68           LE FT JOIN `s harePhotoF iles` AS ` share1` US ING ( `med ProfId` )    
69           IN NER JOIN ` Profiles`  ON `Profil es`.`ID`=` sharePhoto Files`.`me dProfId`    
70           WH ERE `share PhotoFiles `.`medID`  = $iFile    
71           GR OUP BY `sh are1`.`med ProfId`    
72       ";    
73      
74   $aFile = d b_arr($sQu ery);    
75      
76   $check_res  = checkAc tion( $mem ber['ID'],  ACTION_ID _VIEW_GALL ERY_PHOTO  );    
77   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'])    
78   {    
79        $ r e t    =   "    
80           <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>
81                <td alig n=center b gcolor=$bo xbg2>   53                <td alig n=center b gcolor=$bo xbg2>
82                    ". $ check_res[ CHECK_ACTI ON_MESSAGE ] ."<br />   54                    ". $ check_res[ CHECK_ACTI ON_MESSAGE ] ."<br />
83                </td>   55                </td>
84           </ table>\n";   56           </ table>\n";
85     57  
86       $_page ['name_ind ex'] = 0;   58       $_page ['name_ind ex'] = 0;
87        $_page_con t[0]['page _main_code ']   =   $ r e t ;   59        $_page_con t[0]['page _main_code ']   =   $ sCod e
;
88       PageCo de();   60       PageCo de();
89       exit() ;   61       exit() ;
90   }   62   }
91     63  
92   if   (
is_array($ aFil e
))
  64   if   ( ! is_array($ oN e w->aInfo ))   {
93   {    
94       $_page ['header']  = $aFile[ 'medTitle' ];    
95      
96       db_res ("UPDATE ` sharePhoto Files` SET  `medViews ` = `medVi ews` + 1 W HERE `medI D`='$iFile '");    
97           
98       $_page _cont[$_ni ]['pageSet 1'] = Page CompCreate Blocks(1);    
99       $_page _cont[$_ni ]['pageSet 2'] = Page CompCreate Blocks(2);    
100       PageCo de();    
101   }    
102   else    
103   {    
104       $sCode  = MsgBox(  _t( '_No  file' ) );   65       $sCode  = MsgBox(  _t( '_No  file' ) );
105       $_page ['name_ind ex'] = 0;   66       $_page ['name_ind ex'] = 0;
106       $_page _cont[0][' page_main_ code'] = $ sCode;   67       $_page _cont[0][' page_main_ code'] = $ sCode;
107       PageCo de();   68       PageCo de();
108       exit() ;   69       exit() ;
109   }   70   }
    71   else { 
    72       $_page ['header']  = $oNew-> aInfo['med Title'];
    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'");
110     74       
111     75       $_page _cont[$_ni ]['page_ma in_code']  = $oNew->g etCode();
112   /*-------- ---------- ----------  functions  of block  drawing -- ---------- ---------- ---------- ---------- ---*/   76        Pag e
Code () ;
113      
114   function P ageCompCre ateBlocks( $iCol = 1)    
115   {    
116       global  $logged;    
117           
118       if( $l ogged['mem ber'] )    
119           $s Visible =  'memb';    
120       else    
121           $s Visible =  'non';    
122           
123       $sCode  = '';    
124       $sPos  = ' style  = "float:  left;"';    
125           
126       $sQuer y = "SELEC T * FROM ` sharePhoto Compose` W HERE `Colu mn`='$iCol ' AND FIND _IN_SET( ' $sVisible' , `Visible ` ) ORDER  BY `Order` ";    
127       $rComp ose = db_r es($sQuery );    
128       while  ($aCompose  = mysql_f etch_array ($rCompose ))    
129       {    
130           $f unc  = 'Pa geComp' .  $aCompose[ 'Func'];    
131           $s Func = $fu nc( $aComp ose['Conte nt'] );    
132           $s Code .= De signBoxCon tent(_t($a Compose['C aption']), $sFunc,1);    
133       }    
134      
135       return  "<div id= \"col$iCol \"".$sPos. ">".$sCode ."</div>";    
136   }    
137      
138   function P ageCompRSS ( $sConten t )    
139   {    
140       list(  $sUrl, $iN um ) = exp lode( '#',  $sContent  );    
141       $iNum  = (int)$iN um;    
142           
143       return  genRSSHtm lOut( $sUr l, $iNum ) ;    
144   }    
145      
146   function P ageCompEch o( $sConte nt )    
147   {    
148       return  $sContent ;    
149   }    
150      
151   function P ageCompVie wFile()    
152   {    
153       global  $aFile;    
154       global  $site;    
155           
156       $sImag e = $site[ 'sharingIm ages'].$aF ile['medID '].'_m.'.$ aFile['med Ext'];    
157       $sCode  = '<div i d="viewFil e" style=" background -image: ur l(\''.$sIm age.'\')"> &nbsp;</di v>';    
158               
159       return  $sCode;    
160   }    
161      
162   function P ageCompAct ionList()    
163   {    
164       global  $site;    
165       global  $aFile;    
166           
167       $sMain  = 'viewPh oto.php?fi leID='.$aF ile['medID '];    
168           
169       $sOncl ick = "jav ascript: w indow.open ( 'photoAc tions.php? fileID={$a File['medI D']}&{acti on}', 'pho to', 'widt h=500, hei ght=380, m enubar=no, status=no, resizable= yes,scroll bars=yes,t oolbar=no, location=n o' );";    
170       $aActi ons = arra y(    
171           '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) ),    
172           'S hare'=>arr ay('icon'= >'action_s hare.gif', 'link'=>'j avascript: void(0);', 'onClick'= >str_repla ce('{actio n}','actio n=share',$ sOnclick)) ,    
173           'R eport'=>ar ray('icon' =>'action_ report.gif ','link'=> 'javascrip t:void(0); ','onClick '=>str_rep lace('{act ion}','act ion=report ',$sOnclic k)),    
174           'O riginal_Si ze'=>array ('icon'=>' action_dow nload.gif' ,'link'=>$ site['shar ingImages' ].$aFile[' medID'].'. '.$aFile[' medExt'],' onClick'=> '')    
175           );    
176      
177       $sCode  = '<div i d="actionL ist">';    
178       foreac h ($aActio ns as $sKe y => $sVal )    
179       {    
180           $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>';    
181       }    
182       $sCode  .= '</div ><div clas s="clear_b oth"></div >';    
183           
184       return  $sCode;    
185   }    
186      
187   function P ageCompRat e()    
188   {    
189       global  $iFile;    
190      
191       $sCode  = '<cente r>' . _t(' _Gallery p hotos rati ng is not  enabled')  . '</cente r>';    
192      
193       $oVoti ngView = n ew BxTempl VotingView  ('gphoto' , (int)$iF ile);    
194       if( $o VotingView ->isEnable d())    
195           $s Code = $oV otingView- >getBigVot ing ();    
196      
197       return  $sCode;    
198   }    
199      
200   function P ageCompVie wComments( )    
201   {    
202       global  $site;    
203       global  $aFile;    
204       global  $member;    
205       global  $logged;    
206           
207       $iDivi s = 2;    
208       $iCurr   = 1;    
209           
210       if (!i sset($_GET ['commPage ']))    
211       {    
212           $s Limit =  '  LIMIT 0,' .$iDivis;    
213       }    
214       else    
215       {    
216           $i Curr = (in t)$_GET['c ommPage'];    
217           if ( $iCurr <  1 ) $iCur r = 1;    
218           $s Limit =  '  LIMIT '.( $iCurr - 1 )*$iDivis. ','.$iDivi s;    
219       }    
220           
221       $sQuer y = "SELEC T UNIX_TIM ESTAMP(`co mmDate`) A S `commDat e`,    
222                           `commTex t`,    
223                           `profile ID`,    
224                           `Profile s`.`NickNa me`    
225                           FROM    
226                           `sharePh otoComment s`    
227                           INNER JO IN `Profil es` ON `Pr ofiles`.`I D`=`shareP hotoCommen ts`.`profi leID`    
228                           WHERE `m edID`='{$a File['medI D']}' ORDE R BY `comm Date` DESC ";    
229      
230       $rComm ents = db_ res($sQuer y);    
231       $iNums  = mysql_n um_rows($r Comments);    
232       $sNav  = $iNums >  $iDivis ?  commentNa vigation($ iNums,$iDi vis,$iCurr ) : '';    
233           
234       $sQuer y .= $sLim it;    
235      
236       $rComm ents = db_ res($sQuer y);    
237           
238       $sCode  = '<div i d="comment s">';    
239           
240       while( $aComments  = mysql_f etch_array ($rComment s))    
241       {    
242           $s Code .= '< div class= "commentUn it">';    
243                $sCode . = '<div cl ass="userP ic">'.get_ member_ico n($aCommen ts['profil eID'],'lef t').'</div >';    
244                $sCode . = '<div cl ass="comme ntMain"><d iv class=" commentInf o"><a href ="'.getPro fileLink($ aComments[ 'profileID ']).'">'.$ aComments[ 'NickName' ].'</a> ';    
245                $sCode . = '(' . de fineTimeIn terval($aC omments['c ommDate']) .')</div>' ;    
246                $sCode . = '<div cl ass="comme ntText">'. $aComments ['commText '].'</div> </div>';    
247                $sCode . = '<div cl ass="clear _both"></d iv>';    
248           $s Code .= '< /div>';     
249       }    
250           
251       if ( $ logged['me mber'] )    
252       {    
253           $s Code .= '< div id="co mmentArea" ><div><a i d="comment Link" onCl ick="docum ent.getEle mentById(\ 'answerFor mTo\').sty le.display  = \'block \';     
254           th is.style.d isplay = \ 'none\';"  href="java script:voi d(0);">'._ t("_Post C omment").' </a>'.'</d iv>';    
255           $s Code .= '    
256                <div id= "answerFor mTo" style ="display: none;">    
257                    <for m method=" post" id=" postForm"  action="'. $_SERVER[' PHP_SELF'] .'">    
258                         <div>'._t( "_Post Com ment").'</ div>    
259                         <div>    
260                             <texta rea name=" commentTex t" cols="5 0" rows="1 0"></texta rea>    
261                         </div>               
262                         <input typ e="hidden"  name="pro fileID" va lue="'.$me mber['ID'] .'">    
263                         <input typ e="hidden"  name="fil eID" value ="'.$aFile ['medID']. '">    
264                         <input typ e="submit"  name="com mentAdd" v alue="Post ">    
265                         <input typ e="button"  value="Ca ncel" onCl ick="    
266                         javascript : document .getElemen tById(\'an swerFormTo \').style. display =  \'none\';    
267                         document.g etElementB yId(\'comm entLink\') .style.dis play = \'b lock\'">    
268                    </fo rm>    
269                </div>    
270           </ div>';    
271       }    
272      
273       $sCode  .= $sNav;    
274       $sCode  .= '</div >';    
275           
276       return  $sCode;    
277   }    
278      
279   function P ageCompFil eInfo()    
280   {    
281       global  $site;    
282       global  $aFile;    
283           
284       if ($a File['medC ount'] - 1  > 0)    
285       {    
286           $s LinkMore =  '<a href= "browsePho to.php?use rID='.$aFi le['medPro fId'].'">' .$aFile['m edCount']. '</a>';    
287       }    
288       else    
289       {    
290           $s LinkMore =  $aFile['m edCount'];    
291       }    
292           
293       $sImag e = '<img  src="'.$si te['sharin gImages']. $aFile['me dID'].'.'. $aFile['me dExt'].'"> ';    
294       $sTitl e = strlen ($aFile['m edTitle'])  > 0 ? $aF ile['medTi tle'] : _t ("_Untitle d");    
295       $sCode  .= '<div  id="videoI nfo">';    
296       $sCode  .= '<div  id="fileTo p">';    
297           $s Code .= '< div class= "fileTitle ">'.$sTitl e.'</div>' ;    
298           $s Code .= '< div class= "userPic"  style="">' .get_membe r_icon($aF ile['medPr ofId'],'le ft').'</di v>';    
299           $s Code .= '< div class= "fileUserI nfo"><a hr ef="'.getP rofileLink ($aFile['m edProfId'] ).'">'.$aF ile['NickN ame'].'</a ></div>';    
300           $s Code .= '< div>'._t(" _Photos"). ': <b>'.$s LinkMore.' </b></div> ';    
301                    
302       $sCode  .= '</div >';    
303       $sCode  .= '<div  class="cle ar_both">< /div>';    
304                    
305       $sCode  .= '<div  id="servic eInfo">';    
306                    
307           $s Code .= '< div>'._t(" _Added").' : <b>'.def ineTimeInt erval($aFi le['medDat e']).'</b> </div>';    
308           $s Code .= '< div>'._t(" _Views").' : '.$aFile ['medViews '].'</div> ';    
309           $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 wPhoto.php ?fileID='. $aFile['me dID'].'"/> </div>';    
310           $s Code .= '< div>'._t(" _Embed").'  : <input  type="text " onClick= "this.focu s(); this. select();"  readonly= "true" val ue="'.html specialcha rs($sImage ).'"></div >';    
311           $s Code .= '< div>'._t(" _Tags").':  '.getTagL inks($aFil e['medTags '],'Photo' ).'</div>' ;    
312           $s Code .= '< div>'._t(" _Descripti onMedia"). ': '.$aFil e['medDesc '].'</div> ';    
313                    
314       $sCode  .= '</div >';    
315               
316       $sCode  .= '</div >';    
317      
318       return  $sCode;    
319   }    
320      
321   function P ageCompLas tFiles()    
322   {    
323       global  $site;    
324       global  $aFile;    
325           
326       $iLimi t = 2;    
327           
328       $sQuer y = "SELEC T `medID`,    
329                           `medTitl e`,    
330                           UNIX_TIM ESTAMP(`me dDate`) as  `medDate` ,    
331                           `medExt` ,    
332                           `medView s`    
333                           FROM `sh arePhotoFi les`     
334                           WHERE `m edProfId`= '{$aFile[' medProfId' ]}'     
335                           AND `med ID`<>'{$aF ile['medID ']}' AND ` Approved`= 'true' ORD ER BY `med Date` DESC  LIMIT $iL imit";    
336       $rLast  = db_res( $sQuery);    
337           
338       $sLink More =  '' ;    
339       if ($a File['medC ount'] - 1  > $iLimit )    
340       {    
341           $s LinkMore =  '<a href= "browsePho to.php?use rID='.$aFi le['medPro fId'].'">' ._t("_See  all photos  of this u ser").'</a >';    
342       }    
343       $sCode  = '<div i d="lastFil es">';    
344           
345       while  ($aLast =  mysql_fetc h_array($r Last))    
346       {    
347           $s Image = $s ite['shari ngImages'] .$aLast['m edID'].'_t .'.$aLast[ 'medExt'];    
348           $s Title = st rlen($aLas t['medTitl e']) > 0 ?  $aLast['m edTitle']  : _t("_Unt itled");    
349               
350           $o VotingView  = new BxT emplVoting View ('gph oto', $aLa st['medID' ]);    
351           if ( $oVoting View->isEn abled() )    
352           {    
353                $sRate =  $oVotingV iew->getSm allVoting( 0);    
354                $sShowRa te = '<div  class="ga lleryRate" >'. $sRate  . '</div> ';    
355           }    
356      
357           $s Code .= '< div class= "lastFileU nit">';    
358                    
359                $sCode . = '<a href ="'.$site[ 'url'].'vi ewPhoto.ph p?fileID=' .$aLast['m edID'].'"> ';    
360                    $sCo de .= '<im g class="l astFilesPi c" style=" background -image: ur l(\''.$sIm age.'\');"  src="' .    
361                      ge tTemplateI con( 'spac er.gif' )  . '" />';    
362                $sCode . = '</a>';    
363                    
364                $sCode . = '<div><a  href="'.$ site['url' ].'viewPho to.php?fil eID='.$aLa st['medID' ].'"><b>'. $sTitle.'< /b></a></d iv>';    
365                $sCode . = '<div>'. _t("_Added ").': <b>' .defineTim eInterval( $aLast['me dDate']).' </b></div> ';    
366                $sCode . = '<div>'. _t("_Views ").': <b>' .$aLast['m edViews']. '</b></div >';    
367                $sCode . = $sShowRa te;    
368           $s Code .= '< /div>';    
369           $s Code .= '< div class= "clear_bot h"></div>' ;    
370       }    
371       $sCode  .= '<div  class="las tFilesLink ">'.$sLink More.'</di v>';    
372       $sCode  .= '</div >';    
373           
374        r e turn   $s Code
;
   
375   }   77   }
376     78  
377   ?>   79   ?>