<div class="title">
    Content
</div>
<ul>
<?php foreach ($count as $k => $v) : ?>
    <li>
        <span><?php echo htmlspecialchars(ucfirst($k)); ?> :</span> <?php echo htmlspecialchars($v); ?>
    </li>
<?php endforeach; ?>
</ul>

<div class="title">
    Traffic
</div>
<ul>
<?php foreach ($views as $k => $v) : ?>
    <li>
        <span><?php echo htmlspecialchars(ucfirst($k)); ?> :</span> <?php echo htmlspecialchars($v); ?> views
    </li>
<?php endforeach; ?>
</ul>

<div class="title">
    Search keywords
</div>
<ul>
<?php foreach ($search as $s) : ?>
    <li>
        <span><?php echo htmlspecialchars($s['word']); ?> :</span> <?php echo htmlspecialchars($s['total']); ?>
    </li>
<?php endforeach; ?>
</ul>