Example #1
0
    <th scope="col">Student Outcomes</th>
    <th id="a" align="center" title="Ability to apply knowledge of mathematics, science, engineering.">A</th>
      <th align="center" title="An ability to design and conduct experiments, as well as to analyze and interpret data.">B</th>
      <th align="center" title="Ability to design a system, component or process to meet desired needs within realistic constraints.">C</th>
      <th align="center" title="Ability to function on multidisciplinary teams.">D</th>
      <th align="center" title="Ability to identify, formulate and solve engineering problems.">E</th>
      <th align="center" title="Understanding of professional and ethical responsibility.">F</th>
      <th align="center" title="Ability to communicate effectively.">G</th>
      <th align="center" title="The broad education necessary to understand the impact of engineering solutions in a global, economic, environmental and societal context.">H</th>
      <th align="center" title="Recognition of the need for and an ability to engage in lifelong learning.">I</th>
      <th align="center" title="Knowledge of contemporary issues.">J</th>
      <th align="center" title="Ability to use the techniques, skills and modern engineering tools necessary for engineering practice.">K</th>

  </tr>
<?php 
foreach (getPrograms() as $prog) {
    ?>
  <?php 
    if ($prog['short'] == $inputprog) {
        ?>
   <?php 
        foreach (getCourseIDsForProgramID($prog['short']) as $courseID) {
            ?>
        <?php 
            $course = getCourseForID($courseID);
            ?>
        <?php 
            $arr = $course->allOutcomes();
            ?>
  			<tr>
    			<th scope="row" width = "15%"><a href='<?php 
require_once "include/header.php";
require_once '../src/include.php';
// 0 = authorized
// 1 = wrong pw
// 2 = no pw given
if (!isset($_POST['pw'])) {
    $authorized = 2;
} else {
    if (!validPwForAllCoursesPage($_POST['pw'])) {
        $authorized = 1;
    } else {
        $authorized = 0;
    }
}
$programs = getPrograms();
function compareCourses($c1, $c2, $progID)
{
    $course1 = getCourseForID($c1);
    $course2 = getCourseForID($c2);
    if ($course1->reqForProgram[$progID] == 'R' && $course2->reqForProgram[$progID] != 'R') {
        return -1;
    } else {
        if ($course2->reqForProgram[$progID] == 'R' && $course1->reqForProgram[$progID] != 'R') {
            return 1;
        } else {
            return strcmp($course1->courseID, $course2->courseID);
        }
    }
}
?>
            $condition = " AND ";
        } else {
            // 特別公演のみ
            $query .= $condition . " s.program_id = 51 ";
            $condition = " AND ";
        }
    }
    // ダブルチェックが必要な公演のみか
    if ($notDoubleCheckedOnly) {
        $query .= $condition . " s.is_unofficial = b'1' ";
        $condition = " AND ";
    }
    $query .= $condition . " s.delete_time IS NULL ";
    $query .= " ORDER BY s.stage_id ";
    // 出演回数指定
    if ($stageCount > 0) {
        $query .= " limit %d ";
        $param[] = $stageCount;
    }
    if ($needPreparedStatement != 0) {
        $query = $wpdb->prepare($query, $param);
    }
    $rows = $wpdb->get_results($query);
}
// メンバーリスト
$memberInfoList = getMembers();
// 演目リスト
$programList = getPrograms();
// イベントリスト
$eventList = getEvents();
include_once 'page-templates/page-stage-list.tpl';
Example #4
0
function getCoursesForOutcomes($outcomes)
{
    $matches = array();
    foreach (getPrograms() as $program) {
        $programID = $program['short'];
        foreach (getCourseIDsForProgramID($programID) as $courseID) {
            $course = getCourseForID($courseID);
            if ($course->matchesOutcomes($outcomes)) {
                $matches[] = $course;
            }
        }
    }
    return $matches;
}