���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhproduct/index.php
���ѧ٧ѧ�
<?php $tpl = erLhcoreClassTemplate::getInstance('lhproduct/index.tpl.php'); $attr = erLhcoreClassModelChatConfig::fetch('product_enabled_module'); $attr2 = erLhcoreClassModelChatConfig::fetch('product_show_departament'); if ( ezcInputForm::hasPostData() ) { $definition = array( 'product_enabled_moduleValueParam' => new ezcInputFormDefinitionElement( ezcInputFormDefinitionElement::OPTIONAL, 'boolean' ), 'product_show_departamentValueParam' => new ezcInputFormDefinitionElement( ezcInputFormDefinitionElement::OPTIONAL, 'boolean' ) ); $form = new ezcInputForm( INPUT_POST, $definition ); $Errors = array(); if ( $form->hasValidData( 'product_enabled_moduleValueParam' ) && $form->product_enabled_moduleValueParam == true ) { $attr->value = 1; } else { $attr->value = 0; } $attr->saveThis(); if ( $form->hasValidData( 'product_show_departamentValueParam' ) && $form->product_show_departamentValueParam == true ) { $attr2->value = 1; } else { $attr2->value = 0; } $attr2->saveThis(); $CacheManager = erConfigClassLhCacheConfig::getInstance(); $CacheManager->expireCache(); } $Result['content'] = $tpl->fetch(); $Result['path'] = array(array('title' => erTranslationClassLhTranslation::getInstance()->getTranslation('theme/index','Products'))); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�