1、需按下面的格式写 (需导入 require './source/class/class_core.php';) include template('common/header_ajax'); echo 'jack088'; include template('common/footer_ajax');
2、可能是 jQuery 与 Discuz 的冲突导致 (我的就是这个原因),解决页面冲突即可。
ps: http://discuzt.cr180.com/discuzcode-discuz_js.html http://www.bacysoft.cn/thread-88-1-1.html http://www.bacysoft.cn/thread-128-1-1.html
<form method="post" autocomplete="off" name="gqpingce" id="gqpingceform" enctype="multipart/form-data" action="gqpingce.php?mod=getpingce" onsubmit="ajaxpost('gqpingceform','get_ajax_gqpingce','','',$('registerformsubmit'),get_ajax_gqpingce);return false;">
</from>
showDialog("下载需要扣除 2 个积分!", "confirm", "下载提示信息", 'dowmload_gqpingce('+docxname+')', 1, '', '', '确定', '取消')