english.php 165 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240
  1. <?php ini_set("error_reporting","E_ALL & ~E_NOTICE"); ?>
  2. <!DOCTYPE html>
  3. <html lang="en" xmlns="http://www.w3.org/1999/html">
  4. <head>
  5. <meta charset="UTF-8">
  6. <title>产品设置</title>
  7. <link rel="stylesheet" href="/css/productset/base.css">
  8. <link rel="stylesheet" href="/css/productset/product-setting.css">
  9. </head>
  10. <body>
  11. <style>
  12. .fl{
  13. float: left;
  14. }
  15. .fr{
  16. float: right;
  17. }
  18. .clearfix:after{
  19. content: '';
  20. display: block;
  21. clear: both;
  22. }
  23. .changeSubjectNav{
  24. width: 100%;
  25. box-sizing: border-box;
  26. top: 0;
  27. left: 0;
  28. z-index: 1000;
  29. display: flex;
  30. justify-content: space-between;
  31. align-items: center;
  32. padding: 10px 10px;
  33. background: #ddd;
  34. }
  35. .changeSubjectNav .productSettingBtn a{
  36. display: block;
  37. width: 120px;
  38. height: 30px;
  39. background: #01B677;
  40. text-align: center;
  41. line-height: 30px;
  42. color: #fff;
  43. font-size: 16px;
  44. text-decoration: none;
  45. cursor: text;
  46. }
  47. /*切换选择*/
  48. .tab-con{
  49. position: relative;
  50. height: 30px;
  51. width: 200px;
  52. background: #F2F2F2;
  53. border: 1px solid #01B677;
  54. border-radius: 15px;
  55. box-sizing:border-box;
  56. }
  57. .has-sel{
  58. background: #01B677;
  59. color: #fff;
  60. width: 50%;
  61. height: 30px;
  62. border-top-left-radius: 15px;
  63. border-bottom-left-radius: 15px;
  64. text-align: center;
  65. line-height: 30px;
  66. }
  67. .sel-opt{
  68. width: 50%;
  69. position: relative;
  70. color: #01B677;
  71. line-height: 30px;
  72. text-indent: 6px;
  73. cursor: pointer;
  74. }
  75. .sel-opt:after{
  76. content: '';
  77. border-left: 6px solid transparent;
  78. border-right: 6px solid transparent;
  79. border-top: 8px solid #01B677;
  80. position: absolute;
  81. right: 12px;
  82. top: 12px;
  83. }
  84. // .sel-opt select{
  85. // width: 100%;
  86. // height: 30px;
  87. // background: #F2F2F2;
  88. // color: #01B677;
  89. // text-indent: 6px;
  90. // font-size: inherit;
  91. // border-top-right-radius: 15px;
  92. // border-bottom-right-radius: 15px;
  93. // cursor: pointer;
  94. // }
  95. // .sel-opt select option{
  96. // position: relative;
  97. // }
  98. .points{
  99. position: absolute;
  100. top: -2px;
  101. right: 0;
  102. width: 10px;
  103. height: 10px;
  104. background: #F01516;
  105. border-radius: 50%;
  106. }
  107. .sel-cons{
  108. border: 1px solid #01B677;
  109. width: 50%;
  110. position: absolute;
  111. right: 0;
  112. top: 30px;
  113. text-indent: 10px;
  114. display: none;
  115. }
  116. .sc-lis2{
  117. line-height: 30px;
  118. cursor: pointer;
  119. }
  120. .sc-lis2 span{
  121. position: relative;
  122. }
  123. .sc-lis2 .points{
  124. top: 2px;
  125. right: -16px;
  126. }
  127. .subject-change{
  128. margin:8px 11px 0 0;display: block
  129. }
  130. .subject-change-no{
  131. margin:8px 11px 0 0;display: none
  132. }
  133. #selectedUnit span {
  134. position: relative;
  135. padding: 5px;
  136. padding-right: 30px;
  137. border: 1px solid #999;
  138. margin-right: 15px;
  139. }
  140. .resume{
  141. border: 1px solid black;
  142. border-radius: 10%;
  143. margin-right: 10px;
  144. cursor: pointer;
  145. }
  146. </style>
  147. <?php
  148. $sub_id = isset(Yii::app()->session['session_subject_id']) ? Yii::app()->session['session_subject_id']:0;
  149. $duo_sub_id = isset(Yii::app()->session['session_duoxueke_subject_id']) ? Yii::app()->session['session_duoxueke_subject_id']:0;
  150. $testFlag = isset(Yii::app()->session['testFlag'])?Yii::app()->session['testFlag']:0;
  151. $printType = isset($printType)?$printType:'';
  152. $subject = isset($subject)?$subject:array();
  153. $urlInfoAll = Yii::app()->request->getPathInfo();
  154. $urlInfo = '';
  155. if($urlInfoAll){
  156. $urlInfoArr = explode('/',$urlInfoAll);
  157. if(isset($urlInfoArr[0]) && isset($urlInfoArr[1])){
  158. $urlInfo = $urlInfoArr[0].'/'.$urlInfoArr[1];
  159. }
  160. $urlType = '';
  161. foreach ($urlInfoArr as $_url_k => $_url_v) {
  162. if ($_url_v == 'type' && isset($urlInfoArr[$_url_k + 1])) {
  163. $urlType = $urlInfoArr[$_url_k + 1];
  164. }
  165. }
  166. if(count($urlInfoArr) > 4){
  167. $urlInfoArr = array_slice($urlInfoArr,0,4);
  168. }
  169. $urlInfoAll = implode('/',$urlInfoArr);
  170. }
  171. $subjectNameArr = array(
  172. 3 => '数学',
  173. 8 => '英语',
  174. 9 => '语文',
  175. 12 => '物理',
  176. 13 => '化学',
  177. 14 => '生物',
  178. 15 => '政治',
  179. 16 => '历史',
  180. 17 => '地理',
  181. 18 => '理综',
  182. 19 => '文综',
  183. 21 => '日语',
  184. );
  185. ?>
  186. <div class="changeSubjectNav">
  187. <div class="productSettingBtn"> <a href="javascript:;">产品设置</a> </div>
  188. <div class="tabs clearfix">
  189. <div class="tab-con clearfix pull-right">
  190. <div class="has-sel fl"><?php echo isset(Yii::app()->params["subjectId"][$sub_id])?Yii::app()->params["subjectId"][$sub_id]:'数学'?></div>
  191. <div class="sel-opt fl">
  192. 切换学科
  193. </div>
  194. <div class="sel-cons" style="z-index:6;background-color: #fff;">
  195. <?php foreach ($subjectNameArr as $_subId => $_subName):?>
  196. <div class="sc-lis2" val="<?php echo $_subId;?>"><span><?php echo $_subName;?><?php if($subject && isset($subject[$_subId]) && !empty($subject[$_subId])){?><?php }?></span></div>
  197. <?php endforeach;?>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. <style>
  203. .sub_item{padding-left: 100px;}
  204. .sub_item p{padding:10px;padding-right: 0;}
  205. .set-user> div{
  206. overflow: hidden;
  207. }
  208. .set-user> div select{width:100px;}
  209. .set-user> div label{float:left;width:auto;padding-left:10px}
  210. .set-user> div .sub_item{float:right;width: calc(100% - 80px);padding-left:0;}
  211. .set-user> div .sub_item span{float:right;padding-right:20px;}
  212. .set-user> div .sub_item select{float:left}
  213. .set-user div span{float:right;padding-right:20px;}
  214. .set-user> div label{margin-right:13px;}
  215. .set-user> div select{float:left;}
  216. .set-user div span{padding-right:20px;float:right;}
  217. .set-user .sub_item p{padding-left:0}
  218. .set-user> div .sub_item select{float:right;}
  219. .set-user> div label{min-width:60px;}
  220. .set-user .showTz_13>label{min-width:80px;}
  221. .set-user> div .sub_item span{width:90px;}
  222. .show-content .set-user> div select{float:right;}
  223. .set-user div span{min-width:90px;float:right;}
  224. .setting-title select{float:left;}
  225. </style>
  226. <div class="loading">
  227. <div class="loading-box">
  228. <img src="/images/productset/loading.png" alt="">
  229. <p>加载中...</p>
  230. </div>
  231. </div>
  232. <div class="clearfix product-tit"><?php echo $subject_name?>产品设置</div>
  233. <div class="clearfix product-box">
  234. <!-- 左侧菜单开始 -->
  235. <div class="fl product-menu">
  236. <dl>
  237. <dt ps-type="1">错题本</dt>
  238. <?php foreach ($product_list[1] as $plk=>$plv):?>
  239. <dd>
  240. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/oldSet?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  241. </dd>
  242. <?php endforeach;?>
  243. </dl>
  244. <?php if($subject_id==3):?>
  245. <dl>
  246. <dt ps-type="2">个性化学习方案</dt>
  247. <?php foreach ($product_list[2] as $plk=>$plv):?>
  248. <dd>
  249. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/oldSet?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  250. </dd>
  251. <?php endforeach;?>
  252. </dl>
  253. <dl>
  254. <dt ps-type="3">个性化学习宝</dt>
  255. <?php foreach ($product_list[3] as $plk=>$plv):?>
  256. <dd>
  257. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/oldSet?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  258. </dd>
  259. <?php endforeach;?>
  260. </dl>
  261. <?php endif;?>
  262. <?php if($subject_id==8):?>
  263. <dl>
  264. <dt ps-type="6">个性化学习宝设置</dt>
  265. <?php
  266. if(isset($customConfig['english_3'])):
  267. ?>
  268. <?php foreach ($customConfig['english_3'] as $plk=>$plv):?>
  269. <dd>
  270. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/oldSet?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  271. </dd>
  272. <?php endforeach;endif;?>
  273. </dl>
  274. <dl>
  275. <dt ps-type="7">晨读词汇</dt>
  276. <?php
  277. if(isset($customConfig['english_4'])):
  278. ?>
  279. <?php foreach ($customConfig['english_4'] as $plk=>$plv):?>
  280. <dd>
  281. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/oldSet?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  282. </dd>
  283. <?php endforeach;endif;?>
  284. </dl>
  285. <dl>
  286. <dt ps-type="8">词汇宝</dt>
  287. <?php
  288. if(isset($customConfig['english_5'])):
  289. ?>
  290. <?php foreach ($customConfig['english_5'] as $plk=>$plv):?>
  291. <dd>
  292. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/oldSet?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  293. </dd>
  294. <?php endforeach;endif;?>
  295. </dl>
  296. <dl>
  297. <dt ps-type="9">写作宝</dt>
  298. <?php
  299. if(isset($customConfig['english_6'])):
  300. ?>
  301. <?php foreach ($customConfig['english_6'] as $plk=>$plv):?>
  302. <dd>
  303. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/oldSet?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  304. </dd>
  305. <?php endforeach;endif;?>
  306. </dl>
  307. <?php endif;?>
  308. </div>
  309. <!-- 左侧菜单结束 -->
  310. <!-- 错题本设置内容开始 -->
  311. <div class="fl product-setting" style="display: block;" >
  312. <form action="" id="set-data" name="set-data">
  313. <input type="hidden" name="ps_id" value="<?php echo $set_info['ps_id']?>">
  314. <input type="hidden" name="ps_type" value="<?php echo $set_info['product_type']?>" id="ps_type">
  315. <input type="hidden" name="subject_id" value="<?php echo $subject_id?>">
  316. <input type="hidden" name="custom[moduleName]" value="<?php echo $custom['moduleName']?>">
  317. <input type="hidden" name="custom[moduleType]" value="<?php echo $custom['moduleType']?>">
  318. <?php if($custom['moduleType']=='english_5'):?>
  319. <input type="hidden" name="custom[setting][isWhole]" value="<?php echo isset($custom['setting']['isWhole'])?$custom['setting']['isWhole']:1;?>">
  320. <?php endif;?>
  321. <div class="setting-title clearfix">
  322. <span class="fl">设置内容</span>
  323. <em class="fr preview">预览</em>
  324. <?php if($custom['moduleType']=='english_5' && !$is_whole && (isset($custom['setting']['isWhole']) && $custom['setting']['isWhole']==0) && Yii::app()->session['testFlag']==1):?>
  325. <em class="fr resume" id="resume" psId="<?php echo $set_info['ps_id']?>">模块恢复</em>
  326. <?php endif;?>
  327. </div>
  328. <p class="words-gray">系统会根据您的设置生成产品,点击“预览”查看效果</p>
  329. <?php if($custom['moduleType']=='english_1') :?>
  330. <div class="show-content clearfix" index-id="1">
  331. <input type="hidden" name="custom[setting][lexicalClassification]" value="<?php echo $custom['setting']['lexicalClassification']?>">
  332. <div class="fl">词汇分类<em index-id="1">?</em></div>
  333. <div class="fr show-btn"><span class="<?php if ($custom['setting']['lexicalClassification']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  334. </div>
  335. <div class="show-content clearfix" index-id="2">
  336. <input type="hidden" name="custom[setting][exampleSentenceWriting]" value="<?php echo $custom['setting']['exampleSentenceWriting']?>">
  337. <div class="fl">例句填词<em index-id="2">?</em></div>
  338. <div class="fr show-btn"><span class="<?php if ($custom['setting']['exampleSentenceWriting']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  339. </div>
  340. <div class="show-content clearfix" index-id="3">
  341. <input type="hidden" name="custom[setting][associativeMemory]" value="<?php echo $custom['setting']['associativeMemory']?>">
  342. <div class="fl">联想记忆<em index-id="3">?</em></div>
  343. <div class="fr show-btn"><span class="<?php if ($custom['setting']['associativeMemory']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  344. </div>
  345. <div class="show-content clearfix" index-id="4">
  346. <input type="hidden" name="custom[setting][lexicalUse]" value="<?php echo $custom['setting']['lexicalUse']?>">
  347. <div class="fl">词汇运用<em index-id="4">?</em></div>
  348. <div class="fr show-btn"><span class="<?php if ($custom['setting']['lexicalUse']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  349. </div>
  350. <div class="show-content clearfix" index-id="5">
  351. <input type="hidden" name="custom[setting][grammaticalFocus]" value="<?php echo $custom['setting']['grammaticalFocus']?>">
  352. <div class="fl">语法聚焦<em index-id="5">?</em></div>
  353. <div class="fr show-btn"><span class="<?php if ($custom['setting']['grammaticalFocus']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  354. </div>
  355. <div class="show-content clearfix" index-id="6">
  356. <input type="hidden" name="custom[setting][extraCredit]" value="<?php echo $custom['setting']['extraCredit']?>">
  357. <div class="fl">美文赏析<em index-id="6">?</em></div>
  358. <div class="fr show-btn"><span class="<?php if ($custom['setting']['extraCredit']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  359. </div>
  360. <?php endif;?>
  361. <?php if($custom['moduleType']=='english_2') :?>
  362. <div class="show-content clearfix" index-id="7">
  363. <input type="hidden" name="custom[setting][vocabularyConsolidation]" value="<?php echo $custom['setting']['vocabularyConsolidation']?>">
  364. <div class="fl">词汇巩固<em index-id="7">?</em></div>
  365. <div class="fr show-btn"><span class="<?php if ($custom['setting']['vocabularyConsolidation']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  366. </div>
  367. <div class="show-content clearfix" index-id="8">
  368. <input type="hidden" name="custom[setting][grammaticalEnhancement]" value="<?php echo $custom['setting']['grammaticalEnhancement']?>">
  369. <div class="fl">语法强化<em index-id="8">?</em></div>
  370. <div class="fr show-btn"><span class="<?php if ($custom['setting']['grammaticalEnhancement']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  371. </div>
  372. <div class="show-content clearfix" index-id="9">
  373. <input type="hidden" name="custom[setting][discourseEnhancement]" value="<?php echo $custom['setting']['discourseEnhancement']?>">
  374. <div class="fl">语篇提升<em index-id="9">?</em></div>
  375. <div class="fr show-btn"><span class="<?php if ($custom['setting']['discourseEnhancement']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  376. </div>
  377. <div class="show-content clearfix" index-id="10">
  378. <input type="hidden" name="custom[setting][finishingBreakthrough]" value="<?php echo $custom['setting']['finishingBreakthrough']?>">
  379. <div class="fl">完型突破<em index-id="10">?</em></div>
  380. <div class="fr show-btn"><span class="<?php if ($custom['setting']['finishingBreakthrough']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  381. </div>
  382. <?php endif;?>
  383. <?php if($custom['moduleType']=='english_3') :?>
  384. <div class="show-content clearfix" >
  385. <div class="fl">产品名称:</div>
  386. <div class="fr"><input type="text" class="form-control input-sm" placeholder="请输入产品名称" id="product_name" name="product_name" value="<?php echo isset($custom['setting']['productName']) ? $custom['setting']['productName'] : ''; ?>"></div>
  387. </div>
  388. <div class="show-content clearfix" index-id="11">
  389. <input type="hidden" name="custom[setting][achSwitch]" value="<?php echo showValue($custom['setting']['achSwitch'])?>">
  390. <div class="fl">成长轨迹</div>
  391. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['achSwitch']) == '1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  392. </div>
  393. <div class="child-11 en-isp-11 en-isp-child" style="<?php if (!showValue($custom['setting']['achSwitch'])){echo "display:none" ;}?>">
  394. <div class="show-content clearfix">
  395. <input type="hidden" name="custom[setting][achievementAnalysisAndGoalSetting][basicInformation]" value="<?php echo showValue($custom['setting']['achievementAnalysisAndGoalSetting']['basicInformation'])?>">
  396. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;基本情况</div>
  397. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['achievementAnalysisAndGoalSetting']['basicInformation'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  398. </div>
  399. <div class="show-content clearfix">
  400. <input type="hidden" name="custom[setting][achievementAnalysisAndGoalSetting][classRankTrendChart]" value="<?php echo showValue($custom['setting']['achievementAnalysisAndGoalSetting']['classRankTrendChart'])?>">
  401. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;班级排名趋势图</div>
  402. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['achievementAnalysisAndGoalSetting']['classRankTrendChart'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  403. </div>
  404. <div class="show-content clearfix">
  405. <input type="hidden" name="custom[setting][achievementAnalysisAndGoalSetting][personAveScoreRate]" value="<?php echo showValue($custom['setting']['achievementAnalysisAndGoalSetting']['personAveScoreRate'])?>">
  406. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;个人与班级平均得分率对比图</div>
  407. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['achievementAnalysisAndGoalSetting']['personAveScoreRate'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  408. </div>
  409. </div>
  410. <div class="show-content clearfix" index-id="12">
  411. <input type="hidden" name="custom[setting][analyzeAndFindTheCause]" value="<?php echo $custom['setting']['analyzeAndFindTheCause']?>">
  412. <div class="fl">阶段小结</div>
  413. <div class="fr show-btn"><span class="<?php if ($custom['setting']['analyzeAndFindTheCause']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  414. </div>
  415. <div class="show-content clearfix" index-id="13">
  416. <input type="hidden" name="custom[setting][topicScoreSwitch]" value="<?php echo showValue($custom['setting']['topicScoreSwitch'])?>">
  417. <div class="fl">题型得分表</div>
  418. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['topicScoreSwitch'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  419. </div>
  420. <div class="child-13 en-isp-13 en-isp-child" style="<?php if (!showValue($custom['setting']['topicScoreSwitch'])){echo "display:none" ;}?>">
  421. <div class="show-content clearfix">
  422. <input type="hidden" name="custom[setting][topicTypeScore][questionTypeScore]" value="<?php echo showValue($custom['setting']['topicTypeScore']['questionTypeScore'])?>">
  423. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;题型得分表</div>
  424. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['topicTypeScore']['questionTypeScore'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  425. </div>
  426. <div class="show-content clearfix">
  427. <input type="hidden" name="custom[setting][topicTypeScore][analysisOfWrongQuestions]" value="<?php echo showValue($custom['setting']['topicTypeScore']['analysisOfWrongQuestions'])?>">
  428. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;错题分析</div>
  429. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['topicTypeScore']['analysisOfWrongQuestions'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  430. </div>
  431. </div>
  432. <div class="show-content clearfix" index-id="14">
  433. <input type="hidden" name="custom[setting][personSwitch]" value="<?php echo showValue($custom['setting']['personSwitch'])?>">
  434. <div class="fl">个性训练</div>
  435. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personSwitch'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  436. </div>
  437. <div class="child-14 en-isp-14 en-isp-child" style="<?php if (!showValue($custom['setting']['personSwitch'])){echo "display:none" ;}?>">
  438. <div class="show-content clearfix">
  439. <input type="hidden" name="custom[setting][personalTraining][readingLevelDescription]" value="<?php echo showValue($custom['setting']['personalTraining']['readingLevelDescription'])?>">
  440. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;阅读等级说明</div>
  441. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['readingLevelDescription'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  442. </div>
  443. <div class="show-content clearfix" index-id="14002">
  444. <input type="hidden" name="custom[setting][personalTraining][discourseSwitch]" value="<?php echo showValue($custom['setting']['personalTraining']['discourseSwitch'])?>">
  445. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;语篇题</div>
  446. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['discourseSwitch'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  447. </div>
  448. <div class="child-14002 en-isp-14002 en-isp-child" style="<?php if (!showValue($custom['setting']['personalTraining']['discourseSwitch'])){echo "display:none" ;}?>">
  449. <div class="show-content clearfix">
  450. <input type="hidden" name="custom[setting][personalTraining][discourseTitle][errorAnalysis]" value="<?php echo showValue($custom['setting']['personalTraining']['discourseTitle']['errorAnalysis'])?>">
  451. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>错因分析</div>
  452. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['discourseTitle']['errorAnalysis'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  453. </div>
  454. <div class="show-content clearfix">
  455. <input type="hidden" name="custom[setting][personalTraining][discourseTitle][vocabularyAccumulation]" value="<?php echo showValue($custom['setting']['personalTraining']['discourseTitle']['vocabularyAccumulation'])?>">
  456. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>词汇积累</div>
  457. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['discourseTitle']['vocabularyAccumulation'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  458. </div>
  459. <div class="show-content clearfix">
  460. <input type="hidden" name="custom[setting][personalTraining][discourseTitle][syntacticAnalysis]" value="<?php echo showValue($custom['setting']['personalTraining']['discourseTitle']['syntacticAnalysis'])?>">
  461. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>句法剖析</div>
  462. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['discourseTitle']['syntacticAnalysis'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  463. </div>
  464. <div class="show-content clearfix" index-id="140024">
  465. <input type="hidden" name="custom[setting][personalTraining][discourseTitle][variantTrainingSwitch]" value="<?php echo showValue($custom['setting']['personalTraining']['discourseTitle']['variantTrainingSwitch'])?>">
  466. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>变式训练</div>
  467. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['discourseTitle']['variantTrainingSwitch'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  468. </div>
  469. <div class="child-140024 en-isp-140024 en-isp-child" style="<?php if (!showValue($custom['setting']['personalTraining']['discourseTitle']['variantTrainingSwitch'])){echo "display:none" ;}?>">
  470. <div class="show-content clearfix">
  471. <input type="hidden" name="custom[setting][personalTraining][discourseTitle][variantTraining][vocabularyApplication]" value="<?php echo showValue($custom['setting']['personalTraining']['discourseTitle']['variantTraining']['vocabularyApplication'])?>">
  472. <div class="fl"><?php echo str_repeat("&nbsp;",8*3);?>词汇运用</div>
  473. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['discourseTitle']['variantTraining']['vocabularyApplication'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  474. </div>
  475. <div class="show-content clearfix">
  476. <input type="hidden" name="custom[setting][personalTraining][discourseTitle][variantTraining][skillInspiration]" value="<?php echo showValue($custom['setting']['personalTraining']['discourseTitle']['variantTraining']['skillInspiration'])?>">
  477. <div class="fl"><?php echo str_repeat("&nbsp;",8*3);?>技巧点拨</div>
  478. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['discourseTitle']['variantTraining']['skillInspiration'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  479. </div>
  480. <div class="show-content clearfix">
  481. <input type="hidden" name="custom[setting][personalTraining][discourseTitle][variantTraining][disVariantTraining]" value="<?php echo showValue($custom['setting']['personalTraining']['discourseTitle']['variantTraining']['disVariantTraining'])?>">
  482. <div class="fl"><?php echo str_repeat("&nbsp;",8*3);?>变式训练</div>
  483. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['discourseTitle']['variantTraining']['disVariantTraining'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  484. </div>
  485. </div>
  486. </div>
  487. <div class="show-content clearfix" index-id="14003">
  488. <input type="hidden" name="custom[setting][personalTraining][grammaFillSwitch]" value="<?php echo showValue($custom['setting']['personalTraining']['grammaFillSwitch'])?>">
  489. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;语法填空</div>
  490. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['grammaFillSwitch'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  491. </div>
  492. <div class="child-14003 en-isp-14003 en-isp-child" style="<?php if (!showValue($custom['setting']['personalTraining']['grammaFillSwitch'])){echo "display:none" ;}?>">
  493. <div class="show-content clearfix">
  494. <input type="hidden" name="custom[setting][personalTraining][grammaFill][errorAnalysis]" value="<?php echo showValue($custom['setting']['personalTraining']['grammaFill']['errorAnalysis'])?>">
  495. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>错因分析</div>
  496. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['grammaFill']['errorAnalysis'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  497. </div>
  498. <div class="show-content clearfix">
  499. <input type="hidden" name="custom[setting][personalTraining][grammaFill][graVariantTraining]" value="<?php echo showValue($custom['setting']['personalTraining']['grammaFill']['graVariantTraining'])?>">
  500. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>变式训练</div>
  501. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['grammaFill']['graVariantTraining'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  502. </div>
  503. </div>
  504. <div class="show-content clearfix" index-id="14004">
  505. <input type="hidden" name="custom[setting][personalTraining][writingGuidanceSwitch]" value="<?php echo showValue($custom['setting']['personalTraining']['writingGuidanceSwitch'])?>">
  506. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;写作指导</div>
  507. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['writingGuidanceSwitch'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  508. </div>
  509. <div class="child-14004 en-isp-14004 en-isp-child" style="<?php if (!showValue($custom['setting']['personalTraining']['writingGuidanceSwitch'])){echo "display:none" ;}?>">
  510. <div class="show-content clearfix" index-id="140041">
  511. <input type="hidden" name="custom[setting][personalTraining][writingGuidance][compositionSwitch]" value="<?php echo showValue($custom['setting']['personalTraining']['writingGuidance']['compositionSwitch'])?>">
  512. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>作文展示</div>
  513. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['writingGuidance']['compositionSwitch'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  514. </div>
  515. <div class="child-140041 en-isp-140041 en-isp-child" style="<?php if (!showValue($custom['setting']['personalTraining']['writingGuidance']['compositionSwitch'])){echo "display:none" ;}?>">
  516. <div class="show-content clearfix">
  517. <input type="hidden" name="custom[setting][personalTraining][writingGuidance][compositionDisplay][myComposition]" value="<?php echo showValue($custom['setting']['personalTraining']['writingGuidance']['compositionDisplay']['myComposition'])?>">
  518. <div class="fl"><?php echo str_repeat("&nbsp;",8*3);?>我的作文</div>
  519. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['writingGuidance']['compositionDisplay']['myComposition'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  520. </div>
  521. <div class="show-content clearfix">
  522. <input type="hidden" name="custom[setting][personalTraining][writingGuidance][compositionDisplay][excellentComposition]" value="<?php echo showValue($custom['setting']['personalTraining']['writingGuidance']['compositionDisplay']['excellentComposition'])?>">
  523. <div class="fl"><?php echo str_repeat("&nbsp;",8*3);?>优秀作文</div>
  524. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['writingGuidance']['compositionDisplay']['excellentComposition'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  525. </div>
  526. </div>
  527. <div class="show-content clearfix">
  528. <input type="hidden" name="custom[setting][personalTraining][writingGuidance][intelligentDiagnosis]" value="<?php echo showValue($custom['setting']['personalTraining']['writingGuidance']['intelligentDiagnosis'])?>">
  529. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>智能诊断结果</div>
  530. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['writingGuidance']['intelligentDiagnosis'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  531. </div>
  532. <div class="show-content clearfix">
  533. <input type="hidden" name="custom[setting][personalTraining][writingGuidance][thinkingOfExamination]" value="<?php echo showValue($custom['setting']['personalTraining']['writingGuidance']['thinkingOfExamination'])?>">
  534. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>审题思路</div>
  535. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['writingGuidance']['thinkingOfExamination'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  536. </div>
  537. <div class="show-content clearfix">
  538. <input type="hidden" name="custom[setting][personalTraining][writingGuidance][standardModelText]" value="<?php echo showValue($custom['setting']['personalTraining']['writingGuidance']['standardModelText'])?>">
  539. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>标准范文</div>
  540. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['writingGuidance']['standardModelText'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  541. </div>
  542. <div class="show-content clearfix">
  543. <input type="hidden" name="custom[setting][personalTraining][writingGuidance][modelTextHighlights]" value="<?php echo showValue($custom['setting']['personalTraining']['writingGuidance']['modelTextHighlights'])?>">
  544. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>范文亮点</div>
  545. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['writingGuidance']['modelTextHighlights'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  546. </div>
  547. <div class="show-content clearfix">
  548. <input type="hidden" name="custom[setting][personalTraining][writingGuidance][writingTemplate]" value="<?php echo showValue($custom['setting']['personalTraining']['writingGuidance']['writingTemplate'])?>">
  549. <div class="fl"><?php echo str_repeat("&nbsp;",8*2);?>写作模板</div>
  550. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['personalTraining']['writingGuidance']['writingTemplate'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  551. </div>
  552. </div>
  553. </div>
  554. <div class="show-content clearfix" index-id="15">
  555. <?php
  556. $value=0;
  557. if(showValue($custom['setting']['variantTrainingOfCommonProblems'])==1 || showValue($custom['setting']['variantTrainingOfCommonProblems'])==''){
  558. $value=1;
  559. }
  560. ?>
  561. <input type="hidden" name="custom[setting][variantTrainingOfCommonProblems]" value="<?php echo $value?>">
  562. <div class="fl">共性问题变式训练</div>
  563. <div class="fr show-btn"><span class="<?php if ($value){echo 'on' ;} else{echo 'off';}?>"></span></div>
  564. </div>
  565. <div class="setting-title clearfix">
  566. <span class="fl">其他设置</span>
  567. </div>
  568. <div class="show-content clearfix" index-id="">
  569. <?php
  570. $value=0;
  571. if(showValue($custom['setting']['printSeparately'])==1){
  572. $value=1;
  573. }
  574. ?>
  575. <input type="hidden" name="custom[setting][printSeparately]" value="<?php echo $value?>">
  576. <div class="fl">题目答案分开打印</div>
  577. <div class="fr show-btn"><span class="<?php if ($value){echo 'on' ;} else{echo 'off';}?>"></span></div>
  578. </div>
  579. <div class="show-content clearfix" index-id="">
  580. <?php
  581. $value=0;
  582. if(showValue($custom['setting']['oldPaperAnswer'])==1){
  583. $value=1;
  584. }
  585. ?>
  586. <input type="hidden" name="custom[setting][oldPaperAnswer]" value="<?php echo $value?>">
  587. <div class="fl">原卷答案</div>
  588. <div class="fr show-btn"><span class="<?php if ($value){echo 'on' ;} else{echo 'off';}?>"></span></div>
  589. </div>
  590. <div class="show-content clearfix" index-id="">
  591. <?php
  592. $value=0;
  593. if(showValue($custom['setting']['isMandatoryChangePage'])==1){
  594. $value=1;
  595. }
  596. ?>
  597. <input type="hidden" name="custom[setting][isMandatoryChangePage]" value="<?php echo $value?>">
  598. <div class="fl">“共性问题变式训练”是否强制换页</div>
  599. <div class="fr show-btn"><span class="<?php if ($value){echo 'on' ;} else{echo 'off';}?>"></span></div>
  600. </div>
  601. <div class="show-content clearfix" index-id="">
  602. <?php
  603. $value=0;
  604. if(showValue($custom['setting']['isStudentEditionContainAnswer'])==1){
  605. $value=1;
  606. }
  607. ?>
  608. <input type="hidden" name="custom[setting][isStudentEditionContainAnswer]" value="<?php echo $value?>">
  609. <div class="fl">学生版是否包含“共性问题变式训练”答案</div>
  610. <div class="fr show-btn"><span class="<?php if ($value){echo 'on' ;} else{echo 'off';}?>"></span></div>
  611. </div>
  612. <input type="hidden" name="custom[setting][is_new_version]" value="1">
  613. <?php endif;?>
  614. <?php if($custom['moduleType']=='english_4') :?>
  615. <div class="show-content clearfix" index-id="16">
  616. <div class="fl">1.词汇自测<em index-id="16">?</em></div>
  617. <div class="fr show-btn"><span class="on"></span></div>
  618. </div>
  619. <div class="child-16 " style="display: ">
  620. <div class="show-content clearfix" index-id="161">
  621. <input type="hidden" name="custom[setting][vocabularySelfTest][coreVocabulary][onOff]" value="<?php echo showValue($custom['setting']['vocabularySelfTest']['coreVocabulary']['onOff'])?>">
  622. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.1核心词汇<em index-id="161">?</em></div>
  623. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['vocabularySelfTest']['coreVocabulary']['onOff'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  624. </div>
  625. <div class="show-content child-161 clearfix">
  626. <input type="hidden" name="custom[setting][vocabularySelfTest][coreVocabulary][vocabularyUse]" value="<?php echo showValue($custom['setting']['vocabularySelfTest']['coreVocabulary']['vocabularyUse'])?>">
  627. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.1.1词汇运用<em index-id="162">?</em></div>
  628. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['vocabularySelfTest']['coreVocabulary']['vocabularyUse'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  629. </div>
  630. <div class="show-content clearfix">
  631. <input type="hidden" name="custom[setting][vocabularySelfTest][keyPhrases]" value="<?php echo showValue($custom['setting']['vocabularySelfTest']['keyPhrases'])?>">
  632. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.2重点短语<em index-id="163">?</em></div>
  633. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['vocabularySelfTest']['keyPhrases'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  634. </div>
  635. </div>
  636. <div class="show-content clearfix" index-id="17">
  637. <div class="fl">2语法聚焦<em index-id="17">?</em></div>
  638. <div class="fr show-btn"><span class="on"></span></div>
  639. </div>
  640. <div class="child-17 " style="display: ">
  641. <div class="show-content clearfix">
  642. <input type="hidden" name="custom[setting][focusOnGrammar][singleSentenceGrammar]" value="<?php echo showValue($custom['setting']['focusOnGrammar']['singleSentenceGrammar'])?>">
  643. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1单句语法填空<em index-id="171">?</em></div>
  644. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['focusOnGrammar']['singleSentenceGrammar'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  645. </div>
  646. <div class="show-content clearfix">
  647. <input type="hidden" name="custom[setting][focusOnGrammar][grammaticalFillIn]" value="<?php echo showValue($custom['setting']['focusOnGrammar']['grammaticalFillIn'])?>">
  648. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2语法填空<em index-id="172">?</em></div>
  649. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['focusOnGrammar']['grammaticalFillIn'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  650. </div>
  651. </div>
  652. <div class="show-content clearfix" index-id="18">
  653. <div class="fl">3.写作训练<em index-id="18">?</em></div>
  654. <div class="fr show-btn"><span class="on"></span></div>
  655. </div>
  656. <div class="child-18 " style="display: ">
  657. <div class="show-content clearfix">
  658. <input type="hidden" name="custom[setting][writingTraining][commentsOnGoodSentences]" value="<?php echo showValue($custom['setting']['writingTraining']['commentsOnGoodSentences'])?>">
  659. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.1佳句点拨<em index-id="181">?</em></div>
  660. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['writingTraining']['commentsOnGoodSentences'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  661. </div>
  662. <div class="show-content clearfix">
  663. <input type="hidden" name="custom[setting][writingTraining][actualCombatDrill]" value="<?php echo showValue($custom['setting']['writingTraining']['actualCombatDrill'])?>">
  664. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.2实战演练<em index-id="182">?</em></div>
  665. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['writingTraining']['actualCombatDrill'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  666. </div>
  667. </div>
  668. <div class="show-content clearfix" index-id="19">
  669. <div class="fl">4.外刊泛读<em index-id="19">?</em></div>
  670. <div class="fr show-btn"><span class="on"></span></div>
  671. </div>
  672. <div class="child-19 " style="display: ">
  673. <div class="show-content clearfix">
  674. <input type="hidden" name="custom[setting][extensiveReadingOfForeignJournals][accumulationOfNewWords]" value="<?php echo showValue($custom['setting']['extensiveReadingOfForeignJournals']['accumulationOfNewWords'])?>">
  675. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.1新词积累<em index-id="191">?</em></div>
  676. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['extensiveReadingOfForeignJournals']['accumulationOfNewWords'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  677. </div>
  678. <div class="show-content clearfix">
  679. <input type="hidden" name="custom[setting][extensiveReadingOfForeignJournals][appreciationOfGoldenSentences]" value="<?php echo showValue($custom['setting']['extensiveReadingOfForeignJournals']['appreciationOfGoldenSentences'])?>">
  680. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.2金句赏析<em index-id="192">?</em></div>
  681. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['extensiveReadingOfForeignJournals']['appreciationOfGoldenSentences'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  682. </div>
  683. <div class="show-content clearfix">
  684. <input type="hidden" name="custom[setting][extensiveReadingOfForeignJournals][fullTextTranslation]" value="<?php echo showValue($custom['setting']['extensiveReadingOfForeignJournals']['fullTextTranslation'])?>">
  685. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.3全文翻译<em index-id="193">?</em></div>
  686. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['extensiveReadingOfForeignJournals']['fullTextTranslation'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  687. </div>
  688. </div>
  689. <?php endif;?>
  690. <?php if($custom['moduleType']=='english_5') :?>
  691. <div class="show-content clearfix" index-id="50">
  692. <div class="fl">a-词汇集训</div>
  693. <div class="fr show-btn"><span class="on"></span></div>
  694. </div>
  695. <div class="child-50 " style="display: ">
  696. <div class="show-content clearfix" index-id="501" style="display: <?php if(isset($custom['setting']['isWhole']) && $custom['setting']['isWhole']==0){echo 'none';}?>" >
  697. <input type="hidden" name="custom[setting][training][wordReview]" value="<?php echo $custom['setting']['training']['wordReview']?>">
  698. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;词汇回顾</div>
  699. <div class="fr show-btn"><span class="<?php if ($custom['setting']['training']['wordReview']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  700. </div>
  701. <div class="show-content clearfix" index-id="501">
  702. <input type="hidden" name="custom[setting][training][wordExplain]" value="<?php echo $custom['setting']['training']['wordExplain']?>">
  703. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;词汇精讲></div>
  704. <div class="fr show-btn"><span class="<?php if ($custom['setting']['training']['wordExplain']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  705. </div>
  706. <div class="show-content clearfix" index-id="502">
  707. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;精准训练</div>
  708. <div class="fr show-btn"><span class="on"></span></div>
  709. </div>
  710. <div class="child-502 " style="display: ">
  711. <div class="show-content clearfix">
  712. <input type="hidden" name="custom[setting][training][practiceExact][translate]" value="<?php echo showValue($custom['setting']['training']['practiceExact']['translate'])?>">
  713. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;英汉互译</div>
  714. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['training']['practiceExact']['translate'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  715. </div>
  716. <div class="show-content clearfix" index-id="5021">
  717. <input type="hidden" name="custom[setting][training][practiceExact][wordApply]" value="<?php echo showValue($custom['setting']['training']['practiceExact']['wordApply'])?>">
  718. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;词汇运用</div>
  719. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['training']['practiceExact']['wordApply'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  720. </div>
  721. <div class="child-5021 " style="display: ">
  722. <div class="show-content clearfix" index-id="50211">
  723. <input type="hidden" name="custom[setting][training][practiceExact][wordSpell]" value="<?php echo isset($custom['setting']['training']['practiceExact']['wordSpell'])? $custom['setting']['training']['practiceExact']['wordSpell']:1;?>">
  724. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;单词拼写</div>
  725. <div class="fr show-btn"><span class="<?php if (!isset($custom['setting']['training']['practiceExact']['wordSpell']) || $custom['setting']['training']['practiceExact']['wordSpell']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  726. </div>
  727. <div class="show-content clearfix" index-id="50212">
  728. <input type="hidden" name="custom[setting][training][practiceExact][sentenceFill]" value="<?php echo isset($custom['setting']['training']['practiceExact']['sentenceFill'])?$custom['setting']['training']['practiceExact']['sentenceFill']:1; ?>">
  729. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;单句语法填空</div>
  730. <div class="fr show-btn"><span class="<?php if (!isset($custom['setting']['training']['practiceExact']['sentenceFill']) || $custom['setting']['training']['practiceExact']['sentenceFill']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  731. </div>
  732. <div class="show-content clearfix" index-id="50213" style="display: <?php if(isset($custom['setting']['isWhole']) && $custom['setting']['isWhole']==0){echo 'none';}?>" >
  733. <input type="hidden" name="custom[setting][training][practiceExact][sentenceTranslate]" value="<?php echo isset($custom['setting']['training']['practiceExact']['sentenceTranslate'])?$custom['setting']['training']['practiceExact']['sentenceTranslate']:1; ?>">
  734. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;单句翻译</div>
  735. <div class="fr show-btn"><span class="<?php if (!isset($custom['setting']['training']['practiceExact']['sentenceTranslate']) || $custom['setting']['training']['practiceExact']['sentenceTranslate']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  736. </div>
  737. </div>
  738. <div class="show-content clearfix" style="display: <?php if(isset($custom['setting']['isWhole']) && $custom['setting']['isWhole']==0){echo 'none';}?>" >
  739. <input type="hidden" name="custom[setting][training][practiceExact][discourse]" value="<?php echo showValue($custom['setting']['training']['practiceExact']['discourse'])?>">
  740. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;语篇训练</div>
  741. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['training']['practiceExact']['discourse'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  742. </div>
  743. </div>
  744. </div>
  745. <div class="show-content clearfix" index-id="51">
  746. <input type="hidden" name="custom[setting][checkCard]" value="<?php echo $custom['setting']['checkCard']?>">
  747. <div class="fl">b-词汇集训检测卡</div>
  748. <div class="fr show-btn"><span class="<?php if ($custom['setting']['checkCard']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  749. </div>
  750. <div class="show-content clearfix" index-id="52">
  751. <input type="hidden" name="custom[setting][wrongPractice]" value="<?php echo $custom['setting']['wrongPractice']?>">
  752. <div class="fl">c-错词再练</div>
  753. <div class="fr show-btn"><span class="<?php if ($custom['setting']['wrongPractice']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  754. </div>
  755. <div class="show-content clearfix">
  756. <label class="">第几次推送错词再练</label>
  757. <select name="custom[setting][wrongPracticeTimes]" >
  758. <option <?php echo (isset($custom['setting']['wrongPracticeTimes']) && $custom['setting']['wrongPracticeTimes'] == 3)?'selected="selected"':"";?> value="3">3</option>
  759. <option <?php echo (isset($custom['setting']['wrongPracticeTimes']) && $custom['setting']['wrongPracticeTimes'] == 4)?'selected="selected"':"";?> value="4">4</option>
  760. <option <?php echo (isset($custom['setting']['wrongPracticeTimes']) && $custom['setting']['wrongPracticeTimes'] == 5)?'selected="selected"':"";?> value="5">5</option>
  761. <option <?php echo (isset($custom['setting']['wrongPracticeTimes']) && $custom['setting']['wrongPracticeTimes'] == 6)?'selected="selected"':"";?> value="6">6</option>
  762. </select>
  763. </div>
  764. <?php endif;?>
  765. <?php if($custom['moduleType']=='english_6') :?>
  766. <div class="show-content clearfix" index-id="50">
  767. <div class="fl">批改后</div>
  768. <div class="fr show-btn" style="display: none"><span class="on"></span></div>
  769. </div>
  770. <div class="show-content clearfix" index-id="501">
  771. <input type="hidden" name="custom[setting][qcbdSwitch]" value="<?php echo showValue($custom['setting']['qcbdSwitch'])?>">
  772. <div class="fl">取长补短</div>
  773. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['qcbdSwitch']) == '1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  774. </div>
  775. <div class="child-501 en-isp-501 en-isp-child" style="<?php if (!showValue($custom['setting']['qcbdSwitch'])){echo "display:none" ;}?>">
  776. <div class="show-content clearfix">
  777. <input type="hidden" name="custom[setting][qcbd][myEssay]" value="<?php echo showValue($custom['setting']['qcbd']['myEssay'])?>">
  778. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;我的作文</div>
  779. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['qcbd']['myEssay'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  780. </div>
  781. <div class="show-content clearfix">
  782. <input type="hidden" name="custom[setting][qcbd][goodEssay]" value="<?php echo showValue($custom['setting']['qcbd']['goodEssay'])?>">
  783. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;优秀范文</div>
  784. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['qcbd']['goodEssay'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  785. </div>
  786. </div>
  787. <div class="show-content clearfix" index-id="502">
  788. <input type="hidden" name="custom[setting][ocr]" value="<?php echo $custom['setting']['ocr']?>">
  789. <div class="fl">OCR图像识别结果</div>
  790. <div class="fr show-btn"><span class="<?php if ($custom['setting']['ocr']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  791. </div>
  792. <div class="show-content clearfix" index-id="503">
  793. <input type="hidden" name="custom[setting][wdfx]" value="<?php echo $custom['setting']['wdfx']?>">
  794. <div class="fl">维度分析</div>
  795. <div class="fr show-btn"><span class="<?php if ($custom['setting']['wdfx']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  796. </div>
  797. <div class="show-content clearfix" index-id="504">
  798. <input type="hidden" name="custom[setting][py]" value="<?php echo $custom['setting']['py']?>">
  799. <div class="fl">评语</div>
  800. <div class="fr show-btn"><span class="<?php if ($custom['setting']['py']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  801. </div>
  802. <div class="show-content clearfix" index-id="505">
  803. <input type="hidden" name="custom[setting][ajdp]" value="<?php echo $custom['setting']['ajdp']?>">
  804. <div class="fl">按句点评</div>
  805. <div class="fr show-btn"><span class="<?php if ($custom['setting']['ajdp']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  806. </div>
  807. <div class="show-content clearfix" index-id="506">
  808. <input type="hidden" name="custom[setting][ldsmSwitch]" value="<?php echo showValue($custom['setting']['ldsmSwitch'])?>">
  809. <div class="fl">亮点说明</div>
  810. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['ldsmSwitch']) == '1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  811. </div>
  812. <div class="child-506 en-isp-506 en-isp-child" style="<?php if (!showValue($custom['setting']['ldsmSwitch'])){echo "display:none" ;}?>">
  813. <div class="show-content clearfix">
  814. <input type="hidden" name="custom[setting][ldsm][grld]" value="<?php echo showValue($custom['setting']['ldsm']['grld'])?>">
  815. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;个人亮点</div>
  816. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['ldsm']['grld'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  817. </div>
  818. <div class="show-content clearfix">
  819. <input type="hidden" name="custom[setting][ldsm][bjld]" value="<?php echo showValue($custom['setting']['ldsm']['bjld'])?>">
  820. <div class="fl">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;班级亮点</div>
  821. <div class="fr show-btn"><span class="<?php if (showValue($custom['setting']['ldsm']['bjld'])=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  822. </div>
  823. </div>
  824. <div class="show-content clearfix" index-id="507">
  825. <input type="hidden" name="custom[setting][cdtn]" value="<?php echo $custom['setting']['cdtn']?>">
  826. <div class="fl">错点提能</div>
  827. <div class="fr show-btn"><span class="<?php if ($custom['setting']['cdtn']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  828. </div>
  829. <div class="show-content">
  830. <div class="clearfix"><div class="fl">参数设置</div></div>
  831. <div class="set-user clearfix">
  832. <div class="showTz_14">
  833. <label>班级亮点</label>
  834. </div>
  835. <div class="showTz_14 input-item">
  836. <label>亮点短语</label>
  837. <span class="fr">默认10个</span>
  838. <?php
  839. $lddyCount = 10;
  840. if(isset($custom['setting']['lddyCount']) && is_numeric($custom['setting']['lddyCount'])){
  841. $lddyCount = $custom['setting']['lddyCount'];
  842. }
  843. ?>
  844. <input type="number" name="custom[setting][lddyCount]" value="<?php echo $lddyCount;?>" max="15" min="0" class="en-writing-input fr" oninput="if(!/^[0-9]+$/.test(value)) value=value.replace(/\D/g,'');if(value>15)value=15;if(value<0)value=null">
  845. </div>
  846. <div class="showTz_14 input-item">
  847. <label>亮点句型</label>
  848. <span class="fr">默认5个</span>
  849. <?php
  850. $ldjxCount = 5;
  851. if(isset($custom['setting']['ldjxCount']) && is_numeric($custom['setting']['ldjxCount'])){
  852. $ldjxCount = $custom['setting']['ldjxCount'];
  853. }
  854. ?>
  855. <input type="number" name="custom[setting][ldjxCount]" value="<?php echo $ldjxCount;?>" max="10" min="0" class="en-writing-input fr" oninput="if(!/^[0-9]+$/.test(value)) value=value.replace(/\D/g,'');if(value>10)value=10;if(value<0)value=null">
  856. </div>
  857. </div>
  858. </div>
  859. <?php endif;?>
  860. <?php if($custom['moduleType']=='english_3') :?>
  861. <div class="show-content" id="wrongNum">
  862. <div class="clearfix">
  863. <div class="fl">
  864. <?php
  865. if($custom['moduleType']=='english_3'){
  866. echo '变式训练语篇数量';
  867. }else{
  868. echo '题目数量';
  869. }
  870. ?>
  871. </div>
  872. <div class="fr words-gray">
  873. <?php if($custom['moduleType']=='english_3') :?>
  874. (请根据考试涉及题型选择)
  875. <?php endif;?>
  876. </div>
  877. </div>
  878. <div class="set-user clearfix">
  879. <?php if($custom['moduleType']=='english_1'): ?>
  880. <div class="showTz_2" style="display: <?php if ($custom['setting']['exampleSentenceWriting']=='1'){echo 'block' ;} else{echo 'none';}?>">
  881. <label class="">例句填词</label>
  882. <span class="">默认10道</span>
  883. <?php if(isset($custom['setting']['numberOfWrongQuestions']['exampleSentenceWriting']['wordSpelling'])):?>
  884. <select name="custom[setting][numberOfWrongQuestions][exampleSentenceWriting]" >
  885. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['exampleSentenceWriting']) && $custom['setting']['numberOfWrongQuestions']['exampleSentenceWriting'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  886. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['exampleSentenceWriting']) && $custom['setting']['numberOfWrongQuestions']['exampleSentenceWriting'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  887. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['exampleSentenceWriting']) && $custom['setting']['numberOfWrongQuestions']['exampleSentenceWriting'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  888. </select>
  889. <?php else:?>
  890. <select name="custom[setting][numberOfWrongQuestions][exampleSentenceWriting]" >
  891. <option value="5">最多5道</option>
  892. <option selected value="10">最多10道</option>
  893. <option value="15">最多15道</option>
  894. </select>
  895. <?php endif;?>
  896. </div>
  897. <div class="showTz_4" style="display: <?php if ($custom['setting']['lexicalUse']=='1'){echo 'block' ;} else{echo 'none';}?>">
  898. <label class="">词汇运用</label>
  899. <div class="sub_item">
  900. <p>
  901. <?php if(isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['wordSpelling'])):?>
  902. <input type="checkbox" checked >单词拼写
  903. <span class="">默认10道</span>
  904. <select name="custom[setting][numberOfWrongQuestions][lexicalUse][wordSpelling]" >
  905. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['wordSpelling']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['wordSpelling'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  906. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['wordSpelling']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['wordSpelling'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  907. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['wordSpelling']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['wordSpelling'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  908. </select>
  909. <?php else:?>
  910. <input type="checkbox" >单词拼写
  911. <span class="">默认10道</span>
  912. <select name="custom[setting][numberOfWrongQuestions][lexicalUse][wordSpelling]" disabled>
  913. <option value="5">最多5道</option>
  914. <option value="10" selected>最多10道</option>
  915. <option value="15">最多15道</option>
  916. </select>
  917. <?php endif;?>
  918. </p>
  919. <p>
  920. <?php if(isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceGrammar'])):?>
  921. <input type="checkbox" checked>单句语法填空
  922. <span class="">默认10道</span>
  923. <select name="custom[setting][numberOfWrongQuestions][lexicalUse][singleSentenceGrammar]" >
  924. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceGrammar'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  925. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceGrammar'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  926. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceGrammar'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  927. </select>
  928. <?php else:?>
  929. <input type="checkbox" >单句语法填空
  930. <span class="">默认10道</span>
  931. <select name="custom[setting][numberOfWrongQuestions][lexicalUse][singleSentenceGrammar]" disabled>
  932. <option value="5">最多5道</option>
  933. <option value="10" selected>最多10道</option>
  934. <option value="15">最多15道</option>
  935. </select>
  936. <?php endif;?>
  937. </p>
  938. <p>
  939. <?php if(isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceTranslation'])):?>
  940. <input type="checkbox" checked>单句翻译
  941. <span class="">默认10道</span>
  942. <select name="custom[setting][numberOfWrongQuestions][lexicalUse][singleSentenceTranslation]" >
  943. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceTranslation']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceTranslation'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  944. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceTranslation']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceTranslation'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  945. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceTranslation']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleSentenceTranslation'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  946. </select>
  947. <?php else:?>
  948. <input type="checkbox" >单句翻译
  949. <span class="">默认10道</span>
  950. <select name="custom[setting][numberOfWrongQuestions][lexicalUse][singleSentenceTranslation]" disabled>
  951. <option value="5">最多5道</option>
  952. <option value="10" selected>最多10道</option>
  953. <option value="15">最多15道</option>
  954. </select>
  955. <?php endif;?>
  956. </p>
  957. <?php if($province_id==11):?>
  958. <p>
  959. <?php if(isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleChoice'])):?>
  960. <input type="checkbox" checked>单项填空
  961. <span class="">默认10道</span>
  962. <select name="custom[setting][numberOfWrongQuestions][lexicalUse][singleChoice]" >
  963. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleChoice']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleChoice'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  964. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleChoice']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleChoice'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  965. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleChoice']) && $custom['setting']['numberOfWrongQuestions']['lexicalUse']['singleChoice'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  966. </select>
  967. <?php else:?>
  968. <input type="checkbox" >单项填空
  969. <span class="">默认10道</span>
  970. <select name="custom[setting][numberOfWrongQuestions][lexicalUse][singleChoice]" disabled>
  971. <option value="5">最多5道</option>
  972. <option value="10" selected>最多10道</option>
  973. <option value="15">最多15道</option>
  974. </select>
  975. <?php endif;?>
  976. </p>
  977. <?php endif;?>
  978. </div>
  979. </div>
  980. <div class="showTz_5" style="display: <?php if ($custom['setting']['grammaticalFocus']=='1'){echo 'block' ;} else{echo 'none';}?>">
  981. <label class="">语法聚焦</label>
  982. <div class="sub_item">
  983. <?php if($province_id==11):?>
  984. <p>
  985. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleChoice'])):?>
  986. <input type="checkbox" checked >单项填空
  987. <span class="">默认10道</span>
  988. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleChoice]" >
  989. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleChoice']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleChoice'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  990. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleChoice']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleChoice'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  991. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleChoice']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleChoice'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  992. </select>
  993. <?php else:?>
  994. <input type="checkbox" >单项填空
  995. <span class="">默认10道</span>
  996. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleChoice]" disabled>
  997. <option value="5">最多5道</option>
  998. <option value="10" selected>最多10道</option>
  999. <option value="15">最多15道</option>
  1000. </select>
  1001. <?php endif;?>
  1002. </p>
  1003. <p>
  1004. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'])):?>
  1005. <input type="checkbox" checked>单句语法填空
  1006. <span class="">默认10道</span>
  1007. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceGrammar]" >
  1008. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  1009. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  1010. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  1011. </select>
  1012. <?php else:?>
  1013. <input type="checkbox" >单句语法填空
  1014. <span class="">默认10道</span>
  1015. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceGrammar]" disabled>
  1016. <option value="5">最多5道</option>
  1017. <option value="10" selected>最多10道</option>
  1018. <option value="15">最多15道</option>
  1019. </select>
  1020. <?php endif;?>
  1021. </p>
  1022. <p>
  1023. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'])):?>
  1024. <input type="checkbox" checked>单句改错
  1025. <span class="">默认10道</span>
  1026. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceCorrection]" >
  1027. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  1028. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  1029. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  1030. </select>
  1031. <?php else:?>
  1032. <input type="checkbox" >单句改错
  1033. <span class="">默认10道</span>
  1034. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceCorrection]" disabled>
  1035. <option value="5">最多5道</option>
  1036. <option value="10" selected>最多10道</option>
  1037. <option value="15">最多15道</option>
  1038. </select>
  1039. <?php endif;?>
  1040. </p>
  1041. <?php elseif($province_id==12):?>
  1042. <p>
  1043. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn'])):?>
  1044. <input type="checkbox" checked>语法填空
  1045. <span class="">默认1篇</span>
  1046. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][grammaticalFillIn]" >
  1047. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn'] == 1)?'selected="selected"':"";?> value="1">1篇</option>
  1048. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn'] == 2)?'selected="selected"':"";?> value="2">2篇</option>
  1049. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn'] == 3)?'selected="selected"':"";?> value="3">3篇</option>
  1050. </select>
  1051. <?php else:?>
  1052. <input type="checkbox" >语法填空
  1053. <span class="">默认1篇</span>
  1054. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][grammaticalFillIn]" disabled>
  1055. <option value="1" selected>1篇</option>
  1056. <option value="2">2篇</option>
  1057. <option value="3">3篇</option>
  1058. </select>
  1059. <?php endif;?>
  1060. </p>
  1061. <p>
  1062. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'])):?>
  1063. <input type="checkbox" checked>单句语法填空
  1064. <span class="">默认10道</span>
  1065. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceGrammar]" >
  1066. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  1067. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  1068. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  1069. </select>
  1070. <?php else:?>
  1071. <input type="checkbox" >单句语法填空
  1072. <span class="">默认10道</span>
  1073. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceGrammar]" disabled >
  1074. <option value="5">最多5道</option>
  1075. <option value="10" selected>最多10道</option>
  1076. <option value="15">最多15道</option>
  1077. </select>
  1078. <?php endif;?>
  1079. </p>
  1080. <p>
  1081. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'])):?>
  1082. <input type="checkbox" checked>单句改错
  1083. <span class="">默认10道</span>
  1084. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceCorrection]" >
  1085. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  1086. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  1087. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  1088. </select>
  1089. <?php else:?>
  1090. <input type="checkbox" >单句改错
  1091. <span class="">默认10道</span>
  1092. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceCorrection]" disabled>
  1093. <option value="5">最多5道</option>
  1094. <option value="10" selected>最多10道</option>
  1095. <option value="15">最多15道</option>
  1096. </select>
  1097. <?php endif;?>
  1098. </p>
  1099. <?php else:?>
  1100. <p>
  1101. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'])):?>
  1102. <input type="checkbox" checked>单句语法填空
  1103. <span class="">默认10道</span>
  1104. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceGrammar]" >
  1105. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  1106. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  1107. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceGrammar'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  1108. </select>
  1109. <?php else:?>
  1110. <input type="checkbox" >单句语法填空
  1111. <span class="">默认10道</span>
  1112. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceGrammar]" disabled>
  1113. <option value="5">最多5道</option>
  1114. <option value="10" selected>最多10道</option>
  1115. <option value="15">最多15道</option>
  1116. </select>
  1117. <?php endif;?>
  1118. </p>
  1119. <p>
  1120. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'])):?>
  1121. <input type="checkbox" checked>单句改错
  1122. <span class="">默认10道</span>
  1123. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceCorrection]" >
  1124. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  1125. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  1126. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['singleSentenceCorrection'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  1127. </select>
  1128. <?php else:?>
  1129. <input type="checkbox" >单句改错
  1130. <span class="">默认10道</span>
  1131. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][singleSentenceCorrection]" disabled>
  1132. <option value="5">最多5道</option>
  1133. <option value="10" selected>最多10道</option>
  1134. <option value="15">最多15道</option>
  1135. </select>
  1136. <?php endif;?>
  1137. </p>
  1138. <p>
  1139. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn'])):?>
  1140. <input type="checkbox" checked>语法填空
  1141. <span class="">默认1篇</span>
  1142. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][grammaticalFillIn]" >
  1143. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn'] == 1)?'selected="selected"':"";?> value="1">1篇</option>
  1144. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn'] == 2)?'selected="selected"':"";?> value="2">2篇</option>
  1145. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['grammaticalFillIn'] == 3)?'selected="selected"':"";?> value="3">3篇</option>
  1146. </select>
  1147. <?php else:?>
  1148. <input type="checkbox" >语法填空
  1149. <span class="">默认1篇</span>
  1150. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][grammaticalFillIn]" disabled>
  1151. <option value="1" selected>1篇</option>
  1152. <option value="2">2篇</option>
  1153. <option value="3">3篇</option>
  1154. </select>
  1155. <?php endif;?>
  1156. </p>
  1157. <p>
  1158. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['errorCorrection'])):?>
  1159. <input type="checkbox" checked>短文改错
  1160. <span class="">默认1篇</span>
  1161. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][errorCorrection]" >
  1162. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['errorCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['errorCorrection'] == 1)?'selected="selected"':"";?> value="1">1篇</option>
  1163. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['errorCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['errorCorrection'] == 2)?'selected="selected"':"";?> value="2">2篇</option>
  1164. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['errorCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalFocus']['errorCorrection'] == 3)?'selected="selected"':"";?> value="3">3篇</option>
  1165. </select>
  1166. <?php else:?>
  1167. <input type="checkbox" >短文改错
  1168. <span class="">默认1篇</span>
  1169. <select name="custom[setting][numberOfWrongQuestions][grammaticalFocus][errorCorrection]" disabled>
  1170. <option value="1" selected>1篇</option>
  1171. <option value="2">2篇</option>
  1172. <option value="3">3篇</option>
  1173. </select>
  1174. <?php endif;?>
  1175. </p>
  1176. <?php endif;?>
  1177. </div>
  1178. </div>
  1179. <div class="showTz_6" style="display: <?php if ($custom['setting']['extraCredit']=='1'){echo 'block' ;} else{echo 'none';}?>;">
  1180. <label class="">美文赏析</label>
  1181. <span class="">默认1篇</span>
  1182. <select name="custom[setting][numberOfWrongQuestions][extraCredit]" >
  1183. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['extraCredit']) && $custom['setting']['numberOfWrongQuestions']['extraCredit'] == 1)?'selected="selected"':"";?> value="1">1篇</option>
  1184. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['extraCredit']) && $custom['setting']['numberOfWrongQuestions']['extraCredit'] == 2)?'selected="selected"':"";?> value="2">2篇</option>
  1185. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['extraCredit']) && $custom['setting']['numberOfWrongQuestions']['extraCredit'] == 3)?'selected="selected"':"";?> value="3">3篇</option>
  1186. </select>
  1187. </div>
  1188. <?php endif;?>
  1189. <?php if($custom['moduleType']=='english_2'): ?>
  1190. <div class="showTz_7" style="display: <?php if ($custom['setting']['vocabularyConsolidation']=='1'){echo 'block' ;} else{echo 'none';}?>">
  1191. <label class="">词汇巩固</label>
  1192. <div class="sub_item">
  1193. <p>
  1194. <?php if(isset($custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['bankedCloze'])):?>
  1195. <input type="checkbox" checked>选词填空
  1196. <span class="">默认10道</span>
  1197. <select name="custom[setting][numberOfWrongQuestions][vocabularyConsolidation][bankedCloze]" >
  1198. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['bankedCloze']) && $custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['bankedCloze'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  1199. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['bankedCloze']) && $custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['bankedCloze'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  1200. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['bankedCloze']) && $custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['bankedCloze'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  1201. </select>
  1202. <?php else:?>
  1203. <input type="checkbox" >选词填空
  1204. <span class="">默认10道</span>
  1205. <select name="custom[setting][numberOfWrongQuestions][vocabularyConsolidation][bankedCloze]" disabled>
  1206. <option value="5">最多5道</option>
  1207. <option value="10" selected>最多10道</option>
  1208. <option value="15">最多15道</option>
  1209. </select>
  1210. <?php endif;?>
  1211. </p>
  1212. <p>
  1213. <?php if(isset($custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['singleSentenceTranslation'])):?>
  1214. <input type="checkbox" checked>单句翻译
  1215. <span class="">默认10道</span>
  1216. <select name="custom[setting][numberOfWrongQuestions][vocabularyConsolidation][singleSentenceTranslation]" >
  1217. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['singleSentenceTranslation']) && $custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['singleSentenceTranslation'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  1218. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['singleSentenceTranslation']) && $custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['singleSentenceTranslation'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  1219. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['singleSentenceTranslation']) && $custom['setting']['numberOfWrongQuestions']['vocabularyConsolidation']['singleSentenceTranslation'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  1220. </select>
  1221. <?php else:?>
  1222. <input type="checkbox" >单句翻译
  1223. <span class="">默认10道</span>
  1224. <select name="custom[setting][numberOfWrongQuestions][vocabularyConsolidation][singleSentenceTranslation]" disabled>
  1225. <option value="5">最多5道</option>
  1226. <option value="10" selected>最多10道</option>
  1227. <option value="15">最多15道</option>
  1228. </select>
  1229. <?php endif;?>
  1230. </p>
  1231. </div>
  1232. </div>
  1233. <div class="showTz_8" style="display: <?php if ($custom['setting']['grammaticalEnhancement']=='1'){echo 'block' ;} else{echo 'none';}?>">
  1234. <label class="">语法强化</label>
  1235. <div class="sub_item">
  1236. <p>
  1237. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleChoice'])):?>
  1238. <input type="checkbox" checked>单项填空
  1239. <span class="">默认10道</span>
  1240. <select name="custom[setting][numberOfWrongQuestions][grammaticalEnhancement][singleChoice]" >
  1241. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleChoice']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleChoice'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  1242. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleChoice']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleChoice'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  1243. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleChoice']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleChoice'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  1244. </select>
  1245. <?php else:?>
  1246. <input type="checkbox" >单项填空
  1247. <span class="">默认10道</span>
  1248. <select name="custom[setting][numberOfWrongQuestions][grammaticalEnhancement][singleChoice]" disabled>
  1249. <option value="5">最多5道</option>
  1250. <option value="10" selected>最多10道</option>
  1251. <option value="15">最多15道</option>
  1252. </select>
  1253. <?php endif;?>
  1254. </p>
  1255. <p>
  1256. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceCorrection'])):?>
  1257. <input type="checkbox" checked>单句改错
  1258. <span class="">默认10道</span>
  1259. <select name="custom[setting][numberOfWrongQuestions][grammaticalEnhancement][singleSentenceCorrection]" >
  1260. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceCorrection'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  1261. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceCorrection'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  1262. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceCorrection'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  1263. </select>
  1264. <?php else:?>
  1265. <input type="checkbox" >单句改错
  1266. <span class="">默认10道</span>
  1267. <select name="custom[setting][numberOfWrongQuestions][grammaticalEnhancement][singleSentenceCorrection]" disabled>
  1268. <option value="5">最多5道</option>
  1269. <option value="10" selected>最多10道</option>
  1270. <option value="15">最多15道</option>
  1271. </select>
  1272. <?php endif;?>
  1273. </p>
  1274. <p>
  1275. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['grammaticalFillIn'])):?>
  1276. <input type="checkbox" checked>语法填空
  1277. <span class="">默认1篇</span>
  1278. <select name="custom[setting][numberOfWrongQuestions][grammaticalEnhancement][grammaticalFillIn]" >
  1279. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['grammaticalFillIn']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['grammaticalFillIn'] == 1)?'selected="selected"':"";?> value="1">1篇</option>
  1280. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['grammaticalFillIn']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['grammaticalFillIn'] == 2)?'selected="selected"':"";?> value="2">2篇</option>
  1281. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['grammaticalFillIn']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['grammaticalFillIn'] == 3)?'selected="selected"':"";?> value="3">3篇</option>
  1282. </select>
  1283. <?php else:?>
  1284. <input type="checkbox" >语法填空
  1285. <span class="">默认1篇</span>
  1286. <select name="custom[setting][numberOfWrongQuestions][grammaticalEnhancement][grammaticalFillIn]" disabled>
  1287. <option value="1" selected>1篇</option>
  1288. <option value="2">2篇</option>
  1289. <option value="3">3篇</option>
  1290. </select>
  1291. <?php endif;?>
  1292. </p>
  1293. <p>
  1294. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['errorCorrection'])):?>
  1295. <input type="checkbox" checked>短文改错
  1296. <span class="">默认1篇</span>
  1297. <select name="custom[setting][numberOfWrongQuestions][grammaticalEnhancement][errorCorrection]" >
  1298. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['errorCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['errorCorrection'] == 1)?'selected="selected"':"";?> value="1">1篇</option>
  1299. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['errorCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['errorCorrection'] == 2)?'selected="selected"':"";?> value="2">2篇</option>
  1300. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['errorCorrection']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['errorCorrection'] == 3)?'selected="selected"':"";?> value="3">3篇</option>
  1301. </select>
  1302. <?php else:?>
  1303. <input type="checkbox" >短文改错
  1304. <span class="">默认1篇</span>
  1305. <select name="custom[setting][numberOfWrongQuestions][grammaticalEnhancement][errorCorrection]" disabled>
  1306. <option value="1" selected>1篇</option>
  1307. <option value="2">2篇</option>
  1308. <option value="3">3篇</option>
  1309. </select>
  1310. <?php endif;?>
  1311. </p>
  1312. <p>
  1313. <?php if(isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceGrammar'])):?>
  1314. <input type="checkbox" checked>单句语法填空
  1315. <span class="">默认10道</span>
  1316. <select name="custom[setting][numberOfWrongQuestions][grammaticalEnhancement][singleSentenceGrammar]" >
  1317. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceGrammar'] == 5)?'selected="selected"':"";?> value="5">最多5道</option>
  1318. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceGrammar'] == 10)?'selected="selected"':"";?> value="10">最多10道</option>
  1319. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceGrammar']) && $custom['setting']['numberOfWrongQuestions']['grammaticalEnhancement']['singleSentenceGrammar'] == 15)?'selected="selected"':"";?> value="15">最多15道</option>
  1320. </select>
  1321. <?php else:?>
  1322. <input type="checkbox" >单句语法填空
  1323. <span class="">默认10道</span>
  1324. <select name="custom[setting][numberOfWrongQuestions][grammaticalEnhancement][singleSentenceGrammar]" disabled>
  1325. <option value="5" >最多5道</option>
  1326. <option value="10" selected>最多10道</option>
  1327. <option value="15">最多15道</option>
  1328. </select>
  1329. <?php endif;?>
  1330. </p>
  1331. </div>
  1332. </div>
  1333. <div class="showTz_9" style="display: <?php if ($custom['setting']['discourseEnhancement']=='1'){echo 'block' ;} else{echo 'none';}?>">
  1334. <label class="">语篇提升</label>
  1335. <div class="sub_item">
  1336. <p>
  1337. <?php if(isset($custom['setting']['numberOfWrongQuestions']['discourseEnhancement']['readingComprehension'])):?>
  1338. <input type="checkbox" checked>阅读理解
  1339. <span class="">默认1配1</span>
  1340. <select name="custom[setting][numberOfWrongQuestions][discourseEnhancement][readingComprehension]" >
  1341. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['discourseEnhancement']['readingComprehension']) && $custom['setting']['numberOfWrongQuestions']['discourseEnhancement']['readingComprehension'] == '1-1')?'selected="selected"':"";?> value="1-1">1配1</option>
  1342. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['discourseEnhancement']['readingComprehension']) && $custom['setting']['numberOfWrongQuestions']['discourseEnhancement']['readingComprehension'] == '2-2')?'selected="selected"':"";?> value="2-2">2配2</option>
  1343. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['discourseEnhancement']['readingComprehension']) && $custom['setting']['numberOfWrongQuestions']['discourseEnhancement']['readingComprehension'] == '3-3')?'selected="selected"':"";?> value="3-3">3配3</option>
  1344. </select>
  1345. <?php else:?>
  1346. <input type="checkbox" >阅读理解
  1347. <span class="">默认1配1</span>
  1348. <select name="custom[setting][numberOfWrongQuestions][discourseEnhancement][readingComprehension]" disabled>
  1349. <option value="1-1" selected>1配1</option>
  1350. <option value="2-2">2配2</option>
  1351. <option value="3-3">3配3</option>
  1352. </select>
  1353. <?php endif;?>
  1354. </p>
  1355. </div>
  1356. </div>
  1357. <div class="showTz_10" style="display: <?php if ($custom['setting']['finishingBreakthrough']=='1'){echo 'block' ;} else{echo 'none';}?>">
  1358. <label class="">完型突破</label>
  1359. <div class="sub_item">
  1360. <p>
  1361. <?php if(isset($custom['setting']['numberOfWrongQuestions']['finishingBreakthrough']['gestaltFilling'])):?>
  1362. <input type="checkbox" checked>完形填空
  1363. <span class="">默认1配1 </span>
  1364. <select name="custom[setting][numberOfWrongQuestions][finishingBreakthrough][gestaltFilling]" >
  1365. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['finishingBreakthrough']['gestaltFilling']) && $custom['setting']['numberOfWrongQuestions']['finishingBreakthrough']['gestaltFilling'] == '1-1')?'selected="selected"':"";?> value="1-1">1配1</option>
  1366. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['finishingBreakthrough']['gestaltFilling']) && $custom['setting']['numberOfWrongQuestions']['finishingBreakthrough']['gestaltFilling'] == '2-2')?'selected="selected"':"";?> value="2-2">2配2</option>
  1367. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['finishingBreakthrough']['gestaltFilling']) && $custom['setting']['numberOfWrongQuestions']['finishingBreakthrough']['gestaltFilling'] == '3-3')?'selected="selected"':"";?> value="3-3">3配3</option>
  1368. </select>
  1369. <?php else:?>
  1370. <input type="checkbox" >完形填空
  1371. <span class="">默认1配1 </span>
  1372. <select name="custom[setting][numberOfWrongQuestions][finishingBreakthrough][gestaltFilling]" disabled>
  1373. <option value="1-1" selected>1配1</option>
  1374. <option value="2-2">2配2</option>
  1375. <option value="3-3">3配3</option>
  1376. </select>
  1377. <?php endif;?>
  1378. </p>
  1379. </div>
  1380. </div>
  1381. <?php endif;?>
  1382. <?php if($custom['moduleType']=='english_3'): ?>
  1383. <?php
  1384. $value=0;
  1385. if(showValue($custom['setting']['personSwitch'])==1 || $custom['setting']['personSwitch']==1){
  1386. $value=1;
  1387. }
  1388. ?>
  1389. <div class="showTz_14" style="display: <?php if ($value==1){echo 'block' ;} else{echo 'none';}?>" >
  1390. <label class="">词汇运用</label>
  1391. <span class="">默认10篇</span>
  1392. <select name="custom[setting][numberOfWrongQuestions][scoringTraining][vocabularyApplication]" >
  1393. <option <?php echo (showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['vocabularyApplication'])== 0)?'selected="selected"':"";?> value="0">0篇</option>
  1394. <option <?php echo (showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['vocabularyApplication'])== 3)?'selected="selected"':"";?> value="3">3篇</option>
  1395. <option <?php echo (showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['vocabularyApplication']) == 6)?'selected="selected"':"";?> value="6">6篇</option>
  1396. <option <?php echo (showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['vocabularyApplication']) == 10 || showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['vocabularyApplication'])==='')?'selected="selected"':"";?> value="10">10篇</option>
  1397. </select>
  1398. </div>
  1399. <div class="showTz_14" style="display: <?php if ($value==1){echo 'block' ;} else{echo 'none';}?>" >
  1400. <label class="">阅读理解</label>
  1401. <span class="">默认1篇</span>
  1402. <select name="custom[setting][numberOfWrongQuestions][scoringTraining][readingComprehension]" >
  1403. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension'] == '0')?'selected="selected"':"";?> value="0">0篇</option>
  1404. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension'] == '1')?'selected="selected"':"";?> value="1">1篇</option>
  1405. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension'] == '2')?'selected="selected"':"";?> value="2">2篇</option>
  1406. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension'] == '3')?'selected="selected"':"";?> value="3">3篇</option>
  1407. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension'] == '4')?'selected="selected"':"";?> value="4">4篇</option>
  1408. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['readingComprehension'] == '5')?'selected="selected"':"";?> value="5">5篇</option>
  1409. </select>
  1410. </div>
  1411. <div class="showTz_14" style="display: <?php if ($value==1){echo 'block' ;} else{echo 'none';}?>" >
  1412. <label class="">完形填空</label>
  1413. <span class="">默认1篇</span>
  1414. <select name="custom[setting][numberOfWrongQuestions][scoringTraining][gestaltFilling]" >
  1415. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling'] == '0')?'selected="selected"':"";?> value="0">0篇</option>
  1416. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling'] == '1')?'selected="selected"':"";?> value="1">1篇</option>
  1417. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling'] == '2')?'selected="selected"':"";?> value="2">2篇</option>
  1418. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling'] == '3')?'selected="selected"':"";?> value="3">3篇</option>
  1419. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling'] == '4')?'selected="selected"':"";?> value="4">4篇</option>
  1420. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['gestaltFilling'] == '5')?'selected="selected"':"";?> value="5">5篇</option>
  1421. </select>
  1422. </div>
  1423. <div class="showTz_14" style="display: <?php if ($value==1){echo 'block' ;} else{echo 'none';}?>" >
  1424. <label class="">七选五</label>
  1425. <span class="">默认1篇</span>
  1426. <select name="custom[setting][numberOfWrongQuestions][scoringTraining][sevenChooseFive]" >
  1427. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive'] == 0)?'selected="selected"':"";?> value="0">0篇</option>
  1428. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive'] == 1)?'selected="selected"':"";?> value="1">1篇</option>
  1429. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive'] == 2)?'selected="selected"':"";?> value="2">2篇</option>
  1430. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive'] == 3)?'selected="selected"':"";?> value="3">3篇</option>
  1431. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive'] == 4)?'selected="selected"':"";?> value="4">4篇</option>
  1432. <option <?php echo (isset($custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive']) && $custom['setting']['numberOfWrongQuestions']['scoringTraining']['sevenChooseFive'] == 5)?'selected="selected"':"";?> value="5">5篇</option>
  1433. </select>
  1434. </div>
  1435. <div class="showTz_14" style="display: <?php if ($value==1){echo 'block' ;} else{echo 'none';}?>" >
  1436. <label class="">语法填空</label>
  1437. <span class="">默认1篇</span>
  1438. <select name="custom[setting][numberOfWrongQuestions][scoringTraining][grammaticalFillIn]" >
  1439. <option <?php echo (showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['grammaticalFillIn'])== 0)?'selected="selected"':"";?> value="0">0篇</option>
  1440. <option <?php echo (showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['grammaticalFillIn']) == 1 || showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['grammaticalFillIn'])==='')?'selected="selected"':"";?> value="1">1篇</option>
  1441. <option <?php echo (showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['grammaticalFillIn'])== 2)?'selected="selected"':"";?> value="2">2篇</option>
  1442. <option <?php echo (showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['grammaticalFillIn']) == 3)?'selected="selected"':"";?> value="3">3篇</option>
  1443. <option <?php echo (showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['grammaticalFillIn']) == 4)?'selected="selected"':"";?> value="4">4篇</option>
  1444. <option <?php echo (showValue($custom['setting']['numberOfWrongQuestions']['scoringTraining']['grammaticalFillIn']) == 5)?'selected="selected"':"";?> value="5">5篇</option>
  1445. </select>
  1446. </div>
  1447. <?php endif;?>
  1448. </div>
  1449. <?php if($custom['moduleType']=='english_3'): ?>
  1450. <div class="set-user clearfix">
  1451. <div class="showTz_2">
  1452. <label class="">共性问题变式训练题型:</label>
  1453. <select name="custom[setting][commonType]">
  1454. <option <?php echo (!isset($custom['setting']['commonType']) || !$custom['setting']['commonType'])?'selected="selected"':"";?> value="0">不限</option>
  1455. <option <?php echo (isset($custom['setting']['commonType']) && $custom['setting']['commonType'] == 3)?'selected="selected"':"";?> value="3">阅读理解</option>
  1456. <option <?php echo (isset($custom['setting']['commonType']) && $custom['setting']['commonType'] == 5)?'selected="selected"':"";?> value="5">七选五</option>
  1457. <option <?php echo (isset($custom['setting']['commonType']) && $custom['setting']['commonType'] == 2)?'selected="selected"':"";?> value="2">完形填空</option>
  1458. </select>
  1459. </div>
  1460. <div class="showTz_2">
  1461. <label class="">优秀作文选择范围:</label>
  1462. <select name="custom[setting][exCompositionScope]">
  1463. <option <?php echo (isset($custom['setting']['exCompositionScope']) && $custom['setting']['exCompositionScope'] == 1)?'selected="selected"':"";?> value="1">本班</option>
  1464. <option <?php echo (isset($custom['setting']['exCompositionScope']) && $custom['setting']['exCompositionScope'] == 2)?'selected="selected"':"";?> value="2">本次考试</option>
  1465. </select>
  1466. </div>
  1467. <div class="showTz_2">
  1468. <label class="">成长轨迹(显示的最小考试场次):</label>
  1469. <select name="custom[setting][growthTrackExamCount]">
  1470. <option <?php echo (isset($custom['setting']['growthTrackExamCount']) && $custom['setting']['growthTrackExamCount'] == 1)?'selected="selected"':"";?> value="1">1</option>
  1471. <option <?php echo (isset($custom['setting']['growthTrackExamCount']) && $custom['setting']['growthTrackExamCount'] == 2)?'selected="selected"':"";?> value="2">2</option>
  1472. <option <?php echo (isset($custom['setting']['growthTrackExamCount']) && $custom['setting']['growthTrackExamCount'] == 3)?'selected="selected"':"";?> value="3">3</option>
  1473. <option <?php echo (isset($custom['setting']['growthTrackExamCount']) && $custom['setting']['growthTrackExamCount'] == 4)?'selected="selected"':"";?> value="4">4</option>
  1474. <option <?php echo (isset($custom['setting']['growthTrackExamCount']) && $custom['setting']['growthTrackExamCount'] == 5)?'selected="selected"':"";?> value="5">5</option>
  1475. </select>
  1476. </div>
  1477. <div class="showTz_2">
  1478. <label class="">教学进度>已学到:</label>
  1479. <input type="hidden" name="custom[setting][teachingProgress][nodeIds]" id="progressIds" value="<?php echo showValue($custom['setting']['teachingProgress']['nodeIds'])?>">
  1480. <input type="hidden" name="custom[setting][teachingProgress][nodeStr]" id="progressStr" value="<?php echo showValue($custom['setting']['teachingProgress']['nodeStr'])?>">
  1481. <span id="selectUnits" style="cursor:pointer;color: green;border: 1px solid green;margin-right: 1px;padding: 3px;">
  1482. <?php if(isset($custom['setting']['teachingProgress']) && isset($custom['setting']['teachingProgress']['nodeStr']) && $custom['setting']['teachingProgress']['nodeStr']):?>
  1483. <span><?php echo $custom['setting']['teachingProgress']['nodeStr'];?></span>
  1484. <?php else:?> +
  1485. <?php endif;?>
  1486. </span>
  1487. </div>
  1488. </div>
  1489. <?php endif;?>
  1490. </div>
  1491. <?php endif;?>
  1492. </form>
  1493. <div class="layer-btn" style="margin-top: 25px;float: left">
  1494. <a href="#" onclick="edit()">保存</a>
  1495. </div>
  1496. <!-- 预览界面开始 -->
  1497. <div class="product-preview">
  1498. <div class="tab-track show-1">
  1499. <!-- 成长轨迹 -->
  1500. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1501. <div>
  1502. <img src="/images/productset/english_1/1.jpg">
  1503. </div>
  1504. </div>
  1505. <div class="analysis show-2">
  1506. <!-- 知识点掌握分析 -->
  1507. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1508. <div>
  1509. <img src="/images/productset/english_1/2.png">
  1510. </div>
  1511. </div>
  1512. <div class="prototype show-3">
  1513. <!-- 错题原型 -->
  1514. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1515. <div>
  1516. <img src="/images/productset/english_1/3.jpg" >
  1517. </div>
  1518. </div>
  1519. <div class="reason show-4">
  1520. <!-- 错因分析 -->
  1521. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1522. <div>
  1523. <img src="/images/productset/english_1/4.jpg" >
  1524. </div>
  1525. <h3 class="introduce">简介</h3>
  1526. <div class="introduce-content">
  1527. <p>错因分析列举了7种常见失分原因供学生自我总结,与错题原型搭配使用。</p>
  1528. </div>
  1529. </div>
  1530. <div class="direct show-5">
  1531. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1532. <div>
  1533. <img src="/images/productset/english_1/5.jpg" >
  1534. </div>
  1535. </div>
  1536. <div class="direct show-6">
  1537. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1538. <div>
  1539. <img src="/images/productset/english_1/6.jpg" >
  1540. </div>
  1541. </div>
  1542. <div class="direct show-7">
  1543. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1544. <div>
  1545. <img src="/images/productset/english_2/1.jpg" >
  1546. </div>
  1547. </div>
  1548. <div class="direct show-8">
  1549. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1550. <div>
  1551. <img src="/images/productset/english_2/2.jpg" >
  1552. </div>
  1553. </div>
  1554. <div class="direct show-9">
  1555. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1556. <div>
  1557. <img src="/images/productset/english_2/3.jpg" >
  1558. </div>
  1559. </div>
  1560. <div class="direct show-10">
  1561. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1562. <div>
  1563. <img src="/images/productset/english_2/4.jpg" >
  1564. </div>
  1565. </div>
  1566. <div class="direct show-11">
  1567. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1568. <div>
  1569. <img src="/images/productset/english_3/1.png" >
  1570. </div>
  1571. </div>
  1572. <div class="direct show-12">
  1573. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1574. <div>
  1575. <img src="/images/productset/english_3/2.png" >
  1576. </div>
  1577. </div>
  1578. <div class="direct show-13">
  1579. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1580. <div>
  1581. <img src="/images/productset/english_3/3.png" >
  1582. </div>
  1583. </div>
  1584. <div class="direct show-14">
  1585. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1586. <div>
  1587. <img src="/images/productset/english_3/4.jpg" >
  1588. </div>
  1589. </div>
  1590. <div class="direct show-131">
  1591. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1592. <div>
  1593. <img src="/images/productset/english_3/131.png" >
  1594. </div>
  1595. </div>
  1596. <div class="direct show-141">
  1597. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1598. <div>
  1599. <img src="/images/productset/english_3/141.png" >
  1600. </div>
  1601. </div>
  1602. <div class="direct show-142">
  1603. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1604. <div>
  1605. <img src="/images/productset/english_3/142.png" >
  1606. </div>
  1607. </div>
  1608. <div class="direct show-143">
  1609. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1610. <div>
  1611. <img src="/images/productset/english_3/143.png" >
  1612. </div>
  1613. </div>
  1614. <div class="direct show-144">
  1615. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1616. <div>
  1617. <img src="/images/productset/english_3/144.png" >
  1618. </div>
  1619. </div>
  1620. <div class="direct show-145">
  1621. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1622. <div>
  1623. <img src="/images/productset/english_3/145.png" >
  1624. </div>
  1625. </div>
  1626. <div class="direct show-145">
  1627. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1628. <div>
  1629. <img src="/images/productset/english_3/145.png" >
  1630. </div>
  1631. </div>
  1632. <div class="direct show-146">
  1633. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1634. <div>
  1635. <img src="/images/productset/english_3/146.png" >
  1636. </div>
  1637. </div>
  1638. <div class="direct show-147">
  1639. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1640. <div>
  1641. <img src="/images/productset/english_3/147.png" >
  1642. </div>
  1643. </div>
  1644. <div class="direct show-148">
  1645. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1646. <div>
  1647. <img src="/images/productset/english_3/148.png" >
  1648. </div>
  1649. </div>
  1650. <div class="direct show-148-1">
  1651. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1652. <div>
  1653. <img src="/images/productset/english_3/148_1.jpg" >
  1654. </div>
  1655. </div>
  1656. <div class="direct show-149">
  1657. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1658. <div>
  1659. <img src="/images/productset/english_3/149.png" >
  1660. </div>
  1661. </div>
  1662. <div class="direct show-150">
  1663. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1664. <div>
  1665. <img src="/images/productset/english_3/150.png" >
  1666. </div>
  1667. </div>
  1668. <div class="direct show-151">
  1669. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1670. <div>
  1671. <img src="/images/productset/english_3/151.png" >
  1672. </div>
  1673. </div>
  1674. <div class="direct show-152">
  1675. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1676. <div>
  1677. <img src="/images/productset/english_3/152.png" >
  1678. </div>
  1679. </div>
  1680. <div class="direct show-15">
  1681. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1682. <div>
  1683. <img src="/images/productset/english_3/15.png" >
  1684. </div>
  1685. </div>
  1686. <div class="direct show-16">
  1687. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1688. <div>
  1689. <img src="/images/productset/english_4/16.png" >
  1690. </div>
  1691. </div>
  1692. <div class="direct show-161">
  1693. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1694. <div>
  1695. <img src="/images/productset/english_4/161.png" >
  1696. </div>
  1697. </div>
  1698. <div class="direct show-162">
  1699. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1700. <div>
  1701. <img src="/images/productset/english_4/162.png" >
  1702. </div>
  1703. </div>
  1704. <div class="direct show-163">
  1705. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1706. <div>
  1707. <img src="/images/productset/english_4/163.png" >
  1708. </div>
  1709. </div>
  1710. <div class="direct show-17">
  1711. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1712. <div>
  1713. <img src="/images/productset/english_4/17.png" >
  1714. </div>
  1715. </div>
  1716. <div class="direct show-171">
  1717. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1718. <div>
  1719. <img src="/images/productset/english_4/171.png" >
  1720. </div>
  1721. </div>
  1722. <div class="direct show-172">
  1723. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1724. <div>
  1725. <img src="/images/productset/english_4/172.png" >
  1726. </div>
  1727. </div>
  1728. <div class="direct show-18">
  1729. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1730. <div>
  1731. <img src="/images/productset/english_4/18.png" >
  1732. </div>
  1733. </div>
  1734. <div class="direct show-181">
  1735. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1736. <div>
  1737. <img src="/images/productset/english_4/181.png" >
  1738. </div>
  1739. </div>
  1740. <div class="direct show-182">
  1741. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1742. <div>
  1743. <img src="/images/productset/english_4/182.png" >
  1744. </div>
  1745. </div>
  1746. <div class="direct show-19">
  1747. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1748. <div>
  1749. <img src="/images/productset/english_4/19.png" >
  1750. </div>
  1751. </div>
  1752. <div class="direct show-191">
  1753. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1754. <div>
  1755. <img src="/images/productset/english_4/191.png" >
  1756. </div>
  1757. </div>
  1758. <div class="direct show-192">
  1759. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1760. <div>
  1761. <img src="/images/productset/english_4/192.png" >
  1762. </div>
  1763. </div>
  1764. <div class="direct show-193">
  1765. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1766. <div>
  1767. <img src="/images/productset/english_4/193.png" >
  1768. </div>
  1769. </div>
  1770. <div class="direct show-50">
  1771. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1772. <div>
  1773. <img src="/images/productset/english_5/50.jpg" >
  1774. </div>
  1775. </div>
  1776. <div class="all-preview">
  1777. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  1778. <div>
  1779. <img src="/images/productset/english_1/1.jpg" class="img-1" style="display: none">
  1780. <img src="/images/productset/english_1/2.png" class="img-2" style="display: none">
  1781. <img src="/images/productset/english_1/3.jpg" class="img-3" style="display: none">
  1782. <img src="/images/productset/english_1/4.jpg" class="img-4" style="display: none">
  1783. <img src="/images/productset/english_1/5.jpg" class="img-5" style="display: none">
  1784. <img src="/images/productset/english_1/6.jpg" class="img-6" style="display: none">
  1785. <img src="/images/productset/english_2/1.jpg" class="img-7" style="display: none">
  1786. <img src="/images/productset/english_2/2.jpg" class="img-8" style="display: none">
  1787. <img src="/images/productset/english_2/3.jpg" class="img-9" style="display: none">
  1788. <img src="/images/productset/english_2/4.jpg" class="img-10" style="display: none">
  1789. <img src="/images/productset/english_3/1.png" class="img-11" style="display: none">
  1790. <img src="/images/productset/english_3/2.png" class="img-12" style="display: none">
  1791. <img src="/images/productset/english_3/3.png" class="img-13" style="display: none">
  1792. <img src="/images/productset/english_3/4.jpg" class="img-14" style="display: none">
  1793. <img src="/images/productset/english_4/16.png" class="img-16" style="display: none">
  1794. <img src="/images/productset/english_4/17.png" class="img-17" style="display: none">
  1795. <img src="/images/productset/english_4/18.png" class="img-18" style="display: none">
  1796. <img src="/images/productset/english_4/19.png" class="img-19" style="display: none">
  1797. <img src="/images/productset/english_5/50.jpg" class="img-50" style="display: none">
  1798. <img src="/images/productset/english_5/51.jpg" class="img-51" style="display: none">
  1799. <img src="/images/productset/english_5/52.jpg" class="img-52" style="display: none">
  1800. <img src="/images/productset/english_5/53.jpg" class="img-53" style="display: none">
  1801. <img src="/images/productset/english_5/54.jpg" class="img-54" style="display: none">
  1802. </div>
  1803. </div>
  1804. </div>
  1805. <!-- 预览界面结束 -->
  1806. </div>
  1807. <div class="fl product-class">
  1808. <div class="setting-title clearfix">
  1809. <span class="fl">使用班级</span>
  1810. <em class="fr add-class">添加班级</em>
  1811. <label class="fr chk-grade-all"><input type="checkbox">全选</label>
  1812. </div>
  1813. <div class="class-box">
  1814. <dl>
  1815. <dt class="grade-name">高一</dt>
  1816. <dd class="clearfix">
  1817. <?php if (isset($classR_list[1])):?>
  1818. <?php foreach ($classR_list[1] as $kk=>$v):?>
  1819. <label class="fl class-name">
  1820. <?php echo $v['class_name']?>
  1821. <em class="fr" class-id="<?php echo $v['class_id']?>">×</em>
  1822. </label>
  1823. <?php endforeach;?>
  1824. <?php endif;?>
  1825. </dd>
  1826. </dl>
  1827. <dl>
  1828. <dt class="grade-name">高二</dt>
  1829. <dd class="clearfix">
  1830. <?php if (isset($classR_list[2])):?>
  1831. <?php foreach ($classR_list[2] as $kk=>$v):?>
  1832. <label class="fl class-name">
  1833. <?php echo $v['class_name']?>
  1834. <em class="fr" class-id="<?php echo $v['class_id']?>">×</em>
  1835. </label>
  1836. <?php endforeach;?>
  1837. <?php endif;?>
  1838. </dd>
  1839. </dl>
  1840. <dl>
  1841. <dt class="grade-name">高三</dt>
  1842. <dd class="clearfix">
  1843. <?php if (isset($classR_list[3])):?>
  1844. <?php foreach ($classR_list[3] as $kk=>$v):?>
  1845. <label class="fl class-name">
  1846. <?php echo $v['class_name']?>
  1847. <em class="fr" class-id="<?php echo $v['class_id']?>">×</em>
  1848. </label>
  1849. <?php endforeach;?>
  1850. <?php endif;?>
  1851. </dd>
  1852. </dl>
  1853. </div>
  1854. <form action="" name="class-form" id="class-form">
  1855. <input type="hidden" name="ps_id2" value="<?php echo $set_info['ps_id']?>">
  1856. <input type="hidden" name="setType" value="<?php echo $set_info['product_type']?>">
  1857. <input type="hidden" name="subject_id" value="<?php echo $subject_id?>">
  1858. <div class="add-class-box">
  1859. <dl>
  1860. <dt class="grade-name clearfix">高一<label class="fr chk-class-all"><input type="checkbox">全选</label></dt>
  1861. <dd class="clearfix">
  1862. <?php if (isset($class_list[1])):?>
  1863. <?php foreach ($class_list[1] as $kk=>$v):?>
  1864. <label class="fl chk-class"><input name="class_id[]" type="checkbox" value="<?php echo $v['class_id']?>"><?php echo $v['class_name']?></label>
  1865. <?php endforeach;?>
  1866. <?php endif;?>
  1867. </dd>
  1868. </dl>
  1869. <dl>
  1870. <dt class="grade-name clearfix">高二<label class="fr chk-class-all"><input type="checkbox">全选</label></dt>
  1871. <dd class="clearfix">
  1872. <?php if (isset($class_list[2])):?>
  1873. <?php foreach ($class_list[2] as $kk=>$v):?>
  1874. <label class="fl chk-class"><input name="class_id[]" type="checkbox" value="<?php echo $v['class_id']?>"><?php echo $v['class_name']?></label>
  1875. <?php endforeach;?>
  1876. <?php endif;?>
  1877. </dd>
  1878. </dl>
  1879. <dl>
  1880. <dt class="grade-name clearfix">高三<label class="fr chk-class-all"><input type="checkbox">全选</label></dt>
  1881. <dd class="clearfix">
  1882. <?php if (isset($class_list[3])):?>
  1883. <?php foreach ($class_list[3] as $kk=>$v):?>
  1884. <label class="fl chk-class"><input name="class_id[]" type="checkbox" value="<?php echo $v['class_id']?>"><?php echo $v['class_name']?></label>
  1885. <?php endforeach;?>
  1886. <?php endif;?>
  1887. </dd>
  1888. </dl>
  1889. <div class="grade-btn layer-btn">
  1890. <a href="javascript:;" onclick="add_class()" id="add-class">确定</a>
  1891. <a href="javascript:;" class="cancel">取消</a>
  1892. </div>
  1893. </div>
  1894. </form>
  1895. </div>
  1896. </div>
  1897. <!-- 新增版本悬浮窗口 -->
  1898. <ul class="product-edit">
  1899. <li class="add-version-old">新增版本</li>
  1900. <li class="rename-version">重命名</li>
  1901. <li class="delete-version">删除</li>
  1902. </ul>
  1903. <!-- 新增版本弹层 -->
  1904. <div class="layer layer-rename">
  1905. <div class="layer-shoadow"></div>
  1906. <div class="layer-content">
  1907. <div class="layer-title clearfix">新增版本<em class="fr close">×</em></div>
  1908. <div class="new-name">
  1909. 名称:<input type="text" placeholder="请输入10个以内汉字" name="ver_name">
  1910. </div>
  1911. <div class="layer-btn rename-btn">
  1912. <button href="javascript:;" class="ok">确定</button>
  1913. <input type="hidden" class="add_subject" name="add_subject" value="<?php echo $subject_id?>">
  1914. <button href="javascript:;" class="close cancel">取消</button>
  1915. </div>
  1916. </div>
  1917. </div>
  1918. <!-- 删除版本弹层 -->
  1919. <div class="layer layer-delete">
  1920. <div class="layer-shoadow"></div>
  1921. <div class="layer-content">
  1922. <div class="layer-title clearfix">提示<em class="fr close">×</em></div>
  1923. <div class="new-name words-red">无法删除!有班级在使用该配置的版本</div>
  1924. </div>
  1925. </div>
  1926. <script src="/js/productset/jquery.min.js"></script>
  1927. <script src="/js/layer/layer.js"></script>
  1928. <script src="/js/productset/product-english-setting.js"></script>
  1929. <script type="text/javascript">
  1930. $(document).ready(function() {
  1931. $("#unitsSelected").click(function () {
  1932. alert(1)
  1933. });
  1934. $(".sel-opt,.sel-cons").mouseover(function () {
  1935. $(".sel-cons").show();
  1936. }).mouseout(function () {
  1937. $(".sel-cons").hide();
  1938. });
  1939. $(".sc-lis2").click(function () {
  1940. var sub_id = $(this).attr('val');
  1941. var data = {
  1942. subjectId: sub_id
  1943. };
  1944. $.post("<?php echo Yii::app()->createUrl('print/setSubjectId')?>", data, function (flags) {
  1945. if (flags) {
  1946. location.href = "<?php echo $this->createUrl('productset/index');?>";
  1947. } else {
  1948. alert('网络异常');
  1949. }
  1950. });
  1951. $('.has-sel').text($(this).text());
  1952. $(".sel-cons").hide();
  1953. });
  1954. $("#resume").click(function () {
  1955. layer.msg('是否确认恢复模块', {
  1956. time: 0,
  1957. btn: ['确定', '取消'],
  1958. yes: function (index) {
  1959. var ps_id = $("#resume").attr('psId');
  1960. $.get("<?php echo Yii::app()->createUrl('productset/resumeModule')?>?ps_id="+ps_id,
  1961. function(data){
  1962. if (data) {
  1963. var index = layer.load();
  1964. layer.close(index);
  1965. layer.msg('操作成功');
  1966. window.location.reload();
  1967. } else {
  1968. layer.msg('操作失败');
  1969. }
  1970. });
  1971. }
  1972. });
  1973. });
  1974. })
  1975. </script>
  1976. <script>
  1977. //编辑保存
  1978. function edit(){
  1979. var data = $('#set-data').serialize();
  1980. // console.log(data);
  1981. // return false;
  1982. var showBtn=$('.show-btn');
  1983. for(var i=0;i<showBtn.length;i++){
  1984. var thisObj=showBtn.eq(i);
  1985. var idx = thisObj.closest(".show-content").attr('index-id');
  1986. if(thisObj.find("span").hasClass("on")){
  1987. if($('.showTz_'+idx).length>0){
  1988. var input=$('.showTz_'+idx).find('p');
  1989. if(input.length>0){
  1990. var checked=false;
  1991. for (var j=0;j<input.length;j++){
  1992. if(input.eq(j).find('input').is(':checked')==true){
  1993. checked=true;
  1994. }
  1995. }
  1996. if(!checked){
  1997. //console.log($('.showTz_'+idx).find('label').html());
  1998. // var labelTxt=$('.showTz_'+idx).find('label').html();
  1999. // layer.alert(labelTxt+"模块请至少选择一种题型", {icon: 6});
  2000. // return false;
  2001. }
  2002. }
  2003. }
  2004. }
  2005. }
  2006. $.ajax({
  2007. type : 'post',
  2008. url : '<?php echo $this->createUrl("productset/edit");?>',
  2009. data :data,
  2010. dataType : 'json',
  2011. beforeSend : function () {
  2012. $(".loading").show().find("p").html("正在保存");
  2013. },
  2014. success : function (data) {
  2015. $(".loading").hide();
  2016. if(data.status=='1'){
  2017. layer.alert("保存成功", {icon: 6});
  2018. }else{
  2019. layer.alert(data.info, {icon: 5});
  2020. }
  2021. },
  2022. error:function () {
  2023. $(".loading").hide();
  2024. }
  2025. });
  2026. }
  2027. function add_class() {
  2028. var obj = $('input[name="class_id[]"]:checked');
  2029. if(obj.length<=0){
  2030. layer.alert("请选择至少一个班级", {icon: 5});
  2031. return false;
  2032. }
  2033. var data = $('#class-form').serialize();
  2034. $.ajax({
  2035. type : 'post',
  2036. url : '<?php echo $this->createUrl("productset/addClass");?>',
  2037. data :data,
  2038. dataType : 'json',
  2039. beforeSend : function () {
  2040. $(".loading").show().find("p").html("正在添加");
  2041. },
  2042. success : function (data) {
  2043. if(data.status=='1'){
  2044. layer.alert("添加成功", {icon: 6},function () {
  2045. location.reload();
  2046. });
  2047. }else{
  2048. $(".loading").hide();
  2049. if(data.info!=undefined){
  2050. layer.alert(data.info, {icon: 5});
  2051. }else{
  2052. layer.alert('添加失败', {icon: 5});
  2053. }
  2054. }
  2055. },
  2056. error : function () {
  2057. $(".loading").hide();
  2058. layer.alert("添加失败", {icon: 5});
  2059. }
  2060. });
  2061. }
  2062. //英语个性化学习宝进度选择
  2063. $("body").delegate("#selectUnits", "click", function() {
  2064. var ids = $("#progressIds").val();
  2065. var str = $("#progressStr").val();
  2066. layer.open({
  2067. type: 2,
  2068. area: ['800px', '450px'],
  2069. fixed: false, //不固定
  2070. maxmin: false,
  2071. title: "请选择当前学校已经讲完的最后一个单元",
  2072. btn: ['确定', '取消'],
  2073. content: '<?php echo $this->createUrl('englishWeek/qxkUnits');?>' + '?ids=' + ids + '&str=' + str,
  2074. yes:function(index,layero){
  2075. //需要回显的值
  2076. //layero为当前的DOM对象,去找打开的iframe转成DOM对象调用子页面其中的function (callbackdata)
  2077. var res = $(layero).find("iframe")[0].contentWindow.callbackdata();
  2078. if(res.ids == undefined){
  2079. //layer.msg('请选择单元');return false;
  2080. }
  2081. //把回显的值赋给需要显示的地方
  2082. $("#progressIds").val(res.ids);
  2083. $("#progressStr").val(res.str);
  2084. $("#selectUnits").html(res.html);
  2085. //关闭子页面
  2086. parent.layer.close(index);
  2087. }
  2088. //end: function () {
  2089. // $("#ContractGestor").val($("#RealName").val());
  2090. //}
  2091. });
  2092. })
  2093. </script>
  2094. </body>
  2095. </html>