���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhchat/readchatmail.php
���ѧ٧ѧ�
<?php $tpl = erLhcoreClassTemplate::getInstance( 'lhchat/printchat.tpl.php'); try { $chat = erLhcoreClassChat::getSession()->load( 'erLhcoreClassModelChat', $Params['user_parameters']['chat_id']); $cfgSite = erConfigClassLhConfig::getInstance(); $secretHash = $cfgSite->getSetting( 'site', 'secrethash' ); $hashVerify = sha1($secretHash . $chat->hash . $chat->id); if ($hashVerify == $Params['user_parameters']['hash']) { $errors = array(); erLhcoreClassChatEventDispatcher::getInstance()->dispatch('chat.before_print',array('chat' => & $chat, 'errors' => & $errors)); if(empty($errors)) { erLhcoreClassChat::setTimeZoneByChat($chat); $tpl->set('chat',$chat); } else { $tpl->set('errors',$errors); $tpl->setFile('lhkernel/validation_error.tpl.php'); } } else { $tpl->setFile( 'lhchat/errors/chatnotexists.tpl.php'); } } catch(Exception $e) { $tpl->setFile('lhchat/errors/chatnotexists.tpl.php'); } $Result['content'] = $tpl->fetch(); $Result['pagelayout'] = 'print'; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�