MtchnikV2 dort zusätzlich was einfügen im oberen Bereich

Begonnen von Didi, 04 Juni 2007, 14:51:59

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

Didi

Ich möchte oben in dem Bereich wo links dann der Seitentitel kommt, auf der rechten Seite einige kleine Bilder einfügen. Den Bereich und die Tabelle habe ich gefunden wo auch die swf-Datei untergebracht ist. Nur leider gelingt es mir nicht dort zusätzlich Bilder einzufügen. Kann mir da jemand bitte behilflich sein, vielleicht in Form eines Codes wie ich es machen muss? Das wäre sehr nett!
Danke!

:thumbup:

P.S. Ab hier hab ich mal die theme.php mit dem Header-Bereich eingefügt.


<?php

/************************************************************/
/* THEME NAME: MtechnikV2                                   */
/* THEME DEVELOPER: Mtechnik.net                            */
/************************************************************/

/************************************************************/
/*                                                          */
/* Theme Colors Definition                                  */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

$thename = "MtechnikV2";
$bgcolor1 = "#000000";
$bgcolor2 = "#000000";
$bgcolor3 = "#000000";
$bgcolor4 = "#9EB2CB";
$textcolor1 = "#ffffff";
$textcolor2 = "#ffffff";

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><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   echo "<font size=\"2\" color=\"#4B679A\">$thetext<br>$notes</font>\n";
    } else {
   if($informant != "") {
       $boxstuff = "<a href=\"modules.php?name=Your_Account?op=userinfo&amp;uname=$informant\">$informant</a> ";
   } else {
       $boxstuff = "$anonymous ";
   }
   $boxstuff .= ""._WRITES." \"$thetext\" $notes\n";
   echo "<font size=\"2\" color=\"#4B679A\">$boxstuff</font>\n";
    }
}

/************************************************************/
/* Function themeheader()                                   */
/************************************************************/

function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#000000\" text=\"#000000\" link=\"#000000\" vlink=\"#000000\" alink=\"#000000\"background=\"themes/MtechnikV2/images/bg.gif\" bgproperties=\"fixed\" topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n"
."<script src=\"themes/MtechnikV2/fade.js\" language=\"Javascript\"></script>\n"
       ."<br>\n";
    if ($banners) {
   include("banners.php");
    }
    echo "<table cellpadding=\"3\" cellspacing=\"0\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#ffcc00\">\n"
        ."<tr>\n"
        ."<td width=\"100%\" background=\"themes/MtechnikV2/images/block2.jpg\">&nbsp; \n"
        ."</td>\n"
        ."</tr>\n"
        ."</table>\n\n"

        ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#ffffff\">\n"
       ."<tr>\n"
       ."<td bgcolor=\"#000000\" width=\"200\" align=\"left\" valign=\"middle\">\n\n"

    ."<!-- Begin Mtechnik Logo -->\n"
   ."<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" \n"
   ."codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" \n"
   ."WIDTH=600 HEIGHT=80>\n"
    ."<PARAM NAME=movie VALUE=\"themes/MtechnikV2/flash/logo.swf\">\n"
    ."<PARAM NAME=quality VALUE=best>\n"
    ."<PARAM NAME=menu VALUE=false>\n"
    ."<PARAM NAME=bgcolor VALUE=#000000>\n"
    ."<EMBED src=\"themes/MtechnikV2/flash/logo.swf\" quality=best bgcolor=#000000  WIDTH=600 HEIGHT=80 TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"></EMBED>\n"
    ."</OBJECT>\n"
    ."<!-- End Mtechnik Logo -->\n\n"

                    ."<td bgcolor=\"#000000\" colspan=\"4\"><IMG src=\"themes/MtechnikV2/images/pixel.gif\" width=\"1\" height=1 alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
       ."</tr>\n"
       ."<tr valign=\"middle\" bgcolor=\"#FFFFFF\">\n"
   ."<td background=\"themes/MtechnikV2/images/header.jpg\" height=24 width=\"15%\" nowrap><font size=\"2\"><b>\n";
    if ($username == "Anonymous") {
   echo "&nbsp;&nbsp;<b><a href=\"modules.php?name=Your_Account\"></a></font></b>\n";
    } else {
   echo "&nbsp;&nbsp;Hallo $username!";
    }
    echo "</b></font></td>\n"
   ."<td background=\"themes/MtechnikV2/images/header.jpg\" align=\"center\" height=\"24\" width=\"71%\"><font size=\"2\">\n"
   
        ."</B></font>\n"
        ."</td>\n"
        ."<td background=\"themes/MtechnikV2/images/header.jpg\" height=24 align=\"right\" width=\"15%\"><font size=\"2\"><b>\n"
        ."<script type=\"text/javascript\">\n\n"
        ."<!--   // Array ofmonth Names\n"
        ."var monthNames = new Array( \"Januar\",\"Februar\",\"Maerz\",\"April\",\"Mai\",\"Juni\",\"Juli\",\"August\",\"September\",\"Oktober\",\"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\n"
        ."</script></b></font>&nbsp;</td>\n"
        ."\n"
        ."</tr>\n"
        ."<tr>\n"
        ."<td bgcolor=\"#000000\" colspan=\"4\"><IMG src=\"themes/MtechnikV2/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
        ."</tr>\n"
        ."</table>\n\n"

       ."<!-- FIN DEL TITULO -->\n"
       ."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n"
       ."<td><img src=\"themes/MtechnikV2/images/pixel.gif\" width=\"1\" height=\"20\" border=\"0\" alt=\"\"></td></tr></table>\n"
       ."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n"
       ."<td><img src=\"themes/MtechnikV2/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
       ."<td width=\"150\" valign=\"top\">\n";
    blocks(left);
    echo "</td><td><img src=\"themes/MtechnikV2/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}