Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][HTML][JavaScript]witam jak wstawic animacje swf w strone php
zorby
post 23.09.2008, 20:08:30
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 23.09.2008

Ostrzeżenie: (0%)
-----


witam mam stronke o nazwie nagłowek wyglada tak:
  1. <?
  2. //$s_id = session_id();
  3. echo" <br />
  4. <center><table border=0 cellspacing='0' cellpadding='0'width=879
  5. background=images/logo.jpg width=879 height=130 border=0>
  6. <tr><td> </td><td align=right width=879><font color=white size=6 >
  7. </font>      </td></tr>
  8. </table>";
  9.  
  10. //require_once("include/podstrona.php");
  11. require_once("include/banery_top.php");
  12. require_once("rgoogle.php");
  13.  
  14.  
  15. echo"</center>";
  16. if($_SESSION["login_u"])
  17. {
  18.  
  19. $login_u=$_SESSION["login_u"];
  20. <center><table width=879 border=0 background=images/nagl.jpg width=5
  21. height=30 cellspacing='0' cellpadding='0'><tr><td class=naglowek10>
  22.   <a class=a22 href=index.php target=_top>Strona główna</a>
  23. | <a class=a22 href=>Witaj $login_u </a>
  24. | <a class=a22 href=profil.php target=_top><b>Mój profil</b> </a>
  25. </td>
  26. <td class=naglowek10 align=right>";
  27.  
  28. $pobieranie = mysql_query ("SELECT * FROM podstrony where gdzie='G'");
  29. while ($zapisz = mysql_fetch_array($pobieranie))
  30. {
  31. $id=$zapisz['id'];
  32. $link_inf=$zapisz['link'];
  33. $tresc_inf =$zapisz['tresc_strony'];
  34. echo "| <a class=a22 href=podstrona.php?id=$id target=_top>$link_inf
  35. </a>";
  36. }
  37. | <a class=a22 href=dodajogl.php target=_top>Dodaj ogłoszenie </a>
  38. | <a class=a22 href=kontakt.php target=_top>Kontakt </a>
  39. | <a class=a22 href=cennik.php target=_top>Cennik </a>
  40. | <a class=a22 href=regulamin.php target=_top>Regulamin </a>
  41. | <a class=a22 href=wyloguj.php target=_top>Wyloguj </a>
  42.  
  43.   
  44. </td></tr></table></center>";
  45. }
  46. else
  47. {
  48.  
  49. <center><table width=879 border=0 background=images/nagl.jpg width=5
  50. height=30 cellspacing='0' cellpadding='0'><tr><td class=naglowek10>
  51.   <a class=a22 href=index.php target=_top>Strona główna</a>
  52. </td>
  53. <td class=naglowek10 align=right>";
  54.  
  55. $pobieranie = mysql_query ("SELECT * FROM podstrony where gdzie='G'");
  56. while ($zapisz = mysql_fetch_array($pobieranie))
  57. {
  58. $id=$zapisz['id'];
  59. $link_inf=$zapisz['link'];
  60. $tresc_inf =$zapisz['tresc_strony'];
  61. echo "| <a class=a22 href=podstrona.php?id=$id target=_top>$link_inf
  62. </a>";
  63. }
  64.  
  65. | <a class=a22 href=dodajogl.php target=_top>Dodaj ogłoszenie </a>
  66. | <a class=a22 href=kontakt.php target=_top>Kontakt </a>
  67. | <a class=a22 href=cennik.php target=_top>Cennik </a>
  68. | <a class=a22 href=regulamin.php target=_top>Regulamin </a>
  69. | <a class=a22 href=rejestracja.php target=_top>Rejestracja </a>
  70. | <a class=a22 href=logowanie.php target=_top>Logowanie </a>|
  71.  
  72.   
  73.  
  74.  
  75. </td></tr></table></center>";}
  76. ?>

-------------------------------------------------------------------------------------------------------------------------------


póki co logo strony jest wstawione jako jpg w formie
"background=images/logo.jpg"

chciałbym wstawic animacje swf mam ja jako
  1. <OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  2. WIDTH="879" HEIGHT="130" >
  3. <PARAM NAME="MOVIE" VALUE="top.swf">
  4. <PARAM NAME="PLAY" VALUE="true">
  5. <PARAM NAME="LOOP" VALUE="true">
  6. <PARAM NAME="QUALITY" VALUE="high">
  7. <EMBED SRC="top.swf" WIDTH="879" HEIGHT="130" PLAY="true" LOOP="true"
  8. WMODE="opaque" QUALITY="high"
  9. TYPE="application/x-shockwave-flash"
  10. </EMBED>


gdzie bym musiał wstawic ten kod ( i czy cały czy jakas jego czesc) zeby
zamiast loga logo.jpg wyswietlało mi sie logo.swf ( plik juz mam wgrany do
katalogu IMAGES


z góry dzieki za odpowiedz

Ten post edytował batman 23.09.2008, 20:19:17
Powód edycji: poprawiłem bbcode
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 17:07