<?php require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_before.php"; require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/statistic/prolog.php"; $STAT_RIGHT = $APPLICATION->GetGroupRight("statistic"); if ($STAT_RIGHT == "D") { $APPLICATION->AuthForm(GetMessage("ACCESS_DENIED")); } IncludeModuleLangFile(__FILE__); $ID = intval($ID); $session = CSession::GetByID($ID); ClearVars("f_"); $APPLICATION->SetTitle(GetMessage("STAT_TITLE")); require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_popup_admin.php"; ?> <table class="edit-table" cellspacing="0" cellpadding="0" border="0"><tr><td> <table cellspacing="0" cellpadding="0" border="0" class="internal"> <?php if ($arRes = $session->ExtractFields("f_")) { ?> <tr> <td nowrap><?php echo GetMessage("STAT_ID"); ?> </td> <td width="100%"><?php if ($_SESSION["SESS_SESSION_ID"] == $f_ID) { echo "<span class=\"stat_attention\">{$f_ID}</span>"; } else { echo $f_ID; }