sqlite import
[dcaas.git] / index.php
blob:a/index.php -> blob:b/index.php
<?php <?php
include ("config.php"); include("config.php");
require_once(__ROOT__.'/lib/tag-cloud/src/lotsofcode/TagCloud/TagCloud.php'); require_once(__ROOT__ . '/lib/tag-cloud/src/lotsofcode/TagCloud/TagCloud.php');
   
includeHeader("title"); includeHeader("Data Centre as a Service (DCaaS)");
$cloud = new lotsofcode\TagCloud\TagCloud();  
$cloud->addTag("tag-cloud");  
$cloud->addTag("programming");  
echo $cloud->render();  
includeFooter();  
?> ?>
  <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 &raquo;</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();
  ?>