喜悦国际村 
» 游客:  注册 | 登录 | 搜索 | 统计 | 帮助

RSS 订阅当前论坛  

喜悦证交所已经关闭

上一主题 下一主题
     
标题: [原创] smarttemplate 做模板的 blog 程序  
 
fengye2751
注册会员
Rank: 2


UID 72691
精华 0
积分 91
帖子 141
金钱 91 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2006-5-2
来自 上海
状态 离线
[广告]: q m
smarttemplate 做模板的 blog 程序

有见过用PHPLib 或者 smarttemplate 做模板的 blog 程序吗?

我想参考一下它是怎么生成月历的——在控制部分不输出任何HTML,只在模板文件里面实现



看了这个帖子,想说一下

我最近写了个bolg 是用的 php+mysql+adodb+smarttemplate

大家可以看看

给点意见

我把我生成日历的代码发出来
index.html:
<table width="210" height="100" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="23"  background="../{styles_url}/article/1Up.gif"> 日历</td>
        </tr>
        <tr>
          <td background="../{styles_url}/article/1Bg.gif">
<div align="center">{calendar} </div></td>
        </tr>
      </table>
index.php:

//日历calendar;
@$CD=&new ZHCalendarClass;
@$CD->Create();
$calendar=$CD->re;



调用了别人写的日历类


演示地址:http://we-blog.vicp.net
2008-4-16 10:08 AM#1
查看资料  访问主页  Blog  发短消息  QQ  ICQ 状态  Yahoo!  顶部
     


  可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题 | 开通个人空间  


 




Powered by Discuz! 6.1.0  © 2001-2010 Comsenz Inc.
Processed in 0.023426 second(s), 6 queries

(冀ICP备05009913号) 管理员:sadly 邮箱/MSN: sadly@phpx.com QQ:824008(长隐) 清除 Cookies - - Archiver - WAP