DurixHost
March 1st, 2005, 16:06
UPDATE: I got the left image to go over but the right image, I doint know what its doing...
Heres what I mean (I have the right image shortened for better viewing)
http://tdv2.clearphp.com/before.jpg
This is the line of PHP/HTML I have them on:
."<table width=652 align=center valign=top border=0 cellpadding=0 cellspacing=0><tr><td><img src=\"themes/GetHits/images/sideleft.gif\" width='105' height='100%'></td><td><table width=\"443\" cellpadding=\"0\" bgcolor=\"ffffff\" cellspacing=\"0\" border=\"0\"></td><td><img src=\"themes/GetHits/images/sideright.gif\" width='104' height='20'></td></tr>\n"
Heres the entrie PHP code incase I'm wrong:
<?php
$bgcolor1 = "#ffffff";
$bgcolor2 = "#9cbee6";
$bgcolor3 = "#d3e2ea";
$bgcolor4 = "#0E3259";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable() {
echo "</td></tr></table></td></tr></table>\n";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"content\">$thetext$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informan t\">$informant</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
echo "<font class=\"content\">$boxstuff</font>\n";
}
}
/************************************************************/
/* Function themeheader() */
/************************************************************/
function themeheader() {
global $banners, $sitename;
echo "<body bgcolor=\"#f8f8f8\" text=\"#000000\" link=\"0000ff\" topmargin='0' bottommargin='0'>"
."";
if ($banners) {
include("banners.php");
echo "";
}
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"652\" align=\"center\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"652\" align=\"center\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"652\" align=\"center\">\n"
."<tr><td width=\"100%\" height=\"80\" bgcolor=\"#FFFFFF\">\n"
."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=\"left\"><a href=\"index.php\"><img border=\"0\" src=\"themes/GetHits/images/logo.gif\"></a></td></tr></table></td></tr>\n"
."<tr><td width=\"100%\" bgcolor=\"#000000\" height=\"27\" valign=\"bottom\">\n"
."<a href=\"index.php\"><img border=\"0\" src=\"themes/GetHits/images/left.gif\" width=\"105\" height=\"27\"></a>"
."<a href=\"index.php\"><img border=\"0\" src=\"themes/GetHits/images/account.gif\" width=\"111\" height=\"27\"></a>"
."<a href=\"modules.php?name=Your_Account\"><img border=\"0\" src=\"themes/GetHits/images/home.gif\" width=\"111\" height=\"27\"></a>"
."<a href=\"modules.php?name=Downloads\"><img border=\"0\" src=\"themes/GetHits/images/home.gif\" width=\"111\" height=\"27\"></a>"
."<a href=\"modules.php?name=Submit_News\"><img border=\"0\" src=\"themes/GetHits/images/submit.gif\" width=\"111\" height=\"27\"></a>"
."<a href=\"modules.php?name=Topics\"><img border=\"0\" src=\"themes/GetHits/images/right.gif\" width=\"103\" height=\"27\"></a>"
."</td></tr></table>\n"
."</td></tr><tr><td width=\"652\" align=\"center\">\n";
$public_msg = public_message();
echo "$public_msg";
echo "</td></tr></table><table width=\"443\" cellpadding=\"0\" bgcolor=\"ffffff\" cellspacing=\"0\" border=\"0\" align=center>\n"
."<tr valign=\"top\">\n"
."<td width=\"138\" bgcolor=\"ffffff\" valign=\"top\">\n";
blocks(left);
echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}
/************************************************************/
/* Function themefooter() */
/* */
/* Control the footer for your site. You don't need to */
/* close BODY and HTML tags at the end. In some part call */
/* the function for right blocks with: blocks(right); */
/* Also, $index variable need to be global and is used to */
/* determine if the page your're viewing is the Homepage or */
/* and internal one. */
/************************************************************/
function themefooter() {
global $index;
echo "<br>";
if ($index == 1) {
echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"ffffff\">\n";
blocks(right);
echo "<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\">";
}
else {
echo "</td><td colspan=\"2\"><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\">";
}
echo "<br><br></td></tr></table>\n"
."<br><center>";
footmsg();
echo "</center>";
}
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
."<img src=\"themes/DeepBlue/images/dot.gif\" border=\"0\"></td><td width=\"100%\" bgcolor=\"#FFFFFF\"><font class=\"option\"><b> $title</b></font></td></tr>\n"
."<tr><td colspan=\"2\" bgcolor=\"#FFFFFF\"><br>\n"
."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n"
."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
FormatStory($thetext, $notes, $aid, $informant);
echo "</td></tr></table>\n"
."</td></tr></table><br>\n"
."</td></tr><tr><td bgcolor=\"#FFFFFF\" align=\"center\">\n"
."<font class=\"tiny\">"._POSTEDBY." ";
formatAidHeader($aid);
echo " "._ON." $time $timezone ($counter "._READS.")<br></font>\n"
."<font class=\"content\">$morelink</font></center>\n"
."<img src=\"themes/DeepBlue/images/pixel.gif\" border=\"0\" height=\"2\">\n"
."</td></tr></table>\n"
."</td></tr></table><br>\n";
}
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
."<img src=\"themes/DeepBlue/images/dot.gif\" border=\"0\"></td><td width=\"100%\" bgcolor=\"#FFFFFF\"><font class=\"option\"><b> $title</b></font></td></tr>\n"
."<tr><td colspan=\"2\" bgcolor=\"#FFFFFF\"><br>\n"
."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n"
."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
FormatStory($thetext, $notes="", $aid, $informant);
echo "</td></tr></table>\n"
."</td></tr></table><br>\n"
."</td></tr></table>\n"
."</td></tr></table><br><br>\n";
}
function themesidebox($title, $content) {
echo "<table border=\"0\" align=\"center\" width=\"150\" cellpadding=\"0\" cellspacing=\"0\">"
."<tr><td background=\"themes/GetHits/images/navtop.gif\" width=\"150\" height=\"22\">"
." <font color=\"#565656\"><b>$title</b></font>"
."</td></tr></table>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"150\">\n"
."<tr><td width=\"150\" bgcolor=\"#000000\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"150\">\n"
."<tr><td valign='top'><img src=\"themes/GetHits/images/leftside.gif\" width='5' height='100%'><td width=\"150\" bgcolor=\"#ffffff\">\n"
."$content"
."</td><td valign='top'><img src=\"themes/GetHits/images/leftside.gif\" width='5' height='100%'></tr></table></td></tr><tr><td><img src=\"themes/GetHits/images/bottombar.gif\"></td></tr></table><br>";
}
?>
Heres what I mean (I have the right image shortened for better viewing)
http://tdv2.clearphp.com/before.jpg
This is the line of PHP/HTML I have them on:
."<table width=652 align=center valign=top border=0 cellpadding=0 cellspacing=0><tr><td><img src=\"themes/GetHits/images/sideleft.gif\" width='105' height='100%'></td><td><table width=\"443\" cellpadding=\"0\" bgcolor=\"ffffff\" cellspacing=\"0\" border=\"0\"></td><td><img src=\"themes/GetHits/images/sideright.gif\" width='104' height='20'></td></tr>\n"
Heres the entrie PHP code incase I'm wrong:
<?php
$bgcolor1 = "#ffffff";
$bgcolor2 = "#9cbee6";
$bgcolor3 = "#d3e2ea";
$bgcolor4 = "#0E3259";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable() {
echo "</td></tr></table></td></tr></table>\n";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"content\">$thetext$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informan t\">$informant</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
echo "<font class=\"content\">$boxstuff</font>\n";
}
}
/************************************************************/
/* Function themeheader() */
/************************************************************/
function themeheader() {
global $banners, $sitename;
echo "<body bgcolor=\"#f8f8f8\" text=\"#000000\" link=\"0000ff\" topmargin='0' bottommargin='0'>"
."";
if ($banners) {
include("banners.php");
echo "";
}
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"652\" align=\"center\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"652\" align=\"center\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"652\" align=\"center\">\n"
."<tr><td width=\"100%\" height=\"80\" bgcolor=\"#FFFFFF\">\n"
."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=\"left\"><a href=\"index.php\"><img border=\"0\" src=\"themes/GetHits/images/logo.gif\"></a></td></tr></table></td></tr>\n"
."<tr><td width=\"100%\" bgcolor=\"#000000\" height=\"27\" valign=\"bottom\">\n"
."<a href=\"index.php\"><img border=\"0\" src=\"themes/GetHits/images/left.gif\" width=\"105\" height=\"27\"></a>"
."<a href=\"index.php\"><img border=\"0\" src=\"themes/GetHits/images/account.gif\" width=\"111\" height=\"27\"></a>"
."<a href=\"modules.php?name=Your_Account\"><img border=\"0\" src=\"themes/GetHits/images/home.gif\" width=\"111\" height=\"27\"></a>"
."<a href=\"modules.php?name=Downloads\"><img border=\"0\" src=\"themes/GetHits/images/home.gif\" width=\"111\" height=\"27\"></a>"
."<a href=\"modules.php?name=Submit_News\"><img border=\"0\" src=\"themes/GetHits/images/submit.gif\" width=\"111\" height=\"27\"></a>"
."<a href=\"modules.php?name=Topics\"><img border=\"0\" src=\"themes/GetHits/images/right.gif\" width=\"103\" height=\"27\"></a>"
."</td></tr></table>\n"
."</td></tr><tr><td width=\"652\" align=\"center\">\n";
$public_msg = public_message();
echo "$public_msg";
echo "</td></tr></table><table width=\"443\" cellpadding=\"0\" bgcolor=\"ffffff\" cellspacing=\"0\" border=\"0\" align=center>\n"
."<tr valign=\"top\">\n"
."<td width=\"138\" bgcolor=\"ffffff\" valign=\"top\">\n";
blocks(left);
echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}
/************************************************************/
/* Function themefooter() */
/* */
/* Control the footer for your site. You don't need to */
/* close BODY and HTML tags at the end. In some part call */
/* the function for right blocks with: blocks(right); */
/* Also, $index variable need to be global and is used to */
/* determine if the page your're viewing is the Homepage or */
/* and internal one. */
/************************************************************/
function themefooter() {
global $index;
echo "<br>";
if ($index == 1) {
echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"ffffff\">\n";
blocks(right);
echo "<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\">";
}
else {
echo "</td><td colspan=\"2\"><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\">";
}
echo "<br><br></td></tr></table>\n"
."<br><center>";
footmsg();
echo "</center>";
}
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
."<img src=\"themes/DeepBlue/images/dot.gif\" border=\"0\"></td><td width=\"100%\" bgcolor=\"#FFFFFF\"><font class=\"option\"><b> $title</b></font></td></tr>\n"
."<tr><td colspan=\"2\" bgcolor=\"#FFFFFF\"><br>\n"
."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n"
."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
FormatStory($thetext, $notes, $aid, $informant);
echo "</td></tr></table>\n"
."</td></tr></table><br>\n"
."</td></tr><tr><td bgcolor=\"#FFFFFF\" align=\"center\">\n"
."<font class=\"tiny\">"._POSTEDBY." ";
formatAidHeader($aid);
echo " "._ON." $time $timezone ($counter "._READS.")<br></font>\n"
."<font class=\"content\">$morelink</font></center>\n"
."<img src=\"themes/DeepBlue/images/pixel.gif\" border=\"0\" height=\"2\">\n"
."</td></tr></table>\n"
."</td></tr></table><br>\n";
}
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
."<img src=\"themes/DeepBlue/images/dot.gif\" border=\"0\"></td><td width=\"100%\" bgcolor=\"#FFFFFF\"><font class=\"option\"><b> $title</b></font></td></tr>\n"
."<tr><td colspan=\"2\" bgcolor=\"#FFFFFF\"><br>\n"
."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n"
."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
FormatStory($thetext, $notes="", $aid, $informant);
echo "</td></tr></table>\n"
."</td></tr></table><br>\n"
."</td></tr></table>\n"
."</td></tr></table><br><br>\n";
}
function themesidebox($title, $content) {
echo "<table border=\"0\" align=\"center\" width=\"150\" cellpadding=\"0\" cellspacing=\"0\">"
."<tr><td background=\"themes/GetHits/images/navtop.gif\" width=\"150\" height=\"22\">"
." <font color=\"#565656\"><b>$title</b></font>"
."</td></tr></table>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"150\">\n"
."<tr><td width=\"150\" bgcolor=\"#000000\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"150\">\n"
."<tr><td valign='top'><img src=\"themes/GetHits/images/leftside.gif\" width='5' height='100%'><td width=\"150\" bgcolor=\"#ffffff\">\n"
."$content"
."</td><td valign='top'><img src=\"themes/GetHits/images/leftside.gif\" width='5' height='100%'></tr></table></td></tr><tr><td><img src=\"themes/GetHits/images/bottombar.gif\"></td></tr></table><br>";
}
?>