View Single Post
  #8 (permalink)  
Old 03-15-2003, 04:58 PM
Evil Evil is offline
Junior Member
 
Join Date: Dec 2002
Posts: 54
Ok here is what i got this is what i want but where the logo.gif part is where i want my head.swf file to be. here is the code .

Code:
function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#DEDEE6\" text=\"\" link=\"\" vlink=\"\" alink=\"\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n"  ."<table cellpadding=\"5\" cellspacing=\"0\" width=\"100%\" border=\"0\" bgcolor=\"#9999cc\"><tr><td align=\"right\">\n";
    if ($banners) {
 include("banners.php");
    }
    echo "</td></tr></table>\n"
 ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#DEDEE6\"><tr>\n"  ."<td bgcolor=\"#DEDEE6\"><IMG src=\"themes/BlueBump/images/pixel.gif\"
width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td></tr></table>\n"
 ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#BCBCCB\">\n"  ."<tr>\n"  ."<td>\n"  ."<a href=\"index.php\"><img src=\"themes/BlueBump/images/logo.jpg\"
align=\"left\" alt=\""._WELCOMETO." $sitename\" border=\"0\"></a></td>\n"  ."</tr></table>\n"  ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#7373A4\" background=\"themes/BlueBump/images/headerline.gif\" height=\"30\">\n"  ."<tr valign=\"middle\"><td><IMG src=\"themes/BlueBump/images/pixel.gif\"
width=\"24\" height=\"30\" border=\"0\" hspace=\"0\"></td><td><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" background=\"themes/BlueBump/images/toplight_bg.gif\"><tr><td width=\"4\" height=\"30\"><img src=\"themes/BlueBump/images/toplight_left.gif\"
width=\"4\" height=\"30\"></td>\n"
 ."<td nowrap class=\"artsubhead\" align=\"left\">\n";
    if ($username == "Anonymous") {
 echo "<a href=\"modules.php?name=Your_Account\">Login/Create</a> an account\n | ";
    } else {
 echo " Welcome $username! | <a href=\"modules.php?name=Your_Account&op=logout\">logout</a> | ";
    }
    echo "<script type=\"text/javascript\">\n"
        ."<!--   // Array ofmonth Names\n"
        ."var monthNames = new Array( \"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"Aug
ust\",\"September\",\"October\",\"November\",\"December\");\n"
        ."var now = new Date();\n"
        ."thisYear = now.getYear();\n"
        ."if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem\n"
        ."document.write(monthNames[now.getMonth()] + \" \" + now.getDate()
+ \", \" + thisYear) ;\n"
        ."// -->\n"
        ."</script></td><td width=\"4\" height=\"30\"><img src=\"themes/BlueBump/images/toplight_right.gif\" width=\"4\" height=\"30\"></td></tr></table>\n"
 ."<td align=\"left\" height=\"30\" width=\"70%\"><IMG src=\"themes/BlueBump/images/pixel.gif\" width=\"24\" height=\"30\" border=\"0\" hspace=\"0\"></td>\n"
        ."<td align=\"right\" width=\"10%\"></td>\n"
        ."</tr>\n"
        ."</table><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"\" align=\"center\" background=\"themes/BlueBump/images/under_hl.gif\" height=\"15\"><tr>\n"  ."<td><IMG src=\"themes/BlueBump/images/under_hl.gif\" height=\"15\" alt=\"\" border=\"0\" hspace=\"0\"></td></tr></table>\n"
  ."\n"
 ."<table width=\"95%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#DEDEE6\" align=\"center\"><tr valign=\"top\">\n"  ."<td bgcolor=\"#DEDEE6\" width=\"150\" valign=\"top\">\n";
    blocks(left);
    echo "</td><td><img src=\"themes/BlueBump/images/pixel.gif\"
width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
hope this helps. should have done that first but it was late ..sorry
what i did is put <embed src=\"themes/BlueBump/images/head.swf\" quality=\"high\" width=\"750\" height=\"95\"></embed></td>\n"

where i have my img src=\"themes/BlueBump/images/logo.jpg\"
but this does not work
Reply With Quote