hey guys, trying to install the PHP clock to my site..
for some reason i can get another one to work,
www.myfileplace.com the small timer, that has the date aswell, but id prefer to get the clock working, when i put the code in, firefox says i need a plugin, but it cant find one, and on IE nothing is said at all
heres the PHP code
PHP Code:
<*****?php
/************************************************************************/
/* block-BlackW_Clock (B&W Analog Clock Only) */
/* for PhpNuke 6.x */
/* This is a hack by VinDSL (perfect.pecker@lycos.co.uk) */
/* Released: 24-Mar-2004 */
/************************************************************************/
/* Based on... */
/************************************************************************/
/* block-Clock/Calendar v1.0 (Analog Clock and Calendar) */
/* for PhpNuke 6.x */
/* by Emanuel Pina */
/* [email]emanuelpina@ptnuke.com[/email] */
/* Made in: 25-05-2003 */
/************************************************************************/
if (eregi("block-BlackW_Clock.php", $_SERVER['PHP_SELF'])){
Header("Location: index.php");
die();
}
global $user;
$content = "<TABLE width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<TBODY><TR><TD align=\"left\"><center><OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"
codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"
WIDTH=\"150\" HEIGHT=\"150\" id=\"relogio\" ALIGN=\"\">
<PARAM NAME=\"movie\" VALUE=\"blocks/blackw_clock.swf\">
<PARAM NAME=\"quality\" VALUE=\"high\">
<PARAM NAME=\"bgcolor\" VALUE=\"#000000\">
<PARAM NAME=\"wmode\" VALUE=\"transparent\">
<PARAM NAME=\"menu\" VALUE=\"false\">
<EMBED src=\"blocks/blackw_clock.swf\" quality=\"high\" bgcolor=\"#000000\" WIDTH=\"150\"
HEIGHT=\"150\" wmode=\"transparent\" ALIGN=\"\" TYPE=\"application/x-shockwave-flash\"
PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\" menu=\"false\">
</EMBED></OBJECT></center></TD></TR></TBODY></TABLE>
";
// This link will be display only for anonymous users...
// If you would like to see future works, let it remain.
// It's a copyright. Don't don't remove it!
if (!isset($user)){
$content .= "<div align=\"right\"><a href=\"http://www.lenon.com/modules.php?name=Docs&file=terms\"><font style=\"font:10px,Arial\">" . ucfirst(_BY) . " VinDSL ©</font> </a></div>\n";
}
?********>
any help would be great