pragmaMx Support Forum

pragmaMx => Themes & Design => Thema gestartet von: BlackBoSs am 25 Juli 2004, 17:55:06

Titel: Block ändern
Beitrag von: BlackBoSs am 25 Juli 2004, 17:55:06
Hi LEute
wisst ihr vielleicht wie mann die blöcke halt kleiner macht bissl dünner?
meine sind zu breit
ich benutze die theme : iris
Titel: Re: Block ändern
Beitrag von: Andi am 26 Juli 2004, 15:12:55
Hi BlackBoss :)

bei den x-tausend verfügbaren themes, kann man nicht jedes kennen....
Iris sagt mir z.B. garnix ;)

poste hier mal die Funktion themeheader() und themesidebox() aus der theme.php
Titel: Re: Block ändern
Beitrag von: BlackBoSs am 29 Juli 2004, 12:20:57
hier die themeheader

 function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#EAEDF4\" text=\"#000000\" leftmargin=\"10\" topmargin=\"10\" marginwidth=\"10\" marginheight=\"10\">";
   

    $topics_list = "<select name=\"new_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=\"modules.php?name=Your_Account&op=new_user\">Yeni Üye";
    } else {
$theuser = "  Hosgeldin $username!";
    }
            $public_msg = public_message();
    $tmpl_file = "themes/Iris/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
    blocks(left);
    $tmpl_file = "themes/Iris/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
 echo "";
    if ($banners == 1) {
include("banners.php");}
echo "";
 



und hier die themsidebox

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

?>
 


ich will die blöcke verkleinern und die seite zentrieren
so wollte ich es machen

[Editiert am 29/7/2004 von BlackBoSs]
Titel: Re: Block ändern
Beitrag von: henne am 29 Juli 2004, 13:01:11
Hi Blackboss,

und jetzt bitte mal noch die Blocks.html dann kriegen wir das hin ;)
Titel: Re: Block ändern
Beitrag von: NeMeSiSX2LC am 29 Juli 2004, 13:15:22
Hab ich schon erwähnt das mich diese nuke theme aufstellung ankotzt? :knockout:  :gunman:  :bindoof:  ;)
Titel: Re: Block ändern
Beitrag von: BlackBoSs am 29 Juli 2004, 20:22:18
ZitatHi Blackboss,

und jetzt bitte mal noch die Blocks.html dann kriegen wir das hin ;)  

hi henne
hier hast du die blocks.html

 HIER KLICKEN ZUM DOWNLOADEN  (http://www.dermanimsin.net/html/blocks.rar)

P.S. dein avatar schaut geil aus :)