Files
orico-official-website-old/app/admin/view/public/header.html
2024-10-29 14:04:59 +08:00

436 lines
25 KiB
HTML
Executable File

<header class="main-header">
<!-- Logo -->
<a href="<?php echo url('/admin/index/index');?>" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>A</b>LT</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Admin</b>LTE</span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<a href="#"><span class="select-countries">
<?php
switch (session('cit')){
case '':
echo '中国';
break;
case 'zh':
echo '中国';
break;
case 'en':
echo '英国';
break;
case 'eg':
echo '埃及';
break;
case 'kz':
echo '哈萨克斯坦';
break;
case 'bl':
echo '巴勒斯坦';
break;
case 'vn':
echo '越南';
break;
case 'gh':
echo '加纳';
break;
case 'db':
echo '迪拜';
break;
case 'hr':
echo '韩国';
break;
case 'ph':
echo '菲律宾';
break;
case 'sgl':
echo '苏格兰';
break;
case 'ma':
echo '摩洛哥';
break;
case 'hk':
echo '中國香港';
break;
case 'kw':
echo '科威特';
break;
case 'ksa':
echo '沙特';
break;
case 'at':
echo '奥地利';
break;
case 'ng':
echo '尼日利亚';
break;
case 'in':
echo '印度';
break;
case 'la':
echo '老挝';
break;
case 'sg':
echo '新加坡';
break;
case 'be':
echo '比利时';
break;
case 'za':
echo '南非';
break;
case 'id':
echo '印度尼西亚';
break;
case 'lb':
echo '黎巴嫩';
break;
case 'lk':
echo '斯里兰卡';
break;
case 'bg':
echo '保加利亚';
break;
case 'tn':
echo '突尼斯';
break;
case 'jo':
echo '约旦';
break;
case 'my':
echo '马来西亚';
break;
case 'syr':
echo '叙利亚';
break;
case 'cs':
echo '捷克';
break;
case 'zm':
echo '赞比亚';
break;
case 'ir':
echo '伊朗';
break;
case 'mdv':
echo '马尔代夫';
break;
case 'tw':
echo '中國臺湾';
break;
case 'cy':
echo '塞浦路斯';
break;
case 'az':
echo '阿塞拜疆';
break;
case 'iq':
echo '伊拉克';
break;
case 'mm':
echo '缅甸';
break;
case 'th':
echo '泰国';
break;
case 'dk':
echo '丹麦';
break;
case 'bd':
echo '孟加拉';
break;
case 'il':
echo '以色列';
break;
case 'np':
echo '尼泊尔';
break;
case 'tr':
echo '土耳其';
break;
case 'ee':
echo '爱沙尼亚';
break;
case 'kh':
echo '柬埔寨';
break;
case 'jp':
echo '日本';
break;
case 'pk':
echo '巴基斯坦';
break;
case 'ae':
echo '阿联酋';
break;
case 'fr':
echo '法国';
break;
case 'pg':
echo '巴布亚新几内亚';
break;
case 'ca':
echo '加拿大';
break;
case 'co':
echo '哥伦比亚';
break;
case 'pe':
echo '秘鲁';
break;
case 'uy':
echo '乌拉圭';
break;
case 'br':
echo '巴西';
break;
case 'cl':
echo '智利';
break;
case 'ma':
echo '墨西哥';
break;
case 'us':
echo '美国';
break;
case 'ar':
echo '阿根廷';
break;
case 'ro':
echo '罗马尼亚';
break;
case 'es':
echo '西班牙';
break;
case 'ch':
echo '瑞士';
break;
case 'ua':
echo '乌克兰';
break;
case 'bo':
echo '玻利维亚';
break;
case 'ru':
echo '俄罗斯';
break;
case 'se':
echo '瑞典';
break;
case 'sk':
echo '斯洛伐克';
break;
case 'el':
echo '荷兰';
break;
case 'pt':
echo '葡萄牙';
break;
case 'de':
echo '德国';
break;
case 'hu':
echo '匈牙利';
break;
case 'it':
echo '意大利';
break;
case 'no':
echo '挪威';
break;
case 'nz':
echo '新西兰';
break;
case 'gr':
echo '希腊';
break;
case 'ie':
echo '爱尔兰';
break;
case 'lt':
echo '立陶宛';
break;
case 'pl':
echo '波兰';
break;
case 'au':
echo '澳大利亚';
break;
}
?></span></a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<li>
<a href="<?php echo url('/');?>" target="_blank"><i class="fa fa-home"></i></a>
</li>
<li class="dropdown tasks-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-link"></i></a>
<ul class="dropdown-menu" style="width:160px;">
<li class="footer"><a href="<?php echo url('/admin/index/index','',true,'www.oricogroup.com');?>" target="_blank"><i class="fa fa-link"></i> 中文网站</a></li>
<li class="footer"><a href="<?php echo url('/admin/index/index','',true,'uk.oricogroup.com');?>" target="_blank"><i class="fa fa-link"></i> 英文网站</a></li>
</ul>
</li>
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-trash"></i></a>
<ul class="dropdown-menu" style="width:160px;">
<li class="footer"><a href="<?php echo url('/admin/index/clear_cache');?>" onclick="void(0);"><i class="fa fa-trash"></i> 一键清除缓存</a></li>
<li class="footer"><a href="javascript:void(0);" data-url="<?php echo url('/admin/product/clear_search_cache');?>" data-cod="clearcache"><i class="fa fa-trash"></i> 清除搜索缓存</a></li>
<li class="footer"><a href="javascript:void(0);" data-url="<?php echo url('/admin/ad/clear_cache');?>" data-cod="clearcache"><i class="fa fa-trash"></i> 清除广告缓存</a></li>
<li class="footer"><a href="javascript:void(0);" data-url="<?php echo url('/admin/action_log/clear_log');?>" data-cod="clearcache"><i class="fa fa-trash"></i> 清除所有日志</a></li>
<li class="footer"><a href="javascript:void(0);" data-url="<?php echo url('/admin/action_log/clear_log3');?>" data-cod="clearcache"><i class="fa fa-trash"></i> 清除三月前日志</a></li>
</ul>
</li>
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<?php $avatar=session('user_auth.picture')?:'__PUBLIC__/adminlte/images/tool-160x160.jpg';?>
<img src="<?php echo $avatar;?>" class="user-image" alt="User Image">
<span class="hidden-xs"><?php echo session('user_auth.username'),' ID: ',$user_id;?></span>
</a>
<ul class="dropdown-menu">
<!-- User image -->
<li class="user-header">
<img src="<?php echo $avatar;?>" class="img-circle" alt="User Image"/>
<p>
欢迎您
<small><?php echo $request->host();?></small>
</p>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="<?php echo url('/admin/user/setting');?>" class="btn btn-default btn-flat">个人设置</a>
</div>
<div class="pull-right">
<a href="<?php echo url('/signout');?>" class="btn btn-default btn-flat">退出</a>
</div>
</li>
</ul>
</li>
<!-- Control Sidebar Toggle Button -->
<li>
<a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
</li>
</ul>
</div>
<div class="top-country" style="display: none;">
<ul>
<li><a href="<?php echo url('Country/index').'?cit=zh';?>"><p><img src="/frontend/web/images/countries/CN.png"></p><p>中国</p></a></li>
<!--li><a href="<?php echo url('Country/index').'?cit=eg';?>"><p><img src="/frontend/web/images/countries/EG.png"></p><p>埃及</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=en';?>"><p><img src="/frontend/web/images/countries/UK.png"></p><p>英国</p></a></li-->
<!--li><a href="<?php echo url('Country/index').'?cit=kz';?>"><p><img src="/frontend/web/images/countries/KZ.png"></p><p>哈萨克斯坦</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=bl';?>"><p><img src="/frontend/web/images/countries/BL.png"></p><p>巴勒斯坦</p></a></li-->
<li><a href="<?php echo url('Country/index').'?cit=vn';?>"><p><img src="/frontend/web/images/countries/VN.png"></p><p>越南</p></a></li>
<!--li><a href="<?php echo url('Country/index').'?cit=gh';?>"><p><img src="/frontend/web/images/countries/GH.png"></p><p>加纳</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=db';?>"><p><img src="/frontend/web/images/countries/DB.png"></p><p>迪拜</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=kr';?>"><p><img src="/frontend/web/images/countries/KR.png"></p><p>韩国</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ph';?>"><p><img src="/frontend/web/images/countries/PH.png"></p><p>菲律宾</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=sgl';?>"><p><img src="/frontend/web/images/countries/SGL.png"></p><p>苏格兰</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ma';?>"><p><img src="/frontend/web/images/countries/MA.png"></p><p>摩洛哥</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=hk';?>"><p><img src="/frontend/web/images/countries/HK.png"></p><p>中國香港</p></a></li-->
<!--li><a href="<?php echo url('Country/index').'?cit=kw';?>"><p><img src="/frontend/web/images/countries/KW.png"></p><p>科威特</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ksa';?>"><p><img src="/frontend/web/images/countries/KSA.png"></p><p>沙特</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=at';?>"><p><img src="/frontend/web/images/countries/AT.png"></p><p>奥地利</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ng';?>"><p><img src="/frontend/web/images/countries/NG.png"></p><p>尼日利亚</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=in';?>"><p><img src="/frontend/web/images/countries/IN.png"></p><p>印度</p></a></li-->
<!--li><a href="<?php echo url('Country/index').'?cit=la';?>"><p><img src="/frontend/web/images/countries/LA.png"></p><p>老挝</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=sg';?>"><p><img src="/frontend/web/images/countries/SG.png"></p><p>新加坡</p></a></li-->
<!--li><a href="<?php echo url('Country/index').'?cit=be';?>"><p><img src="/frontend/web/images/countries/BE.png"></p><p>比利时</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=za';?>"><p><img src="/frontend/web/images/countries/ZA.png"></p><p>南非</p></a></li-->
<li><a href="<?php echo url('Country/index').'?cit=id';?>"><p><img src="/frontend/web/images/countries/ID.png"></p><p>印度尼西亚</p></a></li>
<!--li><a href="<?php echo url('Country/index').'?cit=lb';?>"><p><img src="/frontend/web/images/countries/LB.png"></p><p>黎巴嫩</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=lk';?>"><p><img src="/frontend/web/images/countries/LK.png"></p><p>斯里兰卡</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=bg';?>"><p><img src="/frontend/web/images/countries/BG.png"></p><p>保加利亚</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=tn';?>"><p><img src="/frontend/web/images/countries/TN.png"></p><p>突尼斯</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=jo';?>"><p><img src="/frontend/web/images/countries/JO.png"></p><p>约旦</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=my';?>"><p><img src="/frontend/web/images/countries/MY.png"></p><p>马来西亚</p></a></li-->
<!--li><a href="<?php echo url('Country/index').'?cit=syr';?>"><p><img src="/frontend/web/images/countries/SYR.png"></p><p>叙利亚</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=cs';?>"><p><img src="/frontend/web/images/countries/CS.png"></p><p>捷克</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=zm';?>"><p><img src="/frontend/web/images/countries/ZM.png"></p><p>赞比亚</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ir';?>"><p><img src="/frontend/web/images/countries/IR.png"></p><p>伊朗</p></a></li-->
<!--li><a href="<?php echo url('Country/index').'?cit=mdv';?>"><p><img src="/frontend/web/images/countries/MDV.png"></p><p>马尔代夫</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=tw';?>"><p><img src="/frontend/web/images/countries/TW.png"></p><p>中國臺湾</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=cy';?>"><p><img src="/frontend/web/images/countries/CY.png"></p><p>塞浦路斯</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=az';?>"><p><img src="/frontend/web/images/countries/AZ.png"></p><p>阿塞拜疆</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=iq';?>"><p><img src="/frontend/web/images/countries/IQ.png"></p><p>伊拉克</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=mm';?>"><p><img src="/frontend/web/images/countries/MM.png"></p><p>缅甸</p></a></li-->
<li><a href="<?php echo url('Country/index').'?cit=th';?>"><p><img src="/frontend/web/images/countries/TH.png"></p><p>泰国</p></a></li>
<!--li><a href="<?php echo url('Country/index').'?cit=dk';?>"><p><img src="/frontend/web/images/countries/DK.png"></p><p>丹麦</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=bd';?>"><p><img src="/frontend/web/images/countries/BD.png"></p><p>孟加拉</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=il';?>"><p><img src="/frontend/web/images/countries/IL.png"></p><p>以色列</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=np';?>"><p><img src="/frontend/web/images/countries/NP.png"></p><p>尼泊尔</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=tr';?>"><p><img src="/frontend/web/images/countries/TR.png"></p><p>土耳其</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ee';?>"><p><img src="/frontend/web/images/countries/EE.png"></p><p>爱沙尼亚</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=kh';?>"><p><img src="/frontend/web/images/countries/KH.png"></p><p>柬埔寨</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=jp';?>"><p><img src="/frontend/web/images/countries/JP.png"></p><p>日本</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=pk';?>"><p><img src="/frontend/web/images/countries/PK.png"></p><p>巴基斯坦</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ae';?>"><p><img src="/frontend/web/images/countries/AE.png"></p><p>阿联酋</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=fr';?>"><p><img src="/frontend/web/images/countries/FR.png"></p><p>法国</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=pg';?>"><p><img src="/frontend/web/images/countries/PG.png"></p><p>巴布亚新几内亚</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ca';?>"><p><img src="/frontend/web/images/countries/CA.png"></p><p>加拿大</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=co';?>"><p><img src="/frontend/web/images/countries/CO.png"></p><p>哥伦比亚</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=pe';?>"><p><img src="/frontend/web/images/countries/PE.png"></p><p>秘鲁</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=uy';?>"><p><img src="/frontend/web/images/countries/UY.png"></p><p>乌拉圭</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=br';?>"><p><img src="/frontend/web/images/countries/BR.png"></p><p>巴西</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=cl';?>"><p><img src="/frontend/web/images/countries/CL.png"></p><p>智利</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=mx';?>"><p><img src="/frontend/web/images/countries/MX.png"></p><p>墨西哥</p></a></li-->
<li><a href="<?php echo url('Country/index').'?cit=us';?>"><p><img src="/frontend/web/images/countries/US.png"></p><p>美国</p></a></li>
<!--li><a href="<?php echo url('Country/index').'?cit=ar';?>"><p><img src="/frontend/web/images/countries/AR.png"></p><p>阿根廷</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ro';?>"><p><img src="/frontend/web/images/countries/RO.png"></p><p>罗马尼亚</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=es';?>"><p><img src="/frontend/web/images/countries/ES.png"></p><p>西班牙</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ch';?>"><p><img src="/frontend/web/images/countries/CH.png"></p><p>瑞士</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ua';?>"><p><img src="/frontend/web/images/countries/UA.png"></p><p>乌克兰</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=bo';?>"><p><img src="/frontend/web/images/countries/BO.png"></p><p>玻利维亚</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ru';?>"><p><img src="/frontend/web/images/countries/RU.png"></p><p>俄罗斯</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=se';?>"><p><img src="/frontend/web/images/countries/SE.png"></p><p>瑞典</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=sk';?>"><p><img src="/frontend/web/images/countries/SK.png"></p><p>斯洛伐克</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=nl';?>"><p><img src="/frontend/web/images/countries/NL.png"></p><p>荷兰</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=pt';?>"><p><img src="/frontend/web/images/countries/PT.png"></p><p>葡萄牙</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=de';?>"><p><img src="/frontend/web/images/countries/DE.png"></p><p>德国</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=hu';?>"><p><img src="/frontend/web/images/countries/HU.png"></p><p>匈牙利</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=it';?>"><p><img src="/frontend/web/images/countries/IT.png"></p><p>意大利</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=no';?>"><p><img src="/frontend/web/images/countries/NO.png"></p><p>挪威</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=nz';?>"><p><img src="/frontend/web/images/countries/NZ.png"></p><p>新西兰</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=gr';?>"><p><img src="/frontend/web/images/countries/GR.png"></p><p>希腊</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=ie';?>"><p><img src="/frontend/web/images/countries/IE.png"></p><p>爱尔兰</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=lt';?>"><p><img src="/frontend/web/images/countries/LT.png"></p><p>立陶宛</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=pl';?>"><p><img src="/frontend/web/images/countries/PL.png"></p><p>波兰</p></a></li>
<li><a href="<?php echo url('Country/index').'?cit=au';?>"><p><img src="/frontend/web/images/countries/AU.png"></p><p>澳大利亚</p></a></li-->
</ul>
</div>
<script>
$(function(){
$( ".select-countries" ).click( function () {
$( ".top-country" ).toggle();
} );
})
</script>
</nav>
</header>