banner right to logo?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   banner right to logo?
stclem
CZ Super Newbie
Age: 46
Gender: Male
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 85
Points: 4,060
   
can someone move the banner so its on the right side of the logo, not on the top like its now?


<?php

//****************************************************************************
//** Welcome to the 'pd2003basic' theme (c)2003 by pixdesign.ch
//** All Visuals are (c)2003 by pixdesign.ch
//** Do not distribute this theme without prior permission
//** Java Script Menu is for using with this theme only. It is forbitten
//** to extract the javamenu and use it otherwise!
//**
//** Change color codes as described below
//** Look through this theme as there are numberos tips included
//**
//** When you have finished your customizations it's strongly recommended
//** to delete all comments (beginning with //) to ensure a small sized
//** theme.php for faster loading your website.
//**
//** Do not remove any copyrights!
//**
//****************************************************************************


global $alttext1, $bgcolor5, $bgcolor6, $bgcolor7, $bgcolor8, $bgcolor9, $bgcolor20, $bgcolor21, $bgcolor22, $bgcolor10, $bgcolor11, $bgcolor12, $bgcolor13, $bgcolor14, $bgcolor15, $bgcolor16, $bgcolor17, $bgcolor18, $bgcolor25, $bgcolor26, $bgcolor27, $bgcolor28, $bgcolor29, $user, $t, $f, $mode, $module_name, $user_prefix, $cookie;

$bgcolor1 = "#ffffff";
$bgcolor2 = "#ffffff";

$bgcolor3 = "#ffffff";
$bgcolor4 = "#BADDB9";

$bgcolor5 = "#ffffff";
$bgcolor6 = "#ffffff";
$bgcolor7 = "#ffffff";
$bgcolor8 = "#ffffff";
$bgcolor9 = "#ffffff";

$bgcolor10 = "#404040";

$bgcolor11 = "#0A5815";

$bgcolor12 = "#ffffff";
$bgcolor13 = "#ffffff";
$bgcolor14 = "#ffffff";
$bgcolor15 = "#BADDB9";
$bgcolor16 = "#ffffff";
$bgcolor17 = "#ffffff";
$bgcolor18 = "#ffffff";

$bgcolor25 = "#BADDB9";
$bgcolor26 = "#BADDB9";
$bgcolor27 = "#BADDB9";
$bgcolor28 = "#BADDB9";
$bgcolor29 = "#BADDB9";
$bgcolor30 = "#BADDB9";

$bgcolor20 = "#ffffff";
$bgcolor21 = "#ffffff";
$bgcolor22 = "#ffffff";

$textcolor1 = "#000000";
$textcolor2 = "#000000";
$alttext1 = "put text here";

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=\"user.php?op=userinfo&amp;uname=$informant\">$informant</a> ";
   } else {
       $boxstuff = "$anonymous ";
   }
   $boxstuff .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
   echo "<font class=\"content\">$boxstuff</font>\n";
    }
}

function themeheader() {
    global $alttext1, $banners, $bgcolor5, $bgcolor6, $bgcolor7, $bgcolor8, $bgcolor9, $bgcolor20, $bgcolor21, $user, $t, $f, $mode, $user, $cookie, $prefix, $db, $user_prefix;
   if (!is_user($user)) {
       mt_srand ((double)microtime()*1000000);
       $maxran = 1000000;
       $random_num = mt_rand(0, $maxran);
   };
    echo "<body bgcolor=\"$bgcolor5\" text=\"#000000\" link=\"0000ff\">"
   ."<br>";
    if ($banners) {
   include("banners.php");
   echo "<br>";
    }

   echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\" bgcolor=\"$bgcolor6\" width=\"760\" align=\"center\">\n"
   ."<tr><td width=\"100%\">\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"760\">\n"
   ."<tr><td width=\"100%\">\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"760\">\n";

   echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"ffffff\" width=\"760\" align=\"left\">\n"
      ."<td width=\"100%\" height=\"10\" bgcolor=\"#ffffff\" background=\"themes/pd2003basic/images/top_login.gif\">\n";
   
   echo "<tr><td width=\"100%\" height=\"60\" bgcolor=\"$bgcolor7\">\n"
      ."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=\"left\"><a href=\"index.php\"><img border=\"0\" src=\"themes/pd2003basic/images/logo.gif\" alt=\"$alttext1\" hspace=\"0\"></a><br></td>\n";
         
   //echo "<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td width=\"100%\"><IFRAME name=iframe src=\"themes/pd2003basic/menu.html\" frameBorder=0 width=100% height=15 scrolling=no marginwidth=\"0\" marginheight=\"0\"></iframe>";
   
   echo "<tr><td width=\"100%\" bgcolor=\"$bgcolor8\" height=\"10\" valign=\"bottom\">\n"
      ."<img border=\"0\" src=\"themes/pd2003basic/images/home.gif\" width=\"100%\" height=\"10\"></a>";


   echo "</td></tr><tr><td width=\"100%\"><table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td bgcolor=\"$bgcolor9\" background=\"themes/pd2003basic/images/line1.gif\">\n";

   $public_msg = public_message();
    echo "$public_msg<br>";   
    echo "</td></tr></table><table width=\"760\" cellpadding=\"0\" bgcolor=\"$bgcolor20\" cellspacing=\"0\" border=\"0\">\n"
   ."<tr valign=\"top\">\n"
   ."<td width=\"138\" bgcolor=\"$bgcolor21\" valign=\"top\" background=\"themes/pd2003basic/images/back1.gif\" width=\"138\">\n";
    blocks(left);
    echo "</td><td><img src=\"themes/pd2003basic/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}

function themefooter() {
    global $index, $bgcolor22, $bgcolor10;
    echo "<br>";
    if ($index == 1) {
   echo "</td><td><img src=\"themes/pd2003basic/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"$bgcolor22\">\n";
   blocks(right);
   echo "<img src=\"themes/pd2003basic/images/backend.gif\" width=\"100%\" height=\"20\">";
    }
else {
   echo "</td><td colspan=\"2\"><img src=\"themes/pd2003basic/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\">";
    }
    echo "<br><br></td></tr></table>\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" width=\"100%\" background=\"themes/pd2003basic/images/footer.gif\" width=\"760\" height=\"50\"><tr><td width=\"100%\" valign=\"top\">"
   ."<center><br>";
    footmsg();
    echo "</center></table></table></table>";
}

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath, $bgcolor12, $bgcolor13, $bgcolor14, $bgcolor15, $bgcolor16, $bgcolor17, $bgcolor18;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"$bgcolor12\">\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"$bgcolor13\">\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"$bgcolor14\">\n"
   ."</td><table border=\"0\" cellpadding=\"4\" cellspacing=\"2\" width=\"100%\" style=\"border-collapse: collapse; border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1\" bordercolor=\"#0A5815\"><tr><td width=\"100%\" height=\"16\" bgcolor=\"$bgcolor15\"> <align=\"left\"><font class=\"option\"><b>$title</b></font><br>$time &nbsp;<br>av <b>$informant</b> &nbsp;</td></tr>\n"
      
   ."<tr><td colspan=\"2\" bgcolor=\"$bgcolor16\">\n"
   ."<table border=\"0\" width=\"100%\" bgcolor=\"$bgcolor17\" align=\"center\" height=\"100%\"><tr><td valign=\"top\">\n";
    FormatStory($thetext, $notes, $aid, $informant);
    echo "</td></tr></table>\n"
   ."</td></tr></table><table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\" style=\"border-collapse: collapse; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1\" bordercolor=\"#0A5815\"><tr><td width=\"100%\" height=\"16\" bgcolor=\"$bgcolor15\" align=\"left\">$morelink ($counter "._READS.")<br>"
   ."</td></tr></table>";
   
   echo "</td></tr></table>\n"
   ."</td></tr></table>\n<br>";
}

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid, $tipath, $bgcolor15;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#ffffff\">\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#ffffff\">\n"
   ."</td><td width=\"100%\" height=\"16\" bgcolor=\"$bgcolor15\" style=\"border-collapse: collapse; border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1\" bordercolor=\"#0A5815\"><font class=\"option\"><b><center>&nbsp;$title</center></b></font></td></tr>\n"
   ."<tr><td colspan=\"2\" bgcolor=\"#ffffff\"><br>\n"
   ."<table border=\"0\" width=\"98%\" bgcolor=\"#ffffff\" align=\"center\"><tr><td>\n";
    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) {
    global $bgcolor11;
   echo "<table border=\"0\" align=\"center\" width=\"138\" cellpadding=\"0\" cellspacing=\"0\">"
   ."<tr><td background=\"themes/pd2003basic/images/header.gif\" width=\"138\" height=\"18\">"
   ."&nbsp;&nbsp;<font color=\"#000000\"><b>$title</b></font>"
   ."</td></tr></table>\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"138\">\n"
   ."<tr><td width=\"138\" bgcolor=\"#$bgcolor11\">\n"
   ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"138\">\n"
   ."<tr><td background=\"themes/pd2003basic/images/back1.gif\" width=\"138\" bgcolor=\"#ffffff\">\n"
   ."$content"
   ."</td></tr></table></td></tr></table><img src=\"themes/pd2003basic/images/back1.gif\" width=\"138\" height=\"8\">";
}

?>



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum