账号通
    

账号  

密码  

2480

查看

3

回复
主题:V9.0x考试系统多选题不管做对还是做错,都是0分的解决方法 [收藏主题] 转到:  
科汛官方 当前离线

47268

主题

145

广播

405

粉丝
添加关注
级别:管理员

用户积分:101604 分
登录次数:7935 次
注册时间:2006/12/7
最后登录:2023/12/14
科汛官方 发表于:2012/10/29 10:03:19   | 显示全部帖子 查看该作者主题 楼主 
科汛智能建站系统

问题如题:


解决方法:


打开mnkc/exam/finish.asp


找到152行

case 3,5,6
     if ubound(arr)>=n then
    if not ks.isnul(rsl("answer")) then
     if checkda(arr(n),rsl("answer")) then

     score=score+rsl("tmfs")
     end if


把上面红色的改为

if checkda(replace(arr(n),"|",","),rsl("answer")) then



同样打开mnkc/exam/finishrnd.asp,151行

case 3,5,6
     if ubound(arr)>=n then
      if not ks.isnul(rsl("answer")) then
    if checkda(arr(n),rsl("answer")) then
     score=score+rs("fs")
    end if

红色的改成


if checkda(replace(arr(n),"|",","),rsl("answer")) then

 
KesionCMS,,
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
科汛官方 当前离线

47268

主题

145

广播

405

粉丝
添加关注
级别:管理员

用户积分:101604 分
登录次数:7935 次
注册时间:2006/12/7
最后登录:2023/12/14
科汛官方 发表于:2012/10/29 13:09:54   | 显示全部帖子 查看该作者主题 沙发 
我们内部在开发的asp.net 版本支持不定项的。
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.07813秒 powered by KesionCMS 9.0