���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhchat/getmessage.php
���ѧ٧ѧ�
<?php header('content-type: application/json; charset=utf-8'); try { $chat = erLhcoreClassChat::getSession ()->load ( 'erLhcoreClassModelChat', $Params['user_parameters']['chat_id'] ); if ($chat->hash == $Params['user_parameters']['hash']) // Allow add messages only if chat is active { $msg = erLhcoreClassModelmsg::fetch($Params['user_parameters']['msgid']); if ($msg->chat_id == $chat->id) { $tpl = erLhcoreClassTemplate::getInstance( 'lhchat/syncuser.tpl.php'); $tpl->set('messages',array((array)$msg)); $tpl->set('chat',$chat); $tpl->set('sync_mode',isset($Params['user_parameters_unordered']['mode']) ? $Params['user_parameters_unordered']['mode'] : ''); echo json_encode(array('msg' => $tpl->fetch(),'error' => 'f')); exit; } } } catch ( Exception $e ) { } echo json_encode(array('error' => 't')); exit; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�