コード例 #1
0
ファイル: list.php プロジェクト: vinod-co/centa
<body onselectstart="return false">
<?php 
require '../include/question_list_options.inc';
require '../include/toprightmenu.inc';
echo draw_toprightmenu();
?>

<div id="content">
<?php 
$question_no = 0;
$display_no = 0;
$bank_type = '';
$module_sql = '';
if ($keyword != '%' and $keyword != '') {
    $bank_type = ": '" . keyword_utils::name_from_ID($keyword, $mysqli) . "'";
} elseif (isset($_GET['bloom'])) {
    $bank_type = ': ' . $_GET['type'];
} elseif ($_GET['type'] == 'performance') {
    $types = array('veryeasy' => 'Very Easy', 'easy' => 'Easy', 'moderate' => 'Moderate', 'hard' => 'Hard', 'veryhard' => 'Very Hard', 'highest' => 'Highest', 'high' => 'High', 'intermediate' => 'Intermediate', 'low' => 'Low');
    $bank_type = ': ' . $types[$_GET['subtype']];
} elseif ($module != '') {
    $bank_type = ": {$module_code}";
} elseif ($_GET['type'] != '%') {
    $bank_type = ': ' . $string[$_GET['type']];
}
echo "<div class=\"head_title\">\n";
echo "<div><img src=\"../artwork/toprightmenu.gif\" id=\"toprightmenu_icon\" /></div>\n";
echo "<div class=\"breadcrumb\"><a href=\"../index.php\">" . $string['home'] . "</a>";
if (isset($_GET['module'])) {
    echo '<img src="../artwork/breadcrumb_arrow.png" class="breadcrumb_arrow" alt="-" /><a href="../module/index.php?module=' . $_GET['module'] . '">' . $module_code . '</a>';