账号通
    

账号  

密码  

2614

查看

1

回复
主题:9.5考试系统Word方式BUG修改方法 [收藏主题]  
科兴售后服务1 当前离线

4899

主题

7

广播

44

粉丝
添加关注
级别:大三

用户积分:437 分
登录次数:274 次
注册时间:2012/6/18
最后登录:2016/3/17
科兴售后服务1 发表于:2013/9/30 16:11:44   | 只看该作者 查看该作者主题 楼主 
做在线知识付费 选科汛云开店

/admin/mnkc/mnkc_add.asp  

打开把  ------word标签替换------ -----word标签替换--完---- 区域替换成下面代码





'----------------------------------------------word标签替换---------------------------------------
     sj=replace(sj&"","{#blanks}","<input type='text'  name='inblanks' class='anstext'/> --><input type='text' name='inblanks_fs' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')"" />分")
     
     sj=replace(sj&"","{#choice}","<div class='inchoice'>答案设置:<select name='inchoice'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option>输入</select> --><input type='text' name='inchoice_fs' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
     if instr(sj,"{#choice_b}")<>0 then
      sj=replace(sj&"","{#choice_b}","<div class='inchoice'>答案设置:<select name='inchoice_b'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option></select> --><input type='text' name='inchoice_fs_b' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
     end if
     if instr(sj,"{#choice_c}")<>0 then
      sj=replace(sj&"","{#choice_c}","<div class='inchoice'>答案设置:<select name='inchoice_c'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option></select> --><input type='text' name='inchoice_fs_c' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
     end if
     if instr(sj,"{#choice_d}")<>0 then
      sj=replace(sj&"","{#choice_d}","<div class='inchoice'>答案设置:<select name='inchoice_d'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option></select> --><input type='text' name='inchoice_fs_d' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
     end if
     if instr(sj,"{#choice_e}")<>0 then
      sj=replace(sj&"","{#choice_e}","<div class='inchoice'>答案设置:<select name='inchoice_e'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option><option value='e'>E</option></select> --><input type='text' name='inchoice_fs_e' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
     end if
     if instr(sj,"{#choice_f}")<>0 then
      sj=replace(sj&"","{#choice_f}","<div class='inchoice'>答案设置:<select name='inchoice_f'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option><option value='e'>E</option><option value='f'>F</option></select> --><input type='text' name='inchoice_fs_f' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
     end if
     if instr(sj,"{#choice_g}")<>0 then
      sj=replace(sj&"","{#choice_g}","<div class='inchoice'>答案设置:<select name='inchoice_g'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option><option value='e'>E</option><option value='f'>F</option><option value='g'>G</option></select> --><input type='text' name='inchoice_fs_g' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
     end if
     if instr(sj,"{#choice_h}")<>0 then
      sj=replace(sj&"","{#choice_h}","<div class='inchoice'>答案设置:<select name='inchoice_h'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option><option value='e'>E</option><option value='f'>F</option><option value='g'>G</option><option value='h'>H</option></select> --><input type='text' name='inchoice_fs_h' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
     end if
     
     
     sj=replace(sj&"","{#muchoice}","<div id='muchoice' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D  --><input type='text' name='muchoice_fs' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
     if instr(sj,"{#muchoice_b}")<>0 then
      sj=replace(sj&"","{#muchoice_b}","<div id='muchoice_b' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B   --><input type='text' name='muchoice_fs_b' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
     end if
     if instr(sj,"{#muchoice_c}")<>0 then
      sj=replace(sj&"","{#muchoice_c}","<div id='muchoice_c' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C   --><input type='text' name='muchoice_fs_c' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
     end if
     if instr(sj,"{#muchoice_d}")<>0 then
      sj=replace(sj&"","{#muchoice_d}","<div id='muchoice_d' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D   --><input type='text' name='muchoice_fs_d' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
     end if
     if instr(sj,"{#muchoice_e}")<>0 then
      sj=replace(sj&"","{#muchoice_e}","<div id='muchoice_e' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D <input name='chfkg' type='checkbox' value='e' />E   --><input type='text' name='muchoice_fs_e' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
     end if
     if instr(sj,"{#muchoice_f}")<>0 then
      sj=replace(sj&"","{#muchoice_f}","<div id='muchoice_f' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D <input name='chfkg' type='checkbox' value='e' />E<input name='chfkg' type='checkbox' value='f' />F   --><input type='text' name='muchoice_fs_f' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
     end if
     if instr(sj,"{#muchoice_g}")<>0 then
      sj=replace(sj&"","{#muchoice_g}","<div id='muchoice_g' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D <input name='chfkg' type='checkbox' value='e' />E<input name='chfkg' type='checkbox' value='f' />F<input name='chfkg' type='checkbox' value='g' />G   --><input type='text' name='muchoice_fs_g' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
     end if
     if instr(sj,"{#muchoice_h}")<>0 then
      sj=replace(sj&"","{#muchoice_h}","<div id='muchoice_h' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D <input name='chfkg' type='checkbox' value='e' />E<input name='chfkg' type='checkbox' value='f' />F<input name='chfkg' type='checkbox' value='g' />G<input name='chfkg' type='checkbox' value='h' />H   --><input type='text' name='muchoice_fs_h' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
     end if      
     
     
     sj=replace(sj&"","{#whether}","答案选择:<select name='whether'><option value='0'>请选择</option><option value='a'>对</option><option value='b'>错</option></select>  --><input type='text' name='whether_fs' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 ")
     
     sj=replace(sj&"","{#subjective}","<strong>答题区</strong><br/><textarea  name='subjective' cols='50' rows='7'></textarea>  --><input type='text' name='subjective_fs' value='1' class='sjFs'  maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 ")
      
     
     '----------------------------------------------word标签替换--完---------------------------------------

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
浪侠 当前离线

416

主题

4

广播

1

粉丝
添加关注
级别:四年级

用户积分:2073 分
登录次数:299 次
注册时间:2007/2/12
最后登录:2019/3/14
浪侠 发表于:2013/9/30 16:25:26   | 只看该作者 查看该作者主题 沙发 
做在线知识付费 选科汛云开店
字段管理中



双击字段名称



Microsoft OLE DB Provider for SQL Server 错误 '80040e14'

列名 'undefined' 无效。

/admin/KS.Field.asp,行 310



 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.14063秒 powered by KesionCMS 9.0