Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[疑问] 研究了二天,终于能够实现自己要的效果了,但新问题又出现了!

[复制链接]
cwj626 发表于 2010-12-21 21:58:56 | 显示全部楼层 |阅读模式
本帖最后由 cwj626 于 2010-12-21 23:12 编辑

终于把这个投票调整为横排了,但也出现这个“内部错误,无法显示此内容!”,而默认模板是正常的!
测试网址:
http://www.junzhuan.com/xplus/poll.php?id=3

请看看我的这个模板代码哪儿有什么不对?

<!--{template header}-->
<!--{template common/nav_header}-->
<!--{if $so}-->$so<!--{/if}-->
<div id="wp" class="wp">
<div class="mn">
  <div class="info wx">
   <h1>$poll_setting[title]</h1>
   <p>$poll_setting[description]</p>
  </div>
  <form id="pollform" action="../../junzhuan/default/poll.php?action=choose" method="post">
   <input type="hidden" name="handlekey" value="pollresult" />
   <input type="hidden" name="id" value="$itemid" />
   <input type="hidden" name="formhash" value="{FORMHASH}" />
   <!--{if $iframe}--><input type="hidden" name="iframe" value="$iframe" /><!--{/if}-->
   <!--{if $bgcolor}--><input type="hidden" name="bgcolor" value="$bgcolor" /><!--{/if}-->
   <div class="poll" id="pollcontent">
<table width="300" cellpadding="0" cellspacing="0">
               
                <tbody>
                  <tr>
<!--{loop $choice $key $value}-->
                    <td width="20" class="o"><!--{if $poll_setting[type]}-->
                        <input type="checkbox" id="select_id_$value[choiceid]" name="choose_value[]" value="$value[choiceid]" {$disable}" />
                        <!--{else}-->
                        <input type="radio" id="select_id_$value[choiceid]" name="choose_value" value="$value[choiceid]" {$disable} />
                        <!--{/if}-->
                    </td>
                    <td width="105" class="title"><label for="select_id_$value[choiceid]">$value[caption]</label>
                    </td>
                    <!--{if ($key+1)%4==0}--></tr><tr><!--{/if}-->
<!--{/loop}-->
                  </tr>
                </tbody>
               
              </table>
    </div>
   <div class="btn cl">
    <button type="submit" name="choose" class="submit" value="1">{lang poll}</button>
   </div>
  </form>
  <div id="return_pollresult" sytle="display:none;"> </div>
  <!--{template common/nav_footer}-->
</div>
</div>
<!--{template footer}-->
bwg2000 发表于 2010-12-21 23:09:18 | 显示全部楼层
回复

使用道具 举报

13582478 发表于 2010-12-27 15:54:51 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

侢羙,苡濄呿 发表于 2011-1-3 03:09:28 | 显示全部楼层
回复

使用道具 举报

天文 发表于 2011-1-6 17:35:25 | 显示全部楼层
呵呵,没看懂。
回复

使用道具 举报

疯子的疯子 发表于 2011-1-7 22:23:59 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

littlehz 发表于 2011-1-10 08:48:27 | 显示全部楼层
form的action有误,action应按照默认模版中的actiong保持一直
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-2 16:50 , Processed in 0.095541 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表