Beispiel #1
0
<?php

$position = getuserposition($_SESSION[username]);
$avatar = getavatar($_SESSION[username]);
?>
<header class="header">
            <a href="../main/index.php" class="logo">
                <!-- Add the class icon to your logo image or logo icon to add the margining -->
                <div class='animated zoomIn'>GIS for JHCIS</div>
            </a>
            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top" role="navigation">
                <!-- Sidebar toggle button-->
                    <a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button">
                   		<span class="sr-only">Toggle navigation</span>
                    	<span class="icon-bar"></span>
                    	<span class="icon-bar"></span>
                    	<span class="icon-bar"></span>
                	</a>               
                <div class="navbar-right">
                    <ul class="nav navbar-nav">
                        <!-- Messages: style can be found in dropdown.less-->

                        <li class="dropdown messages-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="fa fa-list-alt"></i>
                                <span class="label label-success">5</span>
                            </a>
                            <ul class="dropdown-menu">
                                <li class="header">เมนูใหม่</li>
                                <li>
Beispiel #2
0
$user = $_SESSION[user_id];
$sql = "SELECT * FROM `user` where `user`.username = '******'";
$result = mysql_query($sql) or die(mysql_error());
$row = mysql_fetch_array($result);
$mtitle = $row['prename'];
$mpassword = $row['password'];
$mtitlename = getTitle($row['prename']);
$mfname = $row['fname'];
$mlname = $row['lname'];
$mname = $row['username'];
$mavatar = getavatar($row['username']);
$musername = getusername($row['username']);
$midcard = $row['idcard'];
$hospname = gethospname($row['pcucode']);
$mposition = getuserposition($row['username']);
?>
<section class="content-header">
	<h1>
	ข้อมูลส่วนตัว
   	</h1>
		<ol class="breadcrumb">
			<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
			<li class="active">profile</li>
		</ol>
</section>
<section class="content">
	<div class="row">
		<div class="col-md-12">
			<!-- Primary box -->
			<div class="box box-solid box-primary">