���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhgenericbot/notifications.php
���ѧ٧ѧ�
<?php $tpl = erLhcoreClassTemplate::getInstance('lhgenericbot/notifications.tpl.php'); if (ezcInputForm::hasPostData()) { $definition = array( 'bot_notifications' => new ezcInputFormDefinitionElement(ezcInputFormDefinitionElement::OPTIONAL, 'boolean'), 'bot_msg_nm' => new ezcInputFormDefinitionElement(ezcInputFormDefinitionElement::OPTIONAL, 'int') ); $form = new ezcInputForm(INPUT_POST, $definition); $Errors = array(); if ($form->hasValidData('bot_notifications')) { erLhcoreClassModelUserSetting::setSetting('bot_notifications', 1); } else { erLhcoreClassModelUserSetting::setSetting('bot_notifications', 0); } if ($form->hasValidData('bot_msg_nm')) { erLhcoreClassModelUserSetting::setSetting('bot_msg_nm', $form->bot_msg_nm); } else { erLhcoreClassModelUserSetting::setSetting('bot_msg_nm', 3); } $tpl->set('updated', true); } $tpl->setArray(array('numberOfMessages' => 3)); echo $tpl->fetch(); exit(); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�