Realisation page php

maxxou56 Messages postés 53 Date d'inscription jeudi 28 février 2008 Statut Membre Dernière intervention 15 février 2010 - 23 mars 2008 à 02:52
maxxou56 Messages postés 53 Date d'inscription jeudi 28 février 2008 Statut Membre Dernière intervention 15 février 2010 - 23 mars 2008 à 11:59
je souhaiterais transformer un code que jai trouvé sur ce site en un autre language à savoir le php, ce qui me permettrait d'utiliser une base de données.

La demo du code que jai télécharger se trouve sur le lien suivant:
http://www.arno-box.net/demo/

A partir dune base de donnée
artiste album, pochette album, id chanson, titre chanson, durée chanson
je souhaiterais réalisé ce type de page

Si quelqun peut maider dans le code me donner des conseils

3 réponses

coucou747 Messages postés 12303 Date d'inscription mardi 10 février 2004 Statut Membre Dernière intervention 30 juillet 2012 44
23 mars 2008 à 03:29
salut

le flash, c'est cote client, le php cote serveur, tu ne peux donc pas le recodeer en php, par contre, tu peux l'utiliser avec du php.

t'as une ligne genre

so.addVariable("ListCover", "ListCovers.xml");

suffit de faire en sorte que php genere ce xml
0
bcmfr Messages postés 137 Date d'inscription jeudi 18 juillet 2002 Statut Membre Dernière intervention 20 novembre 2016
23 mars 2008 à 03:34
tiens ca me fait plaisir de voir que je suis pas le seul glandu à 03h30 sur ce site!
0
maxxou56 Messages postés 53 Date d'inscription jeudi 28 février 2008 Statut Membre Dernière intervention 15 février 2010
23 mars 2008 à 11:59
Quelques questions supplémentaires:
Est ce que je peux modifier mon code pour introduire du php sur ces pages:
(index.html)
<form id= "slideForm">
        Sélectionner le slide à afficher :

        <select id="slide" onchange="SelectSlide(this.form)">
         <option value="1">Aerosmith</option>
         <option value="2">Coldplay</option>
         <option value="3">Green Day</option>
         <option value="4">Hoobastank</option>
         <option value="5">Linkin Park</option>
         <option value="6">Mika</option>
         <option value="7">RazorLight</option>
         <option value="8">Red Hot Chili Peppers</option>
         <option value="9">U2</option>
         <option value="10">Will SMith</option>
        </select>
       </form>

(listcovers.xml)
<list>
 
  <![CDATA[images/Aerosmith-Devils_Got_A_New_Disguise.jpg]]>

 
 
  <![CDATA[images/Coldplay-XY.jpg]]>

 
 
  <![CDATA[images/Green_Day-American_Idiot.jpg]]>

 
 
  <![CDATA[images/Hoosbastank-The_Reason.jpg]]>

 
 
  <![CDATA[images/Linkin_Park-Minutes_To_Midnight.jpg]]>

 
 
  <![CDATA[images/Mika-Life_In_Cartoon_Motion.jpg]]>

 
 
  <![CDATA[images/Razorlight-Razorlight.jpg]]>

 
 
  <![CDATA[images/Red_Hot_Chili_Pepper-Stadium_Arcadium.jpg]]>

 
 
  <![CDATA[images/U2-Best_Of_1980-1990.jpg]]>

 
 
  <![CDATA[images/Will_Smith-Lost_And_Found.jpg]]>

 

(infocd.js)
function info1() {
 tracks = Array(Array("Dude (Looks Like A Lady)", "4:23", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Love In An Elevator", "5:23", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Livin' On The Edge", "5:07", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Walk This Way", "3:43", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Cryin'", "5:10", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Jaded", "3:36", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Crazy", "4:07", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Angel", "5:08", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Janie's Got A Gun", "4:34", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Amazing", "5:59", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("The Ohter Side", "4:08", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Dream On", "4:28", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Sweet Emotion", "3:14", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Falling In Love (Is Hard On The Knees", "3:27", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("Pink", "3:57", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="),
                Array("I Don't Want To Miss A Thing", "4:28", "http://www.google.fr/search?hl=fr&q=Aoresmith&meta="));
 return ConvertArrayToText(tracks);
}
0
Rejoignez-nous