|
Revision 46, 1.6 KB
(checked in by michiel, 3 years ago)
|
|
implemented new menu function to show default menu items.
It now also shows a link to the admin interface when
user is logged in.
|
| Line | |
|---|
| 1 | <? |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | require("common/functions_blog.php"); |
|---|
| 20 | |
|---|
| 21 | html_header(); |
|---|
| 22 | ?> |
|---|
| 23 | <div id="if_container"> |
|---|
| 24 | <div id="if_title"></div> |
|---|
| 25 | <div id="if_bar1"></div> |
|---|
| 26 | <div id="if_page_header"> |
|---|
| 27 | <h1 class="page_title"><a href="index.php" class="page_header"><?=blog_get_title()?></a></h1> |
|---|
| 28 | </div> |
|---|
| 29 | <div id="if_page"> |
|---|
| 30 | <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr> |
|---|
| 31 | <td valign="top" width="90%" id="if_content_container"> |
|---|
| 32 | <p class="first"><?=blog_get_description()?></p> |
|---|
| 33 | <? blog_content(0,0); ?> |
|---|
| 34 | </td> |
|---|
| 35 | <td valign="top" id="if_sidebar_container"> |
|---|
| 36 | <ul> |
|---|
| 37 | <li> |
|---|
| 38 | <h2>Site</h2> |
|---|
| 39 | <? blog_default_links(); ?> |
|---|
| 40 | </li> |
|---|
| 41 | <li> |
|---|
| 42 | <h2>Monthly Archive</h2> |
|---|
| 43 | <? blog_archive_links(); ?> |
|---|
| 44 | </li> |
|---|
| 45 | <li> |
|---|
| 46 | <h2>Category Archive</h2> |
|---|
| 47 | <? blog_cats_links(); ?> |
|---|
| 48 | </li> |
|---|
| 49 | <li> |
|---|
| 50 | <h2>Search</h2> |
|---|
| 51 | <? blog_show_search(); ?> |
|---|
| 52 | </li> |
|---|
| 53 | <li> |
|---|
| 54 | <h2>Links etc.</h2> |
|---|
| 55 | <? blog_show_menulinks(); ?> |
|---|
| 56 | </li> |
|---|
| 57 | </ul> |
|---|
| 58 | </td> |
|---|
| 59 | </tr></table> |
|---|
| 60 | <? html_footer(); ?> |
|---|