|
想单独调用某一个帖子的回帖信息,源码已经找到,但是一直无法调用出来,不知道怎么配置,求助告知下需要再添加什么内容才可以调用
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>测试</title>
- <link type="text/css" href="gundong/css/style.css" rel="stylesheet" />
- <script src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="gundong/js/scroll.js"></script>
- <script type="text/javascript">
- jQuery.noConflict(); var jq=jQuery;
- jq(document).ready(function(){
- jq('.list_lh li:even').addClass('lieven');
- })
- jq(function(){
- jq("div.list_lh").myScroll({
- speed:40, //数值越大,速度越慢
- rowHeight:34 //li的高度
- });
- });
- </script>
- </head>
- <body>
- <div class="box">
- <div class="bcon">
- <h1><b>最新回复</b></h1>
- <!-- 代码开始 -->
- <div class="list_lh">
- <ul>
- <!--{eval $lapost = DB::fetch_all("SELECT * FROM ".DB::table('forum_post')." WHERE `first`= 0 ORDER BY `pid` DESC LIMIT 0, 6");}-->
- {loop $lapost $thelapost}
- <li><a href="forum.php?mod=redirect&goto=findpost&ptid=$thelapost[tid]&pid=$thelapost[pid]&fromuid=$thelapost[authorid]" target="_black" title="$thelapost[subject]"><img src="/uc_server/avatar.php?uid=$thelapost[authorid]&size=small" class="avatar avatar-50" height="50" width="50"/><strong>$thelapost[author]</strong> 于{echo date('m月d日 H:i:s', $thelapost['dateline']);} 在回帖中说道:<br />$thelapost[message]</a></li>
- {/loop}
- </ul>
- </div>
- <!-- 代码结束 -->
- </div>
-
-
- </div>
- </body>
- </html>
复制代码
|
|