Current Path : /var/www/html/clients/amz.e-nk.ru/reestrs/ |
Current File : /var/www/html/clients/amz.e-nk.ru/reestrs/otchet.php |
<? require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); $APPLICATION->SetTitle("Отчетность"); ?><P> <? if (CModule::IncludeModule("iblock")) { echo " <TABLE class=text cellSpacing=1 cellPadding=3 width=\"100%\" border=0> <tr> <TD class=tablehead><B><FONT class=tableheadtext>Название</FONT></B></TD> <TD class=tablehead align=middle style = \"width : 100px;\"><B><FONT class=tableheadtext>Подробнее</FONT></B></TD> <TR> "; $sections=GetIBlockElementList(41,630); while($obsect=$sections->GetNext()) { $items=GetiBlockElement($obsect[ID]); echo " <td valign=\"top\" class=tablebody nowrap><span style=\"font-size:12px;font-weight:bold;color:#2f5367\"> $obsect[NAME] </span> </td> <Td class=tablebody vAlign=top align=middle> "; $path="../".CFile::GetPath($items[PROPERTIES][FILE][VALUE]); if($items[PROPERTIES][FILE][VALUE]!="") { $path="../".CFile::GetPath($items[PROPERTIES][FILE][VALUE]); $filesize=round(filesize($path)/1024,2); echo "<a href=$path title=\"$filesize кб\"><img src=/images/icons/zip.jpg border=0></a>"; } echo " </td> </tr> "; } echo "</table>"; } ?> </P><?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>