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

823.1 Files compared

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

823.2 Comparison summary

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

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

823.4 Active regular expressions

No regular expressions were active.

823.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 wMusic.css ';   26   if (isset( $_GET['fil eUri']))
    27       $iFile  = getFile IdByUri($_ GET['fileU ri'], 'mus ic');
    28   elseif (is set($_GET[ 'fileID']) )
    29       $iFile  = (int)$_ GET['fileI D'];
    30  
    31   $member['I D'] = (int )$_COOKIE[ 'memberID' ];
    32   $member['P assword']  = $_COOKIE ['memberPa ssword'];
    33       
    34   $oNew = ne w BxDolSha redMediaVi ew($iFile,  'music',  $site, $di r, $member );
29     35  
30   $oVotingVi ew = new B xTemplVoti ngView('gm usic', 0,  0);   36   $oVotingVi ew = new B xTemplVoti ngView('gm usic', 0,  0);
31   $_page['ex tra_js']   = $oVoting View->getE xtraJs();   37   $_page['ex tra_js']   = $oVoting View->getE xtraJs();
32     38  
33   if ( !( $l ogged['adm in'] = mem ber_auth(  1, false )  ) )   39   $_page['na me_index']  = 81;
34   {   40   $_ni = $_p age['name_ index'];
35       if ( ! ( $logged[ 'member']  = member_a uth( 0, fa lse ) ) )   41   $_page['cs s_name'] =  $oNew->oS hared->sCs sName;
36       {   42   $_page['ex tra_css']  = $oNew->o CmtsView-> getExtraCs s();
37           if  ( !( $log ged['aff']  = member_ auth( 2, f alse ) ) )   43   $_page['ex tra_js']   .= $oNew-> oCmtsView- >getExtraJ s();
38           {    
39                $logged[ 'moderator '] = membe r_auth( 3,  false );    
40           }    
41       }    
42   }    
43     44  
    45   check_logg ed();
44     46  
45   $_page['he ader'] = _ t( "_view  Music" );   47   $_page['he ader'] = _ t( "_view  Music" );
46      
47   $_ni = $_p age['name_ index'];   48   $_ni = $_p age['name_ index'];
48     49  
49   $member['I D'] = (int )$_COOKIE[ 'memberID' ];   50   $check_res  = checkAc tion( $mem ber['ID'],  $oNew->oS hared->sVi ewActionNa me);
50   $member['P assword']  = $_COOKIE ['memberPa ssword'];   51   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     52        $ sCod e   
=   "
52   $iFile = i sset($_GET ['fileID'] ) ? (int)$ _GET['file ID'] : 0;    
53      
54   if (isset( $_POST['co mmentAdd'] ) && isset ($_POST['c ommentText ']) && str len($_POST ['commentT ext']) > 0 )    
55   {    
56       $iFile ID = (int) $_POST['fi leID'];    
57       $iUser  = (int)$_ POST['prof ileID'];    
58       $sText  = htmlspe cialchars_ adv($_POST ['commentT ext']);    
59       addMed iaComment( $iFileID,  $iUser, $s Text,'Musi c');    
60       header ('location :' . $_SER VER['PHP_S ELF'].'?fi leID='.$_P OST['fileI D']);    
61   }    
62      
63   $sQuery =  "    
64       SELECT   `RayMusi cFiles`.`I D` as `med ID`,    
65                `RayMusi cFiles`.`T itle` as ` medTitle`,    
66                `RayMusi cFiles`.`T ags` as `m edTags`,    
67                `RayMusi cFiles`.`D escription ` as `medD esc`,    
68                `RayMusi cFiles`.`D ate` as `m edDate`,    
69                `RayMusi cFiles`.`L istens` as  `medListe ns`,    
70                `RayMusi cFiles`.`O wner` as ` medProfId` ,    
71                COUNT( ` share1`.`I D` ) AS `m edCount`,    
72                `Profile s`.`NickNa me`,    
73                `Profile s`.`Passwo rd`    
74       FROM ` RayMusicFi les`    
75       LEFT J OIN `RayMu sicFiles`  AS `share1 ` USING (  `Owner` )    
76       INNER  JOIN `Prof iles` ON ` Profiles`. `ID`=`RayM usicFiles` .`Owner`    
77       WHERE  `RayMusicF iles`.`ID`  = $iFile    
78       GROUP  BY `share1 `.`Owner`    
79       ";    
80      
81   $aFile = d b_arr($sQu ery);    
82      
83   $check_res  = checkAc tion( $mem ber['ID'],  ACTION_ID _VIEW_GALL ERY_MUSIC  );    
84   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'])    
85   {    
86        $ r e t    =   "    
87           <t able width =100% heig ht=100% ce llpadding= 0 cellspac ing=0 clas s=text2>   53           <t able width =100% heig ht=100% ce llpadding= 0 cellspac ing=0 clas s=text2>
88                <td alig n=center b gcolor=$bo xbg2>   54                <td alig n=center b gcolor=$bo xbg2>
89                    ". $ check_res[ CHECK_ACTI ON_MESSAGE ] ."<br />   55                    ". $ check_res[ CHECK_ACTI ON_MESSAGE ] ."<br />
90                </td>   56                </td>
91           </ table>\n";   57           </ table>\n";
92     58  
93       $_page ['name_ind ex'] = 0;   59       $_page ['name_ind ex'] = 0;
94        $_page_con t[0]['page _main_code ']   =   $ r e t ;   60        $_page_con t[0]['page _main_code ']   =   $ sCod e
;
95       PageCo de();   61       PageCo de();
96       exit() ;   62       exit() ;
97   }   63   }
98          64  
99   if   (
is_array($ aFil e
))
  65   if   ( ! is_array($ oN e w->aInfo ))   {
100   {    
101       $_page ['header']  = $aFile[ 'medTitle' ];    
102           
103       db_res ("UPDATE ` RayMusicFi les` SET ` Listens` =  `Listens`  + 1 WHERE  `ID`='$iF ile'");    
104      
105       $_page _cont[$_ni ]['pageSet 1'] = Page CompCreate Blocks(1);    
106       $_page _cont[$_ni ]['pageSet 2'] = Page CompCreate Blocks(2);    
107       PageCo de();    
108   }    
109   else    
110   {    
111       $sCode  = MsgBox(  _t( '_No  file' ) );   66       $sCode  = MsgBox(  _t( '_No  file' ) );
112       $_page ['name_ind ex'] = 0;   67       $_page ['name_ind ex'] = 0;
113       $_page _cont[0][' page_main_ code'] = $ sCode;   68       $_page _cont[0][' page_main_ code'] = $ sCode;
114       PageCo de();   69       PageCo de();
115       exit() ;   70       exit() ;
116   }   71   }
117     72   else { 
118     73       $_page ['header']  = $oNew-> aInfo['med Title'];
119   /*-------- ---------- ----------  functions  of block  drawing -- ---------- ---------- ---------- ---------- ---*/   74       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'");
120     75       $_page _cont[$_ni ]['page_ma in_code']  = $oNew->g etCode();
121   function P ageCompCre ateBlocks( $iCol = 1)   76        Pag e
Code () ;
122   {    
123       global  $logged;    
124           
125       if( $l ogged['mem ber'] )    
126           $s Visible =  'memb';    
127       else    
128           $s Visible =  'non';    
129           
130       $sCode  = '';    
131       $sPos  = ' style  = "float:  left;"';    
132           
133       $sQuer y = "SELEC T * FROM ` shareMusic Compose` W HERE `Colu mn`='$iCol ' AND FIND _IN_SET( ' $sVisible' , `Visible ` ) ORDER  BY `Order` ";    
134           
135       $rComp ose = db_r es($sQuery );    
136       while  ($aCompose  = mysql_f etch_array ($rCompose ))    
137       {    
138           $f unc  = 'Pa geComp' .  $aCompose[ 'Func'];    
139           $s FuncRes =  $func( $aC ompose['Co ntent'] );    
140           $s Code .= De signBoxCon tent( _t(  $aCompose[ 'Caption']  ), $sFunc Res, 1 );    
141       }    
142      
143       return  "<div id= \"col$iCol \"".$sPos. ">".$sCode ."</div>";    
144   }    
145      
146   function P ageCompRSS ( $sConten t )    
147   {    
148       list(  $sUrl, $iN um ) = exp lode( '#',  $sContent  );    
149       $iNum  = (int)$iN um;    
150           
151       return  genRSSHtm lOut( $sUr l, $iNum ) ;    
152   }    
153      
154   function P ageCompEch o( $sConte nt )    
155   {    
156       return  $sContent ;    
157   }    
158      
159   function P ageCompVie wFile()    
160   {    
161       global  $aFile;    
162       global  $member;    
163           
164       $sCode  = '<div c lass="view File">'.ge tApplicati onContent( 'music','p layer',arr ay('id' =>  $aFile['m edID'],'pa ssword'=>$ member['Pa ssword'],' vId'=>$mem ber['ID'], 'song'=>'t rue'),true ).'</div>' ;    
165           
166       return  $sCode;    
167   }    
168      
169   function P ageCompAct ionList()    
170   {    
171       global  $site;    
172       global  $aFile;    
173           
174       $sMain  = 'viewMu sic.php?fi leID='.$aF ile['medID '];    
175           
176       $sOncl ick = "jav ascript: w indow.open ( 'musicAc tions.php? fileID={$a File['medI D']}&{acti on}', 'mus ic', 'widt h=500, hei ght=380, m enubar=no, status=no, resizable= yes,scroll bars=yes,t oolbar=no, location=n o' );";    
177       $aActi ons = arra y(    
178           '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) ),    
179           'S hare'=>arr ay('icon'= >'action_s hare.gif', 'link'=>'j avascript: void(0);', 'onClick'= >str_repla ce('{actio n}','actio n=share',$ sOnclick)) ,    
180           'R eport'=>ar ray('icon' =>'action_ report.gif ','link'=> 'javascrip t:void(0); ','onClick '=>str_rep lace('{act ion}','act ion=report ',$sOnclic k))    
181           );       
182      
183       $sCode  = '<div i d="actionL ist">';    
184       foreac h ($aActio ns as $sKe y => $sVal )    
185       {    
186           $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>';    
187       }    
188       $sCode  .= '</div ><div clas s="clear_b oth"></div >';    
189           
190       return  $sCode;    
191   }    
192      
193   function P ageCompRat e()    
194   {    
195       global  $iFile;    
196      
197       $sCode  = '<cente r>' . _t(' _Gallery m usic ratin g is not e nabled') .  '</center >';    
198      
199       $oVoti ngView = n ew BxTempl VotingView  ('gmusic' , (int)$iF ile);    
200       if( $o VotingView ->isEnable d())    
201           $s Code = $oV otingView- >getBigVot ing ();    
202           
203       return  $sCode;    
204   }    
205      
206   function P ageCompVie wComments( )    
207   {    
208       global  $site;    
209       global  $aFile;    
210       global  $member;    
211       global  $logged;    
212           
213       $iDivi s = 2;    
214       $iCurr   = 1;    
215           
216       if (!i sset($_GET ['commPage ']))    
217       {    
218           $s Limit =  '  LIMIT 0,' .$iDivis;    
219       }    
220       else    
221       {    
222           $i Curr = (in t)$_GET['c ommPage'];    
223           if ( $iCurr <  1 ) $iCur r = 1;    
224           $s Limit =  '  LIMIT '.( $iCurr - 1 )*$iDivis. ','.$iDivi s;    
225       }    
226           
227       $sQuer y = "SELEC T UNIX_TIM ESTAMP(`co mmDate`) A S `commDat e`,    
228                           `commTex t`,    
229                           `profile ID`,    
230                           `Profile s`.`NickNa me`    
231                           FROM    
232                           `shareMu sicComment s`    
233                           INNER JO IN `Profil es` ON `Pr ofiles`.`I D`=`shareM usicCommen ts`.`profi leID`    
234                           WHERE `m edID`='{$a File['medI D']}' ORDE R BY `comm Date` DESC ";    
235      
236       $rComm ents = db_ res($sQuer y);    
237       $iNums  = mysql_n um_rows($r Comments);    
238       $sNav  = $iNums >  $iDivis ?  commentNa vigation($ iNums,$iDi vis,$iCurr ) : '';    
239           
240       $sQuer y .= $sLim it;    
241      
242       $rComm ents = db_ res($sQuer y);    
243           
244       $sCode  = '<div i d="comment s">';    
245           
246       while( $aComments  = mysql_f etch_array ($rComment s))    
247       {    
248           $s Code .= '< div class= "commentUn it">';    
249                $sCode . = '<div cl ass="userP ic">'.get_ member_ico n($aCommen ts['profil eID'],'lef t').'</div >';    
250                $sCode . = '<div cl ass="comme ntMain"><d iv class=" commentInf o"><a href ="'.getPro fileLink($ aComments[ 'profileID ']).'">'.$ aComments[ 'NickName' ].'</a> ';    
251                $sCode . = '(' . de fineTimeIn terval($aC omments['c ommDate']) .')</div>' ;    
252                $sCode . = '<div cl ass="comme ntText">'. $aComments ['commText '].'</div> </div>';    
253                $sCode . = '<div cl ass="clear _both"></d iv>';    
254           $s Code .= '< /div>';     
255       }    
256           
257       if ( $ logged['me mber'] )    
258       {    
259           $s Code .= '< div id="co mmentArea" ><div><a i d="comment Link" onCl ick="docum ent.getEle mentById(\ 'answerFor mTo\').sty le.display  = \'block \';     
260           th is.style.d isplay = \ 'none\';"  href="java script:voi d(0);">'._ t("_Post C omment").' </a>'.'</d iv>';    
261           $s Code .= '    
262                <div id= "answerFor mTo" style ="display: none;">    
263                    <for m method=" post" id=" postForm"  action="'. $_SERVER[' PHP_SELF'] .'">    
264                         <div>'._t( "_Post Com ment").'</ div>    
265                         <div>    
266                             <texta rea name=" commentTex t" cols="5 0" rows="1 0"></texta rea>    
267                         </div>               
268                         <input typ e="hidden"  name="pro fileID" va lue="'.$me mber['ID'] .'">    
269                         <input typ e="hidden"  name="fil eID" value ="'.$aFile ['medID']. '">    
270                         <input typ e="submit"  name="com mentAdd" v alue="Post ">    
271                         <input typ e="button"  value="Ca ncel" onCl ick="    
272                         javascript : document .getElemen tById(\'an swerFormTo \').style. display =  \'none\';    
273                         document.g etElementB yId(\'comm entLink\') .style.dis play = \'b lock\'">    
274                    </fo rm>    
275                </div>    
276           </ div>';    
277       }       
278      
279       $sCode  .= $sNav;    
280       $sCode  .= '</div >';    
281           
282       return  $sCode;    
283   }    
284      
285   function P ageCompFil eInfo()    
286   {    
287       global  $site;    
288       global  $aFile;    
289           
290       if ($a File['medC ount'] - 1  > 0)    
291       {    
292           $s LinkMore =  '<a href= "browseMus ic.php?use rID='.$aFi le['medPro fId'].'">' .$aFile['m edCount']. '</a>';    
293       }    
294       else    
295       {    
296           $s LinkMore =  $aFile['m edCount'];    
297       }    
298           
299       $sCode  .= '<div  id="videoI nfo">';    
300       $sCode  .= '<div  id="fileTo p">';    
301       $sTitl e = strlen ($aFile['m edTitle'])  > 0 ? $aF ile['medTi tle'] : _t ("_Untitle d");    
302           
303           $s Code .= '< div class= "fileTitle ">'.$sTitl e.'</div>' ;    
304           $s Code .= '< div class= "userPic"> '.get_memb er_icon($a File['medP rofId'],'l eft').'</d iv>';    
305           $s Code .= '< div class= "fileUserI nfo">'._t( "_By").' < a href="'. getProfile Link($aFil e['medProf Id']).'">' .$aFile['N ickName']. '</a></div >';    
306           $s Code .= '< div>'._t(" _Music fil es").': <b >'.$sLinkM ore.'</b>< /div>';    
307                    
308       $sCode  .= '</div >';    
309       $sCode  .= '<div  class="cle ar_both">< /div>';    
310                    
311       $sCode  .= '<div  id="servic eInfo">';    
312                    
313           $s Code .= '< div>'._t(" _Added").' : <b>'.def ineTimeInt erval($aFi le['medDat e']).'</b> </div>';    
314           $s Code .= '< div>'._t(" _Playbacks ").': '.$a File['medL istens'].' </div>';    
315           $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 wMusic.php ?fileID='. $aFile['me dID'].'"/> </div>';    
316           $s Code .= '< div>'._t(" _Embed").'  : <input  type="text " onClick= "this.focu s(); this. select();"  readonly= "true" val ue="'.html specialcha rs(getEmbe dCode('mus ic', 'play er', array ('id'=>$aF ile['medID '],'song'= >'true'))) .'"></div> ';    
317           $s Code .= '< div>'._t(" _Tags").':  '.getTagL inks($aFil e['medTags '],'Music' ).'</div>' ;    
318           $s Code .= '< div>'._t(" _Descripti onMedia"). ': '.$aFil e['medDesc '].'</div> ';    
319                    
320       $sCode  .= '</div >';    
321               
322       $sCode  .= '</div >';    
323      
324       return  $sCode;    
325   }    
326      
327   function P ageCompLas tFiles()    
328   {    
329       global  $site;    
330       global  $aFile;    
331           
332       $iLimi t = 2;    
333           
334       $sQuer y = "SELEC T `ID` as` medID`,    
335                           `Title`  as `medTit le`,    
336                           `Date` a s `medDate `,    
337                           `Listens ` as `medL istens`    
338                           FROM `Ra yMusicFile s`     
339                           WHERE `O wner`='{$a File['medP rofId']}'     
340                           AND `ID` <>'{$aFile ['medID']} ' AND `App roved`='tr ue' ORDER  BY `Date`  DESC LIMIT  $iLimit";    
341       $rLast  = db_res( $sQuery);    
342           
343       if ( m ysql_num_r ows($rLast ) )    
344       {    
345           $s LinkMore =   '';    
346           if  ($aFile[' medCount']  - 1 > $iL imit)    
347           {    
348                $sLinkMo re = '<a h ref="brows eMusic.php ?userID='. $aFile['me dProfId']. '">'._t("_ See all mu sic of thi s user").' </a>';    
349           }    
350           $s Code = '<d iv id="las tFiles">';    
351               
352           wh ile ($aLas t = mysql_ fetch_arra y($rLast))    
353           {    
354                $oVoting View = new  BxTemplVo tingView ( 'gmusic',  $aLast['me dID']);    
355                $sTitle  = strlen($ aLast['med Title']) >  0 ? $aLas t['medTitl e'] : _t(" _Untitled" );    
356                    
357                if( $oVo tingView-> isEnabled( ) )    
358                {    
359                    $sRa te = $oVot ingView->g etSmallVot ing (0);    
360                    $sSh owRate = ' <div class ="galleryR ate">'. $s Rate . '<d iv class=" clear_both "></div></ div>';    
361                }    
362                $sCode . = '<div cl ass="lastF ileUnit">' ;    
363                        
364                    $sCo de .= '<di v class="l astFilesPi c">';    
365                         $sCode .=  '<a href=" '.$site['u rl'].'view Music.php? fileID='.$ aLast['med ID'].'">';    
366                             $sCode  .= '<img  src="'.$si te['images '].'music. png">';    
367                         $sCode .=  '</a>';    
368                    $sCo de .= '</d iv>';    
369                        
370                    $sCo de .= '<di v><a href= "'.$site[' url'].'vie wMusic.php ?fileID='. $aLast['me dID'].'">< b>'.$sTitl e.'</b></a ></div>';    
371                    $sCo de .= '<di v>'._t("_A dded").':  <b>'.defin eTimeInter val($aLast ['medDate' ]).'</b></ div>';    
372                    $sCo de .= '<di v>'._t("_P laybacks") .': <b>'.$ aLast['med Listens']. '</b></div >';    
373                    $sCo de .= $sSh owRate;    
374                $sCode . = '</div>' ;    
375                $sCode . = '<div cl ass="clear _both"></d iv>';    
376           }    
377           $s Code .= '< div class= "lastFiles Link">'.$s LinkMore.' </div>';    
378           $s Code .= '< /div>';    
379       }    
380           
381        r e turn   $s Code
;
   
382   }   77   }
383     78  
384   ?>   79   ?>