sql_query($sql); $row = $db->sql_fetchrow($result); $DataTotalHits = "["._WERECEIVED." $row[0] hits]"; //////////////// // Header Info get_lang(Your_Account); global $user_prefix, $anonymous, $mode, $t, $f, $redirect, $random_num; cookiedecode($user); $uname = $cookie[1]; $sql = "SELECT username, user_avatar 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]; $user_avatar = $row[user_avatar]; $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); $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")); $who_online_num = $guest_online_num + $member_online_num; If ($row[user_avatar] == "blank.gif") { $row[user_avatar] = "gallery/001.gif"; } If ($row[user_avatar] == "") { $row[user_avatar] = "gallery/001.gif"; } // Remove more than 10 char .. $lastuser2 = ereg_replace("_", " ", $lastuser); if(strlen($lastuser2) > 10) { $lastuser2 = substr($lastuser,0,10); $lastuser2 .= ".."; } $DataImgAvatar = "width=16 height=16 align=\"absmiddle\""; $DataUserLast .= " "._BLATEST."  $lastuser2\n"; $DataUserTotal .= " ToplamUye: $numrows\n\n"; $DataOnlineInfo .= " "._BVIS.": $guest_online_num\n"; $DataOnlineInfo .= " "._BMEM.": $member_online_num\n"; $DataOnlineInfo .= " "._BTT.": $who_online_num\n"; //////////////////////////// // $DataMenu visible modules $ThemeSel = get_theme(); if (file_exists("themes/$ThemeSel/module.php")) { include("themes/$ThemeSel/module.php"); if (is_active("$default_module") AND file_exists("modules/$default_module/index.php")) { $def_module = $default_module; } else { $def_module = ""; } } $sql = "SELECT main_module FROM ".$prefix."_main"; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $main_module = $row[main_module]; /* If the module doesn't exist, it will be removed from the database automaticaly */ $sql = "SELECT title FROM ".$prefix."_modules"; $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) { $title = $row[title]; $a = 0; $handle=opendir('modules'); while ($file = readdir($handle)) { if ($file == $title) { $a = 1; } } closedir($handle); if ($a == 0) { $db->sql_query("DELETE FROM ".$prefix."_modules WHERE title='$title'"); } } /* Now we make the Modules block with the correspondent links */ $sql = "SELECT title, custom_title, view FROM ".$prefix."_modules WHERE active='1' AND title!='$def_module' AND inmenu='1' ORDER BY custom_title ASC"; $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) { $m_title = $row[title]; $custom_title = $row[custom_title]; $view = $row[view]; $m_title2 = ereg_replace("_", " ", $m_title); if ($custom_title != "") { $m_title2 = $custom_title; } if ($m_title != $main_module) { if ((is_admin($admin) AND $view == 2) OR $view != 2) { $DataMenu .= "$m_title2 :\n"; } } } // end menu modules /////////////////// ?>
 
  #left_menu { width: 149px; background: #5D93C2; text-align: left; } #left_menu ul { list-style: none; margin: 0; padding: 0; } #left_menu a { font: 700 11px/16px arial, helvetica, sans-serif; display: block; border-width: 1px; margin: 0; padding: 2px 0px 2px 8px; text-decoration: none; border-bottom: 1px #FFFFFF solid; color: #FFF; } #left_menu .type_2 a, #left_menu .type_3 a { color: #FFFFFF; background: #5D93C2; } #left_menu .type_2 a:hover, #left_menu .type_3 a:hover { color: #5D93C2; background: #5D93C2; } #left_menu .type_1_parent a { color: #FFFFFF; background: #5D93C2; } #left_menu .type_2_parent a { color: #FFFFFF; background: #5D93C2; } #left_menu .type_1_parent a:hover { color: #5D93C2; background: #CCE0F3; } #left_menu .type_1_child a { color: #FFFFFF; background: #2C94BB; } #left_menu .type_1_child a:hover { color: #414141; background: #E0E0E0; } #left_td{ background-color: #FFFFFF; } #left_td .region_title{ background-color: #33ccff; font-family: tahoma; font-weight: bold; font-size: 8pt; color: #FFFFFF; height: 21; padding-left: 5px; } '; ?>
 

Menü

Şu an bu bloğun içeriği yok.

 

Anket

Web Sitemizi Nasıl Buldunuz

İyi
Güzel
Fena Değil
Kötü



Toplam Oy: 90 Yorum: 0

 

Bağlantılar

Yeni Sayfa 4

Üsgünüm, bu modül aktif değil!

[ Geri Dön ]

 

 

Doğubayazıt Sanayi ve Ticaret Odası Başkanlığı Resmi Web Sitesi

Web Master Aykut KAYA 0544 222 6562