摘要:
代码:<script> $(document).ready(function(){ //检测是否有lesson_id传入 var lesson_id = "<!--{$lessonId}-->"; if(lesson_id>0){ $('.cursor').each(function(i){ if($(this).attr('val') == lesson_id){ $(this).removeClass('cj_li').addClass('fw');//... 阅读全文
摘要:
1 <?php 2 //临时 获取科目 3 function getLessonOfExams($where = FALSE) { 4 $db = & $this->getAdapter(); 5 $select = $db->select(); 6 if ($where && is_array($where)) { 7 foreach ($where as $key => $val) { 8 $select->where($key, $val); 9 }1... 阅读全文