foreach($aMonth as $iMonth){
                echo '<option ' . ($iMonth == $iSelectedMonth ? 'selected="selected" ' : '') . 'value="' . $iMonth . '">' . date('F', mktime(0, 0, 0, $iMonth, 1, date('Y'))) . '</option>'; 
            }
            ?>
            </select>
            <input type="submit" id="submit" value="Submit">
            <a href="./">Log out</a>
        </form>
        
        <h2>Visitors:</h2>
        <?php graph($oAnalytics->getVisitors()); ?>
        
        <h2>Pageviews:</h2>
        <?php graph($oAnalytics->getPageviews()); ?>
        
        <h2>Visits per Hour:</h2>
        <?php graph($oAnalytics->getVisitsPerHour()); ?>
        
        <h2>Browsers:</h2>
        <?php graph($oAnalytics->getBrowsers()); ?>
        
        <h2>Referrers:</h2>
        <?php graph($oAnalytics->getReferrers()); ?>
        
        <h2>Search words:</h2>
        <?php graph($oAnalytics->getSearchWords()); ?>
        
        <h2>Screen resolution:</h2>
        <?php graph($oAnalytics->getScreenResolution()); ?>
    </body>
</html>