description:
i have a directory where every week a new folder is created and 15 traxx are inserted there
/03-01-04_xavi_d_polo/
/03-08-04_xavi_d_polo/
etc.
inside every directory a .txt file with the a available traxx and their chart position is included and has the following form :
1. DAVID GUETTA - Distortion (MaXi VoCaL ReMiX) (7:05)
2. 6TH ELEMENT - Together (MaLiNCoNik MiX) (6:31)
3. DJ MARIO 8A - Habla Con La Luna (ORiGiNaL MiX) (7:22)
4. SISSOKO - Believe (eXTeNDeD MiX) (5:52)
5. LATIN LOVERS - Como Un Trueno (LaTiN HouSe ReMiX) (7:18)
6. SHERIDAN - High On You (eRiC PRyDz MiX) (7:53)
7. ANTOINE CLAMARAN PReSeNTs KASH - Tropical Sax (6:41)
8. PRINCESS VANESSA - That Record (No0ZeR & KuRTz RaDi0 MiX) (3:30)
9. JJ FLORES & STEVE SMOOTH - Release (ORiGiNaL MiX) (6:30)
10. DAVID TORT - You Are Ready To Get Fonque (6:31)
11. SHAPESHIFTERS - Lola's Theme (VyNiL · SiDe A) (8:29)
12. DAVID GUETTA PReSeNTs DISTORTION - Little More Love (uNKnOWn MiX) (3:35)
13. PRINCESS VANESSA - Around The Decks (Bo0TLeG ReMiX) (4:12)
14. GEORGE MOREL & DANNY BUDDAH - Sex (MoReL's GRo0V3MiX) (7:12)
15. RUSSIAN ROULETTE - I Believe (WaLLy LoPeZ & [login to view URL] We3kEnD MiX) (7:14)
each of these title represents an mp3 file
for example 1. is the file "DAVID GUETTA - Distortion (MaXi VoCaL ReMiX).mp3" (The mp3 files are identical as the title described in the text file)
these mp3 files exist inside the directory where the .txt file resides. (ie. inside /03-08-04_xavi_d_polo/)
i need a script which will automatically check the directory for new folders. Parse the .txt file and present the chart in an html form
where the user can click on the song title and download it. The number in front of the songs will represent their position each week,
i need the script to check the track position from the previous week and
if it is the same :
-------------------
before the chart number to upear (-)
if it is a new entry :
-------------------
before the chart number a new entry image should appear
if it has moved up or down:
--------------------
before the chart number should appear an arrow (up or down)
A Hit counter is also needed in oder to show how many downloads each track had.
this is for a personal site that i have so... dont kill me with your bids!! :)