���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhxml/closechat.php
���ѧ٧ѧ�
<?php $options = erLhcoreClassModelChatConfig::fetch('mobile_options')->data; if (!isset($options['notifications']) || !$options['notifications']) { exit; } $currentUser = erLhcoreClassUser::instance(); if (!$currentUser->isLogged() && !$currentUser->authenticate($_POST['username'],$_POST['password'])) { exit; } $chat = erLhcoreClassChat::getSession()->load( 'erLhcoreClassModelChat', $Params['user_parameters']['chat_id']); // Chat can be closed only by owner if ($chat->user_id == $currentUser->getUserID() || $currentUser->hasAccessTo('lhchat','allowcloseremote')) { if ($chat->status != erLhcoreClassModelChat::STATUS_CLOSED_CHAT) { $userData = $currentUser->getUserData(true); erLhcoreClassChatHelper::closeChat(array( 'user' => $userData, 'chat' => $chat, )); } } exit; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�