Your IP : 18.116.170.100


Current Path : /var/www/axolotl/data/www/yar.axolotls.ru/bitrix/modules/studio7spb.armyday/
Upload File :
Current File : /var/www/axolotl/data/www/yar.axolotls.ru/bitrix/modules/studio7spb.armyday/options.php

<?
	IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/options.php");
	IncludeModuleLangFile(__FILE__);

	$module_id = "studio7spb.armyday";
	
	$templates_path = '/bitrix/components/studio7spb/armyday/templates/';
	
	if ($templates_handle = opendir($_SERVER["DOCUMENT_ROOT"].$templates_path))
	{
		?><b><?=GetMessage("STUDIO7SPB_ARMYDAY_V_KOMPONENTE")?></b><div style='overflow: hidden; margin: 10px 0;'><?
		$templates = Array();
		while (false !== ($template = readdir($templates_handle)))
		{
			if ($template != "." && $template != "..")
			{
				$templates[] = $template;
			}
		}
		sort($templates);
		foreach ($templates as $tmpl)
		{
			?><a href='<?=$templates_path.$tmpl?>/images/bg.png' target='_blank' style='float: left; display: block; width: 130px; padding-top: 110px; background: url(<?=$templates_path.$tmpl?>/images/bg-small.png) 50% 0 no-repeat; text-align: center; margin-bottom: 10px; margin-right: 5px;'><b><?=$tmpl?></b></a><?
		}
		?></div><?
		closedir($templates_handle);
	}
?>