修正header页面样式问题。
This commit is contained in:
parent
800ac64f4f
commit
e04e2becce
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
<link href="../../../../public/sjyportal/css/style.css" rel="stylesheet" type="text/css" />
|
|
||||||
<?php $config = \Sookon\Helpers\Config::get(); ?>
|
<?php $config = \Sookon\Helpers\Config::get(); ?>
|
||||||
<header>
|
<header>
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
$user = \Sookon\Helpers\View::User();
|
$user = \Sookon\Helpers\View::User();
|
||||||
if($user)
|
if($user)
|
||||||
{
|
{
|
||||||
echo '<li><a href="/account"><img src="/sjyportal/img/user.png"</img> '.$user->username.'</a></li> ';
|
echo '<li><a href="/account"><i class="icon-user"></i>'.$user->username.'</a></li> ';
|
||||||
if ($user->usertype=="administrator")
|
if ($user->usertype=="administrator")
|
||||||
echo '<li><a href="/admin"><i class="icon-cog"></i> 后台 </a></li><li><a href="/data/order"><i class="icon-shopping-cart"></i> 数据篮 </a></li><li> <a href="/account/logout">退出</a></li> ';
|
echo '<li><a href="/admin"><i class="icon-cog"></i> 后台 </a></li><li><a href="/data/order"><i class="icon-shopping-cart"></i> 数据篮 </a></li><li> <a href="/account/logout">退出</a></li> ';
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue