setupNumbering($numrows, $rowsPerPage, $pageNum, $orderBy, $orderType);
}
echo " </th></tr>\n                                        </thead>\n\n                        ";
if ($orderType == "asc") {
    $orderType = "desc";
} else {
    if ($orderType == "desc") {
        $orderType = "asc";
    }
}
echo "<thread> <tr>\n\t\t<th scope='col'>\n\t\t<a title='Sort' class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?orderBy=id&orderType={$orderType}\">\n\t\t" . $l['all']['HgID'] . "</a>\n\t\t<br/>\n\t\t</th>\n\n\t\t<th scope='col'>\n\t\t<a title='Sort' class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?orderBy=nasipaddress&orderType={$orderType}\">\n\t\t" . $l['all']['HgIPHost'] . "</a>\n\t\t<br/>\n\t\t</th>\n\n\t\t<th scope='col'>\n\t\t<a title='Sort' class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?orderBy=groupname&orderType={$orderType}\">\n\t\t" . $l['all']['HgGroupName'] . "</a>\n\t\t<br/>\n\t\t</th>\n\n\t\t<th scope='col'>\n\t\t<a title='Sort' class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?orderBy=nasportid&orderType={$orderType}\">\n\t\t" . $l['all']['HgPortId'] . "</a>\n\t\t<br/>\n\t\t</th>\n\n\t</tr> </thread>";
while ($row = $res->fetchRow()) {
    echo "<tr>\n                                <td> <input type='checkbox' name='nashost[]' value='{$row['2']}||{$row['3']}'> {$row['0']} </td>\n                                <td> <a class='tablenovisit' href='javascript:return;'\n                                onclick=\"javascript:__displayTooltip();\"\n                                tooltipText=\"\n                                        <a class='toolTip' href='mng-rad-hunt-edit.php?nasipaddress={$row['2']}&nasportid={$row['3']}'>" . $l['Tooltip']['EditHG'] . "</a>\n                                        <a class='toolTip' href='mng-rad-hunt-del.php?nasipaddress={$row['2']}&nasportid={$row['3']}'>" . $l['Tooltip']['RemoveHG'] . "</a>\n                                        <br/>\"\n                                        >{$row['2']}</a></td>\n\t\t\t\t<td> {$row['1']} </td>\n\t\t\t\t<td> {$row['3']} </td>\n\n\t\t</tr>";
}
echo "\n                                        <tfoot>\n                                                        <tr>\n                                                        <th colspan='4' align='left'>\n        ";
setupLinks($pageNum, $maxPage, $orderBy, $orderType);
echo "\n                                                        </th>\n                                                        </tr>\n                                        </tfoot>\n                ";
echo "</table>";
echo "</form>";
include 'library/closedb.php';
?>




<?php 
include 'include/config/logging.php';
?>
			
	</div>
	
Ejemplo n.º 2
0
    setupNumbering($numrows, $rowsPerPage, $pageNum, $orderBy, $orderType, "&username={$username}&startdate={$startdate}&enddate={$enddate}");
}
echo " </th></tr>\n\t\t\t</thead>\n\t";
if ($orderType == "asc") {
    $orderTypeNextPage = "desc";
} else {
    if ($orderType == "desc") {
        $orderTypeNextPage = "asc";
    }
}
echo "<thread> <tr>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&startdate={$startdate}&enddate={$enddate}&orderBy=radacctid&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['ID'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&startdate={$startdate}&enddate={$enddate}&orderBy=hotspot&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['HotSpot'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&startdate={$startdate}&enddate={$enddate}&orderBy=username&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['Username'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&startdate={$startdate}&enddate={$enddate}&orderBy=framedipaddress&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['IPAddress'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&startdate={$startdate}&enddate={$enddate}&orderBy=acctstarttime&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['StartTime'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&startdate={$startdate}&enddate={$enddate}&orderBy=acctstoptime&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['StopTime'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&startdate={$startdate}&enddate={$enddate}&orderBy=acctsessiontime&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['TotalTime'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&startdate={$startdate}&enddate={$enddate}&orderBy=acctinputoctets&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['Upload'] . " (" . $l['all']['Bytes'] . ")</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&startdate={$startdate}&enddate={$enddate}&orderBy=acctoutputoctets&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['Download'] . " (" . $l['all']['Bytes'] . ")</a>\n\t\t</th>\n\t\t<th scope='col'>\n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&startdate={$startdate}&enddate={$enddate}&orderBy=acctterminatecause&orderType={$orderTypeNextPage}\">\n\t\t " . $l['all']['Termination'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&startdate={$startdate}&enddate={$enddate}&orderBy=nasipaddress&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['NASIPAddress'] . "</a>\n\t\t</th>\n                </tr> </thread>";
while ($row = $res->fetchRow()) {
    printqn("<tr>\n\t\t\t\t<td> {$row['0']} </td>\n\n                        <td> <a class='tablenovisit' href='javascript:return;'\n                                onClick='javascript:ajaxGeneric(\"include/management/retHotspotInfo.php\",\"retHotspotGeneralStat\",\"divContainerHotspotInfo\",\"hotspot={$row['1']}\");\n                                        javascript:__displayTooltip();'\n                                tooltipText='\n                                        <a class=\"toolTip\" href=\"mng-hs-edit.php?name={$row['1']}\">\n                                                {$l['Tooltip']['HotspotEdit']}</a>\n                                        &nbsp;\n                                        <a class=\"toolTip\" href=\"acct-hotspot-compare.php?\">\n                                                {$l['all']['Compare']}</a>\n                                        <br/><br/>\n\n                                        <div id=\"divContainerHotspotInfo\">\n                                                Loading...\n                                        </div>\n                                        <br/>'\n                                >{$row['1']}</a>\n                        </td>\n\n                        <td> <a class='tablenovisit' href='javascript:return;'\n                                onClick='javascript:ajaxGeneric(\"include/management/retUserInfo.php\",\"retBandwidthInfo\",\"divContainerUserInfo\",\"username={$row['2']}\");\n                                        javascript:__displayTooltip();'\n                                tooltipText='\n                                        <a class=\"toolTip\" href=\"mng-edit.php?username={$row['2']}\">\n\t                                        {$l['Tooltip']['UserEdit']}</a>\n                                        <br/><br/>\n\n                                        <div id=\"divContainerUserInfo\">\n                                                Loading...\n                                        </div>\n                                        <br/>'\n                                >{$row['2']}</a>\n                        </td>\n\t\t\t\t<td> {$row['3']} </td>\n\t\t\t\t<td> {$row['4']} </td>\n\t\t\t\t<td> {$row['5']} </td>\n\t\t\t\t<td> " . time2str($row[6]) . " </td>\n\t\t\t\t<td> " . toxbyte($row[7]) . "</td>\n\t\t\t\t<td> " . toxbyte($row[8]) . "</td>\n\t\t\t\t<td> {$row['9']} </td>\n\t\t\t\t<td> {$row['10']} </td>\n\t\t</tr>");
}
echo "\n                                        <tfoot>\n                                                        <tr>\n                                                        <th colspan='12' align='left'>\n        ";
setupLinks($pageNum, $maxPage, $orderBy, $orderType, "&username={$username}&startdate={$startdate}&enddate={$enddate}");
echo "\n                                                        </th>\n                                                        </tr>\n                                        </tfoot>\n                ";
echo "</table>";
include 'library/closedb.php';
?>
			
		</div>


<?php 
include 'include/config/logging.php';
?>

		<div id="footer">
		
								<?php 
Ejemplo n.º 3
0
    setupNumbering($numrows, $rowsPerPage, $pageNum, $orderBy, $orderType, "&username={$username}");
}
echo " </th></tr></thead>";
if ($orderType == "asc") {
    $orderTypeNextPage = "desc";
} else {
    if ($orderType == "desc") {
        $orderTypeNextPage = "asc";
    }
}
echo "<thread> <tr>\n\t\t\t<th scope='col'> \n\t\t\t<br/>\n\t\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&orderBy=radacctid&orderType={$orderTypeNextPage}\">\n\t\t\t" . $l['all']['ID'] . "</a>\n\t\t\t</th>\n\n\t\t\t<th scope='col'> \n\t\t\t<br/>\n\t\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&orderBy=username&orderType={$orderTypeNextPage}\">\n\t\t\t" . $l['all']['Username'] . "</a>\n\t\t\t</th>\n\t\t\t<th scope='col'> \n\t\t\t<br/>\n\t\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&orderBy=framedipaddress&orderType={$orderTypeNextPage}\">\n\t\t\t" . $l['all']['IPAddress'] . "</a>\n\t\t\t</th>\n\t\t\t<th scope='col'> \n\t\t\t<br/>\n\t\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&orderBy=acctstarttime&orderType={$orderTypeNextPage}\">\n\t\t\t" . $l['all']['StartTime'] . "</a>\n\t\t\t</th>\n\t\t\t<th scope='col'> \n\t\t\t<br/>\n\t\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&orderBy=acctstoptime&orderType={$orderTypeNextPage}\">\n\t\t\t" . $l['all']['StopTime'] . "</a>\n\t\t\t</th>\n\t\t\t<th scope='col'> \n\t\t\t<br/>\n\t\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&orderBy=acctsessiontime&orderType={$orderTypeNextPage}\">\n\t\t\t" . $l['all']['TotalTime'] . "</a>\n\t\t\t</th>\n\t\t\t<th scope='col'> \n\t\t\t<br/>\n\t\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&orderBy=acctinputoctets&orderType={$orderTypeNextPage}\">\n\t\t\t" . $l['all']['Upload'] . " (" . $l['all']['Bytes'] . ")</a>\n\t\t\t</th>\n\t\t\t<th scope='col'> \n\t\t\t<br/>\n\t\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&orderBy=acctoutputoctets&orderType={$orderTypeNextPage}\">\n\t\t\t" . $l['all']['Download'] . " (" . $l['all']['Bytes'] . ")</a>\n\t\t\t</th>\n\t\t\t<th scope='col'> \n\t\t\t<br/>\n\t\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&orderBy=acctterminatecause&orderType={$orderTypeNextPage}\">\n\t\t\t" . $l['all']['Termination'] . "</a>\n\t\t\t</th>\n\t\t\t<th scope='col'> \n\t\t\t<br/>\n\t\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?username={$username}&orderBy=nasipaddress&orderType={$orderTypeNextPage}\">\n\t\t\t" . $l['all']['NASIPAddress'] . "</a>\n\t\t\t</th>\n\t\t\t</tr> </thread>";
while ($row = $res->fetchRow()) {
    printqn("<tr>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<td> <a class='tablenovisit' href='javascript:return;'\n\t\t\t\t\t\t\t\tonClick='javascript:ajaxGeneric(\"include/management/retHotspotInfo.php\",\"retHotspotGeneralStat\",\"divContainerHotspotInfo\",\"hotspot={$row['1']}\");\n\t\t\t\t\t\t\t\t\t\tjavascript:__displayTooltip();'\n\t\t\t\t\t\t\t\ttooltipText='\n\t\t\t\t\t\t\t\t\t\t<a class=\"toolTip\" href=\"mng-hs-edit.php?name={$row['1']}\">\n\t\t\t\t\t\t\t\t\t\t\t\t{$l['Tooltip']['HotspotEdit']}</a>\n\t\t\t\t\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t\t\t\t\t\t<a class=\"toolTip\" href=\"acct-hotspot-compare.php?\">\n\t\t\t\t\t\t\t\t\t\t\t\t{$l['all']['Compare']}</a>\n\t\t\t\t\t\t\t\t\t\t<br/><br/>\n\n\t\t\t\t\t\t\t\t\t\t<div id=\"divContainerHotspotInfo\">\n\t\t\t\t\t\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<br/>'\n\t\t\t\t\t\t\t\t>{$row['1']}</a>\n\t\t\t\t\t\t</td>\n\n\t\t\t\t\t\t<td> <a class='tablenovisit' href='javascript:return;'\n\t\t\t\t\t\t\t\tonClick='javascript:ajaxGeneric(\"include/management/retUserInfo.php\",\"retBandwidthInfo\",\"divContainerUserInfo\",\"username={$row['2']}\");\n\t\t\t\t\t\t\t\t\t\tjavascript:__displayTooltip();'\n\t\t\t\t\t\t\t\ttooltipText='\n\t\t\t\t\t\t\t\t\t\t<a class=\"toolTip\" href=\"mng-edit.php?username={$row['2']}\">\n\t\t\t\t\t\t\t\t\t\t\t{$l['Tooltip']['UserEdit']}</a>\n\t\t\t\t\t\t\t\t\t\t<br/><br/>\n\n\t\t\t\t\t\t\t\t\t\t<div id=\"divContainerUserInfo\">\n\t\t\t\t\t\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<br/>'\n\t\t\t\t\t\t\t\t>{$row['2']}</a>\n\t\t\t\t\t\t</td>\n\n\t\t\t\t\t\t<td> {$row['3']} </td>\n\t\t\t\t\t\t<td> {$row['4']} </td>\n\t\t\t\t\t\t<td> {$row['5']} </td>\n\t\t\t\t\t\t<td> " . time2str($row[6]) . " </td>\n\t\t\t\t\t\t<td> " . toxbyte($row[7]) . "</td>\n\t\t\t\t\t\t<td> " . toxbyte($row[8]) . "</td>\n\t\t\t\t\t\t<td> {$row['9']} </td>\n\t\t\t\t\t\t<td> {$row['10']} </td>\n\t\t\t\t</tr>");
}
echo "\n\t\t\t\t<tfoot>\n\t\t\t\t\t<tr>\n\t\t\t\t\t<th colspan='12' align='left'>\n\t        ";
setupLinks($pageNum, $maxPage, $orderBy, $orderType, "&username={$username}");
echo "\n\t\t\t\t</th>\n\t\t\t\t</tr>\n\t\t\t</tfoot>\n\t\t\t";
echo "</table>";
include 'library/closedb.php';
?>



<?php 
include 'include/config/logging.php';
?>

		</div>
		<div id="footer">
<?php 
include 'page-footer.php';
    setupNumbering($numrows, $rowsPerPage, $pageNum, $orderBy, $orderType, "&attribute={$attribute}");
}
echo "\t</th></tr>\n\t\t\t</thead>\n\t";
if ($orderType == "asc") {
    $orderTypeNextPage = "desc";
} else {
    if ($orderType == "desc") {
        $orderTypeNextPage = "asc";
    }
}
echo "<thread> <tr>\n\t\t<th scope='col'>\n\t\t<a title='Sort' class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?orderBy=id&orderType={$orderTypeNextPage}&attribute={$attribute}\">\n\t\t" . $l['all']['VendorID'] . "</a>\n\t\t</th>\n\n\t\t<th scope='col'>\n\t\t<a title='Sort' class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?orderBy=vendor&orderType={$orderTypeNextPage}&attribute={$attribute}\">\n\t\t" . $l['all']['VendorName'] . "</a>\n\t\t</th>\n\n\t\t<th scope='col'>\n\t\t<a title='Sort' class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?orderBy=attribute&orderType={$orderTypeNextPage}&attribute={$attribute}\">\n\t\t" . $l['all']['VendorAttribute'] . "</a>\n\t\t</th>\n\n\t\t</tr> </thread>";
while ($row = $res->fetchRow()) {
    printqn("<tr>\n                                <td> <input type='checkbox' name='vendor[]' value='{$row['1']}||{$row['2']}'> {$row['0']} </td>\n\t\t\t\t<td> <a class='tablenovisit' href='mng-rad-attributes-list.php?vendor={$row['1']}'>{$row['1']}</a></td>\n                                <td> <a class='tablenovisit' href='javascript:return;'\n                                onClick='javascript:ajaxGeneric(\"include/management/retVendorAttributeInfo.php\",\"retAttributeInfo\",\"divContainerAttributeInfo\",\"attribute={$row['2']}\");\n                                        javascript:__displayTooltip();'\n                                tooltipText='\n                                        <a class=\"toolTip\" href=\"mng-rad-attributes-edit.php?vendor={$row['1']}&attribute={$row['2']}\">\n                                                {$l['Tooltip']['AttributeEdit']}</a>\n                                        <br/><br/>\n\n                                        <div id=\"divContainerAttributeInfo\">\n                                                Loading...\n                                        </div>\n                                        <br/>'\n                                >{$row['2']}</a>\n                                </td>\n                        </tr>\n                        ");
}
echo "\n\t\t<tfoot>\n\t\t\t<tr>\n\t\t\t<th colspan='10' align='left'>\n\t";
setupLinks($pageNum, $maxPage, $orderBy, $orderType, "&attribute={$attribute}");
echo "\n\t\t\t</th>\n\t\t\t</tr>\n\t\t</tfoot>\n\t";
echo "</table></form>";
include 'library/closedb.php';
?>




<?php 
include 'include/config/logging.php';
?>

	</div>
	
	<div id="footer">
            break;
    }
    echo "<th scope='col'> {$title}   </th>";
}
//foreach $sqlfields
echo "</tr> </thread>";
// inserting the values of each field from the database to the table
while ($row = $res->fetchRow(DB_FETCHMODE_ASSOC)) {
    echo "<tr>";
    foreach ($sqlfields as $value) {
        echo "<td> " . $row[$value] . "</td>";
    }
    echo "</tr>";
}
echo "\n                                        <tfoot>\n                                                        <tr>\n                                                        <th colspan='25' align='left'>\n        ";
setupLinks($pageNum, $maxPage, $orderBy, $orderType, $getFields, $getQuery);
echo "\n                                                        </th>\n                                                        </tr>\n                                        </tfoot>\n                ";
echo "</table>";
include 'library/closedb.php';
?>



<?php 
include 'include/config/logging.php';
?>

		</div>
		
		<div id="footer">
		
    setupNumbering($numrows, $rowsPerPage, $pageNum, $orderBy, $orderType, "&vendor={$vendor}");
}
echo " </th></tr>\n                                        </thead>\n\n                        ";
if ($orderType == "asc") {
    $orderTypeNextPage = "desc";
} else {
    if ($orderType == "desc") {
        $orderTypeNextPage = "asc";
    }
}
echo "<thread> <tr>\n\t\t<th scope='col'>\n\t\t<a title='Sort' class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?orderBy=id&orderType={$orderTypeNextPage}&vendor={$vendor}\">\n\t\t" . $l['all']['VendorID'] . "</a>\n\t\t</th>\n\n\t\t<th scope='col'>\n\t\t<a title='Sort' class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?orderBy=vendor&orderType={$orderTypeNextPage}&vendor={$vendor}\">\n\t\t" . $l['all']['VendorName'] . "</a>\n\t\t</th>\n\n\t\t<th scope='col'>\n\t\t<a title='Sort' class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?orderBy=attribute&orderType={$orderTypeNextPage}&vendor={$vendor}\">\n\t\t" . $l['all']['VendorAttribute'] . "</a>\n\t\t</th>\n\n\t\t</tr> </thread>";
while ($row = $res->fetchRow()) {
    printqn("<tr>\n                                <td> <input type='checkbox' name='vendor[]' value='{$row['1']}||{$row['2']}'> {$row['0']} </td>\n\n\t\t\t\t<td>{$row['1']}</td>\n\n\t\t                <td> <a class='tablenovisit' href='javascript:return;'\n                                onClick='javascript:ajaxGeneric(\"include/management/retVendorAttributeInfo.php\",\"retAttributeInfo\",\"divContainerAttributeInfo\",\"attribute={$row['2']}\");\n                                        javascript:__displayTooltip();'\n                                tooltipText='\n                                        <a class=\"toolTip\" href=\"mng-rad-attributes-edit.php?vendor={$row['1']}&attribute={$row['2']}\">\n                                                {$l['Tooltip']['AttributeEdit']}</a>\n                                        <br/><br/>\n\n                                        <div id=\"divContainerAttributeInfo\">\n                                                Loading...\n                                        </div>\n                                        <br/>'\n                                >{$row['2']}</a>\n        \t                </td>\n\t\t\t</tr>\n\t\t\t");
}
echo "\n                                        <tfoot>\n                                                        <tr>\n                                                        <th colspan='10' align='left'>\n        ";
setupLinks($pageNum, $maxPage, $orderBy, $orderType, "&vendor={$vendor}");
echo "\n                                                        </th>\n                                                        </tr>\n                                        </tfoot>\n                ";
echo "</table>";
echo "</form>";
include 'library/closedb.php';
?>




<?php 
include 'include/config/logging.php';
?>
			
	</div>
	
Ejemplo n.º 7
0
    setupNumbering($numrows, $rowsPerPage, $pageNum, $orderBy, $orderType, "&hotspot={$hotspot}");
}
echo " </th></tr>\n                                        </thead>\n\n                        ";
if ($orderType == "asc") {
    $orderTypeNextPage = "desc";
} else {
    if ($orderType == "desc") {
        $orderTypeNextPage = "asc";
    }
}
echo "<thread> <tr>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?hotspot={$hotspot}&orderBy=radacctid&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['ID'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?hotspot={$hotspot}&orderBy=hotspot&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['HotSpot'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?hotspot={$hotspot}&orderBy=username&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['Username'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?hotspot={$hotspot}&orderBy=framedipaddress&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['IPAddress'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?hotspot={$hotspot}&orderBy=acctstarttime&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['StartTime'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?hotspot={$hotspot}&orderBy=acctstoptime&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['StopTime'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?hotspot={$hotspot}&orderBy=acctsessiontime&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['TotalTime'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?hotspot={$hotspot}&orderBy=acctinputoctets&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['Upload'] . " (" . $l['all']['Bytes'] . ")</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?hotspot={$hotspot}&orderBy=acctoutputoctets&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['Download'] . " (" . $l['all']['Bytes'] . ")</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?hotspot={$hotspot}&orderBy=acctterminatecause&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['Termination'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?hotspot={$hotspot}&orderBy=nasipaddress&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['NASIPAddress'] . "</a>\n\t\t</th>\n\t\t</tr> </thread>";
while ($row = $res->fetchRow()) {
    printqn("<tr>\n                        <td> {$row['0']} </td>\n                        <td> {$row['1']} </td>\n\n                        <td> <a class='tablenovisit' href='javascript:return;'\n                                onClick='javascript:ajaxGeneric(\"include/management/retUserInfo.php\",\"retBandwidthInfo\",\"divContainerUserInfo\",\"username={$row['2']}\");\n                                        javascript:__displayTooltip();'\n                                tooltipText='\n                                        <a class=\"toolTip\" href=\"mng-edit.php?username={$row['2']}\">\n                                                {$l['Tooltip']['UserEdit']}</a>\n                                        <br/><br/>\n\n                                        <div id=\"divContainerUserInfo\">\n                                                Loading...\n                                        </div>\n                                        <br/>'\n                                >{$row['2']}</a>\n                        </td>\n\n                        <td> {$row['3']} </td>\n                        <td> {$row['4']} </td>\n                        <td> {$row['5']} </td>\n                        <td> " . time2str($row[6]) . " </td>\n                        <td> " . toxbyte($row[7]) . "</td>\n                        <td> " . toxbyte($row[8]) . "</td>\n                        <td> {$row['9']} </td>\n                        <td> {$row['10']} </td>\n                </tr>");
}
echo "\n                                        <tfoot>\n                                                        <tr>\n                                                        <th colspan='12' align='left'>\n        ";
setupLinks($pageNum, $maxPage, $orderBy, $orderType, "&hotspot={$hotspot}");
echo "\n                                                        </th>\n                                                        </tr>\n                                        </tfoot>\n                ";
echo "</table>";
include 'library/closedb.php';
?>




<?php 
include 'include/config/logging.php';
?>

		</div>
		
		<div id="footer">
Ejemplo n.º 8
0
    setupNumbering($numrows, $rowsPerPage, $pageNum, $orderBy, $orderType, "&ipaddress={$ipaddress}");
}
echo " </th></tr>\n                                        </thead>\n\n                        ";
if ($orderType == "asc") {
    $orderTypeNextPage = "desc";
} else {
    if ($orderType == "desc") {
        $orderTypeNextPage = "asc";
    }
}
echo "<thread> <tr>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?ipaddress={$ipaddress}&orderBy=radacctid&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['ID'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?ipaddress={$ipaddress}&orderBy=hotspot&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['HotSpot'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?ipaddress={$ipaddress}&orderBy=username&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['Username'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?ipaddress={$ipaddress}&orderBy=framedipaddress&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['IPAddress'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?ipaddress={$ipaddress}&orderBy=acctstarttime&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['StartTime'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?ipaddress={$ipaddress}&orderBy=acctstoptime&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['StopTime'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?ipaddress={$ipaddress}&orderBy=acctsessiontime&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['TotalTime'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?ipaddress={$ipaddress}&orderBy=acctinputoctets&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['Upload'] . " (" . $l['all']['Bytes'] . ")</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?ipaddress={$ipaddress}&orderBy=acctoutputoctets&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['Download'] . " (" . $l['all']['Bytes'] . ")</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?ipaddress={$ipaddress}&orderBy=acctterminatecause&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['Termination'] . "</a>\n\t\t</th>\n\t\t<th scope='col'> \n\t\t<br/>\n\t\t<a class='novisit' href=\"" . $_SERVER['PHP_SELF'] . "?ipaddress={$ipaddress}&orderBy=nasipaddress&orderType={$orderTypeNextPage}\">\n\t\t" . $l['all']['NASIPAddress'] . "</a>\n\t\t</th>\n                </tr> </thread>";
while ($row = $res->fetchRow()) {
    printqn("<tr>\n                        <td> {$row['0']} </td>\n\n                        <td> <a class='tablenovisit' href='javascript:return;'\n                                onClick='javascript:ajaxGeneric(\"include/management/retHotspotInfo.php\",\"retHotspotGeneralStat\",\"divContainerHotspotInfo\",\"hotspot={$row['1']}\");\n                                        javascript:__displayTooltip();'\n                                tooltipText='\n                                        <a class=\"toolTip\" href=\"mng-hs-edit.php?name={$row['1']}\">\n                                                {$l['Tooltip']['HotspotEdit']}</a>\n                                        &nbsp;\n                                        <a class=\"toolTip\" href=\"acct-hotspot-compare.php?\">\n                                                {$l['all']['Compare']}</a>\n                                        <br/><br/>\n\n                                        <div id=\"divContainerHotspotInfo\">\n                                                Loading...\n                                        </div>\n                                        <br/>'\n                                >{$row['1']}</a>\n                        </td>\n\n                        <td> <a class='tablenovisit' href='javascript:return;'\n                                onClick='javascript:ajaxGeneric(\"include/management/retUserInfo.php\",\"retBandwidthInfo\",\"divContainerUserInfo\",\"username={$row['2']}\");\n                                        javascript:__displayTooltip();'\n                                tooltipText='\n                                        <a class=\"toolTip\" href=\"mng-edit.php?username={$row['2']}\">\n\t                                        {$l['Tooltip']['UserEdit']}</a>\n                                        <br/><br/>\n\n                                        <div id=\"divContainerUserInfo\">\n                                                Loading...\n                                        </div>\n                                        <br/>'\n                                >{$row['2']}</a>\n                        </td>\n                        <td> {$row['3']} </td>\n                        <td> {$row['4']} </td>\n                        <td> {$row['5']} </td>\n                        <td> " . time2str($row[6]) . " </td>\n                        <td> " . toxbyte($row[7]) . "</td>\n                        <td> " . toxbyte($row[8]) . "</td>\n                        <td> {$row['9']} </td>\n                        <td> {$row['10']} </td>\n                </tr>");
}
echo "\n                                        <tfoot>\n                                                        <tr>\n                                                        <th colspan='12' align='left'>\n        ";
setupLinks($pageNum, $maxPage, $orderBy, $orderType, "&ipaddress={$ipaddress}");
echo "\n                                                        </th>\n                                                        </tr>\n                                        </tfoot>\n                ";
echo "</table>";
include 'library/closedb.php';
?>


<?php 
include 'include/config/logging.php';
?>

		</div>
		
		<div id="footer">
		
								<?php 
Ejemplo n.º 9
0
    if ($array_reply[$i] == "Access-Reject") {
        $reply = "<font color='red'> Rechazado </font>";
    } else {
        $reply = "Aceptado";
    }
    echo "<tr>\r\n                        <td> {$array_users[$i]} </td>\r\n\t\t\t\t\t";
    if ($configValues['CONFIG_IFACE_PASSWORD_HIDDEN'] == "yes") {
        echo "<td>*********</td>";
    } else {
        echo "<td>{$array_pass[$i]}</td>";
    }
    echo "\r\n                        <td> {$array_starttime[$i]} </td>\r\n                        <td> {$reply} </td>\r\n                </tr>";
    $i++;
}
echo "\r\n                                        <tfoot>\r\n                                                        <tr>\r\n                                                        <th colspan='5' align='left'>\r\n        ";
setupLinks($pageNum, $maxPage, $orderBy, $orderType, "&usernameLastConnect={$usernameLastConnect}");
echo "\r\n                                                        </th>\r\n                                                        </tr>\r\n                                        </tfoot>\r\n                ";
echo "</table>";
include 'library/closedb.php';
?>


<?php 
include 'include/config/logging.php';
?>

		</div>
		
		<div id="footer">
		
								<?php