Location: PHPKode > projects > OpenCabling > opencabling/bottom.php
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<link rel="stylesheet" href="css/opencabling.css" type="text/css"></link>
</html>

<body>
<?php
include "opendb.php";

include "upgrade_version.php";

$sql="select count(*) as howmanyobj from objects";
$query=mysql_query($sql,$mysql_conn);
$result=mysql_fetch_assoc($query);

echo "<p class=smalltext><b>OpenCabling 0.16</b></p>";
echo "<p></p>";
echo "<table border=0 class='smalltext'><tr><td align=right><b>Objects: </b></td><td>".$result['howmanyobj']."</td></tr>";

$sql="select count(*) as howmanyconn from connections";
$query=mysql_query($sql,$mysql_conn);
$result=mysql_fetch_assoc($query);

echo "<tr><td><b>Connections: </b></td><td>".$result['howmanyconn']."</td></tr></table>";

?>
</body>
</html>
Return current item: OpenCabling