<?php
/*
LabStoRe
Version: 1.6.3
Date: 6 September 2014
Copyright: Santosh Patnaik, MD, PhD
License: GPL 3+
URL: www.bioinformatics.org/phplabware
*/
echo '</div><div style="padding-left: 5px;"><p><span style="color:#dcdcdc;">';
if(!($all_affect_items == "no") or ($all_affect_items == "no" and $client == "allowed")) {
echo('<a>Add </a>');
// Depending on activated modules (config.php)
$to_show = '';
foreach($modules_array as $key=>$value) {
$to_show .= '<a href="' . $site_url . 'index_short.php?function=show_insert_form&table_name=' . rawurlencode($value[4]) . '" onclick="return popitup(\'' . $site_url . 'index_short.php?function=show_insert_form&table_name=' . rawurlencode($value[4]) . '\')" title="' . htmlspecialchars($value[2]) . '">';
if($table == $value[4]) {
$to_show .= '<b>' . htmlspecialchars($value[0]) . '</b>';
}
else {
$to_show .= htmlspecialchars($value[0]);
}
$to_show .= '</a>/';
}
$to_show = substr($to_show, 0, - 1);
echo($to_show);
}
echo ' || <a href="', $parentsite_url, 'help/help.htm" onclick="return popitup(\'', $parentsite_url, 'help/help.htm\')">Help</a> || <a href="', $parentsite_url, 'admin.php">Admin</a> || <a href="', $parentsite_url, 'index.php">', $parentsite_name, '</a> || <a href="', $mainsite_url, 'index.php">', $mainsite_name, '</a></span></p></div></body></html>';