Esempio n. 1
0
<tr><td class="tabtitle" colspan="2"><img src="../artwork/toggle_log.png" alt="Icon" align="middle" /><?php 
echo $string['referenceheading'];
?>
</td></tr>
<tr><td style="vertical-align:top"><div id="reference_list" style="padding: 5px"></div></td></tr>
</table>

<table id="changes" class="tabsection" style="display: none">
<tr><td class="tabtitle" colspan="2"><img src="../artwork/version_icon.png" alt="Icon" align="middle" /><?php 
echo $string['changesheading'];
?>
</td></tr>
<tr><td style="vertical-align:bottom"><div id="change_list" style="height:543px; overflow-y:scroll">
<table cellspacing="0" cellpadding="2" border="0" style="width:100%">
<?php 
$modules = module_utils::get_module_list_by_id($mysqli);
$user_list = array();
if (count($changed_reviewers) > 0) {
    $reviewer_in = implode(',', array_keys($changed_reviewers));
    $results = $mysqli->prepare("SELECT id, title, surname FROM users WHERE id IN ({$reviewer_in})");
    $results->execute();
    $results->bind_result($id, $title, $surname);
    while ($results->fetch()) {
        $user_list[$id] = $title . ' ' . $surname;
    }
    $results->close();
}
$reference_material = array();
$results = $mysqli->prepare("SELECT id, title FROM reference_material");
$results->execute();
$results->bind_result($id, $title);