<?php
	if (isset($content['colour']))
	{
		if (strtoupper($content['colour']) == "#FFFFFF")
		{
			$content['colour'] = '#E0E0E0';
			//$iconcolour = "#000000";
		}
		
		
		
	} 
	
	$lwidth = 4;
	if (isset($content['style']))
	{
		if ($content['style'] == 'map') $lwidth = 2;
	}?>
			<div class="col-md-<?php echo $lwidth;?> col-sm-6 col-xs-12 dashboard-<?php echo $content['style']; if (isset($content['class'])) echo $content['class'];?>">
				<div class="info-box">
					<?php if (isset($content['link'])) { ?><a href="<?php echo $content['link']; ?>"<?php
					print_r($content);
					if (isset($content['click'])) echo ' onclick="'.$content['click'].'return false;"';
					?>><?php };?><span class="info-box-icon<?php if (!isset($content['colour'])) echo' bg-aqua';?> dashboard-<?php echo $content['style'];?>"<?php if (isset($content['colour'])) echo ' style="background-color: '.$content['colour'].'"';?>>
						<i class="<?php echo $content['symbol'];?>"<?php if (isset($iconcolour)) echo ' style="color: '.$iconcolour.'";';?>>
						</i>
					</span>
					<div class="info-box-content">
						<div class="info-box-text"><?php echo $content['title'];?></div>
						<div class="info-box-number"><?php echo $content['value']; ?></div>
					</div>
					<?php if (isset($content[''])) echo $content['']; ?><?php if (isset($content['link'])) { ?></a><?php };?>
				</div>                
            </div>
