403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/components/bitrix/idea.popup/templates/.default/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/components/bitrix/idea.popup/templates/.default/list.php
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?
$arCategoryList = CIdeaManagment::getInstance()->Idea()->GetCategoryList();
$arRootCategory = array(array("CODE" => "SYS_ALL", "NAME" => GetMessage("IDEA_POPUP_CATEGORY_ALL"), "IS_CATEGOTY" => "N"));
foreach($arCategoryList as $key => $arCategory)
	if(intval($arCategory["IBLOCK_SECTION_ID"]) ==0)
		$arRootCategory[$key] = $arCategory;

$arRootCategory = array_slice($arRootCategory, 0, $arParams["CATEGORIES_CNT"]);
?>
<div id="idea-list-container">
	<div style="margin-right: 8px; padding-top:18px;"><?
		?><input id="idea-field-common-show-add-form" class="idea-field-common" <?
			?>onclick="BX.Idea.add();" <?
			?>type="text" readonly="true" placeholder="<?=GetMessage("IDEA_INPUT_TITLE_IDEA")?>"></div>
	<div style="padding-top: 20px;"></div>
	<div class="status-box-l">
		<div class="status-box-r">
			<div class="status-box-m">
				<?$i=0; foreach($arRootCategory as $arCategory):?>
				<div class="status-item-categoty status-item<?if($i++==0):?>-selected<?endif;?>" onclick="BX.Idea.set(this)" id="idea-category-list-<?=mb_strtolower($arCategory["CODE"])?>">
					<div>
						<div>
							<a><?=$arCategory["NAME"]?></a>
						</div>
					</div>
				</div>
				<?endforeach;?>
				<div class="status-item status-item-more">
					<div>
						<div>
							<a target="_blank" href="<?=$arParams["PATH_IDEA_INDEX"]?>"><?=GetMessage("IDEA_PATH_IDEA_INDEX")?></a>
						</div>
					</div>
				</div>
				<br clear="all">
			</div>
		</div>
	</div>
	<div id="idea-category-list-box">
		<?$i = 0; foreach($arRootCategory as $arCategory):?>
			<div class="idea-category-list" id="idea-category-list-<?=mb_strtolower($arCategory["CODE"])?>-content" <?if($i++>0):?>style="display:none;"<?endif;?>>
				<?
				$arFilter = array();
				if($arCategory["IS_CATEGOTY"] != "N")
					$arFilter = array(
						"IDEA_PARENT_CATEGORY_CODE" => mb_strtoupper($arCategory["CODE"])
					);
				?>
				<?$APPLICATION->IncludeComponent(
						"bitrix:idea.list",
						"light",
						Array(
								"RATING_TEMPLATE" => $arParams['RATING_TEMPLATE'],
								"SORT_BY1" => "RATING_TOTAL_VALUE",
								"IBLOCK_CATEGORIES" => $arParams["IBLOCK_CATEGORIES"],
								"EXT_FILTER" => $arFilter,
								"MESSAGE_COUNT"			=> $arParams["LIST_MESSAGE_COUNT"],
								"PATH_TO_POST"			=> $arParams["PATH_IDEA_POST"],
								"BLOG_URL"				=> $arParams["BLOG_URL"],
								"CACHE_TYPE"			=> "Y",
								"CACHE_TIME"			=> 3600,
								"SET_NAV_CHAIN"			=> "N",
								"POST_PROPERTY_LIST"	=> CIdeaManagment::getInstance()->GetUserFieldsArray(),
								"DATE_TIME_FORMAT"		=> "d.m.Y",
								"NAME_TEMPLATE" 		=> $arParams["NAME_TEMPLATE"],
								"SHOW_LOGIN" 			=> $arParams["SHOW_LOGIN"],
								"SHOW_RATING" => $arParams["SHOW_RATING"],
						),
						$component
				);
				?>
			</div>
		<?endforeach;?>
	</div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit