Dodajcie do w "Zarządzaniu blokami", jako nowy blok:
@openside("Info o Portalu");
$photocount = dbquery("SELECT count(photo_id) FROM ".$fusion_prefix."photos");
$albumcount = dbquery("SELECT count(album_id) FROM ".$fusion_prefix."photo_albums");
$usercount = dbquery("SELECT count(user_id) FROM ".$fusion_prefix."users");
$shoutcount = dbquery("SELECT count(shout_id) FROM ".$fusion_prefix."shoutbox");
$fkategoriecount = dbquery("SELECT count(forum_id) FROM ".$fusion_prefix."forums");
$fthemencount = dbquery("SELECT count(thread_id) FROM ".$fusion_prefix."threads");
$fbeiträgecount = dbquery("SELECT count(post_id) FROM ".$fusion_prefix."posts");
$linkkategoriecount = dbquery("SELECT count(weblink_cat_id) FROM ".$fusion_prefix."weblink_cats");
$linkcount = dbquery("SELECT count(weblink_id) FROM ".$fusion_prefix."weblinks");
$artikelcount = dbquery("SELECT count(article_id) FROM ".$fusion_prefix."articles");
$artikelkategoriecount = dbquery("SELECT count(article_cat_id) FROM ".$fusion_prefix."article_cats");
$downloadcount = dbquery("SELECT count(download_id) FROM ".$fusion_prefix."downloads");
$downloadkategoriecount = dbquery("SELECT count(download_cat_id) FROM ".$fusion_prefix."download_cats");
echo "Zarejestrowanych : <span class='alt'>".dbresult($usercount, 0)."</span><br>";
echo "Kategorie Forum : <span class='alt'>".dbresult($fkategoriecount, 0)."</span><br>";
echo "Tematy na Forum : <span class='alt'>".dbresult($fthemencount, 0)."</span><br>";
echo "Posty na Forum : <span class='alt'>".dbresult($fbeiträgecount, 0)."</span><br>";
echo "Kategorie Artykułów : <span class='alt'>".dbresult($artikelkategoriecount, 0)."</span><br>";
echo "Artykuły : <span class='alt'>".dbresult($artikelcount, 0)."</span><br>";
echo "Kategorie Download : <span class='alt'>".dbresult($downloadkategoriecount, 0)."</span><br>";
echo "Pliki do ściągnięcia : <span class='alt'>".dbresult($downloadcount, 0)."</span><br>";
echo "Foto Albumy : <span class='alt'>".dbresult($albumcount, 0)."</span><br>";
echo "Zdjęcia : <span class='alt'>".dbresult($photocount, 0)."</span><br>";
echo "Kategorie Linków : <span class='alt'>".dbresult($linkkategoriecount, 0)."</span><br>";
echo "Linki : <span class='alt'>".dbresult($linkcount, 0)."</span><br>";
echo "Shoutbox : <span class='alt'>".dbresult($shoutcount, 0)."</span>";
@closeside();
Na wszelki wypadek dodaje to co napisałem wyżej tylko zapisane w Notatniku i spakowane ZIPem.
Jestem poza zasięgiem ...
|