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 | <?php include("config.php"); require_once(__ROOT__ . '/lib/tag-cloud/src/lotsofcode/TagCloud/TagCloud.php'); includeHeader("title"); ?> <div class="jumbotron"> <div class="container"> <div style="float:left; margin: 5%; display:block"> <img src="img/icon_2567.png" width="100" height="100"/> </div> <h1>Hello, world!</h1> <p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p> <p><a class="btn btn-primary btn-lg" role="button" href="table.php">Learn more »</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(); ?> |