- Artist
- Video Clip
if(!defined('DATALIFEENGINE')) { die("Hacking attempt!"); } $tpl->load_template('mp3/popbox/send2friend.tpl'); if (!$is_logged) { $tpl->set('{email}', ''); }else { $tpl->set('{email}', $member_id['email']); } $tpl->set('{THEME}', $config['http_home_url'].'templates/'.$config['skin']); $tpl->compile('popbox'); $tpl->clear(); $tpl->load_template('mp3/popbox/messenger.tpl'); $tpl->set('{THEME}', $config['http_home_url'].'templates/'.$config['skin']); $tpl->compile('popbox'); $tpl->clear(); $tpl->load_template('mp3/popbox/download.tpl'); $tpl->set('{THEME}', $config['http_home_url'].'templates/'.$config['skin']); $tpl->compile('popbox'); $tpl->clear(); $member = $_GET[name]; $db->query("SELECT * FROM " . PREFIX . "_user_creatplaylist WHERE member = '".$member_id['name']."' ORDER BY name"); if (!$is_logged) { $tpl->load_template('mp3/popbox/nologin.tpl'); $tpl->set('{THEME}', $config['http_home_url'].'templates/'.$config['skin']); }else { $count = $db->num_rows(); if($count > '0') { $tpl->load_template('mp3/addtoplaylist.tpl'); $tpl->set('{THEME}', $config['http_home_url'].'templates/'.$config['skin']); $list = ''; $tpl->set('{playlist}', $list); $tpl->set('{THEME}',$config['http_home_url'].'/templates/'.$config['skin']); $tpl->set('{homepage}', $config['http_home_url']); $tpl->compile('popbox'); $tpl->clear(); $db->free(); ?> if(!defined('DATALIFEENGINE')) { die("Hacking attempt!"); } $tpl->load_template('mp3/right/topmusic/topmusichead.tpl'); $tpl->compile('topmusic'); $tpl->clear(); $hotmusic = $db->query("SELECT * FROM " . PREFIX . "_musictop WHERE published = 'yes' ORDER BY m_id DESC LIMIT 0,".$config['num_musichot'].""); while ($row = $db->get_row($hotmusic)){ $tpl->load_template('mp3/right/topmusic/topmusiclist.tpl'); $tpl->set('{name}', $row[m_title] ); $tpl->set('{encname}', enc($row[m_title]) ); $tpl->set('{singer}', $row[m_singer] ); $tpl->set('{url}', enc($row[m_url]) ); $tpl->set('{poplink}', $config['http_home_url'].'engine/mp3/listen.php?name='.enc($row[m_title]).'&url='.enc($row[m_url])); if($config['allow_alt_url'] == 'yes'){ if($config['att_download'] == '1') $tpl->set('{download}', 'href="javascript:void();" Onclick="caobox.show_popup(\'att_download_thissong\');setDownLoad( \''.enc($row[m_url]).'\', \''.$row[m_title].'\');"'); else $tpl->set('{download}', 'href="'.$config['http_home_url'].'store/'.enc($row[m_url]).'/'.$row[m_title].' " target="_bank"'); } else { if($config['att_download'] == '1') $tpl->set('{download}', 'href="javascript:void();" Onclick="caobox.show_popup(\'att_download_thissong\');setDownLoad( \''.enc($row[m_url]).'\', \''.$row[m_title].'\');"'); else $tpl->set('{download}', 'href="'.$config['http_home_url'].'engine/mp3/mp3download.php?name='.$row[m_title].'&url='.enc($row[m_url]).'" target="_bank"'); } $tpl->compile('topmusic'); $tpl->clear(); } $tpl->load_template('mp3/right/topmusic/topmusiccenter.tpl'); $tpl->compile('topmusic'); $tpl->clear(); $topplay = $db->query("SELECT * FROM " . PREFIX . "_countplay ORDER BY count DESC LIMIT 0,".$config['num_musichot'].""); while ($r_tp = $db->get_row($topplay)){ $tpl->load_template('mp3/right/topmusic/topmusiclist.tpl'); $tpl->set('{name}', $r_tp[title] ); $tpl->set('{encname}', enc($r_tp[title]) ); $tpl->set('{singer}', $r_tp[artist] ); $tpl->set('{url}', enc($r_tp[url]) ); $tpl->set('{poplink}', $config['http_home_url'].'engine/mp3/listen.php?name='.enc($r_tp[title]).'&url='.enc($r_tp[url])); if($config['allow_alt_url'] == 'yes'){ if($config['att_download'] == '1') $tpl->set('{download}', 'href="javascript:void();" Onclick="caobox.show_popup(\'att_download_thissong\');setDownLoad( \''.enc($r_tp[url]).'\', \''.$r_tp[title].'\');"'); else $tpl->set('{download}', 'href="'.$config['http_home_url'].'store/'.enc($r_tp[url]).'/'.$r_tp[title].' " target="_bank"'); } else { if($config['att_download'] == '1') $tpl->set('{download}', 'href="javascript:void();" Onclick="caobox.show_popup(\'att_download_thissong\');setDownLoad( \''.enc($r_tp[url]).'\', \''.$r_tp[title].'\');"'); else $tpl->set('{download}', 'href="'.$config['http_home_url'].'engine/mp3/mp3download.php?name='.$r_tp[title].'&url='.enc($r_tp[url]).'" target="_bank"'); } $tpl->compile('topmusic'); $tpl->clear(); } $tpl->load_template('mp3/right/topmusic/topmusicbottom.tpl'); $tpl->compile('topmusic'); $tpl->clear(); $db->free(); ?> if(!defined('DATALIFEENGINE')) { die("Hacking attempt!"); } $tpl->load_template('mp3/right/topvideo/videohead.tpl'); $tpl->compile('topvideo'); $tpl->clear(); $sql_query = $db->query("SELECT * FROM " . PREFIX . "_user_video_fov WHERE member = '".$config['user_topvideo']."' ORDER BY id DESC LIMIT 0,".$config['num_videohot'].""); while($row = $db->get_row($sql_query)){ $tpl->load_template('mp3/right/topvideo/videolist.tpl'); $title = substr("$row[title]", 0, 20); $tpl->set('{title}', $title); $tpl->set('{image}', $row[image]); $tpl->set('{hash}', $row[hash]); if (!$is_logged) { $tpl->set('{vfov}', ''); }else { $query = $db->query("SELECT id FROM " . PREFIX . "_user_video_fov WHERE hash = '".$row[hash]."' AND member = '".$member_id['name']."'"); $count = $db->num_rows($query); if($count > '0') { $tpl->set('{vfov}', ''); }else { $tpl->set('{vfov}', ''); } } if($config['allow_alt_url'] == 'yes') $tpl->set('{linkplay}', $config['http_home_url'] .'playvideo/'.$row[url]); else $tpl->set('{linkplay}', $config['http_home_url'] .'?do=mp3search&load=playvideo&thuy='.$row[url]); $tpl->set('{time}', $row[time]); $tpl->compile('topvideo'); $tpl->clear(); } $tpl->load_template('mp3/right/topvideo/videobottom.tpl'); $tpl->compile('topvideo'); $tpl->clear(); $db->free(); ?> if(!defined('DATALIFEENGINE')) { die("Hacking attempt!"); } $tpl->load_template('mp3/user/topuserhead.tpl'); $tpl->compile('topuser'); $tpl->clear(); $thuy = $db->query("SELECT * FROM " . USERPREFIX . "_users ORDER BY song DESC LIMIT 0,6"); while ($result = $db->get_row($thuy)) { $tpl->load_template('mp3/user/topuserlist.tpl'); $tpl->set('{username}',$result[name]); $tpl->set('{song}',$result[song]); $tpl->set('{playlist}',$result[playlist]); $tpl->set('{video}',$result[video]); $foto = $result[foto]; if($foto == '') { $foto = $config['http_home_url'].'templates/'.$config['skin'].'/images/noavatar.png'; } else { $foto = $config['http_home_url'].'uploads/fotos/'.$result[foto]; } if($config['allow_alt_url'] == 'yes'){ $tpl->set('{userlink}',$config['http_home_url'].'user/'.$result[name]); $tpl->set('{usermusic}',$config['http_home_url'].$result[name].'/music/'); $tpl->set('{userplaylist}',$config['http_home_url'].$result[name].'/playlist/page/1'); }else { $tpl->set('{userlink}',$config['http_home_url'].'index.php?subaction=userinfo&user='.$result[name]); $tpl->set('{usermusic}',$config['http_home_url'].'?do=mp3search&load=membersong&user='.$result[name]); $tpl->set('{userplaylist}',$config['http_home_url'].'?do=mp3search&key=playlist&page=1&type=playlist&thuy='.$result[name]); } $tpl->set('{foto}', $foto); $tpl->compile('topuser'); $tpl->clear(); } $tpl->load_template('mp3/user/topuserbottom.tpl'); $tpl->compile('topuser'); $tpl->clear(); $db->free(); ?> $db->query("SELECT * FROM " . PREFIX . "_mp3_artist ORDER by RAND() LIMIT 0,".$config['show_artist'].""); function replatekey($data) { $data=str_replace(" ","+",$data); //Ky tu dac biet $data=str_replace("/","",$data ); $data=str_replace('"',"",$data ); $data=str_replace("'","",$data ); $data=str_replace("^","",$data ); $data=str_replace(",","",$data ); $data=str_replace(")","",$data ); $data=str_replace("(","",$data ); $data=str_replace(":","",$data ); $data=str_replace(";","",$data ); $data=str_replace("$","",$data ); $data=str_replace("=","",$data ); $data=str_replace("[","",$data ); $data=str_replace("]","",$data ); $data=str_replace("!","",$data ); $data=str_replace("&","",$data ); $data=str_replace("`","",$data ); $data=str_replace("<","",$data ); $data=str_replace(">","",$data ); $data=str_replace("~","",$data ); $data=str_replace("?","",$data ); $data=str_replace("#","",$data ); $data=str_replace(".","",$data ); $data=str_replace("\\","",$data ); $data=str_replace("-","",$data ); $data=str_replace("*","",$data ); $data=str_replace("%","",$data ); $data=str_replace("@","",$data ); return $data; } while ($row = $db->get_row()) { $title = $row[name]; $strlenname = strlen($title); if($strlenname > 27) $title= substr("$title", 0,24).'...'; else $title=$title; $fulltitle = $row[name]; $hungpro = replatekey($row[name]); if($config['allow_alt_url'] == 'yes'){ $trang = $config['http_home_url'].'attsearch/'.$hungpro.'/mp3/page/1'; }else { $trang = $config['http_home_url'].'?do=mp3search&key='.$hungpro.'&page=1&type=mp3'; } $link = '
Lista completa de versuri si artisti