Jump to content

Recommended Posts

i want to put the news-scroller in my website and that is the code that i generate from a software. i try to put it into my html code but it appear page not found. below is the full code

 

<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<link href="<?php echo $mosConfig_live_site;?>/templates/siteground18/css/template_css.css" rel="stylesheet" type="text/css"/>
<link rel="alternate" type="application/rss+xml" title="<?php echo $mosConfig_sitename?>" href="<?php echo $mosConfig_live_site;?>/index.php?option=com_rss&feed=RSS2.0&no_html=1" />
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center>
<table width="800" height="532" border="0" cellpadding="0" cellspacing="0">
<tr>
	<td>
		<table width="800" height="200" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_01.jpg" width="597" height="10">
					</td>
				<td colspan="2" background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_02.jpg" width="203" height="10">
					</td>
			</tr>
			<tr>
				<td rowspan="3" background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_03.jpg" width="597">
					</td>
				<td>
				<iframe width="198" height="144" src="scroller_newstic.html" SCROLLING="no" FRAMEBORDER="0" border=0 name="NEWS"></iframe>				
				</td>
<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_05.jpg" width="5" height="144">
					</td>
			</tr>
			<tr>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_06.jpg" width="198" height="14">
					</td>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_07.jpg" width="5" height="14">
					</td>
			</tr>
			<tr>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_08.jpg" width="198" height="20">
					</td>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_09.jpg" width="5" height="20">
					</td>
			</tr>
			<tr>
				<td colspan="3" background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_10.jpg" width="800" height="12">
					</td>
			</tr>
		</table></td>
</tr>
<tr>
	<td>
		<table width="800" height="278" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_11.jpg" width="10" height="278">
					</td>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_12.jpg" width="202" height="278" valign="top" style="padding:0px;" align="center">
					<div>
					<?php mosLoadModules ( 'left' ); ?>
					<? $sg = 'banner'; include "templates.php"; ?>
					</div>
					</td>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_13.jpg" width="588" height="278" valign="top">
					<div style="padding:10px"><?php mosMainBody(); ?></div></td>
			</tr>
		</table></td>
</tr>
<tr>
	<td>
		<table width="800" height="20" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_14.jpg" width="10" height="20">
					</td>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_15.jpg" width="202" height="20">
					</td>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_16.jpg" width="588" height="20">
					</td>
			</tr>
		</table></td>
</tr>
<tr>
	<td>
		<table width="800" height="34" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_17.jpg" width="212" height="24">
					</td>
				<td background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_18.jpg" width="588" height="24">
				<?php mosPathWay(); ?>
				</td>
			</tr>
			<tr>
				<td colspan="2" background="<?php echo $mosConfig_live_site;?>/templates/siteground18/images/real-estate_19.jpg" width="800" height="10">
					</td>
			</tr>
		</table></td>
</tr>
</table>
<p align="center"><? $sg = ''; include "templates.php"; ?></p>
</center>
</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/93972-table-error/#findComment-481477
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.