|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /proc/17567/root/usr/local/lsws/admin/html/config/ |
Upload File : |
<?php
$buf = GUI::header("{$confCenter->_serv->_id}: $page->_title")
. GUI::top_menu()
. GUI::left_menu();
$buf .= '<form name="confform" method="post" action="confMgr.php">'; // to avoid warning, put in echo
if(strlen($disp->_titleLabel)) {
$buf .= '<div><h2>'.$disp->_titleLabel . '</h2></div>'."\n";
}
$buf .= '<div>
<!-- START TABS -->
<div class="xtab" ><ul>';
$uri = $disp->_ctrlUrl . 'm=' . urlencode($disp->_mid) . '&p=';
foreach ( $disp->_tabs as $pid => $tabName )
{
$on = '';
if ( $page->_id == $pid ){
$on = 'class="on"';
}
$buf .= "<li $on><a href='{$uri}{$pid}'>{$tabName}</a></li>";
}
$buf .= '</ul></div>
<!-- END TABS -->
';
echo $buf;