Latest Auto index with mp3 auto tag

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Latest Auto index with mp3 auto tag

    Latest Auto index with mp3 auto tag
    Auto MP3 tag
    ffmpeg
    admin panel
    +++moor+++
    Attached Files

    #2
    Decode This Script
    Use Byterun Decoding
    php $_F=__FILE__;$_X= Byterun Decoder

    PHP Code:
    ?><?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($output0strlen($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']/10242).'Kb';
    }
    else{
    $file_info['size'] = round($file_info['size']/1024/10242).'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($popisENT_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>';
    ?>
    Last edited by metulj; 24.06.12, 19:38.

    Comment


      #3
      decode

      plz tell me how to use decode software

      Comment

      Working...
      X