本帖最后由 xjzhaoxin 于 2009-6-4 18:18 编辑
- <?php
- /*********************/
- /* */
- /* DeZend For PHP5 */
- /* BY [url]WwW.DeZend.CC[/url] */
- /* With Bendy [2] */
- /* */
- /*********************/
- function PMA_getenv( $_obfuscate_8DIcfvddNM )
- {
- if ( isset( $_SERVER[$[color=Red]_obfuscate_8DIcfvddNM[/color] ] ) )
- {
- return $_SERVER[$_obfuscate_8DIcfvddNM ];
- }
- if ( isset( $_ENV[$_obfuscate_8DIcfvddNM ] ) )
- {
- return $_ENV[$_obfuscate_8DIcfvddNM ];
- }
- if ( getenv( $_obfuscate_8DIcfvddNM ) )
- {
- return getenv( $_obfuscate_8DIcfvddNM );
- }
- if ( function_exists( "apache_getenv" ) && apache_getenv( $_obfuscate_8DIcfvddNM , true ) )
- {
- return apache_getenv( $_obfuscate_8DIcfvddNM , true );
- }
- return "";
- }
- function integralop( $_obfuscate_TMRTBCP8wTk , $_obfuscate_7Ri3 )
- {
- global $_SGLOBAL;
- global $_SC;
- if ( $_SC['music_integralset'] == "1" )
- {
- $_SGLOBAL['db']->query( "UPDATE ".tname( "space" )." SET credit=credit+".intval( $_obfuscate_TMRTBCP8wTk )." WHERE uid=".$_obfuscate_7Ri3 );
- }
- }
- function getdatetoarray( $_obfuscate_3tiDsnM , $_obfuscate_6hS1Rw , $_obfuscate_pDY1hBD8wKE )
- {
- global $_SGLOBAL;
- $_obfuscate_4gsH3iNGOJ63 = array( );
- $_obfuscate_Oap0UJs = array( );
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT ".$_obfuscate_6hS1Rw ." FROM ".tname( $_obfuscate_3tiDsnM )." WHERE 1=1 ".$_obfuscate_pDY1hBD8wKE );
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- $_obfuscate_Oap0UJs = split( ",", $_obfuscate_VgKtFeg [$_obfuscate_6hS1Rw ] );
- $_obfuscate_4gsH3iNGOJ63 = array_merge( $_obfuscate_4gsH3iNGOJ63, $_obfuscate_Oap0UJs );
- }
- $_obfuscate_4gsH3iNGOJ63 = array_merge( $_obfuscate_4gsH3iNGOJ63, array( "流行歌曲", "舞曲", "翻唱", "怀旧", "最新单曲", "hip-hop", "RandB", "RAP", "轻音乐", "电影原声", "动漫原声", "HOUSE", "迷幻", "电子", "爵士", "古典乐", "交响乐", "朋克", "民谣", "金属", "摇滚", "乡村", "歌特", "其他" ) );
- $_obfuscate_4gsH3iNGOJ63 = array_remove_empty( $_obfuscate_4gsH3iNGOJ63 );
- $_obfuscate_4gsH3iNGOJ63 = getalinkint( $_obfuscate_4gsH3iNGOJ63, 2 );
- return array_count_values( $_obfuscate_4gsH3iNGOJ63 );
- }
- function array_remove_empty( $_obfuscate_Jrp1 )
- {
- foreach ( $_obfuscate_Jrp1 as $_obfuscate_Vwty => $_obfuscate_VgKtFeg )
- {
- if ( $_obfuscate_VgKtFeg == "" )
- {
- unset( $_obfuscate_Jrp1[$_obfuscate_Vwty] );
- }
- }
- return $_obfuscate_Jrp1;
- }
- function getalinkint( $_obfuscate_7nervJ5JjA , $_obfuscate_LeS8hw = -1 )
- {
- $_obfuscate_NYI5Yw = array( );
- $_obfuscate_NYI5Yw [25] = array( "", "流行歌曲", "舞曲", "翻唱", "怀旧", "最新单曲", "hip-hop", "RandB", "RAP", "轻音乐", "电影原声", "动漫原声", "HOUSE", "迷幻", "电子", "爵士", "古典乐", "交响乐", "朋克", "民谣", "金属", "摇滚", "乡村", "歌特", "其他" );
- if ( $_obfuscate_LeS8hw == -1 )
- {
- $_obfuscate_7w = 1;
- for ( ; $_obfuscate_7w < 25; ++$_obfuscate_7w )
- {
- if ( !( $_obfuscate_NYI5Yw [25][$_obfuscate_7w ] == $_obfuscate_7nervJ5JjA ) )
- {
- continue;
- }
- break;
- }
- return $_obfuscate_7w ;
- }
- else
- {
- foreach ( $_obfuscate_7nervJ5JjA as $_obfuscate_Vwty => $_obfuscate_VgKtFeg )
- {
- $_obfuscate_ZOowhg = 0;
- $_obfuscate_7w = 1;
- for ( ; $_obfuscate_7w < 25; ++$_obfuscate_7w )
- {
- if ( $_obfuscate_VgKtFeg == $_obfuscate_NYI5Yw [25][$_obfuscate_7w ] )
- {
- $_obfuscate_ZOowhg = 1;
- }
- }
- if ( $_obfuscate_ZOowhg != 1 )
- {
- unset( $_obfuscate_7nervJ5JjA [$_obfuscate_Vwty] );
- }
- }
- return $_obfuscate_7nervJ5JjA ;
- }
- }
- function writeselectlist( $_obfuscate_LeS8hw , $_obfuscate_VgKtFeg )
- {
- $_obfuscate_LLhRtpEFA = "";
- $_obfuscate_7w = 0;
- for ( ; $_obfuscate_7w <= 20; ++$_obfuscate_7w )
- {
- $_obfuscate_SeV31Q = "";
- $_obfuscate_SeV31Q = $_obfuscate_LeS8hw .$_obfuscate_7w ;
- if ( $_obfuscate_SeV31Q == $_obfuscate_VgKtFeg )
- {
- $_obfuscate_LLhRtpEFA .= "<option value="".$_obfuscate_SeV31Q ."" selected="selected">".$_obfuscate_SeV31Q ."</option>";
- }
- else
- {
- $_obfuscate_LLhRtpEFA .= "<option value="".$_obfuscate_SeV31Q ."">".$_obfuscate_SeV31Q ."</option>";
- }
- }
- return $_obfuscate_LLhRtpEFA ;
- }
- function getallpinglun( $_obfuscate_mV9HBLY , $_obfuscate_yHA7jVtj_Q )
- {
- global $_SGLOBAL;
- $_obfuscate_G3b5woKHNIeIEeZDA6s = array( );
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT main.id, main.pltext, main.dateline, s.uid, s.username, s.name, s.namestatus, song.userid, song.songid, song.songname FROM ".tname( "musicbox_pinglun" )." main left JOIN ".tname( "space" )." s on ( main.puserid=s.uid ) left JOIN ".tname( "musicbox" )." song on ( main.songid=song.songid ) WHERE song.songname is not null ORDER BY main.dateline DESC LIMIT ".$_obfuscate_mV9HBLY .",".$_obfuscate_yHA7jVtj_Q );
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- realname_set( $_obfuscate_VgKtFeg ['uid'], $_obfuscate_VgKtFeg ['username'], $_obfuscate_VgKtFeg ['name'], $_obfuscate_VgKtFeg ['namestatus'] );
- $_obfuscate_G3b5woKHNIeIEeZDA6s [] = $_obfuscate_VgKtFeg ;
- }
- return $_obfuscate_G3b5woKHNIeIEeZDA6s ;
- }
- function getallpinglun_count( )
- {
- global $_SGLOBAL;
- $_obfuscate_tMkpHqULEyI2 = 0;
- $_obfuscate_osYd648HNEOjyHacCv4W0Q = array( );
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT COUNT(main.id) as c FROM ".tname( "musicbox_pinglun" )." main left JOIN ".tname( "space" )." s on ( main.puserid=s.uid ) left JOIN ".tname( "musicbox" )." song on ( main.songid=song.songid ) WHERE song.songname is not null" );
- $_obfuscate_osYd648HNEOjyHacCv4W0Q = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 );
- return $_obfuscate_osYd648HNEOjyHacCv4W0Q ['c'];
- }
- function getsinglemusic( $_obfuscate_mFTuQx6L, $_obfuscate_T7Mk4ltM = 1 )
- {
- global $_SGLOBAL;
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT main.*,a.albumname as albumname, a.albumfengmian as albumfengmian FROM ".tname( "musicbox" )." as main left JOIN ".tname( "musicbox_album" )." as a ON ( main.albumid = a.albumid ) WHERE main.songid=".$_obfuscate_mFTuQx6L );
- $_obfuscate_uPVqTbj9BmbH = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 );
- if ( !empty( $_obfuscate_uPVqTbj9BmbH ) || $_obfuscate_T7Mk4ltM == 1 )
- {
- updatetable( "musicbox", array(
- "playtotal" => $_obfuscate_uPVqTbj9BmbH['playtotal'] + 1
- ), array(
- "songid" => $_obfuscate_mFTuQx6L
- ) );
- }
- return $_obfuscate_uPVqTbj9BmbH;
- }
- function musichandle( $type = -1, $setarr = -1, $id = -1, $spaceuid = -1, $arraylist = -1 )
- {
- global $_SGLOBAL;
- switch ( $type )
- {
- case 0 :
- if ( $spaceuid == 0 )
- {
- $datatemparr = array( );
- $datatemparr = getsinglemusic( $id, 0 );
- $_SGLOBAL['db']->query( "UPDATE ".tname( "space" )." SET attachsize=".intval( intval( $arraylist ) - intval( filesize( S_ROOT.$datatemparr['songurl'] ) ) )." WHERE uid=".$datatemparr['userid'] );
- unlink( str_replace( "space.php", "", realpath( "space.php" ) ).str_replace( "./", "", $datatemparr['songurl'] ) );
- }
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox" )." WHERE songid=".$id );
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox_mybox" )." WHERE boxsongid=".$id );
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox_pingfen" )." WHERE songid=".$id );
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox_pinglun" )." WHERE songid=".$id );
- showmessage( "deletemusic_success" );
- break;
- case 1 :
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox_album" )." WHERE albumid=".$id );
- updatetable( "musicbox", array(
- "albumid" => "0"
- ), array(
- "albumid" => $id
- ) );
- showmessage( "deletemusicalbum_success" );
- break;
- case 2 :
- $query = $_SGLOBAL['db']->query( "SELECT * FROM ".tname( "musicbox" )." where songid=".$id );
- $datatemparr = $_SGLOBAL['db']->fetch_array( $query );
- if ( !empty( $setarr ) )
- {
- include_once( S_ROOT."./source/function_cp.php" );
- $note = cplang( "music_toshare", array(
- $datatemparr['userid'],
- $id,
- $datatemparr['songname']
- ) );
- $ckarray = $setarr;
- $cksize = count( $ckarray );
- $i = 0;
- for ( ; $i < $cksize; ++$i )
- {
- notification_add( $ckarray[$i], "wall", $note );
- }
- }
- showmessage( "do_success" );
- break;
- case 3 :
- inserttable( "musicbox_mybox", $setarr, 0 );
- showmessage( "do_success" );
- break;
- case 4 :
- inserttable( "musicbox_pingfen", $setarr, 0 );
- include_once( S_ROOT."./source/function_cp.php" );
- $note = cplang( "music_topingfen", array(
- $arraylist['songuserid'],
- $arraylist['songid'],
- $arraylist['pingfensongname'],
- $arraylist['pingfen']
- ) );
- notification_add( $arraylist['songuserid'], "wall", $note );
- showmessage( "musicpingfen_success" );
- break;
- case 5 :
- inserttable( "musicbox_pinglun", $setarr, 0 );
- include_once( S_ROOT."./source/function_cp.php" );
- $note = cplang( "music_topinglun", array(
- $arraylist['songuserid'],
- $arraylist['songid'],
- $arraylist['pinglunsongname']
- ) );
- notification_add( $arraylist['songuserid'], "wall", $note );
- showmessage( "musicpinglun_success" );
- break;
- case 6 :
- updatetable( "musicbox", $setarr, array(
- "songid" => $id
- ) );
- include_once( S_ROOT."./source/function_cp.php" );
- $note = cplang( "music_collection", array(
- $arraylist['userid'],
- $arraylist['songid'],
- $arraylist['songname']
- ) );
- notification_add( $arraylist['userid'], "wall", $note );
- showmessage( "do_success" );
- break;
- case 7 :
- updatetable( "musicbox", $setarr, array(
- "songid" => $id
- ) );
- showmessage( "musicsetbg_success" );
- break;
- case 8 :
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox_pinglun" )." WHERE id=".$id );
- showmessage( "do_success" );
- break;
- case 9 :
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox" )." WHERE songid in (".$id.")" );
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox_mybox" )." WHERE boxsongid in (".$id.")" );
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox_pingfen" )." WHERE songid in (".$id.")" );
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox_pinglun" )." WHERE songid in (".$id.")" );
- showmessage( "do_success", "space.php?do=musicbox&mview=admin&control=music" );
- break;
- case 10 :
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox_pinglun" )." WHERE id in (".$id.")" );
- showmessage( "do_success", "space.php?do=musicbox&mview=admin&control=pinglun" );
- break;
- case 11 :
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox_album" )." WHERE albumid in (".$id.")" );
- updatetable( "musicbox", array( "albumid" => "0" ), "albumid in (".$id.")" );
- showmessage( "do_success", "space.php?do=musicbox&mview=admin&control=album" );
- }
- return true;
- }
- function getmusiclist( $_obfuscate_nw2v3S = -1, $_obfuscate_fXt9juiug = -1, $_obfuscate_mFTuQx6L = -1, $_obfuscate_v2XYRYU = -1, $_obfuscate_dmhxoE1w = -1, $_obfuscate_GRM7_w = -1, $_obfuscate_5lbHbMnRyLax_30ZuV8 = -1, $_obfuscate_mV9HBLY = -1, $_obfuscate_yHA7jVtj_Q = -1, $_obfuscate_cu4GTD7uFB8 = "", $_obfuscate_VmNvGTWEPA = -1, $_obfuscate_lLU6J97V4Vqi = -1 )
- {
- global $_SGLOBAL;
- $_obfuscate_acGoy4QXMIkq1uW3 = array( );
- $_obfuscate_McMOUmubvzjLM_U = 0;
- if ( $_obfuscate_cu4GTD7uFB8 != "" )
- {
- $_obfuscate_5buN70kWDDi3fTs = " AND main.songname like '%".$_obfuscate_cu4GTD7uFB8 ."%'";
- }
- if ( $_obfuscate_nw2v3S != -1 )
- {
- $_obfuscate_50iA2j8JgP8z = " AND main.userid=".$_obfuscate_nw2v3S;
- }
- if ( $_obfuscate_fXt9juiug != -1 )
- {
- $_obfuscate_M2rAkIw6Vz0WA = " AND main.albumid=".$_obfuscate_fXt9juiug ;
- }
- if ( $_obfuscate_mFTuQx6L != -1 )
- {
- $_obfuscate_YmgQo1cx1eJc = " AND main.songid=".$_obfuscate_mFTuQx6L;
- }
- if ( $_obfuscate_v2XYRYU != -1 )
- {
- $_obfuscate_DICw8YPJ1U0 = " AND main.label like '%".$_obfuscate_v2XYRYU ."%'";
- }
- if ( $_obfuscate_dmhxoE1w != -1 )
- {
- $_obfuscate_gP03RIk3d91 = " AND main.singer like '%".$_obfuscate_dmhxoE1w."%'";
- }
- if ( $_obfuscate_GRM7_w != -1 )
- {
- $_obfuscate_5hPN07UyiA = " AND main.lang=".$_obfuscate_GRM7_w ;
- }
- if ( $_obfuscate_5lbHbMnRyLax_30ZuV8 != -1 )
- {
- $_obfuscate_rJ7dSKY2o8_Qqo31JsOhr4 = " AND main.collectionuser like '%,".$_obfuscate_5lbHbMnRyLax_30ZuV8 .",%'";
- }
- if ( $_obfuscate_lLU6J97V4Vqi != -1 )
- {
- $_obfuscate_A2aeySfX1b4u0fwQ = " main.songid DESC,";
- }
- if ( $_obfuscate_mV9HBLY != -1 || $_obfuscate_yHA7jVtj_Q != -1 )
- {
- $_obfuscate_GdnzGO9nJc4 = " LIMIT ".$_obfuscate_mV9HBLY .",".$_obfuscate_yHA7jVtj_Q ;
- }
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT main.*,a.albumname as albumname, a.albumfengmian as albumfengmian, s.uid as suid, s.username as username, s.name as name, s.namestatus as namestatus, pf.mark as mark, pl.pinglunc as pinglunc, lastpl.puserid as lastpluid, lastpl.dateline as lastdateline, ls.uid as lsuid, ls.username as lsusername, ls.name as lsname, ls.namestatus as lsnamestatus FROM ".tname( "musicbox" )." as main left JOIN ".tname( "musicbox_album" )." as a ON ( main.albumid = a.albumid ) left JOIN ".tname( "space" )." s ON ( main.userid = s.uid ) left JOIN (SELECT songid, sum( mark ) AS mark FROM ".tname( "musicbox_pingfen" )." GROUP BY songid) pf ON ( main.songid = pf.songid ) left JOIN (SELECT songid, COUNT( id ) as pinglunc FROM ".tname( "musicbox_pinglun" )." GROUP BY songid) pl ON ( main.songid = pl.songid ) left JOIN (SELECT songid,puserid,MAX(dateline) as dateline FROM (SELECT * FROM ".tname( "musicbox_pingfen" )." WHERE mark=5 ORDER BY id DESC) lastpl1 GROUP BY songid) lastpl ON ( main.songid = lastpl.songid ) left JOIN ".tname( "space" )." ls ON ( lastpl.puserid = ls.uid ) WHERE 1=1 ".$_obfuscate_5buN70kWDDi3fTs .$_obfuscate_50iA2j8JgP8z.$_obfuscate_M2rAkIw6Vz0WA .$_obfuscate_YmgQo1cx1eJc.$_obfuscate_DICw8YPJ1U0 .$_obfuscate_gP03RIk3d91.$_obfuscate_5hPN07UyiA .$_obfuscate_rJ7dSKY2o8_Qqo31JsOhr4 ." ORDER BY ".$_obfuscate_A2aeySfX1b4u0fwQ."lastdateline DESC,mark DESC,songid DESC ".$_obfuscate_GdnzGO9nJc4 );
- if ( $_obfuscate_cu4GTD7uFB8 == "" & $_obfuscate_VmNvGTWEPA == -1 )
- {
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- realname_set( $_obfuscate_VgKtFeg ['suid'], $_obfuscate_VgKtFeg ['username'], $_obfuscate_VgKtFeg ['name'], $_obfuscate_VgKtFeg ['namestatus'] );
- realname_set( $_obfuscate_VgKtFeg ['lsuid'], $_obfuscate_VgKtFeg ['lsusername'], $_obfuscate_VgKtFeg ['lsname'], $_obfuscate_VgKtFeg ['lsnamestatus'] );
- $_obfuscate_acGoy4QXMIkq1uW3[] = $_obfuscate_VgKtFeg ;
- ++$_obfuscate_McMOUmubvzjLM_U ;
- }
- if ( $_obfuscate_McMOUmubvzjLM_U != 0 )
- {
- $_obfuscate_acGoy4QXMIkq1uW3[0]['returncount'] = $_obfuscate_McMOUmubvzjLM_U ;
- }
- return $_obfuscate_acGoy4QXMIkq1uW3;
- }
- if ( $_obfuscate_cu4GTD7uFB8 != "" & $_obfuscate_VmNvGTWEPA == 2 )
- {
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- realname_set( $_obfuscate_VgKtFeg ['suid'], $_obfuscate_VgKtFeg ['username'], $_obfuscate_VgKtFeg ['name'], $_obfuscate_VgKtFeg ['namestatus'] );
- realname_set( $_obfuscate_VgKtFeg ['lsuid'], $_obfuscate_VgKtFeg ['lsusername'], $_obfuscate_VgKtFeg ['lsname'], $_obfuscate_VgKtFeg ['lsnamestatus'] );
- $_obfuscate_acGoy4QXMIkq1uW3[] = $_obfuscate_VgKtFeg ;
- ++$_obfuscate_McMOUmubvzjLM_U ;
- }
- if ( $_obfuscate_McMOUmubvzjLM_U != 0 )
- {
- $_obfuscate_acGoy4QXMIkq1uW3[0]['returncount'] = $_obfuscate_McMOUmubvzjLM_U ;
- }
- return $_obfuscate_acGoy4QXMIkq1uW3;
- }
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- $_obfuscate_fKZmhN3BDp7hGQ .= "'".$_obfuscate_VgKtFeg ['songname']."',";
- }
- return $_obfuscate_fKZmhN3BDp7hGQ ;
- }
- function getmusicguestnotes( $_obfuscate_LeS8hw = -1, $_obfuscate_0W8 = -1, $_obfuscate_Ga0Fwg = -1, $_obfuscate_mV9HBLY = -1, $_obfuscate_yHA7jVtj_Q = -1 )
- {
- global $_SGLOBAL;
- $_obfuscate_gicTSq3BkNWLXA = array( );
- $_obfuscate_McMOUmubvzjLM_U = 0;
- switch ( $_obfuscate_LeS8hw )
- {
- case 0 :
- do
- {
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT main.*,s.username,s.name,s.namestatus FROM ".tname( "musicbox_pingfen" )." main left JOIN ".tname( "space" )." s on ( main.puserid=s.uid ) WHERE songid='".$_obfuscate_0W8 ."' ORDER BY id DESC" );
- if ( !( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) ) )
- {
- break;
- }
- realname_set( $_obfuscate_VgKtFeg ['puserid'], $_obfuscate_VgKtFeg ['username'], $_obfuscate_VgKtFeg ['name'], $_obfuscate_VgKtFeg ['namestatus'] );
- $_obfuscate_gicTSq3BkNWLXA [] = $_obfuscate_VgKtFeg ;
- } while ( 1 );
- case 1 :
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT main.*,s.username,s.name,s.namestatus FROM ".tname( "musicbox_pinglun" )." main left JOIN ".tname( "space" )." s on ( main.puserid=s.uid ) WHERE songid='".$_obfuscate_0W8 ."' ORDER BY id DESC LIMIT ".$_obfuscate_mV9HBLY .",".$_obfuscate_yHA7jVtj_Q );
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- realname_set( $_obfuscate_VgKtFeg ['puserid'], $_obfuscate_VgKtFeg ['username'], $_obfuscate_VgKtFeg ['name'], $_obfuscate_VgKtFeg ['namestatus'] );
- $_obfuscate_gicTSq3BkNWLXA [] = $_obfuscate_VgKtFeg ;
- ++$_obfuscate_McMOUmubvzjLM_U ;
- }
- if ( !( $_obfuscate_McMOUmubvzjLM_U != 0 ) )
- {
- break;
- }
- $_obfuscate_gicTSq3BkNWLXA [0]['returncount'] = $_obfuscate_McMOUmubvzjLM_U ;
- return $_obfuscate_gicTSq3BkNWLXA ;
- case 2 :
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT * FROM ".tname( "musicbox_mybox" )." WHERE boxuserid=".$_obfuscate_0W8 ." AND boxsongid=".$_obfuscate_Ga0Fwg ." LIMIT 1" );
- $_obfuscate_gicTSq3BkNWLXA = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 );
- return $_obfuscate_gicTSq3BkNWLXA ;
- case 3 :
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT * FROM ".tname( "musicbox" )." where songid=".$_obfuscate_0W8 ." AND collectionuser like '%,".$_obfuscate_Ga0Fwg .",%' LIMIT 1" );
- $_obfuscate_gicTSq3BkNWLXA = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 );
- }
- return $_obfuscate_gicTSq3BkNWLXA ;
- }
- function getmusicalbum( $_obfuscate_nw2v3S = -1, $_obfuscate_fXt9juiug = -1, $_obfuscate_LeS8hw = 0, $_obfuscate_1IezXNYCMeBm = -1 )
- {
- global $_SGLOBAL;
- $_obfuscate_q1Y_FMEv0OgS50uifwM_dLQ = array( );
- if ( $_obfuscate_nw2v3S != -1 )
- {
- $_obfuscate_50iA2j8JgP8z = " AND main.userid=".$_obfuscate_nw2v3S;
- }
- if ( $_obfuscate_fXt9juiug != -1 )
- {
- $_obfuscate_M2rAkIw6Vz0WA = " AND main.albumid=".$_obfuscate_fXt9juiug ;
- }
- if ( $_obfuscate_1IezXNYCMeBm != -1 )
- {
- $_obfuscate_txv4UYMD31hPQ_4R = " AND main.albumid<>".$_obfuscate_1IezXNYCMeBm;
- }
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT main.*,m.mcount FROM ".tname( "musicbox_album" )." main left JOIN (SELECT albumid,COUNT(songid) as mcount FROM ".tname( "musicbox" )." GROUP BY albumid) m ON ( main.albumid=m.albumid ) WHERE 1=1 ".$_obfuscate_50iA2j8JgP8z.$_obfuscate_M2rAkIw6Vz0WA .$_obfuscate_txv4UYMD31hPQ_4R." ORDER BY albumid DESC" );
- if ( $_obfuscate_LeS8hw == 0 )
- {
- $_obfuscate_q1Y_FMEv0OgS50uifwM_dLQ = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 );
- return $_obfuscate_q1Y_FMEv0OgS50uifwM_dLQ ;
- }
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- $_obfuscate_q1Y_FMEv0OgS50uifwM_dLQ [] = $_obfuscate_VgKtFeg ;
- }
- return $_obfuscate_q1Y_FMEv0OgS50uifwM_dLQ ;
- }
- function musicpeople( $_obfuscate_LeS8hw = -1, $_obfuscate_0W8 = -1, $_obfuscate_xvYeh9I = -1 )
- {
- global $_SGLOBAL;
- $_obfuscate_Ip11d64CzBtdp560HRdA = array( );
- if ( $_obfuscate_LeS8hw == 1 )
- {
- $_obfuscate_pU7lN4weqx_L = $_obfuscate_xvYeh9I == -1 ? 5 : $_obfuscate_xvYeh9I ;
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT main.userid,COUNT(main.songid) as songcount,SUM(main.playtotal) as songplay,album.albumcount,s.uid,s.username,s.name,s.namestatus FROM ".tname( "musicbox" )." main left JOIN (SELECT userid,COUNT(albumid) as albumcount FROM ".tname( "musicbox_album" )." GROUP BY userid) album ON (main.userid=album.userid) left JOIN ".tname( "space" )." s ON (main.userid=s.uid) GROUP BY main.userid ORDER BY songcount DESC LIMIT 0,".$_obfuscate_pU7lN4weqx_L );
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- realname_set( $_obfuscate_VgKtFeg ['uid'], $_obfuscate_VgKtFeg ['username'], $_obfuscate_VgKtFeg ['name'], $_obfuscate_VgKtFeg ['namestatus'] );
- $_obfuscate_Ip11d64CzBtdp560HRdA[] = $_obfuscate_VgKtFeg ;
- }
- }
- if ( $_obfuscate_LeS8hw == 2 )
- {
- $_obfuscate_A0z5XlsEtX81662i5nuXw1T = array( );
- $_obfuscate_rJ7dSKY2o8_Qqo31JsOhr4 = "";
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT collectionuser FROM ".tname( "musicbox" )." WHERE userid=".$_obfuscate_0W8 );
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- $_obfuscate_rJ7dSKY2o8_Qqo31JsOhr4 .= $_obfuscate_VgKtFeg ['collectionuser'];
- }
- if ( !empty( $_obfuscate_rJ7dSKY2o8_Qqo31JsOhr4 ) || $_obfuscate_rJ7dSKY2o8_Qqo31JsOhr4 != "," )
- {
- $_obfuscate_A0z5XlsEtX81662i5nuXw1T = explode( ",", $_obfuscate_rJ7dSKY2o8_Qqo31JsOhr4 );
- $_obfuscate_A0z5XlsEtX81662i5nuXw1T = array_unique( $_obfuscate_A0z5XlsEtX81662i5nuXw1T );
- $_obfuscate_A0z5XlsEtX81662i5nuXw1T = array_filter( $_obfuscate_A0z5XlsEtX81662i5nuXw1T );
- $_obfuscate_rJ7dSKY2o8_Qqo31JsOhr4 = implode( ",", $_obfuscate_A0z5XlsEtX81662i5nuXw1T );
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT uid,username,name,namestatus FROM ".tname( "space" )." WHERE uid in (".$_obfuscate_rJ7dSKY2o8_Qqo31JsOhr4 .") ORDER BY uid DESC" );
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- realname_set( $_obfuscate_VgKtFeg ['uid'], $_obfuscate_VgKtFeg ['username'], $_obfuscate_VgKtFeg ['name'], $_obfuscate_VgKtFeg ['namestatus'] );
- $_obfuscate_Ip11d64CzBtdp560HRdA[] = $_obfuscate_VgKtFeg ;
- }
- }
- }
- if ( $_obfuscate_LeS8hw == 3 )
- {
- $_obfuscate_pU7lN4weqx_L = $_obfuscate_xvYeh9I == -1 ? 6 : $_obfuscate_xvYeh9I ;
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT am.albumid,SUM(am.songmark) as amark,a.albumname,a.albumfengmian,a.userid,s.uid,s.username,s.name,s.namestatus,mi.songc FROM (SELECT main.songid,SUM(main.mark) as songmark,m.albumid FROM ".tname( "musicbox_pingfen" )." main left JOIN ".tname( "musicbox" )." m ON (main.songid=m.songid) GROUP BY main.songid) am left JOIN ".tname( "musicbox_album" )." a ON (am.albumid=a.albumid) left JOIN ".tname( "space" )." s ON (a.userid=s.uid) left JOIN (SELECT albumid,COUNT(songid) as songc FROM ".tname( "musicbox" )." GROUP BY albumid) mi ON (am.albumid=mi.albumid) WHERE am.albumid is not NULL AND am.albumid<>0 GROUP BY am.albumid ORDER BY amark DESC LIMIT 0,".$_obfuscate_pU7lN4weqx_L );
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- realname_set( $_obfuscate_VgKtFeg ['uid'], $_obfuscate_VgKtFeg ['username'], $_obfuscate_VgKtFeg ['name'], $_obfuscate_VgKtFeg ['namestatus'] );
- $_obfuscate_Ip11d64CzBtdp560HRdA[] = $_obfuscate_VgKtFeg ;
- }
- }
- return $_obfuscate_Ip11d64CzBtdp560HRdA;
- }
- function getmybox( $_obfuscate_U3kQ59ByvDI )
- {
- global $_SGLOBAL;
- $_obfuscate_kZEztlRDPnWPirQPg = array( );
- if ( $_obfuscate_U3kQ59ByvDI != "myboxlist" )
- {
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT main.*,a.albumname as albumname, a.albumfengmian as albumfengmian FROM ".tname( "musicbox" )." as main left JOIN ".tname( "musicbox_album" )." as a ON ( main.albumid = a.albumid ) WHERE main.songid in(".$_obfuscate_U3kQ59ByvDI .") ORDER BY main.songid DESC" );
- }
- else
- {
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT main.*,a.albumname as albumname, a.albumfengmian as albumfengmian, box.boxorder, box.id as boxid, box.page FROM ".tname( "musicbox" )." as main left JOIN ".tname( "musicbox_album" )." as a ON ( main.albumid = a.albumid ) left JOIN ".tname( "musicbox_mybox" ).( " as box ON (main.songid=box.boxsongid and box.boxuserid='".$_SGLOBAL['supe_uid']."') WHERE main.songid in(SELECT boxsongid FROM " ).tname( "musicbox_mybox" ).( " WHERE boxuserid='".$_SGLOBAL['supe_uid']."') ORDER BY box.boxorder ASC" ) );
- }
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- $_obfuscate_kZEztlRDPnWPirQPg [] = $_obfuscate_VgKtFeg ;
- }
- return $_obfuscate_kZEztlRDPnWPirQPg ;
- }
- function setmusicbg( $_obfuscate_0W8 , $_obfuscate_LeS8hw = -1 )
- {
- global $_SGLOBAL;
- $_obfuscate_Qnwyt2RN = array( "page" => "0" );
- $_obfuscate_NOMpikkLSw = array( "page" => "1" );
- if ( $_obfuscate_LeS8hw == 2 )
- {
- $_SGLOBAL['db']->query( "DELETE FROM ".tname( "musicbox_mybox" )." WHERE id=".$_obfuscate_0W8 );
- }
- else
- {
- updatetable( "musicbox_mybox", $_obfuscate_Qnwyt2RN, array(
- "boxuserid" => $_SGLOBAL['supe_uid']
- ) );
- if ( $_obfuscate_LeS8hw == -1 )
- {
- updatetable( "musicbox_mybox", $_obfuscate_NOMpikkLSw , array(
- "id" => $_obfuscate_0W8
- ) );
- }
- }
- }
- function ordermusic( $_obfuscate_F1a0Ok )
- {
- global $_SGLOBAL;
- $_obfuscate_7w = 0;
- for ( ; $_obfuscate_7w < count( $_obfuscate_F1a0Ok ) - 1; ++$_obfuscate_7w )
- {
- updatetable( "musicbox_mybox", array(
- "boxorder" => $_obfuscate_7w
- ), array(
- "id" => $_obfuscate_F1a0Ok [$_obfuscate_7w ]
- ) );
- }
- }
- function getmusicbg( $_obfuscate_7Ri3 )
- {
- global $_SGLOBAL;
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT main.*, mu.*, a.albumname as albumname, a.albumfengmian as albumfengmian FROM ".tname( "musicbox_mybox" )." as main left JOIN ".tname( "musicbox" )." as mu ON( main.boxsongid=mu.songid ) left JOIN ".tname( "musicbox_album" )." as a ON ( mu.albumid = a.albumid ) WHERE main.page=1 AND main.boxuserid=".$_obfuscate_7Ri3 );
- return $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 );
- }
- function insertnewmusic( $setarr, $filesize, $spacesize )
- {
- global $_SGLOBAL;
- $newsongid = inserttable( "musicbox", $setarr, 1 );
- if ( intval( $filesize ) != 0 )
- {
- $_SGLOBAL['db']->query( "UPDATE ".tname( "space" )." SET attachsize=".intval( $filesize + $spacesize )." WHERE uid=".$_SGLOBAL['supe_uid'] );
- }
- include_once( "./source/function_cp.php" );
- $icon = "musicbox";
- $title_template = "{actor} 上传了音乐 <a href="space.php?uid=".$_SGLOBAL['supe_uid']."&do=musicbox&mview=mpage&mid=".$newsongid."" target="_blank">".getstr( $setarr['songname'], 100, 1, 1, 1 )."</a>";
- feed_add( $icon, $title_template );
- showmessage( "m_commend_success", "space.php?uid=".$_SGLOBAL['supe_uid']."&do=musicbox&mview=mpage&mid=".$newsongid );
- }
- function inserttodisk( $_obfuscate_Qnwyt2RN )
- {
- global $_SGLOBAL;
- inserttable( "musicbox_disk", $_obfuscate_Qnwyt2RN, 0 );
- }
- function getmydiskfilelist( $_obfuscate_nw2v3S )
- {
- global $_SGLOBAL;
- $_obfuscate_7gXvbiv7FDBdysgOO8I = array( );
- $_obfuscate_ammigv8 = $_SGLOBAL['db']->query( "SELECT * FROM ".tname( "musicbox_disk" )." WHERE userid=".$_obfuscate_nw2v3S." ORDER BY diskid DESC" );
- while ( $_obfuscate_VgKtFeg = $_SGLOBAL['db']->fetch_array( $_obfuscate_ammigv8 ) )
- {
- $_obfuscate_7gXvbiv7FDBdysgOO8I [] = $_obfuscate_VgKtFeg ;
- }
- return $_obfuscate_7gXvbiv7FDBdysgOO8I ;
- }
- function updatemusic( $_obfuscate_Qnwyt2RN, $_obfuscate_0W8 )
- {
- updatetable( "musicbox", $_obfuscate_Qnwyt2RN, array(
- "songid" => $_obfuscate_0W8
- ) );
- showmessage( "m_commendedit_success", "space.php?uid=".$_obfuscate_vtvlE7cmdsk ['supe_uid']."&do=musicbox&mview=mpage&mid=".$_obfuscate_0W8 );
- }
- function insertnewalbum( $setarr1, $spaceuid )
- {
- inserttable( "musicbox_album", $setarr1, 0 );
- include_once( "./source/function_cp.php" );
- $icon = "musicbox";
- $title_template = "{actor} 创建了音乐专辑 <a href="space.php?uid=".$spaceuid."&do=musicbox&view=me" target="_blank">《".getstr( $setarr1['albumname'], 100, 1, 1, 1 )."》</a>";
- feed_add( $icon, $title_template );
- showmessage( "m_newmymusicalbum_success" );
- }
- function getmusiclabellist( $_obfuscate_F1a0Ok )
- {
- $_obfuscate_0R2ZtaEJUoyL = "";
- $_obfuscate_F1a0Ok = explode( ",", $_obfuscate_F1a0Ok );
- $_obfuscate_7w = 0;
- for ( ; $_obfuscate_7w <= count( $_obfuscate_F1a0Ok ) - 1; ++$_obfuscate_7w )
- {
- if ( !empty( $_obfuscate_F1a0Ok [$_obfuscate_7w ] ) )
- {
- $_obfuscate_0R2ZtaEJUoyL = $_obfuscate_0R2ZtaEJUoyL."<a href="space.php?do=musicbox&mview=all&mtype=".getalink( -1, -1, $_obfuscate_F1a0Ok [$_obfuscate_7w ] )."" target="_blank">".$_obfuscate_F1a0Ok [$_obfuscate_7w ]."</a>, ";
- }
- }
- return $_obfuscate_0R2ZtaEJUoyL;
- }
- function getalink( $_obfuscate_Jrp1 = -1, $_obfuscate_KCm3UX8 = -1, $_obfuscate_3gn_eQ = -1 )
- {
- $_obfuscate_NYI5Yw = array( );
- $_obfuscate_NYI5Yw [25][1] = "流行歌曲";
- $_obfuscate_NYI5Yw [25][2] = "舞曲";
- $_obfuscate_NYI5Yw [25][3] = "翻唱";
- $_obfuscate_NYI5Yw [25][4] = "怀旧";
- $_obfuscate_NYI5Yw [25][5] = "最新单曲";
- $_obfuscate_NYI5Yw [25][6] = "hip-hop";
- $_obfuscate_NYI5Yw [25][7] = "RandB";
- $_obfuscate_NYI5Yw [25][8] = "RAP";
- $_obfuscate_NYI5Yw [25][9] = "轻音乐";
- $_obfuscate_NYI5Yw [25][10] = "电影原声";
- $_obfuscate_NYI5Yw [25][11] = "动漫原声";
- $_obfuscate_NYI5Yw [25][12] = "HOUSE";
- $_obfuscate_NYI5Yw [25][13] = "迷幻";
- $_obfuscate_NYI5Yw [25][14] = "电子";
- $_obfuscate_NYI5Yw [25][15] = "爵士";
- $_obfuscate_NYI5Yw [25][16] = "古典乐";
- $_obfuscate_NYI5Yw [25][17] = "交响乐";
- $_obfuscate_NYI5Yw [25][18] = "朋克";
- $_obfuscate_NYI5Yw [25][19] = "民谣";
- $_obfuscate_NYI5Yw [25][20] = "金属";
- $_obfuscate_NYI5Yw [25][21] = "摇滚";
- $_obfuscate_NYI5Yw [25][22] = "乡村";
- $_obfuscate_NYI5Yw [25][23] = "歌特";
- $_obfuscate_NYI5Yw [25][24] = "其他";
- if ( $_obfuscate_3gn_eQ == -1 )
- {
- if ( empty( $_obfuscate_KCm3UX8 ) )
- {
- $_obfuscate_NYI5Yw ['0'] = " style='font-weight:bold;'";
- return $_obfuscate_NYI5Yw ;
- }
- $_obfuscate_NYI5Yw [$_obfuscate_KCm3UX8 ] = " style='font-weight:bold;'";
- return $_obfuscate_NYI5Yw ;
- }
- $_obfuscate_7w = 1;
- for ( ; $_obfuscate_7w < 25; ++$_obfuscate_7w )
- {
- if ( $_obfuscate_3gn_eQ == $_obfuscate_NYI5Yw [25][$_obfuscate_7w ] )
- {
- $_obfuscate_EwjiFqe = $_obfuscate_7w ;
- }
- }
- return $_obfuscate_EwjiFqe;
- }
- function imgageshow( $_obfuscate_RlkkeA , $_obfuscate_ZPaJF5HNwQ )
- {
- $_obfuscate_hNQa0g = getimagesize( $_obfuscate_RlkkeA );
- $_obfuscate_ncdC0pM = $_obfuscate_hNQa0g [0];
- $_obfuscate_3FCLQL2p = $_obfuscate_hNQa0g [1];
- if ( $_obfuscate_ZPaJF5HNwQ != "" )
- {
- if ( $_obfuscate_ZPaJF5HNwQ < $_obfuscate_ncdC0pM )
- {
- $_obfuscate_SeV31Q = $_obfuscate_ZPaJF5HNwQ / $_obfuscate_ncdC0pM ;
- $_obfuscate_ncdC0pM = $_obfuscate_ZPaJF5HNwQ ;
- $_obfuscate_3FCLQL2p *= $_obfuscate_SeV31Q ;
- }
- else
- {
- $_obfuscate_ncdC0pM = $_obfuscate_ncdC0pM ;
- $_obfuscate_3FCLQL2p = $_obfuscate_3FCLQL2p;
- }
- }
- else
- {
- $_obfuscate_ncdC0pM = $_obfuscate_ncdC0pM ;
- $_obfuscate_3FCLQL2p = $_obfuscate_3FCLQL2p;
- }
- return "<img src='".$_obfuscate_RlkkeA ."' width='".$_obfuscate_ncdC0pM ."' height='".$_obfuscate_3FCLQL2p."'>";
- }
- function getlastimg( $_obfuscate_kxJVIfdK )
- {
- if ( strpos( $_obfuscate_kxJVIfdK, ".thumb" ) )
- {
- $_obfuscate_1Ndr8DmE4Qqt = imgageshow( substr( $_obfuscate_kxJVIfdK, 0, -10 ), 150 );
- return $_obfuscate_1Ndr8DmE4Qqt;
- }
- $_obfuscate_1Ndr8DmE4Qqt = "<img src='".$_obfuscate_kxJVIfdK."' />";
- return $_obfuscate_1Ndr8DmE4Qqt;
- }
- function getdiskurl( $_obfuscate_QhWrDF4Szw )
- {
- $_obfuscate_vgOY['title']['begin'] = "preview_url = '";
- $_obfuscate_vgOY['title']['end'] = "';";
- $_obfuscate_bk4l['title']['php100'] = "";
- $_obfuscate_SF4 = pick( $_obfuscate_QhWrDF4Szw , $_obfuscate_vgOY, $_obfuscate_bk4l );
- if ( $_obfuscate_SF4 ['title'] != "" )
- {
- $_obfuscate_KPRz4tF8ug = str_replace( "zh-cn/download", "zh-cn/preview", $_obfuscate_SF4 ['title'] );
- $_obfuscate_NSGvhvnV8pU = split( "/", $_obfuscate_KPRz4tF8ug );
- $_obfuscate_8n41NMTB = str_replace( ".", "/", $_obfuscate_NSGvhvnV8pU [count( $_obfuscate_NSGvhvnV8pU ) - 1] );
- $_obfuscate_s8fUTUc_OKqK = split( "/", $_obfuscate_8n41NMTB );
- $_obfuscate_KPRz4tF8ug = str_replace( $_obfuscate_NSGvhvnV8pU [count( $_obfuscate_NSGvhvnV8pU ) - 1], "preview.".$_obfuscate_s8fUTUc_OKqK[1], $_obfuscate_KPRz4tF8ug );
- return $_obfuscate_KPRz4tF8ug ;
- }
- return "";
- }
- function fetch_urlpage_contents( $_obfuscate_Il8i )
- {
- $_obfuscate_KQ = file_get_contents( $_obfuscate_Il8i );
- return $_obfuscate_KQ ;
- }
- function fetch_match_contents( $_obfuscate_7z39kyM , $_obfuscate_Gmx_, $_obfuscate_KQ )
- {
- $_obfuscate_7z39kyM = change_match_string( $_obfuscate_7z39kyM );
- $_obfuscate_Gmx_ = change_match_string( $_obfuscate_Gmx_ );
- if ( @preg_match( "/".$_obfuscate_7z39kyM ."(.*?){$_obfuscate_Gmx_}/i", $_obfuscate_KQ , $_obfuscate_SF4 ) )
- {
- return $_obfuscate_SF4 [1];
- }
- return "";
- }
- function change_match_string( $_obfuscate_R2_b )
- {
- $_obfuscate_epn = array( "/", "\$" );
- $_obfuscate_TMoT = array( "\\/", "\$" );
- $_obfuscate_R2_b = str_replace( $_obfuscate_epn, $_obfuscate_TMoT, $_obfuscate_R2_b );
- return $_obfuscate_R2_b;
- }
- function pick( $_obfuscate_Il8i, $_obfuscate_L9s , $_obfuscate_a7Q )
- {
- $_obfuscate_KQ = fetch_urlpage_contents( $_obfuscate_Il8i );
- foreach ( $_obfuscate_L9s as $_obfuscate_Vwty => $_obfuscate_VgKtFeg )
- {
- $_obfuscate_SF4 [$_obfuscate_Vwty] = fetch_match_contents( $_obfuscate_VgKtFeg ['begin'], $_obfuscate_VgKtFeg ['end'], $_obfuscate_KQ );
- if ( is_array( $_obfuscate_a7Q [$_obfuscate_Vwty] ) )
- {
- foreach ( $_obfuscate_a7Q [$_obfuscate_Vwty] as $_obfuscate_epn => $_obfuscate_TMoT )
- {
- $_obfuscate_SF4 [$_obfuscate_Vwty] = str_replace( $_obfuscate_epn, $_obfuscate_TMoT, $_obfuscate_SF4 [$_obfuscate_Vwty] );
- }
- }
- }
- return $_obfuscate_SF4 ;
- }
- if ( !defined( "IN_UCHOME" ) )
- {
- exit( "Access Denied" );
- }
- $httplist = array( "1" => "localhost", "2" => "www.jjcute.com", "3" => "jjcute.com", "4" => "www.yqwb.net", "5" => "yqwb.net", "6" => "www.xbeifang.cn", "7" => "xbeifang.cn", "8" => "www.80ge.com", "9" => "80ge.com", "10" => "www.59wa.com", "11" => "59wa.com", "12" => "www.digsong.com", "13" => "digsong.com", "14" => "www.flashnet.cn", "15" => "flashnet.cn", "16" => "www.0451kaixin.com", "17" => "0451kaixin.com", "18" => "www.kaixinjh.com", "19" => "kaixinjh.com", "20" => "www.yumen.com", "21" => "yumen.com", "22" => "home.zjjy.com", "23" => "www.paosc.com", "24" => "paosc.com", "25" => "www.ybwowo.cn", "26" => "ybwowo.cn", "27" => "www.halibeibei.com", "28" => "halibeibei.com", "29" => "www.xingtai.me", "30" => "xingtai.me", "31" => "www.hnjita.cn", "32" => "hnjita.cn", "33" => "www.56bang.com", "34" => "56bang.com", "35" => "home.56bang.com", "36" => "56bang.com", "37" => "ybwowo.com", "38" => "home.kekenet.com", "39" => "kekenet.com", "40" => "www.weyos.com", "41" => "weyos.com", "42" => "www.ohpop.cn", "43" => "ohpop.cn", "44" => "www.naoxin.net", "45" => "naoxin.net" );
- if ( empty( $HTTP_HOST ) )
- {
- if ( pma_getenv( "HTTP_HOST" ) )
- {
- $HTTP_HOST = pma_getenv( "HTTP_HOST" );
- }
- else
- {
- $HTTP_HOST = "";
- }
- }
- if ( !in_array( htmlspecialchars( $HTTP_HOST ), $httplist ) )
- {
- header( "location:[url]http://www.jjcute.com[/url]" );
- }
- ?>
- 这段代码没有完全解密,谁能解密呀
复制代码 |