Hi comunnity i need to create a module to read the active number accounts in last 24 hours plis help me to create. like this
![]()
Hi comunnity i need to create a module to read the active number accounts in last 24 hours plis help me to create. like this
![]()
Last edited by silviosinger; 29-09-14 at 05:34 AM.
No need module just single query & add result in template html.
PHP Code:SELECT COUNT( * ) as online_last_24hour From MEMB_STAT Where DisConnectTM >= DATEADD(hour, -24, GETDATE())
Last edited by 2009x2014; 29-09-14 at 06:11 PM.
How i add the result in my template bro ??
I use Mucore 1.08 and my template is crystal i put here ;) https://mega.co.nz/#!HMUHDZID!tyRXyf...DYBv5eZXNvduxc
Sure it will be
Added to your index.php -> replace & test :)PHP Code:$core_db2->Execute("SELECT COUNT( * ) From MEMB_STAT Where DisConnectTM >= DATEADD(hour, -24, GETDATE())");
Download
https://www.sendspace.com/file/x8tgmq
plss add it on immortal templates
make it pls for linksfire template..