array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/30_ot.wmv", "regi_mode" => "1", "num_highlight" => "14", "teacher_name" => "권기태", "smode" => "2", "pronum" => "" ), "2" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/20120719lsw.wmv", "regi_mode" => "1", "num_highlight" => "11", "teacher_name" => "임상욱", "smode" => "1", "pronum" => "" ), "3" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/33_kcd.wmv", "regi_mode" => "1", "num_highlight" => "14", "teacher_name" => "고창두", "smode" => "2", "pronum" => "" ), "4" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/55_ot.wmv", "regi_mode" => "1", "num_highlight" => "11", "teacher_name" => "김철용", "smode" => "1", "pronum" => "" ), "5" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/35_ot.wmv", "regi_mode" => "1", "num_highlight" => "14", "teacher_name" => "김형구", "smode" => "2", "pronum" => "" ), "6" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/45_ot.wmv", "regi_mode" => "1", "num_highlight" => "11", "teacher_name" => "김정현", "smode" => "1", "pronum" => "" ), "7" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/32_ot.wmv", "regi_mode" => "1", "num_highlight" => "14", "teacher_name" => "라영환", "smode" => "2", "pronum" => "" ), "8" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/37_ot.wmv", "regi_mode" => "2", "num_highlight" => "7", "teacher_name" => "김종국", "smode" => "", "pronum" => "5" ), "9" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/36_ot.wmv", "regi_mode" => "2", "num_highlight" => "7", "teacher_name" => "김종원", "smode" => "", "pronum" => "6" ), "10" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/38_ot.wmv", "regi_mode" => "2", "num_highlight" => "7", "teacher_name" => "최영희", "smode" => "", "pronum" => "7" ), "11" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/62_ot.wmv", "regi_mode" => "7", "num_highlight" => "42", "teacher_name" => "서현", "smode" => "", "pronum" => "18" ), "12" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/41_ot.wmv", "regi_mode" => "7", "num_highlight" => "40", "teacher_name" => "고봉기", "smode" => "", "pronum" => "13" ), "13" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/117_ot2.wmv", "regi_mode" => "7", "num_highlight" => "38", "teacher_name" => "정인국", "smode" => "", "pronum" => "33" ), "14" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/40_ot.wmv", "regi_mode" => "1", "num_highlight" => "11", "teacher_name" => "채수원", "smode" => "1", "pronum" => "9" ), "15" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/63_ot.wmv", "regi_mode" => "4", "num_highlight" => "41", "teacher_name" => "박기현", "smode" => "", "pronum" => "26" ), "16" => array( "murl" => "mms://hackers-hackers.ktics.co.kr/hackers/gongmu/39_ot.wmv", "regi_mode" => "4", "num_highlight" => "38", "teacher_name" => "임채환", "smode" => "", "pronum" => "8" ) ); /* 1.권기태 ,2.임상욱 ,3.고창두 ,4.김철용 ,5.김형구 ,6.김정현 , 7.라영환 ,8.김종국 ,9.김종원 ,10.최영희 ,11.서현 ,12.고봉기 , 13. 정인국 14.채수원 ,15.박기현 ,16.임채환 , */ //$tNum = 3; if(!$tNum){ $tNum = 1; } //rd 변수가 n일 경우 랜덤 하지 않음 if($rd == "n" && $tNum){ }else{ $tNum = rand(1,16); } if($tNum == 2){ $tNum = $tNum+1;} $actionCode = 1; if($tNum >= "1" && $tNum <= "6"){ $actionCode = 1; }else if($tNum >= "7" && $tNum <= "11"){ $actionCode = 2; }else if($tNum >= "12" && $tNum <= "16"){ $actionCode = 3; } // 예) 1 -> 01 $ext_tNum = str_pad($tNum,2,"0",STR_PAD_LEFT); //insert url //if($tNum == "15"){ // $regMoveUrl="javascript:locationAct(this,'http://egosi.pass.com/site/?c=leclist&cate=1§ion=5');"; // $regMoveTarget=""; //}else{ $regMoveUrl = "http://gosi.pass.com/html/mmove.htm?regi_mode=".$arrMovie[$tNum]["regi_mode"]."&id=class_intro_new&num_highlight=".$arrMovie[$tNum]["num_highlight"]."&pronum=".$arrMovie[$tNum]["pronum"]."&smode=".$arrMovie[$tNum]["smode"]; $regMoveTarget=" target='_blank' "; //} ?>