proton napisał/a:
Mam pytanie czy można zmienić w tym modzie to żeby wszystko bylo wyswietlane oprócz tych informacji:
Kategorie Forum 17
Wątki na Forum 15
Posty na Forum 39
Komentarzy 10
Księga Gości 2
Newsy 14
Artykuły 7
Foto Albumy 2
Zdjęcia w Albumach 21
ściagniętych plików 21
Kategorie Downloads 4
Ciekawe Strony 2
Postów w Shoutbox 9
Zobaczcie na www.pes5.ovh.org Jak ktoś wie jak to zmienić niehc odpisze. :)
Mysle, ze o to Ci chodzilo:
opensidex("$panel_name","on");
$sitename = dbresult(dbquery("SELECT sitename FROM ".$db_prefix."settings"),0);
echo "<div style='text-align:center;font-weight:bold'>".$sitename."<br />".$locale['OUE_001']."<br />\n";
$result = dbquery("SELECT user_id,user_name FROM ".$db_prefix."users ORDER BY user_joined DESC");
$total = dbrows($result);
$data = dbarray($result);
echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".$data['user_name']."</a><br />".$locale['OUE_002']."</div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user='0'");
echo "<hr>";
echo $locale['014'].$total."<br />";
echo "<br />";
//antal Superadmins
$total = dbrows(dbquery("SELECT user_id, user_level FROM ".$db_prefix."users WHERE user_level='103'"));
echo $locale['OUE_003'].$total. "<br />\n";
//antal Admins
$total = dbrows(dbquery("SELECT user_id, user_level FROM ".$db_prefix."users WHERE user_level='102'"));
echo $locale['OUE_004'].$total. "<br />";
//antal almindelige medlemmer
$total = dbrows(dbquery("SELECT user_id, user_level FROM ".$db_prefix."users WHERE user_level='101'"));
echo $locale['OUE_005'].$total. "<br />";
echo "<hr>".$locale['012']."<br /><br />\n";
$result=dbquery("SELECT * FROM ".$db_prefix."users ORDER BY user_lastvisit DESC LIMIT 0,5");
echo "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" class=\"\">";
if(dbrows($result)!=0){
while($data=dbarray($result)){
$lastseen = time() - $data['user_lastvisit'];
$iW = sprintf("%2d", floor($lastseen/604800));
$iD = sprintf("%2d", floor($lastseen/(60*60*24)));
$iH = sprintf("%02d", floor((($lastseen%604800)%86400)/3600));
$iM = sprintf("%02d", floor(((($lastseen%604800)%86400)%3600)/60));
$iS = sprintf("%02d", floor((((($lastseen%604800)%86400)%3600)%60)));
if ($lastseen < 60) {
$lastseen="<nobr><img src='".IMAGES."online.gif'></nobr>";
} elseif ($lastseen < 360) {
$lastseen="<nobr><img src='".IMAGES."offline.gif'></nobr>";
} elseif ($iW > 0) {
if ($iW == 1) $Text= $locale['OUE_020'];
else $Text= $locale['OUE_021'];
$lastseen="<nobr>$iW $Text</nobr>";
}elseif($iD > 0){
if ($iD == 1) $Text= $locale['OUE_022'];
else $Text= $locale['OUE_023'];
$lastseen="<nobr>$iD $Text</nobr>";
} else {
$lastseen="$iH:$iM:$iS";
}
echo "<tr><td class=\"small\" align=\"left\"><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>";
echo $data['user_name']."</a></td><td class=\"small2\" align=\"right\">".$lastseen."</td></tr>";
}
}
echo "</table>";
echo "<hr>";
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user='0'");
echo $locale['011'].dbrows($result)."<br />\n";
echo "<hr>";
$userip = $_SERVER['REMOTE_ADDR'];
$host = gethostbyaddr($userip);
echo $locale['OUE_006'].$userip."<br />";$photocount = dbquery("SELECT count(photo_id) FROM ".$db_prefix."photos");
$albumcount = dbquery("SELECT count(album_id) FROM ".$db_prefix."photo_albums");
$usercount = dbquery("SELECT count(user_id) FROM ".$db_prefix."users");
$shoutcount = dbquery("SELECT count(shout_id) FROM ".$db_prefix."shoutbox");
$fkategoriecount = dbquery("SELECT count(forum_id) FROM ".$db_prefix."forums");
$fthemencount = dbquery("SELECT count(thread_id) FROM ".$db_prefix."threads");
$fbeiträgecount = dbquery("SELECT count(post_id) FROM ".$db_prefix."posts");
$linkkategoriecount = dbquery("SELECT count(weblink_cat_id) FROM ".$db_prefix."weblink_cats");
$linkcount = dbquery("SELECT count(weblink_id) FROM ".$db_prefix."weblinks");
$articlecount = dbquery("SELECT count(article_id) FROM ".$db_prefix."articles");
$newscount = dbquery("SELECT count(news_id) FROM ".$db_prefix."news");
$guestbookcount = dbquery("SELECT count(guestbook_id) FROM ".$db_prefix."guestbook");
$result = dbquery("SELECT count(comment_id) FROM ".$db_prefix."comments");
$online_user = dbquery("SELECT count(online_user) FROM ".$db_prefix."online");
$downloadcount = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
$userip = $_SERVER['REMOTE_ADDR'];
$host = gethostbyaddr($userip);
closeside();
W zalaczniku caly plik.
Pieka dodał/a następującą plik:
Edytowane przez Pieka dnia 25.11.2005 13:44:22
Jestem jaki jestem
|