Пример #1
0
<body>
	<header class="header">
	    <div class="container">
	        <h1>Résultats</h1>
	    </div>
	</header>
	<div class="container">
	    <?php 
display_identity($infos[0]);
?>

        <section class="details panel">
            <article>
                <h2>Plus de détails :</h2>
                <?php 
display_details($infos, $rank, $total_step);
?>
            </article>
        </section>
        
        <section class="panel">
            <article>
                <h2>Un peu de comparaison</h2>
                <p>Pour te donner une idée, voici une représentation des votes des autres membres.</p>
                <ul class="graph"><?php 
display_percent_results(get_percents_results(), $infos[0]);
?>
</ul>
            </article>
        </section>
        
Пример #2
0
        echo $whos_online['http_referer'] == "" ? TEXT_HTTP_REFERER_NOT_FOUND : TEXT_HTTP_REFERER_FOUND;
        ?>
</font></td>
                        </tr>

                      <?php 
        // mjc mchallis modified next line for more standard use of query get vars
        if ($_GET['show'] == 'all' || $_GET['show'] == 'bots' && $is_bot || $_GET['show'] == 'cust' && ($is_guest || $is_account || $is_admin)) {
            ?>
                        <tr class="dataTableRow">
                          <td class="dataTableContent" colspan="3"></td>
                          <td class="dataTableContent" colspan="6"><font color="<?php 
            echo $fg_color;
            ?>
"><?php 
            display_details($country_code);
            ?>
</font></td>
                        </tr>
                      <?php 
        }
    }
    // closes "if $isbot statement
}
// closes "while" statement
//Display HTTP referer, if any
// mjc mike challis added wordwrap to referer url
if (isset($http_referer_url)) {
    ?>
                        <tr>
                          <td class="smallText" colspan="9"><?php 
Пример #3
0
    echo $fg_color;
    ?>
">
                <?php 
    // Display Details for All
    if ($_SERVER["QUERY_STRING"] == showAll) {
        display_details();
    } else {
        if ($_SERVER["QUERY_STRING"] == showBots) {
            if ($is_bot) {
                display_details();
            }
        } else {
            if ($_SERVER["QUERY_STRING"] == showCust) {
                if ($is_guest || $is_account || $is_admin) {
                    display_details();
                }
            }
        }
    }
    ?>
						</font></td>
						</tr>

<?php 
    $old_array = $whos_online;
}
if (!$i) {
    $i = 0;
}
$total_dupes = $i;
Пример #4
0
        print_continue($continue);
    } else {
        if ($mform->is_cancelled()) {
            //you need this section if you have a cancel button on your form
            //here you tell php what to do if your user presses cancel
            //probably a redirect is called for!
            $continue = "{$CFG->wwwroot}/mod/blended/scannedJob.php?a={$a}&jobid={$jobid}";
            echo $strprocesscancelled;
            print_continue($continue);
        } else {
            $evaluar = "Pasar a QUIZ";
            //echo "<BR>";
            $link = "<a href=\"evaluate.php?&a={$a}&acode={$acode}&jobid={$jobid}\">{$evaluar}</a>";
            echo "<center>{$link}</center><BR><BR>";
            $currentpage = "showdetails.php";
            display_details($mform, $jobid, $acode, $course, $a, $currentpage);
        }
    }
} catch (ResultsError $e) {
    if ($e->getCode() == ResultsError::TABLE_BLENDED_RESULTS_IS_EMPTY) {
        debugging("Fatal ResultsError: " . $e->getMessage());
        register_exception($e, $jobid);
    } else {
        debugging("Ha ocurrido un error durante la obtención de datos del formulario.<BR>");
        debugging("FATAL ResultsError: " . $e->getMessage() . "<BR>");
        register_exception($e, $jobid);
    }
}
echo "<BR><BR><center>";
helpbutton($page = 'showdetails', get_string('pagehelp', 'blended'), $module = 'blended', $image = true, $linktext = true, $text = '', $return = false, $imagetext = '');
echo "</center>";