摘要: 代码:<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');//... 阅读全文
posted @ 2013-03-12 15:29 TBHacker 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2013-03-12 13:25 TBHacker 阅读(290) 评论(0) 推荐(0) 编辑