bunu sitenin teması theme.php den yapıyoruz dimi başka yerden değil diğer temalarıma ekledim oluyo sitenin standart teması kullandıgımda olmadı anlamadım başka temada oldu ..
sadece foruma tıklandıgında soldaki blokların çıkmamısını istiyorum bu kodu yaptım ama olmuyo forum tam sayfa çıkmasını istiyorum temadan başla bişey mi yapıcaz anlamadım orayı
/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. */
/************************************************************/
function themeheader() {
global $admin, $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $db, $nukeurl, $anonymous;
if ($banners == 1) {
include("banners.php");}
echo "<br>";
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body bgcolor=\"#000000\" text=\"#FFFFFF\" leftmargin=\"3\" topmargin=\"0\" marginwidth=\"3\" marginheight=\"0\">";
$tmpl_file = "themes/WFBlack/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
/************************************************************/
/* Function themefooter() */
/* */
/* Control the footer for your site. */
/************************************************************/
function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message;
if ($index == 1) {
$tmpl_file = "themes/WFBlack/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
blocks(right);
}
$tmpl_file = "themes/WFBlack/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
echo "<center>\n";
$footer_message = footmsg();
echo "</center>\n";
}
/************************************************************/
/* Function themeindex() */
/* */
/* This function formatS Homepage Articles */
/************************************************************/
/************************************************************/
/* Function themearticle() */
/* */
/* This function format the stories on Read More... */
/************************************************************/
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. */
/************************************************************/
function themesidebox($title, $content) {
$tmpl_file = "themes/WFBlack/blocks.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. */
/************************************************************/
function themeheader() {
global $admin, $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $db, $nukeurl, $anonymous;
if ($banners == 1) {
include("banners.php");}
echo "<br>";
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body bgcolor=\"#000000\" text=\"#FFFFFF\" leftmargin=\"3\" topmargin=\"0\" marginwidth=\"3\" marginheight=\"0\">";
$tmpl_file = "themes/WFBlack/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
/************************************************************/
/* Function themefooter() */
/* */
/* Control the footer for your site. */
/************************************************************/
function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message;
if ($index == 1) {
$tmpl_file = "themes/WFBlack/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
blocks(right);
}
$tmpl_file = "themes/WFBlack/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
echo "<center>\n";
$footer_message = footmsg();
echo "</center>\n";
}
/************************************************************/
/* Function themeindex() */
/* */
/* This function formatS Homepage Articles */
/************************************************************/
/************************************************************/
/* Function themearticle() */
/* */
/* This function format the stories on Read More... */
/************************************************************/
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. */
/************************************************************/
function themesidebox($title, $content) {
$tmpl_file = "themes/WFBlack/blocks.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
sadece foruma tıklandıgında soldaki blokların çıkmamısını istiyorum bu kodu yaptım ama olmuyo forum tam sayfa çıkmasını istiyorum temadan başla bişey mi yapıcaz anlamadım orayı
simdi dikkatimi cekti. print $r_file; kodu nerden cıktı kı?? bence o koddan dolayı olabılır. o kodu silip dene istersen.
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız