Jack.Zou
wstczyl
全部博文(24)
RedHat9.0(0)
2009年(3)
2008年(21)
yiranhen
分类:
2008-07-20 15:16:58
Tyler Anderson, 自由作者, Stexar Corp.
2006 年 4 月 20 日
需要创建的文件如下:
代码: index.php
<?phpinclude('includes/functions.php');define('DIRECTORY_LISTING', "blogs");$title="Welcome to ".BLOG_NAME;include('header-sidebar.php');if($_GET['blog'] != ''){ printBlog($_GET['blog']);}else{ print("Welcome to ".BLOG_NAME."!Take a look at my latest postings on the left.");}include('footer.php');?>
Welcome to "
header-sidebar.php
<?phpprint(''.$title.'');displayTopBar();print(''.$title.'');print(' My Web Logs ');listBlogs();print(' ');// add new side panel items here, using the above "My Web Logs"// item as a template.print('');?> footer.php </td></tr><tr><td align="center" colspan="2"><font size="2px"><br><center>Copyright 2005, <?php print(BLOG_NAME) ?></center></font></td></tr></table></body></html> 阅读(693) | 评论(1) | 转发(0) | 0 上一篇:如何测试连接MYSQL成功与否 下一篇:php blog (2) 给主人留下些什么吧!~~ wstczyl2009-07-12 23:09:56 blogs edit includes 目录 回复 | 举报 评论热议 请登录后评论。 登录 注册
footer.php
</td></tr><tr><td align="center" colspan="2"><font size="2px"><br><center>Copyright 2005, <?php print(BLOG_NAME) ?></center></font></td></tr></table></body></html>
上一篇:如何测试连接MYSQL成功与否
下一篇:php blog (2)
wstczyl2009-07-12 23:09:56
blogs edit includes 目录
登录 注册