Tarih: 2008-01-13, 20:38:52 Mesaj konusu: Tema attım iki blokta gorunmuyor
Arkadaslar su meshur aranan ev grafix temasını sonunda buldum lakın bir sorun var bloklar gorunmuyor.Cözüm bulan olursa paylasıma sunacam.yardımcı olurmusunuz.Ayrıca sorunu cozersek cok guzel bir temayı paylasıma vermis olacaz
görüntü su
/************************************************************/
/* Theme Colors Definition */
/* */
/* Define colors for your web site. $bgcolor2 is generaly */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the */
/* other two bgcolor variables follows the same criteria. */
/* $texcolor1 and 2 are for tables internal texts */
/************************************************************/
/************************************************************/
/* Function themeheader() */
/************************************************************/
function themeheader() {
global $index, $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $dbi, $user_prefix, $db, $anonymous, $sitekey;
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
mt_srand ((double)microtime()*1000000);
$maxran = 1000000;
$random_num = mt_rand(0, $maxran);
$datekey = date("F j");
$rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey));
$code = substr($rcode, 2, 10);
c o o k i edecode($user);
$uname = $c o o k i e[1];
$sql = "SELECT username FROM $user_prefix"._users." ORDER BY user_id DESC LIMIT 0,1";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$lastuser = $row[username];
$numrows = $db->sql_numrows($db->sql_query("SELECT user_id FROM $user_prefix"._users.""));
$sql = "SELECT uname, guest FROM $prefix"._session." WHERE guest=0";
$result = $db->sql_query($sql);
$member_online_num = $db->sql_numrows($result);
$who_online_now = "";
$i = 1;
while ($session = $db->sql_fetchrow($result)) {
if (isset($session["guest"]) and $session["guest"] == 0) {
if ($i < 10) {
$who_online_now .= "0$i: <A HREF=\"modules.php?name=Your_Account&op=userinfo&username=$session[uname]\">$session[uname]</a> \n";
} else {
$who_online_now .= "$i: <A HREF=\"modules.php?name=Your_Account&op=userinfo&username=$session[uname]\">$session[uname]</a> \n";
}
$who_online_now .= ($i != $member_online_num ? " " : "");
$i++;
}
}
$Today = getdate();
//Formatting Current Date
$month = $Today['month'];
$mday = $Today['mday'];
$year = $Today['year'];
//Formatting Previous Date
$pmonth = $Today['month'];
$pmday = $Today['mday'];
$pmday = $mday-1;
$pyear = $Today['year'];
//Month conversion into numeric mode
if ($pmonth=="January") { $pmonth=1; } else
if ($pmonth=="February") { $pmonth=2; } else
if ($pmonth=="March") { $pmonth=3; } else
if ($pmonth=="April") { $pmonth=4; } else
if ($pmonth=="May") { $pmonth=5; } else
if ($pmonth=="June") { $pmonth=6; } else
if ($pmonth=="July") { $pmonth=7; } else
if ($pmonth=="August") { $pmonth=8; } else
if ($pmonth=="September") { $pmonth=9; } else
if ($pmonth=="October") { $pmonth=10; } else
if ($pmonth=="November") { $pmonth=11; } else
if ($pmonth=="December") { $pmonth=12; };
$test = mktime (0,0,0,$pmonth,$pmday,$pyear,1);
//Executing SQL Today
$sql = "SELECT COUNT(user_id) AS userCount FROM $user_prefix"._users." WHERE user_regdate LIKE '$curDate2'";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$userCount = $row[userCount];
//end
//Executing SQL Today
$sql = "SELECT COUNT(user_id) AS userCount FROM $user_prefix"._users." WHERE user_regdate LIKE '$curDateP'";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$userCount2 = $row[userCount];
//end
$guest_online_num = $db->sql_numrows($db->sql_query("SELECT uname FROM ".$prefix."_session WHERE guest=1"));
$member_online_num = $db->sql_numrows($db->sql_query("SELECT uname FROM ".$prefix."_session WHERE guest=0"));
//by zidrave = jeje estaba dificil ya ke el php no es lo mio pero ya! estaaaaa
$infouser = "<img src=\"./images/ur-guest.gif\" alt=\"Usuarios no registrados\"> Misafir : <b>$guest_online_num</b> - <img src=\"./images/ur-moderator.gif\" alt=\"Usuarios registrados\"> Üye : <b>$member_online_num</b> - <img src=\"./images/ur-moderator.gif\" alt=\"Usuarios en linea en este momento\"> Online :</td><td width=\"310\"><marquee scrollamount=\"4\"><b>$who_online_now</b> Radyo Eminem Pop Müzigin Yeni Adresi Dj Murat Ve Dj Basbelasi ile pop Müzigin keyfini burada yasayın</marquee>";
$public_msg = public_message();
$hits = mysql_query("SELECT count FROM ".$prefix."_counter WHERE type='total' AND var='hits'");
$hits = mysql_fetch_row($hits);
$tmpl_file = "themes/EV-GRAFIX/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
if ($index == 1) {
blocks(left);
}
$tmpl_file = "themes/EV-GRAFIX/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() */
/************************************************************/
function themefooter() {
global $index, $foot1, $foot2, $foot3, $copyright;
$tmpl_file = "themes/EV-GRAFIX/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);
$footer_message = "$foot1<br>$foot2<br>$foot3<br>$copyright";
$tmpl_file = "themes/EV-GRAFIX/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 themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> $notes\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." \"$thetext\"$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
$tmpl_file = "themes/EV-GRAFIX/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
/************************************************************/
/* Function themeindex() */
/************************************************************/
/************************************************************/
/* Function themesidebox() */
/* */
/* Aqui esta el control de BLOCKES izq y derecho */
/************************************************************/
function themesidebox($title, $content) {
global $block_side;
// Look of left blocks
if ($block_side == 'l') {
// Side Box Title
$tmpl_file = "themes/EV-GRAFIX/Left_blocks.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
if ($block_side == 'r') {
// SIDE BLOCKE DERECHO PUEDES INDICAR UN HTML CUALKIERA
$tmpl_file = "themes/EV-GRAFIX/Right_blocks.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
bu Tema Nuke Teması Değil nukenin Evoluton Deması Sanır İem Ondan Sorun olabilir Yok Nukeye Çevrilmiş Blok Yok Diyor İsen
sitede Yda Googlede Arattır mutlaka çıkar nuke sağ sol blok yok gösterme gibi
Anında YARDIM Gelemz *YASAK KELİME** Etme Sabır İle Güzel Şeyler Yaparsın Beklemişsin İstediğin Temayı Bulmuşsun Şimdi Düzeltme sırası
Tarih: 2008-01-14, 16:26:11 Mesaj konusu: Re: Tema attım iki blokta gorunmuyor
arkadsım ole dıyosunda ben bunu daha once nukede kullanmıstım bayagı zor bır tema editlemesıde cok vakktımı aldı.Bloıkları cozulurse gercekten guzel bır rtemayı paylasıma sunacagım.Herkesin ilgisini cekecektır.
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