Initial commit
This commit is contained in:
commit
43ad32700c
7085 changed files with 447606 additions and 0 deletions
22
modules/chatusers/chatusers.ajax.php
Normal file
22
modules/chatusers/chatusers.ajax.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
If (!defined("in_astat")) {
|
||||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
$session->page_begin("Chatusers Module", FALSE);
|
||||
include '../modules/chat/chatfunctions.inc.php';
|
||||
class chatusers extends ajax_module{
|
||||
|
||||
function ajax(){
|
||||
global $module,$config,$db,$cache, $session;
|
||||
$data=chat_online();
|
||||
if ($data["chat_offline"]===true){
|
||||
echo "offline";
|
||||
return;
|
||||
}else{
|
||||
echo $data['usercount'];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue