���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhdepartment/newlimitgroup.php
���ѧ٧ѧ�
<?php $tpl = erLhcoreClassTemplate::getInstance( 'lhdepartment/newlimitgroup.tpl.php'); $Departament_group = new erLhcoreClassModelDepartamentLimitGroup(); if ( isset($_POST['Cancel_departament']) ) { erLhcoreClassModule::redirect('department/limitgroup'); exit; } if (isset($_POST['Save_departament'])) { $Errors = erLhcoreClassDepartament::validateDepartmentLimitGroup($Departament_group); if (!isset($_POST['csfr_token']) || !$currentUser->validateCSFRToken($_POST['csfr_token'])) { $Errors[] = 'Invalid CSRF token!'; } if (count($Errors) == 0) { $Departament_group->saveThis(); erLhcoreClassDepartament::validateDepartmentGroupLimitDepartments($Departament_group); $Departament_group->updateDepartmentsLimits(); erLhcoreClassAdminChatValidatorHelper::clearUsersCache(); erLhcoreClassModule::redirect('department/limitgroup'); exit ; } else { $tpl->set('errors',$Errors); } } $tpl->set('departament_group',$Departament_group); $Result['content'] = $tpl->fetch(); $Result['path'] = array( array('url' => erLhcoreClassDesign::baseurl('system/configuration'),'title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/new','System configuration')), array('url' => erLhcoreClassDesign::baseurl('department/index'),'title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/departments','Departments')), array('url' => erLhcoreClassDesign::baseurl('department/limitgroup'),'title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/edit','Departments limit groups')), array('title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/new','New department limit group'))); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�