--- a/index.php +++ b/index.php @@ -1,12 +1,45 @@ <?php -include ("config.php"); -require_once(__ROOT__.'/lib/tag-cloud/src/lotsofcode/TagCloud/TagCloud.php'); +include("config.php"); +require_once(__ROOT__ . '/lib/tag-cloud/src/lotsofcode/TagCloud/TagCloud.php'); -includeHeader("title"); -$cloud = new lotsofcode\TagCloud\TagCloud(); -$cloud->addTag("tag-cloud"); -$cloud->addTag("programming"); -echo $cloud->render(); -includeFooter(); +includeHeader("Data Centre as a Service (DCaaS)"); ?> +<div class="jumbotron"> + <div class="container"> + <div style="float:left; + margin-top: 10%; +display: block; +margin-bottom: 12%; +margin-right: 5%;"> + <img src="img/icon_2567.png" width="100" height="100"/> + </div> + <h1>Data Centre as a Service (DCaaS)!</h1> + <p>The <a + href="http://www.finance.gov.au/policy-guides-procurement/data-centres/data-centre-as-a-service-dcaas-multi-use-list-mul-fact-sheet/">Data + Centre as a Service (DCaaS) Multi Use List (MUL)</a> provides Australian Government Agencies with a simple way to procure + Cloud and Cloud-Like services. Contracts through the DCaaS MUL are limited to $80,000 (inc GST) and terms up + to 12 months.<br/> + The DCaaS MUL is available to Commonwealth FMA Act agencies as well as other Commonwealth, State and + Territory Government bodies. + </p> + + <p><a class="btn btn-primary btn-lg" role="button" href="table.php">Browse Available Services »</a></p> + + </div> +</div> + +<div class="container"> + <?php + $cloud = new lotsofcode\TagCloud\TagCloud(); + foreach ($db->query("Select service_name from dcaas_services;") as $row) { + foreach (explode(" ", $row[0]) as $word) { + $cloud->addTag($word); + } + } + $cloud->setMinLength(4); + echo $cloud->render(); + echo "</div>"; + includeFooter(); + ?> +