大大幫忙我一下
我其他的模板都可以使用 唯獨
AYOYO 模板有問題
幫我看看好嗎??? 紅色是修改的地方 藍色是錯誤的地方 麻煩了!! 謝謝!!
Parse error: parse error, unexpected T_ELSEIF in c:\appserv\www\discuz3\forumdata\templates\3_viewthread.tpl.php on line 150
[code]{template header}
<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" style="table-layout: fixed">
<tr><td class="nav" width="90%" nowrap> <img src="{IMGDIR}/vb_bullet.gif"> <a href="index.php">$bbname</a> $navigation</td>
<td align="right" width="10%"><a href="#bottom"><img src="{IMGDIR}/arrow_dw.gif" border="0" align="absmiddle"></a></td>
</tr></table><br>
<!--{if $polloptions}-->
{template viewthread_poll}
<!--{/if}-->
<!--{if $newpmexists}-->
{template pmprompt}
<!--{/if}-->
<form name="delpost" method="post" action="topicadmin.php?action=delpost&fid=$fid&tid=$tid&page=$page">
<table width="{TABLEWIDTH}" cellspacing="0" cellpadding="0" align="center">
<tr><td class="multi">$multipage
<!--{if $thread[creditsrequire]}--> {lang creditsrequire_view} {lang credit_title} <span class=\"bold\">$thread[creditsrequire]</span> {lang credit_unit}<!--{/if}-->
</td><td align="right"><a href="post.php?action=newthread&fid=$fid"><img src="{IMGDIR}/newtopic.gif" border="0"></a>
<!--{if $allowpostpoll}--> <a href="post.php?action=newthread&fid=$fid&poll=yes"><img src="{IMGDIR}/poll.gif" border="0"></a><!--{/if}-->
<!--{if !$thread[closed] || ($thread[closed] && !$ismoderator)}--> <a href="post.php?action=reply&fid=$fid&tid=$tid"><img src="{IMGDIR}/reply.gif" border="0"></a><!--{/if}-->
</td></tr></table>
<table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%">
<tr class="header"><td width="21%">{lang author}:</td>
<td><table cellspacing="0" cellpadding="0" border="0" width="100%" class="smalltxt" style="table-layout: fixed; word-wrap: break-word">
<tr style="color: {HEADERTEXT}"><td class="bold" nowrap>{lang subject}: $thread[subject]</td>
<td align="right" nowrap>
<!--{if $highlightstatus}--><a href="viewthread.php?tid=$tid&page=$page" style="color: {HEADERTEXT};font-weight: normal">{lang disable_highlight}</a> | <!--{/if}-->
<a href="redirect.php?fid=$fid&tid=$tid&goto=nextoldset" style="color: {HEADERTEXT};font-weight: normal">{lang last_thread}</a> |
<a href="redirect.php?fid=$fid&tid=$tid&goto=nextnewset" style="color: {HEADERTEXT};font-weight: normal">{lang next_thread}</a></td>
</tr></table></td>
</tr></table></td></tr></table>
<!--{loop $postlist $post}-->
<a name="pid$post[pid]"><table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center">
<tr><td bgcolor="{BORDERCOLOR}">
<table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" style="table-layout: fixed; word-wrap: break-word">
<tr bgcolor="$post[thisbg]">
<td valign="top" width="21%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%">
<tr>
<td valign="top" width="21%">
<table border="0" cellspacing="$borderwidth" cellpadding="$tablespace" width="100%" style="table-layout: fixed; word-wrap: break-word">
<td valign="top" width="21%">
<!--{if $ismoderator}-->
<a href="topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]"><img src="{IMGDIR}/ip.gif" border="0" align="right" alt="{lang admin_getip}"></a><br><br><!--{/if}-->
<fieldset style=width="99%" align="center" >
<align="center"><legend>
<TABLE align="center" style='FILTER: glow(color=#ccffcc,strength=4)'>
<font color=#000066><nobr><b>$post[author]</b></nobr></font>
</TABLE>
</legend>
<!--{if $post['avatar']}-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed">
<tr><td align="center">$post[avatar]<br>
<span class="smalltxt">頭銜: $post[authortitle]<br>
$post[stars]<br></td></tr></table>
<!--{else}-->
<br>
<!--{/if}--> </fieldset>
<table width="100%" border="0" cellspacing="1">
<tr><td> <table width=100% border=1 align="center" cellspacing="1" cellpadding=2 style="BORDER-COLLAPSE: collapse">
<tr>
<td> <img src="{IMGDIR}/joehack.gif"> {lang postnum}﹕ $post[postnum]篇</td></tr></table></td></tr>
<tr><td> <table width=100% border=1 align="center" cellspacing="1" cellpadding=2 style="BORDER-COLLAPSE: collapse">
<tr>