Hi all
like the title of my topic says: how to include the fellowing html code in xoops. i tried self to do it but i get this error messages
[08-Jun-2007 10:30:40] PHP Warning: main(mainfile.php) [
function.main]: failed to open stream: No such file or directory in /home/nadordre/public_html/tv/TV.php on line 2
[08-Jun-2007 10:30:40] PHP Warning: main(mainfile.php) [
function.main]: failed to open stream: No such file or directory in /home/********/public_html/tv/TV.php on line 2
[08-Jun-2007 10:30:40] PHP Warning: main() [
function.include]: Failed opening 'mainfile.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*******/public_html/tv/TV.php on line 2
[08-Jun-2007 10:30:40] PHP Warning: main(header.php) [
function.main]: failed to open stream: No such file or directory in /home/********/public_html/tv/TV.php on line 3
[08-Jun-2007 10:30:40] PHP Warning: main(header.php) [
function.main]: failed to open stream: No such file or directory in /home/********/public_html/tv/TV.php on line 3
[08-Jun-2007 10:30:40] PHP Warning: main() [
function.include]: Failed opening 'header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/********/public_html/tv/TV.php on line 3
[08-Jun-2007 10:30:40] PHP Warning: main(footer.php) [
function.main]: failed to open stream: No such file or directory in /home/*******/public_html/tv/TV.php on line 125
[08-Jun-2007 10:30:40] PHP Warning: main(footer.php) [
function.main]: failed to open stream: No such file or directory in /home/********/public_html/tv/TV.php on line 125
[08-Jun-2007 10:30:40] PHP Warning: main() [
function.include]: Failed opening 'footer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/********/public_html/tv/TV.php on line 125
the html code is:
<center><IMG
style="LEFT: 580px; WIDTH: 136px; POSITION: absolute; TOP: 170px; HEIGHT: 361px"
alt="" src="images/bg1.jpg" align=top border=0>
<DIV>DIV>
<DIV
style="Z-INDEX: 2; LEFT: 141px; WIDTH: 576px; POSITION: absolute; TOP: 107px; HEIGHT: 58px"
align=left><IMG height=58 src="images/tvlogo.jpg" width=576
align=top border=0> DIV>
<DIV
style="Z-INDEX: 4; LEFT: 139px; WIDTH: 578px; POSITION: absolute; TOP: 535px; HEIGHT: 27px"
align=left><IMG height=27 alt="" src="images/strip.gif" width=578
align=top border=0> DIV>
<DIV><IMG style="Z-INDEX: 8; LEFT: 618px; POSITION: absolute; TOP: 188px"
height=39 alt="" src="images/logo_tv2m.jpg" width=75 border=0>
<DIV
style="Z-INDEX: 9; LEFT: 582px; WIDTH: 129px; POSITION: absolute; TOP: 253px; HEIGHT: 259px"
align=left>
<P dir=rtl align=right><FONT face=Tahoma size=2>Channel : 2M
المصدر : المغربlang=ar-ma> SPAN>FONT>
<P dir=rtl align=center><FONT face=Tahoma size=2> <SPAN lang=ar-ma>
SPAN>FONT>P>DIV>
<DIV
style="Z-INDEX: 11; LEFT: 141px; WIDTH: 434px; POSITION: absolute; TOP: 168px; HEIGHT: 363px"
align=left>
<OBJECT id=WMPlay
codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701
type=application/x-oleobject height=363
standby="Loading Microsoft® Windows® Media Player components..." width=434
classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95><PARAM NAME="fileName" VALUE="http://www.tvtuga.com/live02/2m.asx"><PARAM NAME="AnimationAtStart" VALUE="0"><PARAM NAME="AutoStart" VALUE="-1"><PARAM NAME="ShowControls" VALUE="0"><PARAM NAME="ShowStatusBar" VALUE="-1"><PARAM NAME="TransparentAtStart" VALUE="0"><PARAM NAME="ShowDisplay" VALUE="0"><PARAM NAME="AutoSize" VALUE="0"><PARAM NAME="AudioStream" VALUE="-1"><PARAM NAME="AllowScan" VALUE="-1"><PARAM NAME="AllowChangeDisplaySize" VALUE="-1"><PARAM NAME="AutoRewind" VALUE="0"><PARAM NAME="Balance" VALUE="0"><PARAM NAME="BaseURL" VALUE=""><PARAM NAME="BufferingTime" VALUE="5"><PARAM NAME="CaptioningID" VALUE=""><PARAM NAME="ClickToPlay" VALUE="-1"><PARAM NAME="CursorType" VALUE="0"><PARAM NAME="CurrentPosition" VALUE="-1"><PARAM NAME="CurrentMarker" VALUE="0"><PARAM NAME="DefaultFrame" VALUE=""><PARAM NAME="DisplayBackColor" VALUE="0"><PARAM NAME="DisplayForeColor" VALUE="16777215"><PARAM NAME="DisplayMode" VALUE="0"><PARAM NAME="DisplaySize" VALUE="4"><PARAM NAME="Enabled" VALUE="-1"><PARAM NAME="EnableContextMenu" VALUE="-1"><PARAM NAME="EnablePositionControls" VALUE="-1"><PARAM NAME="EnableFullScreenControls" VALUE="0"><PARAM NAME="EnableTracker" VALUE="-1"><PARAM NAME="InvokeURLs" VALUE="-1"><PARAM NAME="Language" VALUE="-1"><PARAM NAME="Mute" VALUE="0"><PARAM NAME="PlayCount" VALUE="1"><PARAM NAME="PreviewMode" VALUE="0"><PARAM NAME="Rate" VALUE="1"><PARAM NAME="SAMILang" VALUE=""><PARAM NAME="SAMIStyle" VALUE=""><PARAM NAME="SAMIFileName" VALUE=""><PARAM NAME="SelectionStart" VALUE="-1"><PARAM NAME="SelectionEnd" VALUE="-1"><PARAM NAME="SendOpenStateChangeEvents" VALUE="-1"><PARAM NAME="SendWarningEvents" VALUE="-1"><PARAM NAME="SendErrorEvents" VALUE="-1"><PARAM NAME="SendKeyboardEvents" VALUE="0"><PARAM NAME="SendMouseClickEvents" VALUE="0"><PARAM NAME="SendMouseMoveEvents" VALUE="0"><PARAM NAME="SendPlayStateChangeEvents" VALUE="-1"><PARAM NAME="ShowCaptioning" VALUE="0"><PARAM NAME="ShowAudioControls" VALUE="-1"><PARAM NAME="ShowGotoBar" VALUE="0"><PARAM NAME="ShowPositionControls" VALUE="-1"><PARAM NAME="ShowTracker" VALUE="-1"><PARAM NAME="VideoBorderWidth" VALUE="0"><PARAM NAME="VideoBorderColor" VALUE="0"><PARAM NAME="VideoBorder3D" VALUE="0"><PARAM NAME="Volume" VALUE="-600"><PARAM NAME="WindowlessVideo" VALUE="0">OBJECT>
<SCRIPT language=JavaScript1.1>
SCRIPT>
<SCRIPT language=JavaScript>
SCRIPT>
DIV>
<SCRIPT>
SCRIPT>center>
is have placed :
include("mainfile.php");
include("header.php");
$xoopsOption['show_rblock'] = 1; //0 for no right block
?>
Here...
include("footer.php");
?>
can please someone tell me how to include that code in a good way ?