include './resources/init.php'; $tmpl->place('header'); ?> <script type="text/javascript" src="./js/admin-branch.js"></script> <?php $tmpl->place('menu'); ?> <div id="content" class="span-24 last"> <?php $tmpl->place('menuReport'); ?> <h2>User Report</h2><h3>Aging</h3> <?php $branch = "HQKL"; $items = Inv_stock::findByBranch($branch); ?> <table> <thead> <tr> <th></th> <?php for ($i = 1; $i <= 12; $i++) { $stringmonth = date("F", mktime(0, 0, 0, $i)); echo "<th>" . $stringmonth . "</th>"; } ?> </tr> </thead> <tbody> <?php