</a>sql_query("SELECT * FROM ".$prefix."_themeconsole");
$themeconsole = $db->sql_fetchrow($result);
if (($themeconsole['disrightclick'] AND !is_admin($admin)) || ($themeconsole['disrightclick'] AND is_admin($admin) AND $themeconsole['adminright']) ) {
echo " <s>\n";
echo " </s> \n";
}
if (($themeconsole['disselectall'] AND !is_admin($admin)) || ($themeconsole['disselectall'] AND is_admin($admin) AND $themeconsole['adminselect']) ) {
echo " <s>\n";
echo " </s> \n";
}
if ($themeconsole['encrypt']) {
include('includes/csource.php');
}
$tmpl_file = "themes/iCGstation/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
$blockside="l";
if ($name=='Forums') {
}
else
if ($name=='Private_Messages') {
}
else
if ($name=='Members_List') {
}
else {
blocks(left);
}
$tmpl_file = "themes/iCGstation/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. 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, $copyright, $totaltime, $footer_message;
if($banners == 1) {
include("includes/babanners2.php");
}
if (defined('INDEX_FILE')) {
$tmpl_file = "themes/iCGstation/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/iCGstation/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/
/************************************************************/
/* Function themearticle() */
/* */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home */
/************************************************************/
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. Just simple. */
/************************************************************/
function themesidebox($title, $content) {
$tmpl_file = "themes/iCGstation/blocks.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
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