Файл: isp-mobile.mhos.tk/func/iscanner.php
Строк: 37
<?php
$content = api_query('https://' . $server . '/manager/ispmgr?func=iscanner&out=xml&authinfo=' . urlencode($_SESSION['username']) . ':' . urlencode($_SESSION['password']));
$parse_xml = simplexml_load_string($content);
echo '<img src="images/t-retry.png" alt="." /><a href="?func=iscanner">Обновить</a><br />' . "n";
echo '<img src="images/t-restart.png" alt="." /><a href="?func=iscanner.start">Запустить проверку</a>' . "n";
echo '<hr />' . "n";
foreach($parse_xml->elem as $var) {
echo htmlentities((string)$var->file, ENT_QUOTES, 'UTF-8') . '<br />' . "n";
echo htmlentities((string)$var->desc, ENT_QUOTES, 'UTF-8') . "n";
echo '<hr />' . "n";
}
echo '<img src="images/sb-menu.png" alt="." /><a href="?func=menu">Вернуться в меню</a>' . "n";
?>