Altered the dashboard.php file

It now includes reference to the extra clicky plugin I have written for basic stats on the dashboard. Will expand at a later date to include a more detailed block. Might possible write an additional plugin to call this information since the original sitestats plugin is still referenced in the unedited code. I moved around some of the divs as well to better suit the new addition of the new block:

    <div class="uk-width-1-3">

        <?php if (pluginEnabled('pluginClickyStats')) {
            $ClickyStats = getPlugin('pluginClickyStats');
            echo '<div class="uk-panel">';
            echo $ClickyStats->dashboard();
            echo '</div>';


    <div class="uk-width-1-3">

                <div class="uk-panel">
        <h4 class="panel-title"><?php $L->p('Statistics') ?></h4>
        <table class="uk-table statistics">
            <td><?php $Language->p('Published') ?></td>
            <td><?php echo count($dbPages->getPublishedDB(false)) ?></td>
            <td><?php $Language->p('Static') ?></td>
            <td><?php echo count($dbPages->getStaticDB(false)) ?></td>
            <td><?php $Language->p('Users') ?></td>
            <td><?php echo $dbUsers->count() ?></td>

Img helper

Added an extra helper function to theme.class.php to enable me to more easily include images in my themes:

    public static function img($location)

    $img = DOMAIN_THEME.$location;
            return $img;