Here's all the code. There's also a style sheet referenced in which I set the margin to auto and it shifted the mainpage www.ho1designs.com to the left, almost centered but not at the same coordinates as all the other pages.
Thanks for the help.
Edit: I wonder if it's got anything to do with all the absolute positioning?
<?php header("Content-type","text/html; charset=iso-8859-1"); ?>
<?php ob_start() ?>
<?php
if ($_GET['randomId'] != "xKEoCxNW1rf1jJSTruWJbnMZYr1fwPpm56PuvxxZPzFZoQG6h nbiK2idJ1wW8EKv5G_Sm6VpGzk3kBG9KEy0oFD1Yp8XhFg3TyV eSikSBlTd2lvMspCS8mAMs2zpJJAkkdDRfox96nzHXjTl5FEBW GE5DBeBewCfscKloy0Pd_OKHcih_AMeIGRRUw60hnoyebluXvP CMesEt8CwTgYNYPwZ_FLXkJyiPFWBSZHZT3qfuhREFadaXR7yX Sf8fCf9") {
echo "Access Denied";
exit();
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Editing Noname1.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">body {background-color:threedface; border: 0px 0px; padding: 0px 0px; margin: 0px 0px}</style>
</head>
<body>
<div align="center">
<script language="javascript">
<!--//
// this function updates the code in the textarea and then closes this window
function do_save() {
var code = htmlCode.getCode();
document.open();
document.write('<html><form METHOD="POST" name=mform action="http://69.89.22.141:2082/frontend/bluehost/filemanager/savehtmlfile.html"><input type="hidden" name="udir" value="/home/hoonedes/public_html"><input type="hidden" name="ufile" value="Noname1.html"><input type="hidden" name="dir" value="%2fhome%2fhoonedes%2fpublic_html"><input type="hidden" name="file" value="Noname1.html"><input type="hidden" name="doubledecode" value="1">Saving ....<br /><br ><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><textarea name=page rows=1 cols=1></textarea></form></html>');
document.close();
document.mform.page.value = code;
document.mform.submit();
}
function do_abort() {
var code = htmlCode.getCode();
document.open();
document.write('<html><form METHOD="POST" name="mform" action="http://69.89.22.141:2082/frontend/bluehost/filemanager/aborthtmlfile.html"><input type="hidden" name="dir" value="/home/hoonedes/public_html"><input type="hidden" name="file" value="Noname1.html">Aborting Edit ....</form></html>');
document.close();
document.mform.submit();
}
//-->
</script>
<?php
// make sure these includes point correctly:
include_once ('/usr/local/cpanel/base/3rdparty/WysiwygPro/editor_files/config.php');
include_once ('/usr/local/cpanel/base/3rdparty/WysiwygPro/editor_files/editor_class.php');
// create a new instance of the wysiwygPro class:
$editor = new wysiwygPro();
// add a custom save button:
$editor->addbutton('Save', 'before

rint', 'do_save();', WP_WEB_DIRECTORY.'images/save.gif', 22, 22, 'undo');
// add a custom cancel button:
$editor->addbutton('Cancel', 'before

rint', 'do_abort();', WP_WEB_DIRECTORY.'images/cancel.gif', 22, 22, 'undo');
$body = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>High Octane One Designs</TITLE>
<META name="AUTHOR" content="editor">
<META name="KEYWORDS" content="high performance sailing, high octane racing, sailboat racing dinghies,
racing dinghies, european skiffs, small sailboats, high performance dinghies,hobie catamarans, multihulls, a class catamarans, lasers, international 14, melges boat works, 505, scows, musto performance skiff.">
<META name="DESCRIPTION" content="This web publication is about High Octane racing dinghies.">
<STYLE type="text/css">
div#container
{
width: 1004px;
position: absolute;
margin-top: 0px;
margin-right: auto;
margin-left: auto;
text-align: left;
}
body
{
text-align: center;
margin: 0;
}
</STYLE>
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#000000" alink="#000000">
<DIV id="container">
<IMG src="collegiate.gif" alt="" align="top" border="0" width="200" height="30" style="position:absolute;left:747px;top:459px;widt h:200px;height:30px;z-index:0">
<A href="http://www.ho1designs.com"><IMG src="chadheader.jpg" alt="" align="top" border="0" width="900" height="240" style="position:absolute;left:39px;top:41px;width: 900px;height:240px;z-index:1"></A>
<IMG src="hor.gif" alt="" align="top" border="0" width="800" height="10" style="position:absolute;left:80px;top:331px;width :800px;height:10px;z-index:2">
<A href="http://www.ho1designs.com/aboutus/aboutus.html"><IMG src="aboutus.gif" alt="" align="top" border="0" width="80" height="15" style="position:absolute;left:585px;top:341px;widt h:80px;height:15px;z-index:3"></A>
<A href="http://www.ho1designs.com/advertising/advertising.html"><IMG src="advertising.gif" alt="" align="top" border="0" width="115" height="15" style="position:absolute;left:761px;top:316px;widt h:115px;height:15px;z-index:4"></A>
<A href="http://www.ho1designs.com/archives/archives.html"><IMG src="archives.gif" alt="" align="top" border="0" width="85" height="15" style="position:absolute;left:764px;top:342px;widt h:85px;height:15px;z-index:5"></A>
<A href="http://www.ho1designs.com/collegiatesailing/collegiatesailing.html"><IMG src="collegiatesailing.gif" alt="" align="top" border="0" width="170" height="15" style="position:absolute;left:269px;top:315px;widt h:170px;height:15px;z-index:6"></A>
<A href="http://www.ho1designs.com/freelancers/freelancers.html"><IMG src="freelancers.gif" alt="" align="top" border="0" width="120" height="15" style="position:absolute;left:585px;top:316px;widt h:120px;height:15px;z-index:7"></A>
<A href="http://www.ho1designs.com/forum/"><IMG src="hoodforum.gif" alt="" align="top" border="0" width="115" height="15" style="position:absolute;left:86px;top:341px;width :115px;height:15px;z-index:8"></A>
<A href="http://www.ho1designs.com/hoodpromo/hoodpromo.html"><IMG src="hoodpromo.gif" alt="" align="top" border="0" width="115" height="15" style="position:absolute;left:270px;top:342px;widt h:115px;height:15px;z-index:9"></A>
<A href="http://www.ho1designs.com/hoodshowcase/hoodshowcase.html"><IMG src="hoodshowcase1.gif" alt="" align="top" border="0" width="150" height="15" style="position:absolute;left:87px;top:316px;width :150px;height:15px;z-index:10"></A>
<A href="http://www.ho1designs.com/video/video.html"><IMG src="video.gif" alt="" align="top" border="0" width="60" height="15" style="position:absolute;left:485px;top:316px;widt h:60px;height:15px;z-index:11"></A>
<A href="http://www.ho1designs.com/legal/legal.html"><IMG src="legal.gif" alt="" align="top" border="0" width="55" height="15" style="position:absolute;left:489px;top:341px;widt h:55px;height:15px;z-index:12"></A>
<DIV style="width: 134px; margin: 0 auto 0 auto;">
<div style="height: 14px;z-idex:13">
</div>
<FONT style="font-size:11px" color="#7F7F7F" face="Arial">COPYRIGHT 2006 HOOD</FONT>
</DIV>
<IMG src="kilt1.jpg" alt="" align="top" border="0" width="119" height="39" style="position:absolute;left:753px;top:6693px;wid th:119px;height:39px;z-index:14">
<IMG src="hor.gif" alt="" align="top" border="0" width="800" height="10" style="position:absolute;left:74px;top:6681px;widt h:800px;height:10px;z-index:15">
<A href="./index.html"><IMG src="page1.gif" alt="" align="top" border="0" width="80" height="20" style="position:absolute;left:367px;top:6654px;wid th:80px;height:20px;z-index:16"></A>
<A href="./maintwo/maintwo.html"><IMG src="page2.gif" alt="" align="top" border="0" width="80" height="20" style="position:absolute;left:483px;top:6654px;wid th:80px;height:20px;z-index:17"></A>
<A href="http://www.ho1designs.com/collegiateprogram/collegiateprogram.html" target="_blank"><IMG src="whatsthis.gif" alt="" align="top" border="0" width="80" height="15" style="position:absolute;left:801px;top:484px;widt h:80px;height:15px;z-index:18"></A>
<IMG src="170box.gif" alt="" align="top" border="0" width="170" height="1165" style="position:absolute;left:757px;top:496px;widt h:170px;height:1165px;z-index:19">
<IMG src="170box.gif" alt="" align="top" border="0" width="170" height="1165" style="position:absolute;left:38px;top:498px;width :170px;height:1165px;z-index:20">
<A href="http://www.sailorstailor.com/" target="_blank"><IMG src="link.gif" alt="" align="top" border="0" width="150" height="104" style="position:absolute;left:766px;top:706px;widt h:150px;height:104px;z-index:21"></A>
<A href="http://www.sexwax.com" target="_blank"><IMG src="Dyecut.gif" alt="" align="top" border="0" width="150" height="43" style="position:absolute;left:49px;top:742px;width :150px;height:43px;z-index:22"></A>
<A href="http://www.sailing.org/" target="_blank"><IMG src="ISAF logo1.jpg" alt="" align="top" border="0" width="81" height="150" style="position:absolute;left:81px;top:842px;width :81px;height:150px;z-index:23"></A>
<A href="http://www.mustoskiff.com/" target="_blank"><IMG src="mustologoad.jpg" alt="" align="top" border="0" width="155" height="155" style="position:absolute;left:44px;top:508px;width :155px;height:155px;z-index:24"></A>
<A href="http://www.theultimateridethemovie.com/" target="_blank"><IMG src="logo.jpg" alt="" align="top" border="0" width="144" height="140" style="position:absolute;left:768px;top:518px;widt h:144px;height:140px;z-index:25"></A>
<IMG src="harvardsailing.jpg" alt="" align="top" border="0" width="530" height="364" style="position:absolute;left:229px;top:6066px;wid th:530px;height:364px;z-index:26">
<IMG src="harvardsailingbanner.gif" alt="" align="top" border="0" width="350" height="40" style="position:absolute;left:311px;top:6012px;wid th:350px;height:40px;z-index:27">
<DIV style="position:absolute;left:240px;top:6410px;wid th:183px;height:28px;z-index:28" align="left">
<FONT style="font-size:11px" color="#000000" face="Arial"><B>Photo: Meghan T. Purdy/Crimson</B></FONT>
</DIV>
<DIV style="position:absolute;left:238px;top:6471px;wid th:497px;height:79px;z-index:29" align="left">
<!-- <IMG src="12fter.jpg" alt="" align="top" border="0" width="310" height="322" style="position:absolute;left:232px;top:1656px;wid th:310px;height:322px;z-index:63"> -->
<DIV style="position:absolute;left:270px;top:572px;widt h:432px;height:383px;z-index:64" align="left">
<FONT style="font-size:13px" color="#666666" face="Arial"><B>It appears we had some wrong information on the write-up about Rohan Veal winning the titles that were posted a couple of days ago.<BR>
The original article is below.<BR>
<BR>
One of our viewers mailed us with the proper scores and information on this particular race. Thanks Phil Stevenson and here is his story quoted directly.<BR>
<BR>
"Since I have the finishing sheets his actual winning margins for heats 2 to 6 were 1min 15secs, 4 min 50, 3 min 20, 2 min 20 and a whopping 9 min 10 in a fading breeze. <BR>
Pretty decisive win to the regatta but he is not NSW Champion because he is from Victoria. Second place Luka Damic took the NSW trophy with his Prowler and a string of consistant places, 1, 5, 2, 2, 5, 2, and 2. <BR>
Bladeriders proved fast but still have some teething problems. Defending Champ Scott Babbage broke a centreboard and had a string of other minor problems with his day old Bladerider. But Designer Andrew Macdougall sailed fast for 3rd overall. <BR>
There were 16 foilers, mostly coverted Thorpe Hungry Tigers, only two narrow skiffs and 6 scows. The class has updated quickly. Winds went from 5 to 25kts in the rain squalls."<BR>
</B></FONT>
<IMG src="mothsailing.jpg" alt="" align="top" border="0" width="530" height="363" style="position:absolute;left:220px;top:1023px;wid th:530px;height:363px;z-index:65">
<IMG src="favicon.ico" alt="" align="top" border="0" width="32" height="32" style="position:absolute;left:736px;top:1477px;wid th:32px;height:32px;z-index:66">
<IMG src="favicon.ico" alt="" align="top" border="0" width="32" height="32" style="position:absolute;left:208px;top:1475px;wid th:32px;height:32px;z-index:67">
<IMG src="bar.gif" alt="" align="top" border="0" width="505" height="10" style="position:absolute;left:226px;top:1482px;wid th:505px;height:10px;z-index:68">
<DIV style="position:absolute;left:235px;top:1469px;wid th:143px;height:14px;z-index:69" align="left">
<FONT style="font-size:11px" color="#666666" face="Arial"><B>Posted: April 14th, 2007</B></FONT>
</DIV>
<IMG src="updatedbanner.gif" alt="" align="top" border="0" width="475" height="40" style="position:absolute;left:251px;top:499px;widt h:475px;height:40px;z-index:70">
</DIV>
</BODY>
</HTML>';
$editor->set_code($body);
// add a spacer:
$editor->addspacer('', 'after:cancel');
$editor->set_charset('iso-8859-1');
// print the editor to the browser:
$editor->print_editor('100%','450');
?>
</div>
</body>
</html>
<?php ob_end_flush() ?>