Hey. My site is being annoying and it comes up with
I believe there is something wrong with the 276th line in the code.
This bit of code is the radio player code but I don't know how to fix it.
Please help!

Hey. My site is being annoying and it comes up with
Parse error: syntax error, unexpected T_LNUMBER in /home/habbman/public_html/index.php on line 276
I believe there is something wrong with the 276th line in the code.
This bit of code is the radio player code but I don't know how to fix it.
Please help!
www.habbmania.co.uk >> Send me a pm if you need a habbo fansite job!
Check out some of my videos!
Post the line and the lines arround it
Lets set the stage on fire, and hollywood will be jealous.
Code error is included in:
<OBJECT id=MediaPlayer type=application/x-oleobject height=69
standby="Please wait while we start the radio!" width=185 classid=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6>
<PARAM NAME="URL" VALUE="http://habtazfm.com/radio/castcontro...=8212&type=asx"
<PARAM NAME="rate" VALUE="1">
<PARAM NAME="balance" VALUE="0">
<PARAM NAME="currentPosition" VALUE="0">
<PARAM NAME="defaultFrame" VALUE="">
<PARAM NAME="playCount" VALUE="1">
<PARAM NAME="autoStart" VALUE="-1">
<PARAM NAME="currentMarker" VALUE="0">
<PARAM NAME="invokeURLs" VALUE="-1">
<PARAM NAME="baseURL" VALUE="">
<PARAM NAME="volume" VALUE="68">
<PARAM NAME="mute" VALUE="0">
<PARAM NAME="uiMode" VALUE="mini">
<PARAM NAME="stretchToFit" VALUE="0">
<PARAM NAME="windowlessVideo" VALUE="0">
<PARAM NAME="enabled" VALUE="-1">
<PARAM NAME="enableContextMenu" VALUE="-1">
<PARAM NAME="fullScreen" VALUE="0">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIFilename" VALUE="">
<PARAM NAME="captioningID" VALUE="">
<PARAM NAME="enableErrorDialogs" VALUE="0">
<PARAM NAME="_cx" VALUE="5398">
<PARAM NAME="_cy" VALUE="1032">
</OBJECT>
Line error is included in:
<PARAM NAME="balance" VALUE="0">
www.habbmania.co.uk >> Send me a pm if you need a habbo fansite job!
Check out some of my videos!
What are the actual php lines you have used around that area?Code error is included in:
<OBJECT id=MediaPlayer type=application/x-oleobject height=69
standby="Please wait while we start the radio!" width=185 classid=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6>
<PARAM NAME="URL" VALUE="http://habtazfm.com/radio/castcontro...=8212&type=asx"
<PARAM NAME="rate" VALUE="1">
<PARAM NAME="balance" VALUE="0">
<PARAM NAME="currentPosition" VALUE="0">
<PARAM NAME="defaultFrame" VALUE="">
<PARAM NAME="playCount" VALUE="1">
<PARAM NAME="autoStart" VALUE="-1">
<PARAM NAME="currentMarker" VALUE="0">
<PARAM NAME="invokeURLs" VALUE="-1">
<PARAM NAME="baseURL" VALUE="">
<PARAM NAME="volume" VALUE="68">
<PARAM NAME="mute" VALUE="0">
<PARAM NAME="uiMode" VALUE="mini">
<PARAM NAME="stretchToFit" VALUE="0">
<PARAM NAME="windowlessVideo" VALUE="0">
<PARAM NAME="enabled" VALUE="-1">
<PARAM NAME="enableContextMenu" VALUE="-1">
<PARAM NAME="fullScreen" VALUE="0">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIFilename" VALUE="">
<PARAM NAME="captioningID" VALUE="">
<PARAM NAME="enableErrorDialogs" VALUE="0">
<PARAM NAME="_cx" VALUE="5398">
<PARAM NAME="_cy" VALUE="1032">
</OBJECT>
Line error is included in:
<PARAM NAME="balance" VALUE="0">
My guess is you haven't ended the PHP properly making it think that the HTML is part of your php script.
K, there is no php there :SCode error is included in:
<OBJECT id=MediaPlayer type=application/x-oleobject height=69
standby="Please wait while we start the radio!" width=185 classid=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6>
<PARAM NAME="URL" VALUE="http://habtazfm.com/radio/castcontro...=8212&type=asx"
<PARAM NAME="rate" VALUE="1">
<PARAM NAME="balance" VALUE="0">
<PARAM NAME="currentPosition" VALUE="0">
<PARAM NAME="defaultFrame" VALUE="">
<PARAM NAME="playCount" VALUE="1">
<PARAM NAME="autoStart" VALUE="-1">
<PARAM NAME="currentMarker" VALUE="0">
<PARAM NAME="invokeURLs" VALUE="-1">
<PARAM NAME="baseURL" VALUE="">
<PARAM NAME="volume" VALUE="68">
<PARAM NAME="mute" VALUE="0">
<PARAM NAME="uiMode" VALUE="mini">
<PARAM NAME="stretchToFit" VALUE="0">
<PARAM NAME="windowlessVideo" VALUE="0">
<PARAM NAME="enabled" VALUE="-1">
<PARAM NAME="enableContextMenu" VALUE="-1">
<PARAM NAME="fullScreen" VALUE="0">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIFilename" VALUE="">
<PARAM NAME="captioningID" VALUE="">
<PARAM NAME="enableErrorDialogs" VALUE="0">
<PARAM NAME="_cx" VALUE="5398">
<PARAM NAME="_cy" VALUE="1032">
</OBJECT>
Line error is included in:
<PARAM NAME="balance" VALUE="0">
Post the whole page code.
Lets set the stage on fire, and hollywood will be jealous.
Here is the whole code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
/***********************************************
* IFrame SSI script II- © Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
* Visit DynamicDrive.com for hundreds of original DHTML scripts
* This notice must stay intact for legal use
***********************************************/
//Input the IDs of the IFRAMES you wish to dynamically resize to match its content height:
//Separate each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none:
var iframeids=["myframe"]
//Should script hide iframe from browsers that don't support this script (non IE5+/NS6+ browsers. Recommended):
var iframehide="yes"
var getFFVersion=navigator.userAgent.substring(navigat or.userAgent.indexOf("Firefox")).split("/")[1]
var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers
function resizeCaller() {
var dyniframe=new Array()
for (i=0; i<iframeids.length; i++){
if (document.getElementById)
resizeIframe(iframeids[i])
//reveal iframe for lower end browsers? (see var above):
if ((document.all || document.getElementById) && iframehide=="no"){
var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i])
tempobj.style.display="block"
}
}
}
function resizeIframe(frameid){
var currentfr=document.getElementById(frameid)
if (currentfr && !window.opera){
currentfr.style.display="block"
if (currentfr.contentDocument && currentfr.contentDocument.body.offsetHeight) //ns6 syntax
currentfr.height = currentfr.contentDocument.body.offsetHeight+FFextr aHeight;
else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
currentfr.height = currentfr.Document.body.scrollHeight;
if (currentfr.addEventListener)
currentfr.addEventListener("load", readjustIframe, false)
else if (currentfr.attachEvent){
currentfr.detachEvent("onload", readjustIframe) // Bug fix line
currentfr.attachEvent("onload", readjustIframe)
}
}
}
function readjustIframe(loadevt) {
var crossevt=(window.event)? event : loadevt
var iframeroot=(crossevt.currentTarget)? crossevt.currentTarget : crossevt.srcElement
if (iframeroot)
resizeIframe(iframeroot.id);
}
function loadintoIframe(iframeid, url){
if (document.getElementById)
document.getElementById(iframeid).src=url
}
if (window.addEventListener)
window.addEventListener("load", resizeCaller, false)
else if (window.attachEvent)
window.attachEvent("onload", resizeCaller)
else
window.onload=resizeCaller
</script>
<script type="text/javascript">
/***********************************************
* Switch Menu script- by Martial B of http://getElementById.com/
* Modified by Dynamic Drive for format & NS4/IE4 compatibility
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
var persistmenu="yes" //"yes" or "no". Make sure each SPAN content contains an incrementing ID starting at 1 (id="sub1", id="sub2", etc)
var persisttype="sitewide" //enter "sitewide" for menu to persist across site, "local" for this page only
if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}
function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("masterdiv").getElementsBy TagName("span"); //DynamicDrive.com change
if(el.style.display != "block"){ //DynamicDrive.com change
for (var i=0; i<ar.length; i++){
if (ar[i].className=="submenu") //DynamicDrive.com change
ar[i].style.display = "none";
}
el.style.display = "block";
}else{
el.style.display = "none";
}
}
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(off set, end))
}
}
return returnvalue;
}
function onloadfunction(){
if (persistmenu=="yes"){
var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
var cookievalue=get_cookie(cookiename)
if (cookievalue!="")
document.getElementById(cookievalue).style.display ="block"
}
}
function savemenustate(){
var inc=1, blockid=""
while (document.getElementById("sub"+inc)){
if (document.getElementById("sub"+inc).style.display= ="block"){
blockid="sub"+inc
break
}
inc++
}
var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
var cookievalue=(persisttype=="sitewide")? blockid+";path=/" : blockid
document.cookie=cookiename+"="+cookievalue
}
if (window.addEventListener)
window.addEventListener("load", onloadfunction, false)
else if (window.attachEvent)
window.attachEvent("onload", onloadfunction)
else if (document.getElementById)
window.onload=onloadfunction
if (persistmenu=="yes" && document.getElementById)
window.onunload=savemenustate
</script>
<title>habbMANIA - Keeping the habbo airwaves alive!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
.small_box {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-style: normal;
color: #000000;
padding: 3px;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(images/bg.png);
}
.disclaimer {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-style: normal;
color: #FFFFFF;
padding: 5px;
}
.small_header {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
color: #333333;
padding: 3px;
font-weight: bold;
}
.top-header {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
font-style: normal;
font-weight: bold;
padding: 4px;
}
.login {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
color: #000000;
}
.style1 {color: #FFFFFF}
-->
</style>
</head>
<body>
<table cellspacing="0" cellpadding="0" width="190" border="0">
<tbody>
<tr>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top" width="900" background="images/newlayout_01.gif" height="80">
<table height="78" cellspacing="0" cellpadding="0" width="147" align="left" border="0">
<tbody>
<tr>
<td>
<table class="login" cellspacing="0" cellpadding="3" width="100%" align="left">
<tbody>
<tr>
<td style="padding-right: 9px; width: 70px; text-align: right" valign="top"> </td>
</tr></tbody></table></td></tr></tbody></table>
<table height="28" cellspacing="0" cellpadding="0" width="750" align="right" border="0">
<tbody>
<tr>
<td class="top-header style1" valign="center" align="left">
<div align="center">Welcome to habbMANIA.co.uk! Keeping the habbo airwaves alive!</div></td></tr></tbody></table></td></tr></tbody></table>
<table height="10" cellspacing="0" cellpadding="0" width="600" border="0">
<tbody>
<tr>
<td></td></tr></tbody></table>
<table cellspacing="0" cellpadding="5" width="900" align="center" border="0">
<tbody>
<tr>
<td valign="top" width="190">
<table cellspacing="0" cellpadding="0" width="190" border="0">
<tbody>
<tr>
<td width="190" background="images/newlayout_05.gif" height="34">
<div class="small_header" align="center">Navigation </div></td></tr>
<tr>
<td class="small_box" background="images/newlayout_18.gif"><!-- Keep all menus within masterdiv-->
<div id="masterdiv">
<div class="menutitle" onclick="SwitchMenu('sub1')"><img src="menu/habbmania.GIF" alt="habbmania" /></div>
<span class="submenu" id="sub1">
- <a href="javascriptoadintoIframe('myframe', 'home.html')">Home</a><br>
- <a href="javascriptoadintoIframe('myframe', 'contact.html')">Contact</a><br>
- <a href="javascriptoadintoIframe('myframe', 'staff.html')">Meet the team</a><br />
- <a href="javascriptoadintoIframe('myframe', 'disclaimer.html')">Disclaimer</a>
</span>
<div class="menutitle" onclick="SwitchMenu('sub2')"><img src="menu/community.GIF" alt="Community" /></div>
<span class="submenu" id="sub2">
- <a href="javascriptoadintoIframe('myframe', 'forum/index.php')">Forum</a><br>
</span>
<div class="menutitle" onclick="SwitchMenu('sub3')"><img src="menu/jobs.GIF" alt="Jobs" /></div>
<span class="submenu" id="sub3">
- <a href="javascriptoadintoIframe('myframe', 'jobs.html')">Available Jobs</a><br>
</span>
<div class="menutitle" onclick="SwitchMenu('sub4')"><img src="menu/radio.GIF" alt="Radio" /></div>
<span class="submenu" id="sub4">
- <a href="javascriptoadintoIframe('myframe', 'timetable.html')">Timetable</a><br />
- <a href="javascriptoadintoIframe('myframe', 'request.html')">Request Line</a>
</span>
<div class="menutitle" onclick="SwitchMenu('sub4')"><img src="menu/goodies.GIF" alt="Goodies" /></div>
<span class="submenu" id="sub4">
- <a href="javascriptoadintoIframe('myframe', 'imager')">Habbo Imager</a><br />
- <a href="javascriptoadintoIframe('myframe', 'text')">Habbo Text Generator</a><br />
- <a href="javascriptoadintoIframe('myframe', 'vai.html')">Video and Images</a>
</span>
</div></td>
</tr>
<tr>
<td background="images/newlayout_19.gif" height="8"></td></tr></tbody></table>
<table height="5" cellspacing="0" cellpadding="0" width="190" border="0">
<tbody>
<tr>
<td></td></tr></tbody></table>
<table cellspacing="0" cellpadding="0" width="190" align="left" border="0">
<tbody>
<tr>
<td width="190" background="images/newlayout_21.gif" height="34">
<div class="small_header" align="center"> Latest News</div></td></tr>
<tr>
<td class="small_box" background="images/newlayout_18.gif"><?PHP
$number=3;
$template="Headlines";
$only_active=TRUE;
include("/home/habbman/public_html/staff/cutenews/show_news.php");
?></td></tr>
<tr>
<td><img height="8" alt="" width="190" src="images/newlayout_19.gif" /></td></tr></tbody></table></td>
<td valign="top" width="469">
<table cellspacing="0" cellpadding="0" width="469" align="center" border="0">
<tbody>
<tr>
<td width="190" background="images/newlayout_07.gif" height="5"></td></tr>
<tr>
<td class="small_box" background="images/newlayout_11.gif">
</td>
</tr>
<tr>
<td background="images/newlayout_13.gif" height="7"><iframe id="myframe" src="externalpage.htm" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe></td>
</tr></tbody></table></td>
<td valign="top" align="middle" width="190">
<table cellspacing="0" cellpadding="0" width="190" align="center" border="0">
<tbody>
<tr>
<td width="197" background="images/newlayout_09.gif" height="34">
<div class="small_header" align="center">Radio Stats </div></td></tr>
<tr>
<td class="small_box" background="images/newlayout_18.gif"><?php
include("stats/index.php");
?>
<p><?php
include("staff/djpanel/djmessage.php
?></p></td>
</tr>
<tr>
<td><img height="8" alt="" width="190" src="images/newlayout_19.gif" /></td></tr></tbody></table>
<table height="5" cellspacing="0" cellpadding="0" width="190" border="0">
<tbody>
<tr>
<td></td></tr></tbody></table>
<table cellspacing="0" cellpadding="0" width="190" align="right" border="0">
<tbody>
<tr>
<td width="190" background="images/newlayout_22.gif" height="34">
<div class="small_header" align="center">Radio Player </div></td></tr>
<tr>
<td class="small_box" background="images/newlayout_18.gif">
<OBJECT id=MediaPlayer type=application/x-oleobject height=69
standby="Please wait while we start the radio!" width=185 classid=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6>
<PARAM NAME="URL" VALUE="http://habtazfm.com/radio/castcontro...=8212&type=asx"
<PARAM NAME="rate" VALUE="1">
<PARAM NAME="balance" VALUE="0">
<PARAM NAME="currentPosition" VALUE="0">
<PARAM NAME="defaultFrame" VALUE="">
<PARAM NAME="playCount" VALUE="1">
<PARAM NAME="autoStart" VALUE="-1">
<PARAM NAME="currentMarker" VALUE="0">
<PARAM NAME="invokeURLs" VALUE="-1">
<PARAM NAME="baseURL" VALUE="">
<PARAM NAME="volume" VALUE="68">
<PARAM NAME="mute" VALUE="0">
<PARAM NAME="uiMode" VALUE="mini">
<PARAM NAME="stretchToFit" VALUE="0">
<PARAM NAME="windowlessVideo" VALUE="0">
<PARAM NAME="enabled" VALUE="-1">
<PARAM NAME="enableContextMenu" VALUE="-1">
<PARAM NAME="fullScreen" VALUE="0">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIFilename" VALUE="">
<PARAM NAME="captioningID" VALUE="">
<PARAM NAME="enableErrorDialogs" VALUE="0">
<PARAM NAME="_cx" VALUE="5398">
<PARAM NAME="_cy" VALUE="1032">
</OBJECT>
</td>
</tr>
<tr>
<td><img height="8" alt="" width="190" src="images/newlayout_19.gif" /></td></tr></tbody></table></td></tr></tbody></table>
<table height="7" cellspacing="0" cellpadding="0" width="600" border="0">
<tbody>
<tr>
<td></td></tr></tbody></table>
<table cellspacing="0" cellpadding="0" width="894" align="center" border="0">
<tbody>
<tr>
<td width="894" background="images/newlayout_26.gif" height="9"></td></tr>
<tr>
<td class="disclaimer" valign="top" background="images/newlayout_30.gif">
<p align="center">Copyright 2007 - 2008 habbMANIA || Keeping the habbo airwaves alive!</p></td></tr>
<tr>
<td background="images/newlayout_31.gif" height="5"></td></tr></tbody></table>
<p> </p></td></tr></tbody></table>
</body>
</html>
www.habbmania.co.uk >> Send me a pm if you need a habbo fansite job!
Check out some of my videos!
should bePHP Code:<?php
include("staff/djpanel/djmessage.php
?>
PHP Code:<?php
include("staff/djpanel/djmessage.php");
?>
i'm well 'ard.
Want to hide these adverts? Register an account for free!