<?php
include_once('mysqlUtils.php');
include_once('../includes.php');
$soldCount['cnt'] = 116657;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Counter</title>
<style>
body,html {margin:0px;background-color:#0b0d0e}
</style>
</head>
<script src="odometer.js" type="text/javascript"></script>
<body>
<center>
<table cellspacing="0" cellpadding="0">
<tr>
<td><img src="dollar.jpg"></td>
<td><div style="display:inline" id="odometerDiv" style="width:100%;"></div></td>
</tr>
</table>
<script type="text/javascript">
var n = <?= $soldCount['cnt'] ?>;
var myOdometer;
var div = document.getElementById("odometerDiv");
myOdometer = new Odometer(div, {value: n, digits: <?= strlen($soldCount['cnt']) ?>, tenths: false, bustedness:1});
//myOdometer.set(00);
</script>
</center>
</body>
</html>