|
3 | 3 | <body> |
4 | 4 | <div class="pages"> |
5 | 5 | {x2;endif} |
6 | | - <div class="page-tabs"> |
7 | | - <div class="page-header"> |
8 | | - <div class="col-1" onclick="javascript:history.back();"><span class="iconfont icon-left"></span></div> |
9 | | - <div class="col-8">强化训练</div> |
10 | | - <div class="col-1"><span class="iconfont icon-menu hide"></span></div> |
11 | | - </div> |
12 | | - <div class="page-content header"> |
13 | | - <div class="list-box bg"> |
14 | | - <form action="index.php?exam-phone-exercise" method="post" class="rows" action-before="clearStorage"> |
15 | | - <ol> |
16 | | - <li class="unstyled"><h4 class="title">配卷规则</h4></li> |
17 | | - <li class="unstyled"> |
18 | | - <div class="form-group"> |
19 | | - <label class="col-3">选择章节:</label> |
20 | | - <div class="col-7"> |
21 | | - <select autocomplete="off" id="thesectionid" name="args[sectionid]" class="combox block" target="theknowsid" refUrl="index.php?exam-phone-index-ajax-getknowsbysectionid§ionid={value}" more="questionnumbers"> |
22 | | - <option value="0">请选择章节</option> |
| 6 | + <div class="page-tabs"> |
| 7 | + <div class="page-header"> |
| 8 | + <div class="col-1" onclick="javascript:history.back();"><span class="iconfont icon-left"></span></div> |
| 9 | + <div class="col-8">强化训练</div> |
| 10 | + <div class="col-1"><span class="iconfont icon-menu hide"></span></div> |
| 11 | + </div> |
| 12 | + <div class="page-content header"> |
| 13 | + <div class="list-box bg"> |
| 14 | + <form action="index.php?exam-phone-exercise" method="post" class="rows" action-before="clearStorage"> |
| 15 | + <ol> |
| 16 | + <li class="unstyled"><h4 class="title">配卷规则</h4></li> |
| 17 | + <li class="unstyled"> |
| 18 | + <div class="form-group"> |
| 19 | + <label class="col-3">选择章节:</label> |
| 20 | + <div class="col-7"> |
| 21 | + <select autocomplete="off" id="thesectionid" name="args[sectionid]" class="combox block" target="theknowsid" refUrl="index.php?exam-phone-index-ajax-getknowsbysectionid§ionid={value}" more="questionnumbers"> |
| 22 | + <option value="0">请选择章节</option> |
23 | 23 | {x2;tree:$sections,section,sid} |
24 | | - <option value="{x2;v:section['sectionid']}">{x2;v:section['section']}</option> |
| 24 | + <option value="{x2;v:section['sectionid']}">{x2;v:section['section']}</option> |
25 | 25 | {x2;endtree} |
26 | | - </select> |
27 | | - </div> |
28 | | - </div> |
29 | | - <div class="form-group"> |
30 | | - <label class="col-3">知识点:</label> |
31 | | - <div class="col-7"> |
32 | | - <select autocomplete="off" name="args[knowsid]" id="theknowsid" class="combox block" target="questionnumbers" refUrl="index.php?exam-phone-exercise-ajax-getQuestionNumber§ionid={tmp}&knowsid={value}"> |
33 | | - <option value="0">请选择知识点</option> |
34 | | - </select> |
35 | | - </div> |
36 | | - </div> |
37 | | - <div class="form-group"> |
38 | | - <label class="col-3">试卷名称:</label> |
39 | | - <div class="col-7"> |
40 | | - <input type="text" needle="needle" msg="请填写试卷名称" name="args[title]" class="block"/> |
41 | | - </div> |
42 | | - </div> |
43 | | - <div class="form-group"> |
44 | | - <label class="col-3">时间(分钟):</label> |
45 | | - <div class="col-7"> |
46 | | - <input type="text" needle="needle" msg="做题时间" name="args[time]" class="block" value='60'/> |
47 | | - </div> |
48 | | - </div> |
49 | | - <ol id="questionnumbers"> |
| 26 | + </select> |
| 27 | + </div> |
| 28 | + </div> |
| 29 | + <div class="form-group"> |
| 30 | + <label class="col-3">知识点:</label> |
| 31 | + <div class="col-7"> |
| 32 | + <select autocomplete="off" name="args[knowsid]" id="theknowsid" class="combox block" target="questionnumbers" refUrl="index.php?exam-phone-exercise-ajax-getQuestionNumber§ionid={tmp}&knowsid={value}"> |
| 33 | + <option value="0">请选择知识点</option> |
| 34 | + </select> |
| 35 | + </div> |
| 36 | + </div> |
| 37 | + <div class="form-group"> |
| 38 | + <label class="col-3">试卷名称:</label> |
| 39 | + <div class="col-7"> |
| 40 | + <input type="text" needle="needle" msg="请填写试卷名称" name="args[title]" class="block"/> |
| 41 | + </div> |
| 42 | + </div> |
| 43 | + <div class="form-group"> |
| 44 | + <label class="col-3">时间(分钟):</label> |
| 45 | + <div class="col-7"> |
| 46 | + <input type="text" needle="needle" msg="做题时间" name="args[time]" class="block" value='60'/> |
| 47 | + </div> |
| 48 | + </div> |
| 49 | + <ol id="questionnumbers"> |
50 | 50 | {x2;tree:$questype,quest,qid} |
51 | | - <li class="form-group"> |
| 51 | + {x2;if:$numbers[v:quest['questid']]} |
| 52 | + <li class="form-group"> |
52 | 53 | {x2;v:quest['questype']}(共{x2;$numbers[v:quest['questid']]}题),选 <input id="question_{x2;v:quest['questid']}" size="5" type="text" name="args[number][{x2;v:quest['questid']}]" rel="{x2;$numbers[v:quest['questid']]}" value="0"/> 题 |
53 | | - </li> |
| 54 | + </li> |
| 55 | + {x2;endif} |
54 | 56 | {x2;endtree} |
55 | | - </ol> |
56 | | - </li> |
57 | | - <li class="unstyled"> |
58 | | - <div class="form-group"> |
59 | | - <input type="hidden" name="setExecriseConfig" value="1" /> |
60 | | - <p class="text-center"> |
61 | | - <button type="submit" class="btn primary">开始测试</button> |
62 | | - </p> |
63 | | - </div> |
64 | | - </li> |
65 | | - </ol> |
66 | | - </form> |
67 | | - </div> |
68 | | - </div> |
69 | | - </div> |
| 57 | + </ol> |
| 58 | + </li> |
| 59 | + <li class="unstyled"> |
| 60 | + <div class="form-group"> |
| 61 | + <input type="hidden" name="setExecriseConfig" value="1" /> |
| 62 | + <p class="text-center"> |
| 63 | + <button type="submit" class="btn primary">开始测试</button> |
| 64 | + </p> |
| 65 | + </div> |
| 66 | + </li> |
| 67 | + </ol> |
| 68 | + </form> |
| 69 | + </div> |
| 70 | + </div> |
| 71 | + </div> |
70 | 72 | {x2;if:!$userhash} |
71 | 73 | </div> |
72 | 74 | </body> |
|
0 commit comments