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
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
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]
Hi Blackboss,
und jetzt bitte mal noch die Blocks.html dann kriegen wir das hin ;)
Hab ich schon erwähnt das mich diese nuke theme aufstellung ankotzt? :knockout: :gunman: :bindoof: ;)
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 :)