51 lines
1.9 KiB
PHP
Executable File
51 lines
1.9 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* @Author: fm453
|
|
* @Date: 2018-04-24 02:02:21
|
|
# @Last modified by: fm453
|
|
# @Last modified time: 2021-09-15T11:02:26+08:00
|
|
* @Email: fm453@lukegzs.com
|
|
**/
|
|
|
|
global $_HI;
|
|
$_HI['staticUrl'] = Yii::getAlias('@web').'/static';
|
|
$_HI['resourceUrl'] = Yii::getAlias('@web').'/resource';
|
|
?>
|
|
|
|
<title><?php echo $this->params['title']; ?></title>
|
|
<meta name="description" content="<?php if(isset($seo['description'])){echo $seo['description'];}else{echo $_HI['seo']['description'];}?>">
|
|
<meta name="keywords" content="<?php if(isset($seo['keywords'])){echo $seo['keywords'];}else{echo $_HI['seo']['keywords'];};?>">
|
|
<meta name="viewport" content="target-densitydpi=device-dpi, width=1280,user-scalable=no">
|
|
<link type="text/css" rel="stylesheet" href="<?php echo $_HI['staticUrl'];?>/css/hiluker.css">
|
|
<link type="text/css" rel="stylesheet" href="<?php echo $_HI['staticUrl'];?>/css/banner.css">
|
|
<script type="text/javascript" src="<?php echo $_HI['staticUrl'];?>/js/jquery.min.js"></script>
|
|
<script type="text/javascript" src="<?php echo $_HI['staticUrl'];?>/js/jquery.cookie.js"></script>
|
|
<script type="text/javascript" src="<?php echo $_HI['staticUrl'];?>/js/banner.js"></script>
|
|
|
|
<link rel="shortcut icon" href="<?php echo $_HI['resourceUrl'];?>/images/hi.jpg">
|
|
|
|
<script type="text/javascript">
|
|
if( $.cookie('name')!='www.hiluker.com' ){
|
|
(function () {
|
|
var sUserAgent = navigator.userAgent;
|
|
if (sUserAgent.indexOf('Android') > -1 || sUserAgent.indexOf('iPhone') > -1 || sUserAgent.indexOf('iPad') > -1 || sUserAgent.indexOf('iPod') > -1 || sUserAgent.indexOf('Symbian') > -1) {
|
|
//location.href = 'http://m.hiluker.com/';
|
|
} else {
|
|
}
|
|
})();
|
|
}
|
|
</script>
|
|
<script>
|
|
$(document).ready(function () {
|
|
//实现图片慢慢浮现出来的效果
|
|
$("img").load(function () {
|
|
//图片默认隐藏
|
|
$(this).hide();
|
|
//使用fadeIn特效
|
|
$(this).fadeIn("5000");
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|