session['session_subject_id']) ? Yii::app()->session['session_subject_id']:0; $duo_sub_id = isset(Yii::app()->session['session_duoxueke_subject_id']) ? Yii::app()->session['session_duoxueke_subject_id']:0; $testFlag = isset(Yii::app()->session['testFlag'])?Yii::app()->session['testFlag']:0; $printType = isset($printType)?$printType:''; $subject = isset($subject)?$subject:array(); $urlInfoAll = Yii::app()->request->getPathInfo(); $urlInfo = ''; if($urlInfoAll){ $urlInfoArr = explode('/',$urlInfoAll); if(isset($urlInfoArr[0]) && isset($urlInfoArr[1])){ $urlInfo = $urlInfoArr[0].'/'.$urlInfoArr[1]; } if(count($urlInfoArr) > 4){ $urlInfoArr = array_slice($urlInfoArr,0,4); } $urlInfoAll = implode('/',$urlInfoArr); } ?>