1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | <?php include('./lib/common.inc.php'); include_header("Map"); ?> <div class="msg_list"> <p class="msg_head">Header-1 </p> <div class="msg_body"> orem ipsum dolor sit amet, consectetuer adipiscing elit orem ipsum dolor sit amet, consectetuer adipiscing elit </div> <p class="msg_head">Header-2</p> <div class="msg_body"> orem ipsum dolor sit amet, consectetuer adipiscing elit orem ipsum dolor sit amet, consectetuer adipiscing elit </div> <p class="msg_head">Header-3</p> <div class="msg_body"> orem ipsum dolor sit amet, consectetuer adipiscing elit orem ipsum dolor sit amet, consectetuer adipiscing elit </div> </div> sourced from austender Government Agency Information (2009-07-10): National Archives of Australia, http://www.naa.gov.au under Creative Commons - Attribution 2.5 Australia (CC-BY) jpgraph for php ABR Redhat Liberation fonts <?php include_once("./lib/common.inc.php"); $query = "SELECT DATE(importDate) as importday, count(*) as count, min(publishDate) as start, max(publishDate) as end FROM `contractnotice` WHERE childCN = 0 AND parentCN = 0 AND DATE(importDate) in (select * from (SELECT DATE(importDate) FROM `contractnotice` ORDER BY `importDate` DESC limit 1) alias)"; $result = mysql_query($query); echo "<div>"; $stats = mysql_fetch_array($result, MYSQL_BOTH); echo $stats["count"] . " new records in period " . $stats["start"] . " to " . $stats["end"] ."<br>"; $query = "SELECT DATE(importDate) as importday, count(*) as count, min(publishDate) as start, max(publishDate) as end FROM `contractnotice` WHERE (childCN != 0 OR parentCN != 0) AND DATE(importDate) in (select * from (SELECT DATE(importDate) FROM `contractnotice` ORDER BY `importDate` DESC limit 1) alias)"; $result = mysql_query($query); echo "<div>"; $stats = mysql_fetch_array($result, MYSQL_BOTH); echo $stats["count"] . " updated records in period " . $stats["start"] . " to " . $stats["end"] ."<br>"; echo "Last updated: ". $stats["importday"]."<br>"; /* Check for null Procurement method and 0 ABN when not ABN exempt */ include_footer(); ?> |