Muzyka na stronie...

Problemy związane ze stronami HTML

Muzyka na stronie...

Postprzez Proximus » So paź 04, 08 18:48

Witam, chciałbym zrobić u siebie na stronie odtwarzanie muzyki, ale w tle i żeby cały czas leciała na danej stronie. Wszystko by było dobrze ale stronka jest w php i nie wiem gdzie umieścić kod. Tutaj jest przykład jednej stronki - gardens.php

Kod: Zaznacz cały
<?php
// addnews ready
// translator ready
// mail ready
require_once("common.php");
require_once("lib/commentary.php");
require_once("lib/villagenav.php");
require_once("lib/events.php");
require_once("lib/http.php");

tlschema("gardens");

page_header("The Gardens");

addcommentary();
$skipgardendesc = handle_event("gardens");
$op = httpget('op');
$com = httpget('comscroll');
$refresh = httpget("refresh");
$commenting = httpget("commenting");
$comment = httppost('insertcommentary');
// Don't give people a chance at a special event if they are just browsing
// the commentary (or talking) or dealing with any of the hooks in the village.
if (!$op && $com=="" && !$comment && !$refresh && !$commenting) {
   if (module_events("gardens", getsetting("gardenchance", 0)) != 0) {
      if (checknavs()) {
         page_footer();
      } else {
         // Reset the special for good.
         $session['user']['specialinc'] = "";
         $session['user']['specialmisc'] = "";
         $skipgardendesc=true;
         $op = "";
         httpset("op", "");
      }
   }
}
if (!$skipgardendesc) {
   checkday();

   output("`b`c`2The Gardens`0`c`b");

   output("`n`nYou walk through a gate and on to one of the many winding paths that makes its way through the well-tended gardens.");
   output("From the flowerbeds that bloom even in darkest winter, to the hedges whose shadows promise forbidden secrets, these gardens provide a refuge for those seeking out the Green Dragon; a place where they can forget their troubles for a while and just relax.`n`n");
   output("One of the fairies buzzing about the garden flies up to remind you that the garden is a place for roleplaying and peaceful conversation, and to confine out-of-character comments to the other areas of the game.`n`n");
}

villagenav();
modulehook("gardens", array());

commentdisplay("", "gardens","Whisper here",30,"whispers");

module_display_events("gardens", "gardens.php");
page_footer();
?>


A to muzyczka która miała by tam grać... http://www.speedyshare.com/126337476.html
Proximus
 
Posty: 14
Dołączył(a): So mar 08, 08 17:36

Postprzez wargo » So paź 04, 08 19:46

A na jakim cmsie jest oparta ta strona?
wargo
 
Posty: 1353
Dołączył(a): Cz lip 05, 07 16:59
Lokalizacja: Pleszew

Postprzez Proximus » So paź 04, 08 19:49

Dokładnie nie jest to CMS tylko gra, wiem że nie można na ugu umieszczać gier dlatego nie łamałem regulaminu i umieściłem ją na [mod]pdg.pl[/mod] dokładny adres mojej stronki [mod]www.lzs.pdg.pl[/mod] jest ona aktualnie w wersji Beta, tzn. tłumaczenia. Gra jest zrobiona na silniku Legend Of The Green Dragon.

Aby (chyba) nie łamać regulaminu forum linki do hostingu i strony ukryłem - tylko dla moderatorów i adminów strony
Proximus
 
Posty: 14
Dołączył(a): So mar 08, 08 17:36

Postprzez Trystek » So paź 04, 08 23:19

pozdrawiamy
Avatar użytkownika
Trystek
 
Posty: 716
Dołączył(a): Wt cze 12, 07 22:40
Lokalizacja: Bydgoszcz


Powrót do HTML

Copyright © 2007-2011 ugu.pl
Wszelkie prawa zastrzeżone.
Polityka prywatności

cron