1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 05:55:02 +03:00
ifhub.club/application/classes/actions/ActionTopic.class.php

539 lines
17 KiB
PHP
Raw Normal View History

<?php
2008-09-21 09:36:57 +03:00
/*-------------------------------------------------------
*
* LiveStreet Engine Social Networking
* Copyright © 2008 Mzhelskiy Maxim
*
*--------------------------------------------------------
*
* Official site: www.livestreet.ru
* Contact e-mail: rus.engine@gmail.com
*
* GNU General Public License, version 2:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
---------------------------------------------------------
*/
/**
* Экшен обработки УРЛа вида /topic/ - управление своими топиками
2008-09-21 09:36:57 +03:00
*
* @package actions
* @since 1.0
2008-09-21 09:36:57 +03:00
*/
class ActionTopic extends Action {
/**
* Главное меню
*
* @var string
*/
protected $sMenuHeadItemSelect='blog';
2008-09-21 09:36:57 +03:00
/**
* Меню
*
* @var string
2008-09-21 09:36:57 +03:00
*/
protected $sMenuItemSelect='topic';
/**
* СубМеню
*
* @var string
2008-09-21 09:36:57 +03:00
*/
protected $sMenuSubItemSelect='topic';
2008-09-21 09:36:57 +03:00
/**
* Текущий юзер
*
* @var ModuleUser_EntityUser|null
2008-09-21 09:36:57 +03:00
*/
protected $oUserCurrent=null;
2013-05-25 14:36:26 +03:00
/**
* Тип топика
*
* @var string
*/
protected $sType = 'topic';
2011-06-06 14:58:19 +03:00
2008-09-21 09:36:57 +03:00
/**
* Инициализация
*
*/
public function Init() {
2008-09-21 09:36:57 +03:00
/**
* Проверяем авторизован ли юзер
*/
if (!$this->User_IsAuthorization()) {
2009-04-11 14:50:42 +03:00
return parent::EventNotFound();
2008-09-21 09:36:57 +03:00
}
$this->oUserCurrent=$this->User_GetUserCurrent();
/**
* Усанавливаем дефолтный евент
*/
2011-06-06 14:58:19 +03:00
$this->SetDefaultEvent('add');
/**
* Устанавливаем title страницы
*/
2009-04-11 14:50:42 +03:00
$this->Viewer_AddHtmlTitle($this->Lang_Get('topic_title'));
2008-09-21 09:36:57 +03:00
}
/**
* Регистрируем евенты
*
*/
2011-06-06 14:58:19 +03:00
protected function RegisterEvent() {
$this->AddEvent('add','EventAdd');
2012-07-09 08:47:42 +03:00
$this->AddEventPreg('/^published$/i','/^(page([1-9]\d{0,5}))?$/i','EventShowTopics');
$this->AddEventPreg('/^drafts$/i','/^(page([1-9]\d{0,5}))?$/i','EventShowTopics');
2011-06-06 14:58:19 +03:00
$this->AddEvent('edit','EventEdit');
$this->AddEvent('delete','EventDelete');
2008-09-21 09:36:57 +03:00
}
2011-06-06 14:58:19 +03:00
2008-09-21 09:36:57 +03:00
/**********************************************************************************
************************ РЕАЛИЗАЦИЯ ЭКШЕНА ***************************************
**********************************************************************************
*/
2011-06-06 14:58:19 +03:00
2008-09-21 09:36:57 +03:00
/**
* Редактирование топика
*
*/
protected function EventEdit() {
/**
* Получаем номер топика из УРЛ и проверяем существует ли он
*/
$sTopicId=$this->GetParam(0);
2009-07-03 23:48:44 +03:00
if (!($oTopic=$this->Topic_GetTopicById($sTopicId))) {
2008-09-21 09:36:57 +03:00
return parent::EventNotFound();
}
/**
* Проверяем тип топика
*/
if ($oTopic->getType()!='topic') {
return parent::EventNotFound();
}
2008-09-21 09:36:57 +03:00
/**
2009-06-15 00:15:11 +03:00
* Если права на редактирование
2011-06-06 14:58:19 +03:00
*/
if (!$this->ACL_IsAllowEditTopic($oTopic,$this->oUserCurrent)) {
2008-09-21 09:36:57 +03:00
return parent::EventNotFound();
2011-06-06 14:58:19 +03:00
}
/**
* Вызов хуков
*/
$this->Hook_Run('topic_edit_show',array('oTopic'=>$oTopic));
2008-09-21 09:36:57 +03:00
/**
* Загружаем переменные в шаблон
*/
2009-06-20 16:54:24 +03:00
$this->Viewer_Assign('aBlogsAllow',$this->Blog_GetBlogsAllowByUser($this->oUserCurrent));
2013-05-25 14:36:26 +03:00
$this->Viewer_Assign('sTopicType', $this->sType);
2009-04-11 14:50:42 +03:00
$this->Viewer_AddHtmlTitle($this->Lang_Get('topic_topic_edit'));
2008-09-21 09:36:57 +03:00
/**
* Устанавливаем шаблон вывода
*/
2011-06-06 14:58:19 +03:00
$this->SetTemplateAction('add');
2008-09-21 09:36:57 +03:00
/**
* Проверяем отправлена ли форма с данными(хотяб одна кнопка)
2011-06-06 14:58:19 +03:00
*/
2008-09-21 09:36:57 +03:00
if (isset($_REQUEST['submit_topic_publish']) or isset($_REQUEST['submit_topic_save'])) {
/**
* Обрабатываем отправку формы
*/
2008-09-21 09:36:57 +03:00
return $this->SubmitEdit($oTopic);
} else {
/**
* Заполняем поля формы для редактирования
* Только перед отправкой формы!
*/
2008-09-21 09:36:57 +03:00
$_REQUEST['topic_title']=$oTopic->getTitle();
$_REQUEST['topic_text']=$oTopic->getTextSource();
$_REQUEST['topic_tags']=$oTopic->getTags();
$_REQUEST['blog_id']=$oTopic->getBlogId();
$_REQUEST['topic_id']=$oTopic->getId();
$_REQUEST['topic_publish_index']=$oTopic->getPublishIndex();
$_REQUEST['topic_forbid_comment']=$oTopic->getForbidComment();
2011-06-06 14:58:19 +03:00
}
2013-04-24 19:04:44 +03:00
$this->Viewer_Assign('oTopicEdit', $oTopic);
2008-09-21 09:36:57 +03:00
}
/**
* Удаление топика
*
*/
protected function EventDelete() {
$this->Security_ValidateSendForm();
/**
* Получаем номер топика из УРЛ и проверяем существует ли он
*/
$sTopicId=$this->GetParam(0);
2009-07-03 23:48:44 +03:00
if (!($oTopic=$this->Topic_GetTopicById($sTopicId))) {
return parent::EventNotFound();
}
/**
* проверяем есть ли право на удаление топика
2011-06-06 14:58:19 +03:00
*/
if (!$this->ACL_IsAllowDeleteTopic($oTopic,$this->oUserCurrent)) {
return parent::EventNotFound();
}
/**
* Удаляем топик
*/
$this->Hook_Run('topic_delete_before', array('oTopic'=>$oTopic));
2010-03-06 17:48:44 +02:00
$this->Topic_DeleteTopic($oTopic);
$this->Hook_Run('topic_delete_after', array('oTopic'=>$oTopic));
/**
* Перенаправляем на страницу со списком топиков из блога этого топика
*/
2009-10-10 02:33:17 +03:00
Router::Location($oTopic->getBlog()->getUrlFull());
}
2008-09-21 09:36:57 +03:00
/**
* Добавление топика
*
*/
protected function EventAdd() {
/**
* Вызов хуков
*/
$this->Hook_Run('topic_add_show');
2008-09-21 09:36:57 +03:00
/**
* Загружаем переменные в шаблон
*/
2011-06-06 14:58:19 +03:00
$this->Viewer_Assign('aBlogsAllow',$this->Blog_GetBlogsAllowByUser($this->oUserCurrent));
2013-05-25 14:36:26 +03:00
$this->Viewer_Assign('sTopicType', $this->sType);
2009-04-11 14:50:42 +03:00
$this->Viewer_AddHtmlTitle($this->Lang_Get('topic_topic_create'));
2008-09-21 09:36:57 +03:00
/**
* Обрабатываем отправку формы
*/
2011-06-06 14:58:19 +03:00
return $this->SubmitAdd();
}
2008-09-21 09:36:57 +03:00
/**
2009-06-15 00:15:11 +03:00
* Выводит список топиков
2008-09-21 09:36:57 +03:00
*
*/
2011-06-06 14:58:19 +03:00
protected function EventShowTopics() {
2008-09-21 09:36:57 +03:00
/**
* Меню
*/
2009-06-15 00:15:11 +03:00
$this->sMenuSubItemSelect=$this->sCurrentEvent;
2008-09-21 09:36:57 +03:00
/**
* Передан ли номер страницы
*/
2011-06-06 14:58:19 +03:00
$iPage=$this->GetParamEventMatch(0,2) ? $this->GetParamEventMatch(0,2) : 1;
2008-09-21 09:36:57 +03:00
/**
* Получаем список топиков
2011-06-06 14:58:19 +03:00
*/
$aResult=$this->Topic_GetTopicsPersonalByUser($this->oUserCurrent->getId(),$this->sCurrentEvent=='published' ? 1 : 0,$iPage,Config::Get('module.topic.per_page'));
2008-09-21 09:36:57 +03:00
$aTopics=$aResult['collection'];
/**
* Формируем постраничность
2011-06-06 14:58:19 +03:00
*/
$aPaging=$this->Viewer_MakePaging($aResult['count'],$iPage,Config::Get('module.topic.per_page'),Config::Get('pagination.pages.count'),Router::GetPath('topic').$this->sCurrentEvent);
2008-09-21 09:36:57 +03:00
/**
* Загружаем переменные в шаблон
*/
2011-06-06 14:58:19 +03:00
$this->Viewer_Assign('aPaging',$aPaging);
2008-09-21 09:36:57 +03:00
$this->Viewer_Assign('aTopics',$aTopics);
2009-06-15 00:15:11 +03:00
$this->Viewer_AddHtmlTitle($this->Lang_Get('topic_menu_'.$this->sCurrentEvent));
2008-09-21 09:36:57 +03:00
}
/**
* Обработка добавления топика
2008-09-21 09:36:57 +03:00
*
*/
protected function SubmitAdd() {
/**
* Проверяем отправлена ли форма с данными(хотяб одна кнопка)
2011-06-06 14:58:19 +03:00
*/
if (!isPost('submit_topic_publish') and !isPost('submit_topic_save')) {
2008-09-21 09:36:57 +03:00
return false;
2011-06-06 14:58:19 +03:00
}
$oTopic=Engine::GetEntity('Topic');
$oTopic->_setValidateScenario('topic');
/**
* Заполняем поля для валидации
*/
$oTopic->setBlogId(getRequestStr('blog_id'));
$oTopic->setTitle(strip_tags(getRequestStr('topic_title')));
$oTopic->setTextSource(getRequestStr('topic_text'));
$oTopic->setTags(getRequestStr('topic_tags'));
$oTopic->setUserId($this->oUserCurrent->getId());
$oTopic->setType('topic');
$oTopic->setDateAdd(date("Y-m-d H:i:s"));
$oTopic->setUserIp(func_getIp());
2008-09-21 09:36:57 +03:00
/**
* Проверка корректности полей формы
*/
if (!$this->checkTopicFields($oTopic)) {
2011-06-06 14:58:19 +03:00
return false;
}
2008-09-21 09:36:57 +03:00
/**
* Определяем в какой блог делаем запись
*/
$iBlogId=$oTopic->getBlogId();
2008-09-21 09:36:57 +03:00
if ($iBlogId==0) {
$oBlog=$this->Blog_GetPersonalBlogByUserId($this->oUserCurrent->getId());
2008-09-21 09:36:57 +03:00
} else {
$oBlog=$this->Blog_GetBlogById($iBlogId);
2011-06-06 14:58:19 +03:00
}
2008-09-21 09:36:57 +03:00
/**
* Если блог не определен выдаем предупреждение
*/
if (!$oBlog) {
2009-04-11 14:50:42 +03:00
$this->Message_AddErrorSingle($this->Lang_Get('topic_create_blog_error_unknown'),$this->Lang_Get('error'));
2008-09-21 09:36:57 +03:00
return false;
2011-06-06 14:58:19 +03:00
}
2008-09-21 09:36:57 +03:00
/**
2009-06-20 16:54:24 +03:00
* Проверяем права на постинг в блог
2008-09-21 09:36:57 +03:00
*/
if (!$this->ACL_IsAllowBlog($oBlog,$this->oUserCurrent)) {
2009-06-20 16:54:24 +03:00
$this->Message_AddErrorSingle($this->Lang_Get('topic_create_blog_error_noallow'),$this->Lang_Get('error'));
2008-09-21 09:36:57 +03:00
return false;
2011-06-06 14:58:19 +03:00
}
/**
* Проверяем разрешено ли постить топик по времени
*/
2011-06-06 14:58:19 +03:00
if (isPost('submit_topic_publish') and !$this->ACL_CanPostTopicTime($this->oUserCurrent)) {
$this->Message_AddErrorSingle($this->Lang_Get('topic_time_limit'),$this->Lang_Get('error'));
return;
}
2008-09-21 09:36:57 +03:00
/**
* Теперь можно смело добавлять топик к блогу
*/
$oTopic->setBlogId($oBlog->getId());
/**
* Получаемый и устанавливаем разрезанный текст по тегу <cut>
*/
list($sTextShort,$sTextNew,$sTextCut) = $this->Text_Cut($oTopic->getTextSource());
2011-06-06 14:58:19 +03:00
$oTopic->setCutText($sTextCut);
2010-05-18 16:36:32 +03:00
$oTopic->setText($this->Text_Parser($sTextNew));
$oTopic->setTextShort($this->Text_Parser($sTextShort));
2008-09-21 09:36:57 +03:00
/**
* Публикуем или сохраняем
*/
if (isset($_REQUEST['submit_topic_publish'])) {
$oTopic->setPublish(1);
$oTopic->setPublishDraft(1);
2008-09-21 09:36:57 +03:00
} else {
$oTopic->setPublish(0);
$oTopic->setPublishDraft(0);
2011-06-06 14:58:19 +03:00
}
/**
* Принудительный вывод на главную
*/
$oTopic->setPublishIndex(0);
if ($this->ACL_IsAllowPublishIndex($this->oUserCurrent)) {
if (getRequest('topic_publish_index')) {
$oTopic->setPublishIndex(1);
2011-06-06 14:58:19 +03:00
}
}
/**
* Запрет на комментарии к топику
*/
$oTopic->setForbidComment(0);
if (getRequest('topic_forbid_comment')) {
$oTopic->setForbidComment(1);
}
2008-09-21 09:36:57 +03:00
/**
* Запускаем выполнение хуков
2008-09-21 09:36:57 +03:00
*/
$this->Hook_Run('topic_add_before', array('oTopic'=>$oTopic,'oBlog'=>$oBlog));
/**
* Добавляем топик
2011-06-06 14:58:19 +03:00
*/
2008-09-21 09:36:57 +03:00
if ($this->Topic_AddTopic($oTopic)) {
$this->Hook_Run('topic_add_after', array('oTopic'=>$oTopic,'oBlog'=>$oBlog));
/**
* Получаем топик, чтоб подцепить связанные данные
*/
2009-06-20 16:54:24 +03:00
$oTopic=$this->Topic_GetTopicById($oTopic->getId());
/**
* Обновляем количество топиков в блоге
*/
$this->Blog_RecalculateCountTopicByBlogId($oTopic->getBlogId());
/**
* Добавляем автора топика в подписчики на новые комментарии к этому топику
*/
2013-04-01 13:02:46 +03:00
$this->Subscribe_AddSubscribeSimple('topic_new_comment',$oTopic->getId(),$this->oUserCurrent->getMail(),$this->oUserCurrent->getId());
/**
* Делаем рассылку спама всем, кто состоит в этом блоге
*/
if ($oTopic->getPublish()==1 and $oBlog->getType()!='personal') {
2011-06-06 14:58:19 +03:00
$this->Topic_SendNotifyTopicNew($oBlog,$oTopic,$this->oUserCurrent);
}
/**
* Добавляем событие в ленту
*/
$this->Stream_write($oTopic->getUserId(), 'add_topic', $oTopic->getId(),$oTopic->getPublish() && $oBlog->getType()!='close');
Router::Location($oTopic->getUrl());
2008-09-21 09:36:57 +03:00
} else {
2009-04-11 14:50:42 +03:00
$this->Message_AddErrorSingle($this->Lang_Get('system_error'));
2008-09-21 09:36:57 +03:00
return Router::Action('error');
2011-06-06 14:58:19 +03:00
}
2008-09-21 09:36:57 +03:00
}
/**
* Обработка редактирования топика
*
* @param ModuleTopic_EntityTopic $oTopic
* @return mixed
2008-09-21 09:36:57 +03:00
*/
2011-06-06 14:58:19 +03:00
protected function SubmitEdit($oTopic) {
$oTopic->_setValidateScenario('topic');
/**
* Сохраняем старое значение идентификатора блога
*/
$sBlogIdOld = $oTopic->getBlogId();
/**
* Заполняем поля для валидации
*/
$oTopic->setBlogId(getRequestStr('blog_id'));
$oTopic->setTitle(strip_tags(getRequestStr('topic_title')));
$oTopic->setTextSource(getRequestStr('topic_text'));
$oTopic->setTags(getRequestStr('topic_tags'));
$oTopic->setUserIp(func_getIp());
2008-09-21 09:36:57 +03:00
/**
* Проверка корректности полей формы
*/
if (!$this->checkTopicFields($oTopic)) {
2011-06-06 14:58:19 +03:00
return false;
}
2008-09-21 09:36:57 +03:00
/**
* Определяем в какой блог делаем запись
*/
$iBlogId=$oTopic->getBlogId();
2008-09-21 09:36:57 +03:00
if ($iBlogId==0) {
$oBlog=$this->Blog_GetPersonalBlogByUserId($oTopic->getUserId());
2008-09-21 09:36:57 +03:00
} else {
$oBlog=$this->Blog_GetBlogById($iBlogId);
}
2008-09-21 09:36:57 +03:00
/**
* Если блог не определен выдаем предупреждение
*/
if (!$oBlog) {
2009-04-11 14:50:42 +03:00
$this->Message_AddErrorSingle($this->Lang_Get('topic_create_blog_error_unknown'),$this->Lang_Get('error'));
2008-09-21 09:36:57 +03:00
return false;
}
2008-09-21 09:36:57 +03:00
/**
2009-06-20 16:54:24 +03:00
* Проверяем права на постинг в блог
2008-09-21 09:36:57 +03:00
*/
if (!$this->ACL_IsAllowBlog($oBlog,$this->oUserCurrent)) {
2009-06-20 16:54:24 +03:00
$this->Message_AddErrorSingle($this->Lang_Get('topic_create_blog_error_noallow'),$this->Lang_Get('error'));
2008-09-21 09:36:57 +03:00
return false;
}
2010-01-30 21:40:21 +02:00
/**
* Проверяем разрешено ли постить топик по времени
*/
2011-06-06 14:58:19 +03:00
if (isPost('submit_topic_publish') and !$oTopic->getPublishDraft() and !$this->ACL_CanPostTopicTime($this->oUserCurrent)) {
2010-01-30 21:40:21 +02:00
$this->Message_AddErrorSingle($this->Lang_Get('topic_time_limit'),$this->Lang_Get('error'));
return;
}
$oTopic->setBlogId($oBlog->getId());
/**
* Получаемый и устанавливаем разрезанный текст по тегу <cut>
*/
list($sTextShort,$sTextNew,$sTextCut) = $this->Text_Cut($oTopic->getTextSource());
2009-12-04 18:11:07 +02:00
$oTopic->setCutText($sTextCut);
2010-05-18 16:36:32 +03:00
$oTopic->setText($this->Text_Parser($sTextNew));
$oTopic->setTextShort($this->Text_Parser($sTextShort));
2008-09-21 09:36:57 +03:00
/**
* Публикуем или сохраняем в черновиках
*/
2009-06-20 16:54:24 +03:00
$bSendNotify=false;
2008-09-21 09:36:57 +03:00
if (isset($_REQUEST['submit_topic_publish'])) {
$oTopic->setPublish(1);
if ($oTopic->getPublishDraft()==0) {
$oTopic->setPublishDraft(1);
$oTopic->setDateAdd(date("Y-m-d H:i:s"));
2009-06-20 16:54:24 +03:00
$bSendNotify=true;
2009-12-04 18:11:07 +02:00
}
2008-09-21 09:36:57 +03:00
} else {
$oTopic->setPublish(0);
2009-12-04 18:11:07 +02:00
}
/**
* Принудительный вывод на главную
*/
if ($this->ACL_IsAllowPublishIndex($this->oUserCurrent)) {
if (getRequest('topic_publish_index')) {
$oTopic->setPublishIndex(1);
} else {
$oTopic->setPublishIndex(0);
}
}
/**
* Запрет на комментарии к топику
*/
$oTopic->setForbidComment(0);
if (getRequest('topic_forbid_comment')) {
$oTopic->setForbidComment(1);
}
$this->Hook_Run('topic_edit_before', array('oTopic'=>$oTopic,'oBlog'=>$oBlog));
2008-09-21 09:36:57 +03:00
/**
* Сохраняем топик
*/
2009-12-04 18:11:07 +02:00
if ($this->Topic_UpdateTopic($oTopic)) {
$this->Hook_Run('topic_edit_after', array('oTopic'=>$oTopic,'oBlog'=>$oBlog,'bSendNotify'=>&$bSendNotify));
/**
* Обновляем данные в комментариях, если топик был перенесен в новый блог
*/
if($sBlogIdOld!=$oTopic->getBlogId()) {
$this->Comment_UpdateTargetParentByTargetId($oTopic->getBlogId(), 'topic', $oTopic->getId());
$this->Comment_UpdateTargetParentByTargetIdOnline($oTopic->getBlogId(), 'topic', $oTopic->getId());
}
2009-06-20 16:54:24 +03:00
/**
* Обновляем количество топиков в блоге
*/
if ($sBlogIdOld!=$oTopic->getBlogId()) {
$this->Blog_RecalculateCountTopicByBlogId($sBlogIdOld);
}
$this->Blog_RecalculateCountTopicByBlogId($oTopic->getBlogId());
/**
* Добавляем событие в ленту
*/
$this->Stream_write($oTopic->getUserId(), 'add_topic', $oTopic->getId(),$oTopic->getPublish() && $oBlog->getType()!='close');
/**
2009-06-20 16:54:24 +03:00
* Рассылаем о новом топике подписчикам блога
*/
if ($bSendNotify) {
$this->Topic_SendNotifyTopicNew($oBlog,$oTopic,$oTopic->getUser());
2009-06-20 16:54:24 +03:00
}
2008-11-04 23:46:28 +02:00
if (!$oTopic->getPublish() and !$this->oUserCurrent->isAdministrator() and $this->oUserCurrent->getId()!=$oTopic->getUserId()) {
Router::Location($oBlog->getUrlFull());
2008-11-04 23:46:28 +02:00
}
Router::Location($oTopic->getUrl());
2008-09-21 09:36:57 +03:00
} else {
2009-04-11 14:50:42 +03:00
$this->Message_AddErrorSingle($this->Lang_Get('system_error'));
2008-09-21 09:36:57 +03:00
return Router::Action('error');
2011-06-06 14:58:19 +03:00
}
2008-09-21 09:36:57 +03:00
}
/**
* Проверка полей формы
*
* @return bool
2008-09-21 09:36:57 +03:00
*/
protected function checkTopicFields($oTopic) {
2009-10-20 02:42:23 +03:00
$this->Security_ValidateSendForm();
2011-06-06 14:58:19 +03:00
2008-09-21 09:36:57 +03:00
$bOk=true;
/**
* Валидируем топик
*/
if (!$oTopic->_Validate()) {
$this->Message_AddError($oTopic->_getValidateError(),$this->Lang_Get('error'));
2008-09-21 09:36:57 +03:00
$bOk=false;
}
2010-02-06 14:47:19 +02:00
/**
* Выполнение хуков
*/
2010-02-06 19:47:12 +02:00
$this->Hook_Run('check_topic_fields', array('bOk'=>&$bOk));
2011-06-06 14:58:19 +03:00
2008-09-21 09:36:57 +03:00
return $bOk;
}
/**
* При завершении экшена загружаем необходимые переменные
*
*/
public function EventShutdown() {
$this->Viewer_Assign('sMenuHeadItemSelect',$this->sMenuHeadItemSelect);
2008-09-21 09:36:57 +03:00
$this->Viewer_Assign('sMenuItemSelect',$this->sMenuItemSelect);
$this->Viewer_Assign('sMenuSubItemSelect',$this->sMenuSubItemSelect);
2008-09-21 09:36:57 +03:00
}
}
?>