0, 'force_ssl'=>$force_ssl)); function main(&$FORM, $params) { # Force SSL if it is set to do so. force_ssl($params['force_ssl']); /**************** Start of Custom Page Code *****************/ $videos = Array('0'=>Array('file'=>'/mov/road_short.mov', 'title'=>'An overview of the CSUSB Entrepreneurship program'), '1'=>Array('file'=>'/mov/q1.mov', 'title'=>'What makes the CSUSB entrepreneurship program unique?'), '2'=>Array('file'=>'/mov/q2.mov', 'title'=>'Why did you enroll in the entrepreneurship program at CSUSB?'), '3'=>Array('file'=>'/mov/q3.mov', 'title'=>'What are the entrepreneurship instructors like at CSUSB?'), '4'=>Array('file'=>'/mov/q4.mov', 'title'=>'What was your favorite class assignment or experiential learning activity?'), '5'=>Array('file'=>'/mov/q5.mov', 'title'=>'What have you learned from the entrepreneurship program at CSUSB?'), '6'=>Array('file'=>'/mov/q6.mov', 'title'=>'How do you plan to use your entrepreneurship education?'), '7'=>Array('file'=>'/mov/q7.mov', 'title'=>'Did you find the Entrepreneurship education valuable?'), '8'=>Array('file'=>'/mov/q8.mov', 'title'=>'What advice would you give to potential entrepreneurship students?') ); $file = $videos[$FORM['vid']]['file']; if ($file == '') { $player .= "Invalid video id entered.

"; } else { $filename = $file; $uri = "http://entre.csusb.edu{$filename}"; $player .= "
\n"; } foreach ($videos as $vid => $video) { $links .= "
  • {$video['title']}
  • \n"; } $output = <<