Show Your Support
makenavselect("Options","<hr>"); // *************************************************
makenavoption("Uptime","uptime.php?s="); makenavselect("Database"); // ***
<html> <head> <link rel="stylesheet" href="../cp.css"> </head> </html> <?PHP $result = mysql_query("show status"); while ($row = mysql_fetch_array($result)){ if ($row['Variable_name'] == "Uptime") { $uptime = $row['Value']; } } $days = ((($uptime/60)/60)/24); $wholeday = (int) $days; $hours = (($days - $wholeday)*24); $wholehour = (int) $hours; $minutes = (($hours - $wholehour)*60); $wholeminute = (int) $minutes; echo "<center><font size=1>"; echo "System Uptime: "; echo $wholeday . " Days "; echo $wholehour . " Hours "; echo $wholeminute . " Minutes <br>"; echo "</font></center>"; ?>
<html> <head> <link rel="stylesheet" href="../cp.css"> </head> </html> <?PHP $result = mysql_query("show status"); while ($row = mysql_fetch_array($result)){ if ($row['Variable_name'] == "Uptime") { $uptime = $row['Value']; } } $days = ((($uptime/60)/60)/24); $wholeday = (int) $days; $hours = (($days - $wholeday)*24); $wholehour = (int) $hours; $minutes = (($hours - $wholehour)*60); $wholeminute = (int) $minutes; echo "<center><font color="#FFFFFF"><font size=1>"; echo "System Uptime: "; echo $wholeday . " Days "; echo $wholehour . " Hours "; echo $wholeminute . " Minutes <br>"; echo "</font></font></center>"; ?>