<article class="sign_wrapper">
<?php if($_SESSION['role_id']=='') {?>
                 <?php } if($_SESSION['role_id']!='') { mysql_select_db($database_oprmConn, $oprmConn);
$query_getUname = "SELECT * FROM weby_profiles WHERE user_id = '$_SESSION[user_id]' AND status = 'A'";
$getUname = mysql_query($query_getUname, $oprmConn) or die(mysql_error());
$row_getUname = mysql_fetch_assoc($getUname);
$totalRows_getUname = mysql_num_rows($getUname);?>Welcome&nbsp; <a href="<?php if($_SESSION['role_id']==1) { echo '/RM/admin/index';} else if($_SESSION['role_id']==2) { echo '/RM/resource/index';} ?>"><?php echo $row_getUname['full_name'];?></a>&nbsp | &nbsp
<?php if($_SESSION['role_id']==1) {?>
<a href="<?php echo '/RM/admin/profile';?>">Profile</a> &nbsp<?php }?>
<?php if($_SESSION['role_id']==2) {?>
<a href="<?php echo '/RM/resource/index';?>">My Account</a>&nbsp | &nbsp<?php }?>
 <a href="<?php echo '/RM/logout';?>">Logout</a><?php }?>
</article>
<header class="header_container">
    	<div class="header_wrapper">
            <div class="logo"><a href="/" title="http://webynatics.net/RM/"><img src="/RM/images/logo.png" alt="logo-image"/></a>
			</div>
            <div class="nav-header">
            	<h1 style="color: #f67c18">Resource Management</h1>
            </div>
        </div>
    </header>
   