Example #1
0
function page_menu($parent_id = -1, $step = 0, $name, $parent_name = '')
{
    global $db, $fullsite;
    $lang = "_" . get_language();
    if ($parent_id == -1) {
        $sql = "select * from ntk_menus where parent_id = -1";
    } else {
        $sql = "select * from ntk_menus where parent_id = " . $parent_id;
    }
    //echo $sql.'<br>';
    if ($name != '') {
        $id = '  class="' . $name . '" ';
    }
    $step++;
    $result = $db->query($sql, true, "Query failed");
    $org = str_repeat(' ', $step * 10) . '<ul ' . $id . '>' . chr(13);
    while ($aR = $db->fetchByAssoc($result)) {
        $special = '';
        if ($aR['status_id'] == 0) {
            $special = ' ';
        }
        $href = "";
        if ($aR['link'] != '') {
            if (substr($aR['link'], 0, 7) == 'http://') {
                $href = ' href="' . $aR['link'] . '" ';
            } else {
                $href = ' href="' . $fullsite . '/' . $aR['group'] . '/0/' . $aR['link'] . '" ';
            }
        } else {
            if ($parent_name != '') {
                $href = ' href="' . $fullsite . '/' . $aR['menu_id'] . '/0/' . tag_link($aR['menu_name' . $lang]) . '.html" ';
            }
        }
        $org .= str_repeat(' ', $step * 10) . '<li><a  data-actor="' . $aR['id'] . '"  title="' . $aR['note'] . '" id="' . $aR['id'] . '" token="' . $md5sum . '" name="' . $aR['name'] . '" note="' . $aR['note'] . '" status="' . $aR['status_id'] . '" uid="' . $aR['detail_id'] . '" uidtoken="' . $uidtoken . '" 
			 order="' . $aR['order'] . '" ' . $special . ' style="cursor:pointer" ' . $href . '><span>' . $aR['menu_name' . $lang] . '</span></a>' . chr(13);
        $parent_name_vl = tag_link($aR['menu_name' . $lang]);
        $org .= page_menu($aR['menu_id'], $step, '', $parent_name_vl);
        $org .= str_repeat(' ', $step * 10) . '</li>' . chr(13);
    }
    $org .= str_repeat(' ', $step * 10) . '</ul>' . chr(13);
    return $org;
}
Example #2
0
<head>
<?php 
head_tag("LACTOR - " . _("Profile"));
?>
<link rel="stylesheet" href="css/profile.css" type="text/css" media="all" />
<script type='text/javascript' src='js/passwords.js'></script>
</head>


<body>
<div id="maincontainer">

<?php 
page_header();
page_menu(PAGE_PROFILE);
?>

<div id="pagecontent">
<?php 
if (isset($_SESSION['s_mid'])) {
    $_SESSION['Smessage'] = "Logged in as scientist.";
    $_SESSION['Stype'] = 2;
    $_SESSION['Sdetail'] = "";
    displayMessage('Smessage', 'Sdetail', 'Stype');
}
displayNotification();
?>
 
<?php 
displayMessage('ChangePassMessage', 'ChangePassDetails', 'ChangePassType');
        ?>
">
							<div class="child_content">
								<h2 class="child_content--title"><?php 
        the_title();
        ?>
</h2>
								<?php 
        the_content();
        ?>
								<?php 
        $menu = get_post_meta($post->ID, '_ppm_menu_select', true);
        ?>
								<?php 
        if (!empty($menu)) {
            page_menu($menu);
        }
        ?>
							</div>

							<div class="child_more">
								<a href="<?php 
        the_permalink();
        ?>
" class="child_more--btn">View More</a>
							</div>

						</div>
					</div>
				</div>
			</div>
Example #4
0
loadVocabulary();
?>

<head>
<?php 
head_tag("LACTOR - " . _("Tutorials"));
?>
<link rel="stylesheet" href="css/profile.css" type="text/css" media="all" />
</head>

<body>
<div id="maincontainer">

<?php 
page_header();
page_menu(PAGE_TUTORIALS);
?>

<div id="pagecontent">
<div id="registercontent">


<?php 
if (isset($_SESSION['s_mid'])) {
    $_SESSION['Smessage'] = "Logged in as scientist.";
    $_SESSION['Stype'] = 2;
    $_SESSION['Sdetail'] = "";
    displayMessage('Smessage', 'Sdetail', 'Stype');
}
displayNotification();
?>
Example #5
0

<head>
<?php 
head_tag("LACTOR - " . _("Notifications"));
?>
</head>

<body>
  <div id="maincontainer">

    <?php 
page_header();
?>
    <?php 
page_menu(PAGE_NOTIFICATIONS);
?>
    <!-- Page Content -->
    <div id="pagecontent">
      <?php 
if (isset($_SESSION['s_mid'])) {
    $_SESSION['Smessage'] = "Logged in as scientist.";
    $_SESSION['Stype'] = 2;
    $_SESSION['Sdetail'] = "";
    displayMessage('Smessage', 'Sdetail', 'Stype');
}
?>
      <!-- form box -->
      <br />

      <div id="registercontent">
Example #6
0
{
	window.open("graph-legend-full.png","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=yes, width=600, height=385");
}
</script>
<?php 
if ($_GET['r'] == 1) {
    echo "<META HTTP-EQUIV=\"refresh\" CONTENT=\"90\">";
}
?>
</head>
<body bgcolor="white">
<table>
<tr>
<td width="150" valign="top">
<?php 
page_menu($page);
?>
</td>
<td width="830" valign="top">
<?php 
switch ($_GET['page']) {
    case 'log out':
        $_SESSION['authenticated'] = 0;
        $inputuser = $_POST['input_user'];
        $inputpassword = $_POST['input_password'];
        if ($_GET['r'] == 1) {
            echo "<meta http-equiv='refresh' content='2;url=index.php?r=1'>";
        } else {
            echo "<meta http-equiv='refresh' content='2;url=index.php'>";
        }
        break;
Example #7
0
loadVocabulary();
?>

<head>
<?php 
head_tag("LACTOR - Tutorials");
?>
<link rel="stylesheet" href="css/profile.css" type="text/css" media="all" />
</head>

<body>
<div id="maincontainer">

<?php 
page_header();
page_menu(PAGE_EDUCATIONAL_MATERIALS);
?>

<div id="pagecontent">
<div id="registercontent">


<?php 
if (isset($_SESSION['s_mid'])) {
    $_SESSION['Smessage'] = _("Logged in as scientist.");
    $_SESSION['Stype'] = 2;
    $_SESSION['Sdetail'] = "";
    displayMessage('Smessage', 'Sdetail', 'Stype');
}
displayNotification();
?>
Example #8
0
loadVocabulary();
?>


<head>
<?php 
head_tag("LACTOR - " . _("Inbox"));
?>
</head>

<body>
<div id="maincontainer">

<?php 
page_header();
page_menu(PAGE_INBOX);
?>

		
<!-- Page Content -->
<div id="pagecontent">
<div class='message dynamic' style='display:none'></div>
<?php 
if (isset($_SESSION['s_mid'])) {
    $_SESSION['Smessage'] = "Logged in as scientist.";
    $_SESSION['Stype'] = 2;
    $_SESSION['Sdetail'] = "";
    displayMessage('Smessage', 'Sdetail', 'Stype');
}
?>
<!-- form box -->
Example #9
0
function page_header($params_ = array())
{
    $title = 'Open Virtual Desktop - ' . _('Administration');
    if (isset($_SESSION['errormsg'])) {
        $errors = array_unique($_SESSION['errormsg']);
        unset($_SESSION['errormsg']);
    } else {
        $errors = array();
    }
    if (isset($_SESSION['infomsg'])) {
        $infos = array_unique($_SESSION['infomsg']);
        unset($_SESSION['infomsg']);
    } else {
        $infos = array();
    }
    if (is_premium()) {
        $link = array("<a href='/ovd/admin/certificate.php'>", "</a>");
        $expirity = $_SESSION['service']->has_valid_certificate();
        if ($expirity !== false) {
            $expirity = ceil(($expirity - gmmktime()) / (60 * 60 * 24));
            if ($expirity > 0 && $expirity < 20) {
                $errors[] = sprintf(_("Your %sPremium Edition Subscription Key%s will expire in %d days"), $link[0], $link[1], $expirity);
            } elseif ($expirity <= 0) {
                $errors[] = sprintf(_("Your %sPremium Edition Subscription Key%s has expired."), $link[0], $link[1]);
            }
        } else {
            $errors[] = sprintf(_("You don't have any valid %sPremium Edition Subscription Keys%s."), $link[0], $link[1]);
        }
    }
    global $html_dir;
    $html_dir = get_component_orientation();
    echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">';
    echo '<html xmlns="http://www.w3.org/1999/xhtml" dir="' . $html_dir . '">';
    echo '<head>';
    echo '<title>' . $title . '</title>';
    //echo '<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />';
    echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
    echo '<link rel="shortcut icon" type="image/png" href="' . ROOT_ADMIN_URL . '/media/image/favicon.ico" />';
    echo '<link rel="stylesheet" type="text/css" href="' . ROOT_ADMIN_URL . '/media/style/common.css" />';
    echo '<link rel="stylesheet" type="text/css" href="' . ROOT_ADMIN_URL . '/media/script/lib/nifty/niftyCorners.css" />';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/lib/nifty/niftyCorners.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" charset="utf-8">';
    echo '		NiftyLoad = function() {';
    echo '			Nifty("div.rounded");';
    echo '		}';
    echo '</script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/lib/prototype/prototype.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/lib/edit_area/edit_area_full.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/file.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/lib/scriptaculous/scriptaculous.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/lib/scriptaculous/slider.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/common-regular.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/sortable.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/time_grid.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/common.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/ajax/configuration.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/ajax/user.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/ajax/usergroup.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/ajax/add_del_rows.js" charset="utf-8"></script>';
    if (is_array($params_) && isset($params_['js_files']) && is_array($params_['js_files'])) {
        foreach ($params_['js_files'] as $js_file) {
            echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/' . $js_file . '" charset="utf-8"></script>';
        }
    }
    echo '</head>';
    echo '<body>';
    echo '<div id="infoBulle" style="position: absolute; border: 1px solid black; background: #fec; padding: 5px; display: none; margin-right: 11px; max-width: 600px; z-index: 5000;"></div>';
    echo '<div id="mainWrap">';
    echo '<div id="headerWrap">';
    echo '<table style="width: 100%;" border="0" cellspacing="0" cellpadding="0">';
    echo '<tr>';
    echo '<td style="min-width: 10%; text-align: inherit;" class="menu">';
    page_menu();
    echo '</td>';
    //echo '<td style="text-align: center; width: 100%;" class="title centered">';
    //echo '<h1 class="centered">'.$title.'</h1>';
    //echo '</td>';
    echo '<td class="logo">';
    echo '<a href="index.php"><img src="' . ROOT_ADMIN_URL . '/media/image/header.png" alt="' . $title . '" title="' . $title . '" /></a>';
    echo '</td>';
    echo '</tr>';
    echo '</table>';
    echo '</div>';
    echo '<div class="spacer"></div>';
    echo '<div id="pageWrap">';
    echo '<br />';
    echo '<div class="spacer"></div>';
    echo '<div id="adminContent">';
    if (count($errors) > 0) {
        echo '<div id="adminError">';
        echo '<span class="msg_error">';
        if (count($errors) > 1) {
            echo '<ul>';
            foreach ($errors as $error_msg) {
                echo '<li>' . $error_msg . '</li>';
            }
            echo '</ul>';
        } else {
            echo $errors[0];
        }
        echo '</span>';
        echo '</div>';
    }
    if (count($infos) > 0) {
        echo '<div id="adminInfo">';
        echo '<span class="msg_ok">';
        if (count($infos) > 1) {
            echo '<ul>';
            foreach ($infos as $info_msg) {
                echo '<li>' . $info_msg . '</li>';
            }
            echo '</ul>';
        } else {
            echo $infos[0];
        }
        echo '</span>';
        echo '</div>';
    }
    page_sub_menu();
}
Example #10
0
?>
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="js/jqplot/excanvas.js"></script><![endif]-->
<script language="javascript" type="text/javascript" src="js/jqplot/jquery.jqplot.js"></script>
<script language="javascript" type="text/javascript" src="js/jqplot/plugins/jqplot.barRenderer.js"></script>
<script language="javascript" type="text/javascript" src="js/jqplot/plugins/jqplot.canvasAxisTickRenderer.js"></script>
<script language="javascript" type="text/javascript" src="js/jqplot/plugins/jqplot.canvasTextRenderer.js"></script>
<script language="javascript" type="text/javascript" src="js/jqplot/plugins/jqplot.dateAxisRenderer.js"></script>
<link rel="stylesheet" type="text/css" href="js/jqplot/jquery.jqplot.css" />
</head>

<body>
<div id="maincontainer">

<?php 
page_header();
page_menu(PAGE_VIEW_DIARY);
?>

<div id="pagecontent">
<div id="registercontent">

<?php 
if (isset($_SESSION['writemessage'])) {
    if ($_SESSION['writetype'] == 1) {
        $query = "SELECT * FROM Diary, BreastfeedEntry WHERE EntryType = 1 AND Diary.EntryId = BreastfeedEntry.EntryId AND BreastfeedEntry.EntryId = " . $_SESSION['writeid'];
        $result = mysql_query($query);
        $row = mysql_fetch_array($result);
        $m = "<form action='modify_entry.php' method='post'>";
        $m .= "<input name='entryid' type='hidden' value='" . $row['EntryId'] . "'/>";
        $m .= "<input name='entrydate' type='hidden' value='" . $row['EntryDate'] . "'/>";
        $m .= "<input name='duration' type='hidden' value='" . $row['BreastfeedingDuration'] . "'/>";
Example #11
0
<?php 
head_tag("LACTOR - " . _("Add Entry"));
?>


</head>



<body>
<div id="maincontainer">


<?php 
page_header();
page_menu(PAGE_ADD_ENTRY);
?>

<div id="pagecontent">
<div id="registercontent">

<?php 
$error_message = "";
$success_message = "";
$active_tab = "breastfeeding";
$hour = isset($_POST['entryhour']) ? $_POST['entryhour'] : date('g');
$minute = isset($_POST['entryminute']) ? $_POST['entryminute'] : date('i');
$minute -= $minute % 5;
// round down the the closest 5 minute increment.
$ampm = isset($_POST['entryam']) ? $_POST['entryam'] == "01" ? "AM" : "PM" : date('A');
$today = "SELECTED";
<section id="latest-work">
	<div class="container">
		<h2 class="text-center section-title">Our Work</h2>
		<div class="row">
			<div class="col-lg-10 col-lg-offset-1">
				<div class="row">

					<?php 
page_menu('latest-nav');
?>

				</div>
			</div>
		</div>
	</div>
</section>
Example #13
0
		
<!-- BEGIN: MAIN NAVIGATION -->

    <div id="flash">
	<img src="<?php 
echo $fullsite;
?>
/images/banneren.jpg" alt="" /><br />		
    </div>


<div id="ja-mainnavwrap">
 
<div class="navigation" id="ja-mainnav">
<?php 
$page_menu = page_menu(-1, 0, 'nav');
echo $page_menu;
?>
<div id="ja-mainnav" class="navigation" style="float:right;">
  <ul class="nav">
	<li>
		<!--<a href="http://127.0.0.1/pj.ntk/ngoai-than-kinh/0/trang-chu.html" style="cursor:pointer" order="" uidtoken="" uid="" status="" note="" name="" token="" id="" title="" data-actor=""><span>TRANG CHỦ</span></a>-->
		<form name="frm_search" id="frm_search" action="<?php 
echo $fullsite;
?>
/0/0/tim-kiem.html" method="POST">
			<div style="margin-top:5px;">
				<input style="width:130px" type="text" name="txt_search"  id="txt_search" />
				<div style="margin-top:0px; float:right;">
					<img src="images/search.png" width="25px" height="25px" alt="&nbsp;"/>
				</div>
Example #14
0
function page_header($params_ = array())
{
    $title = 'Open Virtual Desktop - ' . _('Administration');
    if (isset($_SESSION['errormsg'])) {
        $errors = array_unique($_SESSION['errormsg']);
        unset($_SESSION['errormsg']);
    } else {
        $errors = array();
    }
    if (isset($_SESSION['infomsg'])) {
        $infos = array_unique($_SESSION['infomsg']);
        unset($_SESSION['infomsg']);
    } else {
        $infos = array();
    }
    echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">';
    echo '<html xmlns="http://www.w3.org/1999/xhtml">';
    echo '<head>';
    echo '<title>' . $title . '</title>';
    //echo '<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />';
    echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
    echo '<link rel="shortcut icon" type="image/png" href="' . ROOT_ADMIN_URL . '/media/image/favicon.ico" />';
    echo '<link rel="stylesheet" type="text/css" href="' . ROOT_ADMIN_URL . '/media/style/common.css" />';
    echo '<link rel="stylesheet" type="text/css" href="' . ROOT_ADMIN_URL . '/media/script/lib/nifty/niftyCorners.css" />';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/lib/nifty/niftyCorners.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" charset="utf-8">';
    echo '		NiftyLoad = function() {';
    echo '			Nifty("div.rounded");';
    echo '		}';
    echo '</script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/lib/prototype/prototype.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/lib/scriptaculous/scriptaculous.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/lib/scriptaculous/slider.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/common-regular.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/sortable.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/common.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/ajax/configuration.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/ajax/usergroup.js" charset="utf-8"></script>';
    echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/media/script/ajax/add_del_rows.js" charset="utf-8"></script>';
    if (is_array($params_) && isset($params_['js_files']) && is_array($params_['js_files'])) {
        foreach ($params_['js_files'] as $js_file) {
            echo '<script type="text/javascript" src="' . ROOT_ADMIN_URL . '/' . $js_file . '" charset="utf-8"></script>';
        }
    }
    echo '</head>';
    echo '<body>';
    echo '<div id="infoBulle" style="position: absolute; border: 1px solid black; background: #fec; padding: 5px; display: none; margin-right: 11px; max-width: 600px; z-index: 5000;"></div>';
    echo '<div id="mainWrap">';
    echo '<div id="headerWrap">';
    echo '<table style="width: 100%;" border="0" cellspacing="0" cellpadding="0">';
    echo '<tr>';
    echo '<td style="min-width: 10%; text-align: left;" class="menu">';
    page_menu();
    echo '</td>';
    //echo '<td style="text-align: center; width: 100%;" class="title centered">';
    //echo '<h1 class="centered">'.$title.'</h1>';
    //echo '</td>';
    echo '<td style="width: 100%; text-align: right; padding-right: 10px; border-bottom: 1px solid #ccc;" class="logo">';
    echo '<a href="index.php"><img src="' . ROOT_ADMIN_URL . '/media/image/header.png" alt="' . $title . '" title="' . $title . '" /></a>';
    echo '</td>';
    echo '</tr>';
    echo '</table>';
    echo '</div>';
    echo '<div class="spacer"></div>';
    echo '<div id="pageWrap">';
    echo '<br />';
    echo '<div class="spacer"></div>';
    echo '<div id="adminContent">';
    if (count($errors) > 0) {
        echo '<div id="adminError">';
        echo '<span class="msg_error">';
        if (count($errors) > 1) {
            echo '<ul>';
            foreach ($errors as $error_msg) {
                echo '<li>' . $error_msg . '</li>';
            }
            echo '</ul>';
        } else {
            echo $errors[0];
        }
        echo '</span>';
        echo '</div>';
    }
    if (count($infos) > 0) {
        echo '<div id="adminInfo">';
        echo '<span class="msg_ok">';
        if (count($infos) > 1) {
            echo '<ul>';
            foreach ($infos as $info_msg) {
                echo '<li>' . $info_msg . '</li>';
            }
            echo '</ul>';
        } else {
            echo $infos[0];
        }
        echo '</span>';
        echo '</div>';
    }
    page_sub_menu();
}
Example #15
0
<body <?php 
body_class();
?>
>
<div class="b-wrapper animsition">
<header class="s-header">
    <div class="container">
        <div class="sec-left"><a href="#" class="i-logo">
                <svg data-svg="logo" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="102px" height="102px" viewbox="0 0 102 102" enable-background="new 0 0 102 102" xml:space="preserve" class="svg">
                <path fill="#1197D4" d="M100.9,51c0-27.6-22.3-49.9-49.9-49.9c-0.8,0-1.5,0-2.2,0.1L38.6,29.2h8.9c5.3,0,8.1,4.1,6.3,9L41.2,72.9 l-10.6,0l13.5-37.1h-7.9L22.7,72.9H12.1L28,29.2h0l9.6-26.3C16.5,8.8,1.1,28.1,1.1,51c0,23.6,16.3,43.3,38.3,48.5l9.3-25.4h0 L65,29.2h19.5c5.3,0,8.1,4.1,6.3,9L79.8,68.6c-0.8,2.3-3.5,4.2-6,4.2h-14l-10.2,28c0.5,0,1,0,1.5,0C78.6,100.9,100.9,78.6,100.9,51 M81.2,35.7h-7.9L62.1,66.3h7.9L81.2,35.7"></path>
              </svg></a></div>
        <div class="sec-right">
            <?php 
header_menu();
?>
            <form action="" class="f-search">
                <input type="text" placeholder="אני רוצה לחפש..." class="search js-search">
                <button class="i-search js-i-search">
                    <svg version="1.1" viewbox="0 0 18 18" class="svg">
                        <path d="M6.8,13.6c-3.7,0-6.7-3-6.7-6.7c0-3.7,3-6.7,6.7-6.7c3.7,0,6.7,3,6.7,6.7C13.5,10.6,10.5,13.6,6.8,13.6z  M6.8,1.1c-3.2,0-5.8,2.6-5.8,5.8c0,3.2,2.6,5.8,5.8,5.8c3.2,0,5.8-2.6,5.8-5.8C12.6,3.7,10,1.1,6.8,1.1z M3.3,9.4 c0.1-0.1,0.2-0.2,0.2-0.3c0-0.1,0-0.2,0-0.3C3.1,8.2,2.9,7.6,2.9,6.9c0-1.8,1.2-3.3,2.9-3.7C5.9,3.1,6,3.1,6,3 c0.1-0.1,0.1-0.2,0-0.3c0-0.2-0.2-0.3-0.4-0.3l-0.1,0C3.5,2.9,2,4.7,2,6.9c0,0.8,0.2,1.6,0.6,2.4C2.7,9.4,2.9,9.5,3,9.5 C3.1,9.5,3.2,9.5,3.3,9.4z M16.3,18c-0.4,0-0.8-0.1-1-0.4l-3.8-3.8c-0.4-0.4-0.4-1.1,0-1.6l0.7-0.7c0.2-0.2,0.5-0.3,0.8-0.3 c0.3,0,0.6,0.1,0.8,0.3l3.8,3.8c0.4,0.4,0.5,1.1,0.3,1.6l-0.9,0.9C16.7,18,16.5,18,16.3,18z M13,12.1c-0.1,0-0.1,0-0.2,0.1l-0.7,0.7 c-0.1,0.1-0.1,0.2,0,0.3l3.8,3.8c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.1,0,0.1,0l0.6-0.6c0-0.1,0-0.4-0.1-0.5l-3.8-3.8 C13.1,12.1,13.1,12.1,13,12.1z"></path>
                    </svg>
                </button>
            </form>
        </div>
    </div>
    <?php 
page_menu();
?>

</header>
Example #16
0
    $_SESSION['direction'] = $_POST['direction'];
}
?>

<head>
<?php 
head_tag("LACTOR - " . _("Modify Entry"));
?>
</head>

<body>
<div id="maincontainer">

<?php 
page_header();
page_menu(PAGE_MODIFY_ENTRY);
?>



<div id="pagecontent">
<div id="registercontent">

<?php 
if (isset($_SESSION['s_mid'])) {
    $_SESSION['Smessage'] = "Logged in as scientist.";
    $_SESSION['Stype'] = 2;
    $_SESSION['Sdetail'] = "";
    displayMessage('Smessage', 'Sdetail', 'Stype');
}
?>