/', $sVerFile ); $sDolVerLatest = $aVer[1]; //========================================================================================== //========================================================================================== $logged['admin'] = member_auth( 1, true, true ); if( (int)$_GET['admin_categ'] ) { TopCodeAdmin(); getAdminCategIndex(); BottomCode(); } $_page['css_name'] = 'index.css'; $_page['header'] = "Dashboard"; $free_mode = getParam("free_mode") == "on" ? 1 : 0; // Finance if ( !$free_mode ) { $tr_array = array(); $fin = getFinanceStat( $tr_array ); $full_amount = $fin['total']; } $iMembers = db_value( "SELECT COUNT(*) FROM `Profiles`" );//members count $iPhotos = db_value( "SELECT COUNT(*) FROM `media` WHERE `med_type`='photo' AND `med_prof_id`!=0" );//photos count $iBlogs = db_value( "SELECT COUNT(*) FROM `BlogPosts`" );//posts count $iSPolls = db_value( "SELECT COUNT(*) FROM `polls_q`" );//site polls count $iGalls = db_value( "SELECT COUNT(*) FROM `GalleryAlbums`" );//galleries count $iEvents = db_value( "SELECT COUNT(*) FROM `SDatingEvents`" );//events count $iLinks = db_value( "SELECT COUNT(*) FROM `Links`" );//links count $iQuotes = db_value( "SELECT COUNT(*) FROM `DailyQuotes`" );//quotes count $iNews = db_value( "SELECT COUNT(*) FROM `News`" );//news count //awaiting moderation $iModMembers = db_value( "SELECT COUNT(*) FROM `Profiles` WHERE `Status`='Approval'" ); $iModPhotos = db_value( "SELECT COUNT(*) FROM `media` WHERE `med_status`='passive' AND `med_type`='photo'" ); $iModBacks = db_value( "SELECT COUNT(*) FROM `ProfilesSettings` WHERE `BackgroundFilename` != '' AND `BackgroundFilename` IS NOT NULL AND ( `Status` != 'Active' OR `Status` IS NULL )" ); $iModPolls = db_value( "SELECT COUNT(*) FROM `ProfilesPolls` WHERE `poll_approval`=0" ); $iModGalls = db_value( "SELECT COUNT(*) FROM `GalleryObjects` WHERE `Approved`=0" ); $iModBlogs = db_value( "SELECT COUNT(*) FROM `BlogPosts` WHERE `PostStatus`='disapproval'" ); $sStatAdmin = getSiteStatAdmin(); $sStatUser = getSiteStatUser(); TopCodeAdmin(); ContentBlockHead( 'Latest Activity', 0, 'quickstat' ); echo '
Quick Stats
'.$sStatUser.'
Awaiting Moderation
'.$sStatAdmin.'
'; ?>
\n"; echo "Latest - $sDolVerLatest
\n"; echo 'Check For Updates'; ContentBlockFoot(); ContentBlockHead( 'Links', 0, 'links' ); showAdminLinks(); ContentBlockFoot(); ?>
items as $oItem ) { ?>
pubDate))?>
description?>
More BoonEx News