帖子内容发布后,没有修改 编辑和 推荐以及生成文章的 按钮,都不能自己修改就行和编辑。
请问怎么修改
<style>img {border: 0;vertical-align: middle;width: inherit;height: inherit;}</style>
<div id="wrapper" class="wpn mtv mbv cl">
<div class="main works-main">
<div class="works-top cl pos">
<div class="left">
<h1 id="p-title"><strong>$_G[forum_thread][subject]</strong></h1>
<div class="det cl">
<span class="tag">$_G['forum'][name]</span>
<!--{if $_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}-->
<span class="txt-gray1">分类:</span>
<!--{if !IS_ROBOT && ($_G['forum']['threadtypes']['listable'] || $_G['forum']['status'] == 3)}-->
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$_G[forum_thread][typeid]" target="_blank" class="txt-primary z" >{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}</a>
<!--{else}-->
{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}
<!--{/if}-->
<!--{/if}-->
<span class="txt-gray1">版权:</span>
<div class="copyright pos">
<i class="i-con-copyright2"></i>
<span class="text">保留作者信息</span>
</div>
<div class="copyright pos">
<i class="i-con-copyright3"></i>
<span class="text">禁止商业使用</span>
</div>
<div class="copyright pos">
<i class="i-con-copyright4"></i>
<span class="text">禁止修改作品</span>
</div>
</div>
<div class="det cl">
<div class="msg z cl">
<span><i class="i-con-eye" title="浏览数"></i><em>$_G[forum_thread][views]</em></span>
<span><i class="i-con-star-solid" title="收藏数"></i><em>$_G[forum_thread][favtimes]</em></span>
<span><i class="i-con-leaf" title="点赞数"></i><em>$_G[forum_thread][recommend_add]</em></span>
<span><i class="i-con-comment" title="评论数"></i><em id="ping-num">$_G[forum_thread][allreplies]</em></span>
</div>
<span class="time"><i class="i-con-time"></i><em>{echo date('Y-m-d H:i',$_G[forum_thread][dateline]);}</em></span>
</div>
</div>
<div class="right">
<div class="hot">
<i class="i-con-hot"></i>
<span class="num">$_G[forum_thread][recommend_add]<strong>。</strong></span>
</div>
</div>
<div class="tag-star tag-star2" title="编辑推荐">
<img src="template/iscwo_ui/iscwo/images/tag-star2.png" alt="编辑推荐">
</div>
</div>
<!--{eval $thetid = $_G[forum_thread][tid]; }-->
<!--{eval $attachment = DB::fetch_first('SELECT * FROM %t WHERE tid=%d ORDER BY tid DESC', array('forum_attachment', "$thetid")); }-->
<!--{if $attachment}-->
<!--{eval $cz_pid_table='forum_attachment_'.substr($attachment[tableid], -1);}-->
<!--{eval $cz_pid_pic = DB::fetch_first('SELECT aid,pid,uid,attachment,description FROM %t WHERE tid= %d AND isimage=1 ', array("$cz_pid_table","$thetid"), 'aid');}-->
<!--{/if}-->
<div id="p-content" style="display: none;">
<img src="$_G[siteurl]/{eval echo(getforumimg($cz_pid_pic[aid],0,1,0))}">
</div>
<!--{eval $postcount = 0;}-->
<!--{loop $postlist $post}-->
<!--{if $post['first'] == 1}-->
<!--{if $rushreply && $_GET['checkrush'] && $post['rewardfloor'] != 1}-->
<!--{eval continue;}-->
<!--{/if}-->
<!--{subtemplate forum/viewthread_node}-->
<!--{eval $postcount++;}-->
<!--{/if}-->
<!--{/loop}-->
<div class="works-bottom cl">
<div class="share cl">
<div class="weixin-box">
<img src="template/iscwo_ui/iscwo/images/ft-wx90.png">
<p>打开微信“扫一扫”,将本文章分享到朋友圈</p>
<a href="javascript:;"><i class="i-con-close"></i></a>
</div>
<a href="javascript:;" id="share-sina"><i class="i-con-sina"></i></a>
<a href="javascript:;"><i class="i-con-weixin1"></i></a>
<a href="javascript:;" id="share-huaban"><i class="i-con-huaban"></i></a>
<a href="javascript:;" id="share-douban"><i class="i-con-douban1"></i></a>
<p class="tip_vime">快给朋友分享吧!</p>
</div>
<ul class="oper">
<li>
<a href="home.php?mod=spacecp&ac=favorite&type=thread&id=$_G[tid]&formhash={FORMHASH}" id="k_favorite" title="{lang fav_thread}"><i class="i-con-star-solid"></i><strong>{lang thread_favorite}</strong></a>
<p class="tip_vime txt-center">
<em id="favoritenumber">{$_G['forum_thread']['favtimes']}</em>人已收藏
</p>
</li>
</ul>
<!--{if ($_G['group']['allowrecommend'] || !$_G['uid']) && $_G['setting']['recommendthread']['status']}-->
<!--{if !empty($_G['setting']['recommendthread']['addtext'])}-->
<div class="works-zan pos">
<a id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate({$_G['group']['allowrecommend']})');return false;"{else}{/if} title="{lang maketoponce}" class="i-confont p-like">
<div class="cont">
<i class="i-con-praise1 flower"></i>
<span class="txt">$_G['setting']['recommendthread'][addtext]</span>
<em id="recommendv_add" class="num like-num">$_G[forum_thread][recommend_add]</em>
</div>
</a>
</div>
<!--{/if}-->
<!--{/if}-->
</div>
<div class="works-author cl">
<a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" target="_blank" class="avatar-md z"><img src="uc_server/avatar.php?uid=$_G[forum_thread][authorid]&size=big" alt="$_G[forum_thread][author]"></a>
<div class="info z">
<div>
<h1><a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" target="_blank" class="name ellipsis" id="p-author">$_G[forum_thread][author]</a></h1>
<p class="intro ellipsis">
<!--{if $author_profile[bio]}-->$author_profile[bio]<!--{else}-->这个人很懒什么都没写<!--{/if}-->
</p>
<p class="num">
<em id="fan_num">$author_count[follower]</em> 听众 / <em> $author_count[following]</em> 收听
</p>
</div>
</div>
<!--{if $_G[forum_thread][authorid] != $_G[uid]}-->
<div class="btn-group cl">
<a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$_G[forum_thread][authorid]&touid=$_G[forum_thread][authorid]&pmid=0&daterange=2&pid=$_G[forum_thread][pid]&tid=$_G[forum_thread][tid]" title="{lang viewthread_left_sendpm}" class="btn-item letter_num"><i class="i-con-envelope-thin"></i><span>{lang viewthread_left_sendpm}</span></a>
</div>
<!--{/if}-->
<div class="more">
<!--{eval $query = db::fetch_all("select tid,subject from ".db::table('forum_thread')." where authorid =$theuid And tid!=$thetid And attachment!=0 order by dateline desc limit 0,2 ");}-->
<!--{loop $query $rvalue}-->
<!--{eval $attachment = DB::fetch_first('SELECT * FROM %t WHERE tid=%d ORDER BY tid DESC', array('forum_attachment', "$rvalue[tid]")); }-->
<!--{if $attachment}-->
<!--{eval $table='forum_attachment_'.substr($attachment[tableid], -1);}-->
<!--{eval $taid = DB::fetch_first('SELECT * FROM %t WHERE tid=%d ORDER BY tid DESC', array("$table", "$rvalue[tid]"));}-->
<!--{/if}-->
<a class="item" href="forum.php?mod=viewthread&tid=$rvalue[tid]" target="_blank"><img src="{eval echo(getforumimg($taid[aid],0,320,240))}" alt="$rvalue[subject]"></a>
<!--{/loop}-->
</div>
</div>
<script type="text/javascript">
var postminchars = parseInt('$_G['setting']['minpostsize']');
var postmaxchars = parseInt('$_G['setting']['maxpostsize']');
var disablepostctrl = parseInt('{$_G['group']['disablepostctrl']}');
</script>
<form method="post" autocomplete="off" id="fastpostform" class="comment-form pos" action="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&extra=$_GET[extra]&replysubmit=yes{if $_GET['ordertype'] != 1}&infloat=yes&handlekey=fastpost{/if}{if $_GET[from]}&from=$_GET[from]{/if}"{if $_GET['ordertype'] != 1}{/if}>
<textarea rows="6" cols="80" name="message" id="fastpostmessage" class="comment-area" tabindex="4" {eval echo getreplybg($_G['forum']['replybg']);}></textarea>
<p class="comment-warn">严禁发布 <span id="com-num"> 广告 </span> 回复</p>
<div class="mtm cl pos">
<script type="text/javascript" src="{$_G[setting][jspath]}seditor.js?{VERHASH}"></script>
<div id="btn" class="uiem-btn z">
<a href="javascript:;" class="fsml" id="fastpostsml" initialized="true" style="color: #3499da;"><i class="i-con-face"></i>表情</a>
</div>
<script type="text/javascript" reload="1">smilies_show('fastpostsmiliesdiv', $_G['setting']['smcols'], 'fastpost');</script>
<span class="comment-code z"></span>
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="usesig" value="$usesigcheck" />
<input type="hidden" name="subject" value=" " />
<button {if $allowpostreply}type="submit" {elseif !$_G['uid']}type="button" {/if}{if !$seccodecheck}onmouseover="checkpostrule('seccheck_fastpost', 'ac=reply');this.onmouseover=null" {/if}name="replysubmit" id="fastpostsubmit" class="btn btn-primary y" value="replysubmit" tabindex="5"><strong>{lang post_newreply}</strong></button>
<span class="comment-tip f12 y"><a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]{if $_GET[from]}&from=$_GET[from]{/if}">{lang post_advancemode}</a></span>
</div>
</form>
<ul class="comment-main cl zbd_item" id="com-list">
<!--{eval $postcount = 0;}-->
<!--{loop $postlist $post}-->
<!--{if $post['first'] != 1}-->
<!--{if $rushreply && $_GET['checkrush'] && $post['rewardfloor'] != 1}-->
<!--{eval continue;}-->
<!--{/if}-->
<!--{subtemplate forum/viewthread_node}-->
<!--{eval $postcount++;}-->
<!--{/if}-->
<!--{/loop}-->
<div id="postlistreply" class="pl"><div id="post_new" class="viewthread_table" style="display: none"></div></div>
<!--{if $_G['blockedpids']}-->
<div id='hiddenpoststip'><a href='javascript:display_blocked_post();'>{lang other_reply_hide}</a></div>
<div id="hiddenposts"></div>
<!--{/if}-->
</ul>
</div>
<div class="aside pos">
<div class="works-author-aside cl">
<div class="zbd_warp pos cl">
<p class="zbd_portrait">
<a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" title="$_G[forum_thread][author]" target="_blank">
<img src="uc_server/avatar.php?uid=$_G[forum_thread][authorid]&size=big" alt="$_G[forum_thread][author]">
</a>
</p>
<p class="zbd_name">
<a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" target="_blank">$_G[forum_thread][author]</a>
</p>
<p class="zbd_introduce">
$author_profile[bio]
</p>
<div class="Occupying">
</div>
<div class="zbd_foot">
<a class="zbd_left z" href="home.php?mod=follow&do=follower&uid=$_G[forum_thread][authorid]" title="粉丝">
<em>听众</em><b id="fan-num">$author_count[follower]</b>
</a>
<a class="zbd_right z" href="home.php?mod=follow&do=following&uid=$_G[forum_thread][authorid]" title="关注">
<em>收听</em><b>$author_count[following]</b>
</a>
</div>
<!--{if $_G[forum_thread][authorid] != $_G[uid]}-->
<div class="zbd_focus pos">
<a href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$_G[forum_thread][authorid]" id="followmod_$_G[forum_thread][authorid]" title="{lang follow}" class="z_follow i-confont">
<i class="i-con-add-bold"></i>
</a>
</div>
<!--{/if}-->
</div>
<div class="zbd_comments cl pos">
<a class="zbd_one z arrow-left p-like zan-num" id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate({$_G['group']['allowrecommend']})');return false;"{else}{/if} title="{lang maketoponce}">
<b>$_G[setting][recommendthread][addtext]</b>
<em id="recommendv_add" class="l-num">$_G[forum_thread][recommend_add]</em></a>
<a class="zbd_two z ping-num" href="javascript:;" title="">
<b>评论</b><em id="pinglun_num">$_G[forum_thread][allreplies]</em>
</a>
<div class="arrow-shadow"></div>
</div>
<div class="zbd_write pos">
<form method="post" autocomplete="off" id="vfastpostform" action="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&fromvf=1&extra=$_G[gp_extra]&replysubmit=yes{if $_G['gp_ordertype'] != 1}&infloat=yes&handlekey=vfastpost{/if}{if $_G[gp_from]}&from=$_G[gp_from]{/if}">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<textarea class="zbd_txt" name="message" id="vmessage" placeholder="大神,帮我看看我的作品?"></textarea>
<button class="zbd_btn btn" name="replysubmit" id="vreplysubmit" value="true">发布评论</button>
<div id="vfastpostseccheck"></div>
</form>
<script type="text/javascript">vmessage();</script>
</div>
</div>
<!--{eval $lzthread_pic = db::fetch_all("select tid,subject,dateline from ".db::table('forum_thread')." where authorid =$theuid AND attachment=2 order by dateline desc limit 0,1 ");}-->
<!--{eval $lzthread_new = db::fetch_all("select tid,subject from ".db::table('forum_thread')." where authorid =$theuid order by dateline desc limit 1,4 ");}-->
<div class="uptop">
<div class="zbd_center works-look-aside">
<div class="article">
<h3 class="cl">作者帖子推荐</h3>
<div class="cont">
<!--{loop $lzthread_pic $var}-->
<div class="top cl" id="hot">
<!--{eval $table='forum_attachment_'.substr($var['tid'], -1);}-->
<!--{eval $pic = DB::fetch_first("SELECT aid,tid FROM ".DB::table($table)." WHERE tid='$var[tid]' AND isimage!=0 ORDER BY `dateline` ASC"); }-->
<div class="img z">
<a href="forum.php?mod=viewthread&tid=$var[tid]" class="hot_num" title="$var[subject]" target="__blank">
<img src="{eval echo(getforumimg($pic[aid],0,280,210))}" alt="$var[subject]">
</a>
</div>
<div class="tit z">
<div class="h1">
<a href="forum.php?mod=viewthread&tid=$var[tid]" class="hot_num" title="$var[subject]" target="__blank">$var[subject]</a>
</div>
<em class="time">{echo date('Y-m-d H:i',$var[dateline]);}</em>
</div>
</div>
<!--{/loop}-->
<div class="down">
<ul id="art-list">
<!--{loop $lzthread_new $var}-->
<li class="cl">
<i class="z">.</i><a class="z art_num" href="forum.php?mod=viewthread&tid=$var[tid]" title="$var[subject]" target="__blank">$var[subject]</a>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="template/iscwo_ui/iscwo/js/Details.js"></script>
<script src="template/iscwo_ui/iscwo/js/share.js"></script>
<form method="post" autocomplete="off" name="modactions" id="modactions">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="optgroup" />
<input type="hidden" name="operation" />
<input type="hidden" name="listextra" value="$_GET[extra]" />
<input type="hidden" name="page" value="$page" />
</form>
$_G['forum_tagscript']
<!--{hook/viewthread_bottom}-->
<!--{if ($_G['setting']['visitedforums']) && $_G['forum']['status'] != 3}-->
<div id="visitedforums_menu" class="p_pop blk cl" style="display: none;">
<table cellspacing="0" cellpadding="0">
<tr>
<td id="v_forums">
<h3 class="mbn pbn bbda xg1">{lang viewed_forums}</h3>
<ul class="xl xl1">
$_G['setting']['visitedforums']
</ul>
</td>
</tr>
</table>
</div>
<!--{/if}-->
<!--{if $_G['medal_list']}-->
<!--{loop $_G['medal_list'] $medalid $medal}-->
<div id="md_{$medalid}_menu" class="tip tip_4" style="display: none;">
<div class="tip_horn"></div>
<div class="tip_c">
<h4>$medal[name]</h4>
<p>$medal[description]</p>
</div>
</div>
<!--{/loop}-->
<!--{/if}-->
<!--{if !IS_ROBOT && !empty($_G[setting][lazyload])}-->
<script type="text/javascript">
new lazyload();
</script>
<!--{/if}-->
<!--{if !IS_ROBOT && $_G['setting']['threadmaxpages'] > 1}-->
<script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <!--{if $page > 1}-->1<!--{else}-->0<!--{/if}-->, <!--{if $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->1<!--{else}-->0<!--{/if}-->, 'forum.php?mod=viewthread&tid=$_G[tid]<!--{if $_GET[authorid]}-->&authorid=$_GET[authorid]<!--{/if}-->', $page);}</script>
<!--{/if}-->
</div>
<div class="wp mtn">
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div>
<!--{if $_G['relatedlinks'] || $_GET['highlight']}-->
<script type="text/javascript">
var relatedlink = [];
<!--{loop $_G['relatedlinks'] $key $link}-->
relatedlink[$key] = {'sname':'$link[name]', 'surl':'$link[url]'};
<!--{/loop}-->
{eval $highlights = explode(' ', str_replace(array('\'', chr(125)), array(''', '}'), dhtmlspecialchars($_GET['highlight'])));}
<!--{loop $highlights $word}-->
{eval $key++;}
relatedlink[$key] = {'sname':'$word', 'surl':''};
<!--{/loop}-->
relatedlinks('postmessage_$_G[forum_firstpid]');
</script>
<!--{/if}-->
<!--{if !empty($_G['cookie']['clearUserdata']) && $_G['cookie']['clearUserdata'] == 'forum'}-->
<script type="text/javascript">saveUserdata('forum_'+discuz_uid, '')</script>
<!--{/if}-->
<script type="text/javascript">
<!--{if $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])}-->
function showsetcover(obj) {
if(obj.parentNode.id == 'postmessage_$_G[forum_firstpid]') {
var defheight = $_G['setting']['forumpicstyle']['thumbheight'];
var defwidth = $_G['setting']['forumpicstyle']['thumbwidth'];
var newimgid = 'showcoverimg';
var imgsrc = obj.src ? obj.src : obj.file;
if(!imgsrc) return;
var tempimg=new Image();
tempimg.src=imgsrc;
if(tempimg.complete) {
if(tempimg.width < defwidth || tempimg.height < defheight) return;
} else {
return;
}
if($(newimgid) && obj.id != newimgid) {
$(newimgid).id = 'img'+Math.random();
}
if($(newimgid+'_menu')) {
var menudiv = $(newimgid+'_menu');
} else {
var menudiv = document.createElement('div');
menudiv.className = 'tip tip_4 aimg_tip';
menudiv.id = newimgid+'_menu';
menudiv.style.position = 'absolute';
menudiv.style.display = 'none';
obj.parentNode.appendChild(menudiv);
}
menudiv.innerHTML = '<div class="tip_c xs0"><a href="forum.php?mod=ajax&action=setthreadcover&tid=$_G[tid]&pid=$_G[forum_firstpid]&fid=$_G[fid]&imgurl='+imgsrc+'">{lang set_cover}</a></div>';
obj.id = newimgid;
showMenu({'ctrlid':newimgid,'pos':'12'});
}
return;
}
<!--{/if}-->
<!--{if $_G['blockedpids']}-->
var blockedPIDs = [<!--{echo implode(',', $_G['blockedpids'])}-->];
<!--{/if}-->
<!--{if $postlist && empty($_G['setting']['disfixedavatar'])}-->
fixed_avatar([<!--{echo implode(',', array_keys($postlist))}-->], {if empty($_G['setting']['disfixednv_viewthread']) }1{else}0{/if});
<!--{elseif empty($_G['setting']['disfixednv_viewthread'])}-->
fixed_top_nv();
<!--{/if}-->
</script>
|