Will ein Logo bei einen Design!

Begonnen von Memento, 20 März 2002, 22:34:13

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

Memento

Hi!
Ich habe ein Design (GreenGlow) da ist standardmäßig kein logo inkludiert! Wie kann ich das ändern das ich oben in der mitte Logo habe oder zusätzlich auch links und rechts oben ???

Hab gehört da muss ich die theme.php verändern.. nur wie??? wer weis das ich kann euch auch die theme.php hier reinkopieren...


Deepsky

Dazu musst Du ersteinmal eine Tabelle erstellen, oder suche die Tabelle die den oberen Rand einnimmt. Und dann kannst Du gant einfach eine Grafig mit img einfügen. Sollte kein Problem sein. Am besten ist es wenn Du dir ein ansprechendes Design aussucht und es komplett auf deinen Designwunsch anpasst. Wo sind Deine Seiten denn zu finden?
schicke doch mal die Adresse, und dann schauen wir mal :- :)

Gruß Deepsky

Memento

so... hatte daweil andere sachen zu tun nur mal schaun ob mir jetzt wieder wer helfen kann *g*
also wie gesagt will ein logo oben in der mitte erstellen nur is bei den design keines.... kann mir da wer sagen mit welchen code und wo ich das reinkopieren kann?

hier ist mal der standard komplette code des theme.php von den design.


<?php

/************************************************************/
/* GreenGlow Theme                                          */
/* by shawn butts                                           */
/* http://shawnbutts.com                                    */
/* Based the 3d-fatasy theme with many changes.             */
/************************************************************/


$bgcolor1 = "#000000";
$bgcolor2 = "#000000";
$bgcolor3 = "#000000";
$bgcolor4 = "#000000";
$textcolor1 = "#00ff00";
$textcolor2 = "#00ff00";

include("themes/GreenGlow/tables.php");

/************************************************************/
/* Function themeheader()                                   */
/*                                                          */
/* 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);               */
/************************************************************/

function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#000000\" text=\"#00FF00\" link=\"#00FF00\" vlink=\"#00FF00\" alink=\"#00FF00\">";
    if ($banners == 1) {
   include("banners.php");
    }
    $topics_list = "<select name=\"topic\" onChange='submit()'>\n";
    $topics_list .= "<option value=\"\">All Topics</option>\n";
    $toplist = sql_query("select topicid, topictext from $prefix"._topics." order by topictext", $dbi);
    while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) {
    if ($topicid==$topic) { $sel = "selected "; }
   $topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n";
   $sel = "";
    }
    if ($username == "Anonymous") {
   $theuser = "  <a href=\"user.php\">Create an account";
    } else {
   $theuser = "  Welcome $username!";
    }
    $tmpl_file = "themes/GreenGlow/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
    blocks(left);
    $tmpl_file = "themes/GreenGlow/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

/************************************************************/
/* 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, $foot1, $foot2, $foot3, $foot4;
    if ($index == 1) {
   $tmpl_file = "themes/GreenGlow/center_right.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   eval($thefile);
   print $r_file;
   blocks(right);
    }
    $footer_message = "$foot1<br>$foot2<br>$foot3<br>$foot4";
    $tmpl_file = "themes/GreenGlow/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

/************************************************************/
/* Function themeindex()                                    */
/*                                                          */
/* This function format the stories on the Homepage         */
/************************************************************/

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous;
    if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   $content = "$thetext$notes\n";
    } else {
   if($informant != "") {
       $content = "<a href=\"user.php?op=userinfo&uname=$informant\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    $posted = ""._POSTEDBY." ";
    $posted .= formatAidHeader($aid);
    $posted .= " "._ON." $time $timezone ($counter "._READS.")";
    $tmpl_file = "themes/GreenGlow/story_home.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

/************************************************************/
/* Function themeindex()                                    */
/*                                                          */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home        */
/************************************************************/

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid;
    $posted = ""._POSTEDON." $datetime "._BY." ";
    $posted .= formatAidHeader($aid);
    if (is_admin($admin)) {
   $posted .= "<br>[ <a href=\"admin.php?op=EditStory&sid=$sid\">"._EDIT."</a> | <a href=\"admin.php?op=RemoveStory&sid=$sid\">"._DELETE."</a> ]\n";
    }
    if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   $content = "$thetext$notes\n";
    } else {
   if($informant != "") {
       $content = "<a href=\"user.php?op=userinfo&uname=$informant\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    $tmpl_file = "themes/GreenGlow/story_page.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

/************************************************************/
/* Function themesidebox()                                  */
/*                                                          */
/* Control look of your blocks. Just simple.                */
/************************************************************/

function themesidebox($title, $content) {
    $tmpl_file = "themes/GreenGlow/blocks.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

?>

Andi

Hi PsYcHo, :)

Du hast Glück, das ist schon ein neues Nuke-Theme, wo das Design in normalen HTML-Files definiert wird.

Du musst nur die Datei /themes/GreenGlow/header.html nach Deinen Wünschen anpassen.
  ;)
schön´s Grüssle, Andi

Memento

echt? hmm und was muss ich da reinschreiben? werds mal was versuchen...

Hi
wo bekommt man diesen Theme mit dem ganzen HTMl files?