root/tags/MvBlog-2.1/index.php

Revision 414, 1.9 KB (checked in by fboender, 22 months ago)

INI Configuration file parser.

  • Property svn:keywords set to Id
Line 
1<?php
2/*
3 * MvBlog -- An open source no-nonsense blogtool
4 *
5 * Copyright (C) 2005-2006, Michiel van Baak
6 * Logo design (C) 2005-2006, Sofie van Tendeloo
7 *
8 * Michiel van Baak <mvanbaak@users.sourceforge.net>
9 * Sofie van Tendeloo <eldridge@users.sourceforge.net>
10 *
11 * See http://dev.mvblog.org for more information on MvBlog.
12 * That page also provides Bugtrackers, Filereleases etc.
13 *
14 * This program is free software, distributed under the terms of
15 * the GNU General Public License Version 2. See the LICENSE file
16 * at the top of the source tree.
17 */
18
19require_once("common/mvblog.php");
20
21$mvblog = new MvBlog();
22$mvblog->html_header();
23    ?>
24    <div id="if_container">
25        <div id="if_title"></div>
26        <div id="if_bar1"></div>
27        <div id="if_page_header">
28            <h1 class="page_title"><a href="index.php" class="page_header"><?php echo $mvblog->blog_get_title(); ?></a></h1>
29        </div>
30        <div id="if_page">
31            <table><tr>
32                <td valign="top" width="90%" id="if_content_container">
33                    <p class="first"><?php echo $mvblog->blog_get_description(); ?></p>
34                    <?php $mvblog->blog_content(0,0); ?>
35                </td>
36
37                <td valign="top" id="if_sidebar_container">
38                    <ul>
39                        <li>
40                            <h2>Users</h2>
41                            <?php $mvblog->blog_show_login(); ?>
42                        </li>
43                        <li>
44                            <h2>Site</h2>
45                            <?php $mvblog->blog_default_links(); ?>
46                        </li>
47                        <li>
48                            <h2>Style</h2>
49                            <?php $mvblog->blog_show_styleswitcher(); ?>
50                        </li>
51                        <li>
52                            <h2>Monthly Archive</h2>
53                            <?php $mvblog->blog_archive_links(); ?>
54                        </li>
55                        <li>
56                            <h2>Category Archive</h2>
57                            <?php $mvblog->blog_cats_links(); ?>
58                        </li>
59                        <li>
60                            <h2>Search</h2>
61                            <?php $mvblog->blog_show_search(); ?>
62                        </li>
63                        <li>
64                            <h2>Links etc.</h2>
65                            <?php $mvblog->blog_show_menulinks(); ?>
66                        </li>
67                    </ul>
68                </td>
69
70            </tr></table>
71<?php $mvblog->html_footer(); ?>
Note: See TracBrowser for help on using the browser.