mini.phtml 4.62 KB
<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="shortcut icon" href="http://www.yohobuy.com/favicon.ico" type="image/x-icon" />
    <?php
    echo $this->_headTitle;
    echo $this->_headLink;
    echo $this->_headScript;
    echo $this->_headmeta;
    $profile = array('email'=>'');
    if (isset($this->uid) and !empty($this->uid)) {
        $profile = $this->profile($this->uid);
    }
    if ($this->moduleName === 'product' || $this->moduleName === 'passport') {
        echo '<script type="text/javascript">var _ozprm;</script>';
    }
    ?>
    <script type="text/javascript">
        var apiDomain = '<?php print empty(QINLib_Http_Config::$apiAction[Q_APPLICATION_ENV]) ? 'http://api.open.yohobuy.com' : QINLib_Http_Config::$apiAction[Q_APPLICATION_ENV];?>';
        var __custom = {"online":<?php echo $this->uid > 0 ? '"on"' : '"off"'; ?>};
    </script>
    <!--[if  !IE 6]>
    <script type="text/javascript" src="http://static.yohobuy.com/js/v3/common/respond.min.js"></script>
    <![endif]-->
    <!--[if lt IE 7]>
    <script defer type="text/javascript" src="http://static.yohobuy.com/js/v3/pngfix.js"></script>
    <![endif]-->
    <!--[if lte IE 6]>
    <link media="screen" rel="stylesheet" type="text/css" href="http://static.yohobuy.com/css/v3/ie6.css?v=20130924"/>
    <![endif]-->
    <style type="text/css">
        @font-face {
            font-family: 'icomoon';
            src:url('/fonts/icomoon.eot');
            src:url('/fonts/icomoon.eot?#iefix') format('embedded-opentype'),
            url('/fonts/icomoon.ttf') format('truetype'),
            url('/fonts/icomoon.woff') format('woff'),
            url('/fonts/icomoon.svg#icomoon') format('svg');
            font-weight: normal;
            font-style: normal;
        }

        [class*="icon-"] {
            font-family: 'icomoon';
            speak: none;
            font-style: normal;
            font-weight: normal;
            font-variant: normal;
            text-transform: none;
            line-height: 1;

            /* Better Font Rendering =========== */
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .ifont{
            font-family: "icomoon" ;
            display:inline-block;
        }
        .ifont10{
            font-family: "icomoon" ;
            display:inline-block;
            font-size: 10px;
            line-height: 10px;
            -webkit-transform:scale(0.8);
        }
    </style>
</head>
<body class="body990">

<div class="header-simple">
    <div class="screen990"><!--screen990 screen1240-->
        <div class="clear">
            <div class="left logo">
                <a href="<?php print QLibConfigs_Static::$siteUrl?>"><img alt="YOHO!有货" src="http://static.yohobuy.com/images/v3/icon/logo-boys-8.png"/></a>
            </div>
            <div class="right">
                <ul class="simple-items clear">
                    <li class="left" id="loginBox"></li>
                    <li class="left relative my-yoho" id="homePage"><span class="item"><a href="<?php print QLibConfigs_Static::$siteUrl?>/home?t=<?php print microtime(true);?>" class="rgb2">MY有货<span class="ifont10 arrow-down" id="homeNavArrow">]</span></a></span><p class="absolute" style="display:none;" id="homeNav"><a href="<?php print QLibConfigs_Static::$siteUrl?>/home/favorite?t=<?php print microtime(true);?>" class="rgb2">我的收藏</a><a href="<?php print QLibConfigs_Static::$siteUrl?>/home/coupons?t=<?php print microtime(true);?>" class="rgb2">优惠券</a></p></li>
                    <li class="left"><span class="item"><a href="<?php print QLibConfigs_Static::$siteUrl?>/home/orders?t=<?php print microtime(true);?>" class="rgb2">订单中心</a></span></li>
                    <li class="left"><span class="item"><a href="<?php print QLibConfigs_Static::$siteUrl?>/help" class="rgb2">帮助中心</a></span></li>
                    <li class="left"><span class="rgb2 item"><span class="ifont">p</span>&nbsp;<strong>400-889-9646</strong></span></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<?php
//中间内容
echo $content;
echo QLibView_Sidebar::show('footer', array('result' => 1));
?>
<div class="return-top">
    <a href="javascript:void(0);" id="toTop" class="ifont">,</a>
</div>
<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script>
<script type="text/javascript">
(function () {
	try {
		var timestamp = (new Date()).valueOf();
        var view = document.createElement('img');
        view.src = 'http://itemapi.yohobuy.com/1.jpg?t='+timestamp;
	} catch (e) {}
} )();
</script>
</body>
</html>