All pastes #421293 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-04-02 19:22 UTC
rendered paste body
<?php

function rusty_lilac(){
	// 
	$questions = array('x',
						'Expand your career options...',
						'Provide access to alumni...',
						'Provide access to employers...',
						'Assist you in selecting a career...',
						'Increase your earning potential...',
						'Enhance your upward mobility...',
						'Facilitate a change in your career path...',
						'Provide the knowledge necessary to succeed',
						'Provide skills necessary to succeed',
						'x',
						'Accounting',
						'Behavioral Sci/Org Behavior',
						'Business Communications',
						'Business Law/Legal Environment',
						'Economics',
						'Entrepreneurship',
						'Finance',
						'HRM/Personnel',
						'Information Systems',
						'International Business',
						'Management',
						'Marketing',
						'Operations Research',
						'Policy/Strategy',
						'Production/Operations Mgt',
						'Statistics/Decision Science',
						'x',
						'Assistance you received securing a job after graduation while in the program...',
						'Level of responsibility of your first job after graduation',
						'One-on-one interpersonal skills',
						'Written communication skills',
						'Oral presentation skills',
						'Listening skills',
						'Decision-making skills',
						'Leadership skills',
						'Ability to deal with ambiguity',
						'Ability to work in teams',
						'Ability to define business problems',
						'Ability to apply a systematic approach to solving business problems',
						'Ability to think analytically',
						'Ability to think critically',
						'Ability to think creatively',
						'Ability to think strategically',
						'Ability to apply business theory to practice',
						'Ability to solve quantitative business problems',
						'Ability to think globally',
						'Ability to manage change',
						'Ability to apply technology',
						'x',
						'Internships',
						'Field projects',
						'Interaction with alumni',
						'Student organization participation',
						'Student organization leadership',
						'Participation in volunteer activities',
						'Informal faculty contact',
						'Establishing a network of business contacts',
						'x',
						'Reputation of the program',
						'Reputation of the faculty',
						'Reputation of the university'
						);
	$i = 1;
	$x = 0;
		
	$extended = array('To what extent did your business degree...',
						'To what extent have the following curricular disciplines contributed to your career success:');
	
	foreach($questions as $question){
		if ($question == 'x'){
			echo $extended[$x];
			$x++;
		}
		else{
		
		echo '<tr>';
		echo '<td>';
		echo $i . '. ' . $question;
		echo '</td>' . chr(10);
		$x = 1;
		echo '<td>' . chr(10);
		while ($x <= 7){
			echo $x . ' <input type="radio" name="radio_' . $i . '" value="' . $i . '_$x" />'; 
			echo '<br />' . chr(10);
			$x++;
		}
		echo 'N/A <input type="radio" name="radio_' . $i . '" value="' . $i . '_na" />';
		echo '</td>' . chr(10);
		echo '</tr>' . chr(10);
		$i++;
		}
	}
}