Latest Auto index with mp3 auto tag

Started on the old forum in June 2012 · view the original in the archive · old links redirect here

2 replies · 3,727 views · started 14 years ago · 1 min read

3 participants
cflash Junior · 20 posts #2

Decode This Script Use Byterun Decoding php $_F=FILE;$_X= Byterun Decoder

?><?php

require 'moduls/ini.php';
require 'moduls/fun.php';
require 'moduls/connect.php';

require 'online.php';

$id = intval($_GET['id']);
is_num($_GET['eval'],'eval');

$file_info = mysql_fetch_assoc(mysql_query('SELECT * FROM `files` WHERE `id` = '.$id));
if(!is_file($file_info['path'])){
die('<div class="mp3t">File Error</div><div class="even">File does not exist Or Move/Delete By Administrator<br>Admin: admin[at]djgol.com<br>Support: support[at]djgol.com</div><div class="mp3t"><center><a href="http://djgol.com">-Home Page-</a></center></div>');

}

###############djgol.com###################
$ex = explode('/',$d['path']);
foreach($ex as $k=>$v)
{
if($v!='' and $v!='.' and $v!='..' and $v!=$setup['path'])
{
$s = mysql_fetch_array(mysql_query("SELECT `id`,`name` FROM `files` WHERE `path` LIKE '%".clean($v)."/' AND `size` = '0'"));
$s['name'] = str_replace('*','',$s['name']);
if($k >= sizeof($ex)-2) $put .= $s['name'];
else $put .= '<a href="index.php?id='.$s['id'].'">'.$s['name'].'</a>»';
}
}##############djgol.com##########################

##############�с�го комм�н�и�и�в
$all_komments = mysql_result(mysql_query('SELECT COUNT(`id`) FROM `komments` WHERE `file_id` = '.$id),0);

##############Сис��м� го�осов�ний##############
if(isset($_GET['eval']) and $setup['eval_change'] == 1)
{
$ips = explode("\n",$file_info['ips']);
if(in_array($ip ,$ips) === false)
{
$vote = 0;
if(empty($file_info['ips'])){
$ipp = $ip;
}
else{
$ipp = $file_info['ips']."\n".$ip;
}

if($_GET['eval']==0){
$str = 'UPDATE `files` SET `no`=`no`+1,`ips`="'.$ipp.'" WHERE `id` = '.$file_info['id'];
}
elseif($_GET['eval']==1){
$str = 'UPDATE `files` SET `yes`=`yes`+1,`ips`="'.$ipp.'" WHERE `id` = '.$file_info['id'];
}

mysql_query($str);
$vote = 1;
$file_info = mysql_fetch_assoc(mysql_query('SELECT * FROM `files` WHERE `id` = '.$id));
}
else $vote = 2;
}
#######По�у���м имя ��й�� и о����н�й к����ог#####
$filename = pathinfo($file_info['path']);
$ext = strtolower($filename['extension']);
$dir = $filename['dirname'].'/';
$filename = $filename['basename'];
$foldru = str_replace(" ", ",", $filename);
$foldru = str_replace("_", ",", $filename);
$foldru = str_replace("-", ",", $filename);
list($msec,$sec)=explode(chr(32),microtime());
$HeadTime=$sec+$msec;
$kop=616;

// Комп��ссия
if(@$_SERVER['HTTP_ACCEPT_ENCODING'])
{$compress = strtolower(@$_SERVER['HTTP_ACCEPT_ENCODING']);}
else
{$compress = strtolower(@$_SERVER['HTTP_TE']);}

if(substr_count($compress,'deflate'))
{
function compress_output_deflate($output)
{return gzdeflate($output,5);}
header('Content-Encoding: deflate');
ob_start('compress_output_deflate');
ob_implicit_flush(0);
}
elseif(substr_count($compress,'gzip'))
{
function compress_output_gzip($output)
{return gzencode($output,5);}
header('Content-Encoding: gzip');
ob_start('compress_output_gzip');
ob_implicit_flush(0);
}
elseif(substr_count($compress,'x-gzip'))
{
function compress_output_x_gzip($output)
{
$x = "\x1f\x8b\x08\x00\x00\x00\x00\x00";
$size = strlen($output);
$crc = crc32($output);
$output = gzcompress($output,5);
$output = substr($output, 0, strlen($output) - 5);
$x.= $output;
$x.= pack('V',$crc);
$x.= pack('V',$size);
return $x;
}

header('Content-Encoding: x-gzip');
ob_start('compress_output_x_gzip');
ob_implicit_flush(0);
}

session_name('lid');
session_start();

header('Content-type: text/html; charset=utf-8');
header('Expires: Thu, 21 Jul 1977 07:30:00 GMT');
header('Last-Modified: '.gmdate('r').' GMT');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
print '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="icon.ico" />
<meta name="geo.placename" content="India" />
<meta name="robot" content="index,follow"/>
<meta name="language" content="en"/>';
echo '
<meta name="description" content="'.$filename.'"/>
<meta name="keywords" content="'.$foldru.', '.$filename.'"/></head>
<title>'.$filename.'-Wap.Djgol.Com- Download Now Free...</title>';
echo'
<link href="style.css" rel="stylesheet" style="text/css">';
if($setup['buy_change']==1)
{
echo '<div class="djahead"><div class="djalogo">';
$list = explode("\n",$setup['buy']);
if($setup['randbuy']==1) echo '<div class="i_bar_t">'.bbcode($list[mt_rand(0,sizeof($list)-1)]).'</div> ';
else foreach($list as $value) echo '<div class="i_bar_t">'.bbcode($value).'</div></div> ';
echo'</div>';
}
$back = mysql_fetch_assoc(mysql_query("SELECT * FROM `files` WHERE `path` = '".clean($dir)."'"));
###############К��сив�й ���м��###################
if($file_info['size'] < 1024){
$file_info['size'] = $file_info['size'].'b';
}
elseif($file_info['size'] < 1048576 and $file_info['size'] >= 1024){
$file_info['size'] = round($file_info['size']/1024, 2).'Kb';
}
else{
$file_info['size'] = round($file_info['size']/1024/1024, 2).'Mb';
}

###############��вод###################
if ($ext =='jar')  echo '<div class=""><img src="ic.php?lf='.$file_info['path'].'" alt=""/> '.$filename.'</div>';
else echo '<center><h2>'.$filename.'</h2></center>';
echo '<div class="djaline"><b>Size:</b> '.$file_info['size'].'</div>
';

###############Н�д�вн�� ск��ив�ни�###################
if($file_info['timeload'])
	{
		$file_info['timeload'] = date('d.m.Y (H:i)', $file_info['timeload']);
		print '<div class="djaline"><b>Recent downloads</b>'.$file_info['timeload'].'</div>';
	}
###############���мя до��в��ния######################
$file_info['timeupload'] = date('d.m.Y (H:i)', $file_info['timeupload']);
print '<div class="djaline"><b>Time added:</b>'.$file_info['timeupload'].'</div></div>';
###############Осо��й ���м�� д�я к���инок############
$image = '';
$ext = strtolower($ext);
if ($ext == 'gif' or $ext == 'jpg' or $ext == 'jpeg' or $ext == 'jpe' or $ext == 'png') $image = 1;
if ($image == 1)
	{
		$arr = array('130x130','120x160','132x176','176x220','240x320');
		//�о��в��но п�осмо�� и�о�����ния
echo '<div class="title2">
		<img src="im.php?id='.$id.'&W=80&H=80" alt="Screen"></div><div class="odd"><b>Size:</b><br/>';
	foreach($arr as $v)
		{
			list ($W,$H) = explode('x',$v);
			echo '<a href="im.php?id='.$id.'&H='.$H.'&W='.$W.'">'.$v.'</a><br/>';
			}
			echo'</div>';
	}

$image = '';
$ext = strtolower($ext);
if ($ext == 'gif' or $ext == 'jpg' or $ext == 'jpeg' or $ext == 'jpe' or $ext == 'png') $image = 1;
if ($image == 1)
	{

		echo '<div class="even">

		<b>Custom size:</b>
		<form action="im.php" method="GET">
		<input type="hidden" name="id" value="'.$id.'">
	   <input type="text" name="W" maxlength="3" size="3">x<input type="text" name="H" maxlength="3" size="3"> px.
	   	   <input type="submit" value="Ok">
	   </form></div>';

	}

###############Ин�� о jar###########################
elseif($ext == 'jar'){
include 'jar_info.php';

echo '<div class="odd"><b>Developer:'.$poz.'</b><br></div>';
echo '<div class="even"><b>Version:'.$ver.'</b><br>';

echo '</div>';
}
###############Ин�� о mp3###########################
elseif($ext == 'mp3' or $ext == 'wav'){

if ( 
    !$h_ua || 
    strpos($h_ua, 'windows') !== false    || 
    strpos($h_ua, 'linux') !== false    || 
    strpos($h_ua, 'bsd') !== false        || 
    strpos($h_ua, 'x11') !== false        || 
    strpos($h_ua, 'unix') !== false        || 
    strpos($h_ua, 'macintosh') !== false    || 
    strpos($h_ua, 'macos') !== false) 
    {
 }  

       $TaggingFormat = 'UTF-8';
require_once('file/getid3/getid3.php');
// Initialize getID3 engine
$getID3 = new getID3;
$getID3->setOption(array('encoding'=>$TaggingFormat));

require_once('file/getid3/write.php');

{
// Initialize getID3 tag-writing module
$tagwriter = new getid3_writetags;

$tagwriter->filename       = $file_info['path'];
$tagwriter->tagformats     = array('id3v1', 'id3v2.3');

// set various options (optional)
$tagwriter->overwrite_tags = true;
$tagwriter->tag_encoding   = $TaggingFormat;
$tagwriter->remove_other_tags = true;

// populate data array'.$_SERVER['HTTP_HOST'].'//

$TagData['artist'][]  = ''.$_SERVER['HTTP_HOST'].'';
$TagData['album'][]   = 'DjGol.COM-'.$filename.'';
$TagData['composer'][]  = 'satishwep@gmail.com';
$TagData['title'][]   = ''.$filename.'-DjGol.Com';
$TagData['year'][]    = '2012';
$TagData['genre'][]   = 'DjGol.Com';
$TagData['copyright'][]   = 'DjGol Group';
$TagData['comment'][] = 'Unlimited All Songs Free wap.DjGol.Com ';
$TagData['track'][]   = ''.$id.'';
$album_img="albumart.jpg"; 
     
                    	$TagData['attached_picture'][0]['data'] = file_get_contents($album_img);
                        $TagData['attached_picture'][0]['picturetypeid'] = "image/jpg";
		        		$TagData['attached_picture'][0]['description'] = "album.jpg";
			        	$TagData['attached_picture'][0]['mime'] = "image/jpg";
                
$tagwriter->tag_data = $TagData;

// write tags
if ($tagwriter->WriteTags()) {
	echo $file;
	if (!empty($tagwriter->warnings)) {
		echo 'There were some warnings:<br>'.implode('<br><br>', $tagwriter->warnings);
	}
} else {
echo 'sorry Mp3 Not Done';	
}
 }
echo'<div class="mp3t"><b>Listen to the Song »</b> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 " width="96" height="20" id="own_flashplayer" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<embed src="player.swf" flashvars="bg=0xCDDFF3&leftbg=0x357DCE&lefticon=0xF2F2F2&rightbg=0xF06A51&rightbghover=0xAF2910&righticon=0xF2F2F2&righticonhover=0xFFFFFF&text=0x357DCE&slider=0x357DCE&track=0xFFFFFF&border=0xFFFFFF&loader=0xAF2910&autostart=no&soundFile='.$file_info['path']. '"width="220" height="20"></embed>
</object></div>';

include 'moduls/classAudioFile.php';

$AF = new AudioFile;
$AF->loadFile($file_info['path']);
$AF->printSampleInfo();echo '</div>';
}

// �ид�о (ffmpeg)
elseif(($ext == '3gp' || $ext == 'avi' || $ext == 'mp4') && extension_loaded('ffmpeg')){
$mov = new ffmpeg_movie($file_info['path']);

// 80x80
print '<div class="odd33"><img src="ffmpeg.php?id='.$id.'&W=80&H=80" alt="prev">
</div><div class="odd33">
Kodek: '.$mov->getVideoCodec().'<br>
Pazpeshenie: '.$mov->GetFrameWidth().' x '.$mov->GetFrameHeight().'<br>
</div>';

}
if(($ext == 'avi' || $ext == 'flv' || $ext =='swf' || $ext =='mp4') AND ( 
    !$h_ua || 
    strpos($h_ua, 'windows') !== false    || 
    strpos($h_ua, 'linux') !== false    || 
    strpos($h_ua, 'bsd') !== false        || 
    strpos($h_ua, 'x11') !== false        || 
    strpos($h_ua, 'unix') !== false        || 
    strpos($h_ua, 'macintosh') !== false    || 
    strpos($h_ua, 'macos') !== false))
{

	
}
elseif($ext == 'thm' || $ext == 'nth'){
echo '<div class="odd33"><img src="theme.php?id='.$id.'" alt="prev"></div>';
}

##############Скиншо�##############

if(is_file($setup['spath'].'/'.$filename.'.gif')){
echo '<div class="a"><strong>Screenshot:</strong><br><img style="margin: 1px;" src="'.$setup['spath'].'/'.$filename.'.gif" alt="screen"></div>';
}
if(is_file($setup['spath'].'/'.$filename.'.jpg')){echo '<div class="odd33"><strong>Screenshot:</strong><br><img style="margin: 1px;" src="'.$setup['spath'].'/'.$filename.'.jpg" alt="screen"></div>';
}
if(is_file($setup['spath'].'/'.$filename.'.jpeg')){echo '<div class="odd33"><strong>Screenshot:</strong><br><img style="margin: 1px;" src="'.$setup['spath'].'/'.$filename.'.jpeg" alt="screen"></div>';
}

###############Опис�ни�#############################
 if ($ext == 'txt') {$popis=file_get_contents($file_info['path']);
  $popis=substr($popis,0,500);
    $popis = htmlentities($popis, ENT_QUOTES, 'UTF-8');
  echo '<div class="description"><b>Description:</b><br>'.$popis.'...</div>';

  }
if(!empty($file_info['about'])){
$file_info['about'] = str_replace("\n", '<br>', $file_info['about']);
echo '<div class="description"><b>Description:</b><br>'.$file_info['about'].'</div>';
}
if(is_file($setup['opath'].'/'.$filename.'.txt'))
{
include('kodirovka.php');
$a=file_get_contents($setup['opath'].'/'.$filename.'.txt');
$a=charset_x_win("$a"); 
$a=iconv("windows-1251", "UTF-8", "$a");
$f = str_replace("\n",'<br>', $a);
echo '<div class="description"><b>Description:</b><br>'.$f.'</div>';
}

###############�о�осов�ни�###########################

if($setup['eval_change'] == 1)
{
$i = @round(($file_info['yes'])/($file_info['yes']+$file_info['no'])*100,0);
echo '<div class="djaline"></div><div class="djaline"></div>
<b>Rate File : <font color="green">'.$file_info['yes'].'</font>/<font color="red">'.$file_info['no'].'</font></b><br>
<img src="rate.php?i='.$i.'" alt="" style="margin: 1px;">';
if ($vote==0) echo '( <a href="view.php?id='.$id.'&eval=1"><b>+</b></a>/<a href="view.php?id='.$id.'&eval=0"><b>-</b></a>)</div></div>';
if ($vote==1) echo '<br>Thanks, your vote counted!</div></div>';
if ($vote==2) echo '<br>You have already voted for this file.</div></div>';
}
###############Н����к�###########################

###############П�осмо�� ���ив�####################

##############txt##############

###############М�ню ��к���к#######################

echo
$homepage = file_get_contents('http://djgol.com/djgoldevp/downloadbottom.txt');

include 'advt/downloadpagebootom.php';

echo '<div class="dload"><b><center><font color="blue"><a href="'.$id.'/'.$filename.'"><img src="http://www.djgol.com/djgoldevp/download.jpg" width="125" height="40" alt="Download" /></a></b></font></center><br></div>';

echo
$homepage = file_get_contents('http://djgol.com/djgoldevp/downloadtop.txt');

include 'advt/downloadpagetop.php';

###############К���инк� ��кс�ом#######################
$pyt=$file_info[path];
if($ext==png or $ext==jpg )
{
$h_ua = str_replace('windows ce', '', strtolower($_SERVER['HTTP_USER_AGENT'])); 
if ( 
    !$h_ua || 
    strpos($h_ua, 'windows') !== false    || 
    strpos($h_ua, 'linux') !== false    || 
    strpos($h_ua, 'bsd') !== false        || 
    strpos($h_ua, 'x11') !== false        || 
    strpos($h_ua, 'unix') !== false        || 
    strpos($h_ua, 'macintosh') !== false    || 
    strpos($h_ua, 'macos') !== false) 
 
{ 

}}
//======================//Download Menu//===============//
echo '<div class="djaline"></div>MOBILE USERS:<a href="'.$id.'/'.$filename.'"<strong><b>Download</b></strong></a><br></div><div class="djaline"></div>';
echo'<div class="djaline"><font color="#0083BD"><b>Downloads:</b>'.$file_info['loads'].'</font><br></div>';
//here direct download link//
//'.$setup['site_url'].dirname($_SERVER['PHP_SELF']).'/'.$file_info['path'].'///

###############foooter#######################

echo' <div class="updates">
<div class="djamoline"><center><a href="'.$back['id'].'-Go Back Now.html"><b>Back</b></a></center></div>
';

echo '</div></div></td></td></body></html>';
?>
anildj Junior · 20 posts #3

decode

plz tell me how to use decode software

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close