���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhchatarchive/archivechats.php
���ѧ٧ѧ�
<?php if (!isset($_SERVER['HTTP_X_CSRFTOKEN']) || !$currentUser->validateCSFRToken($_SERVER['HTTP_X_CSRFTOKEN'])) { echo json_encode(array('error' => 'true', 'result' => 'Invalid CSFR Token' )); exit; } $archive = new erLhcoreClassModelChatArchiveRange(); $definition = array( 'id' => new ezcInputFormDefinitionElement( ezcInputFormDefinitionElement::OPTIONAL, 'int',array('min_range' => 1) ) ); $form = new ezcInputForm( INPUT_POST, $definition ); $Errors = array(); if ( !$form->hasValidData( 'id' ) ) { echo json_encode(array('error' => 'true', 'result' => 'Invalid archive ID' )); exit; } else { $archiveChat = erLhcoreClassModelChatArchiveRange::fetch($form->id); $status = $archiveChat->process(); $tpl = erLhcoreClassTemplate::getInstance( 'lhchatarchive/archivechats.tpl.php'); $tpl->set('status', $status); $tpl->set('archive', $archiveChat); $status['result'] = $tpl->fetch(); echo json_encode($status); } exit; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�