root/trunk/index.php

Revision 776, 2.0 kB (checked in by michiel, 6 months ago)

update copyright year.

Closes #180

  • Property svn:keywords set to Id
Line 
1<?php
2/*
3 * MvBlog -- An open source no-nonsense blogtool
4 *
5 * Copyright (C) 2005-2008, Michiel van Baak
6 * Logo design (C) 2005-2008, 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();
23if (file_exists("index-alt.php")) {
24    require("index-alt.php");
25} else {
26    ?>
27    <div id="if_container">
28        <div id="if_title"></div>
29        <div id="if_bar1"></div>
30        <div id="if_page_header">
31            <h1 class="page_title"><a href="index.php" class="page_header"><?php echo $mvblog->blog_get_title(); ?></a></h1>
32        </div>
33        <div id="if_page">
34            <table><tr>
35                <td valign="top" width="90%" id="if_content_container">
36                    <p class="first"><?php echo $mvblog->blog_get_description(); ?></p>
37                    <?php $mvblog->blog_content(0,0); ?>
38                </td>
39
40                <td valign="top" id="if_sidebar_container">
41                    <ul>
42                        <li>
43                            <h2>Users</h2>
44                            <?php $mvblog->blog_show_login(); ?>
45                        </li>
46                        <li>
47                            <h2>Site</h2>
48                            <?php $mvblog->blog_default_links(); ?>
49                        </li>
50                        <li>
51                            <h2>Style</h2>
52                            <?php $mvblog->blog_show_styleswitcher(); ?>
53                        </li>
54                        <li>
55                            <h2>Monthly Archive</h2>
56                            <?php $mvblog->blog_archive_links(); ?>
57                        </li>
58                        <li>
59                            <h2>Category Archive</h2>
60                            <?php $mvblog->blog_cats_links(); ?>
61                        </li>
62                        <li>
63                            <h2>Dossiers</h2>
64                            <?php $mvblog->blog_show_dossierlinks(); ?>
65                        </li>
66                        <li>
67                            <h2>Search</h2>
68                            <?php $mvblog->blog_show_search(); ?>
69                        </li>
70                        <li>
71                            <h2>Links etc.</h2>
72                            <?php $mvblog->blog_show_menulinks(); ?>
73                        </li>
74                    </ul>
75                </td>
76
77            </tr></table>
78    <?php
79    $mvblog->html_footer();
80}
81?>
82</body>
83</html>
Note: See TracBrowser for help on using the browser.