* @author Ramindu Deshapriya <*****@*****.**> * @about Developed in whole or part by the U.S. National Library of Medicine * @link https://pl.nlm.nih.gov/about * @link http://sahanafoundation.org * @license http://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License (LGPL) * @lastModified 2014.0215 */ global $global; global $conf; require_once($global['approot'].'mod/lpf/lib_lpf.inc'); $full = false; // true when we show the full header... // show image echo '<div id="header" class="clearfix"><div id="leftHeaderLogo"><a href="'.makeBaseUrlMinusEvent().'"> <img id="leftHeaderLogoImg" src="theme/vesuvius2/img/vesuvius.png" alt="Vesuvius Logo"></a> </div><div id="rightHeaderLogo"> <a href="http://www.nlm.nih.gov/"><img src="theme/vesuvius2/img/sahana_vesuvius.png" alt="Sahana Vesuvius Logo"> </a></div>'; // show language selection if necessary... if(isset($conf['enable_locale']) && $conf['enable_locale'] == true) { _shn_lc_lang_list(); } echo '</div>'; // check if we have a shortname... if(isset($_GET['shortname'])) {
* @author Greg Miernicki <*****@*****.**> <*****@*****.**> * @about Developed in whole or part by the U.S. National Library of Medicine * @link https://pl.nlm.nih.gov/about * @link http://sahanafoundation.org * @license http://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License (LGPL) * @lastModified 2011.1005 */ global $global; global $conf; require_once($global['approot'].'mod/lpf/lib_lpf.inc'); $full = false; // true when we show the full header... // show image echo '<div id="header" class="clearfix"><div id="leftHeaderLogo"><a href="'.makeBaseUrlMinusEvent().'"><img id="leftHeaderLogoImg" src="theme/lpf3/img/pl.png" alt="People Locator Logo"></a><sup id="suplogo" style="font-size: 120%; color: #34689A;">™</sup></div><div id="rightHeaderLogo"><a href="http://www.nlm.nih.gov/"><img src="theme/lpf3/img/NLMlogoSmall.gif" alt="United States National Library of Medicine Logo"></a></div>'; // show language selection if necessary... if(isset($conf['enable_locale']) && $conf['enable_locale'] == true) { _shn_lc_lang_list(); } echo '</div>'; // check if we have a shortname... if(isset($_GET['shortname'])) { $date = ""; $short = mysql_real_escape_string($_GET['shortname']); $long = ""; $q = "
$date = date("F j, Y", strtotime($row["date"])); // show the full event specific header... echo ' <div id="headerText"> <h1><a href="'.makeBaseUrlMinusEvent().'">'._t("MAIN_HEADER|People Locator").'</a></h1> <h2><span>'._t('MAIN_HEADER|for the ').'</span>'.$long.'</h1> <h3>'._t("MAIN_HEADER|of").' '.$date.'</h2> <h4>'._t("MAIN_HEADER|U.S. National Library of Medicine").'</h2> <h4>'._t("MAIN_HEADER|Lister Hill National Center for Biomedical Communications").'</h2> </div> '; $full = true; } } if(!$full) { echo ' <div id="headerText"> <h1> </h1> <h1><a href="'.makeBaseUrlMinusEvent().'">'._t("DUPLICATE_HEADER|People Locator").'</a></h1> <h4>'._t("U.S. National Library of Medicine").'</h2> <h4>'._t("Lister Hill National Center for Biomedical Communications").'</h2> </div> '; }