Authored by hf

fixes bug to search page cache

  1 +<?php return function ($in, $debugopt = 1) {
  2 + $cx = array(
  3 + 'flags' => array(
  4 + 'jstrue' => false,
  5 + 'jsobj' => false,
  6 + 'spvar' => true,
  7 + 'prop' => false,
  8 + 'method' => false,
  9 + 'mustlok' => true,
  10 + 'echo' => false,
  11 + 'debug' => $debugopt,
  12 + ),
  13 + 'constants' => array(),
  14 + 'helpers' => array(),
  15 + 'blockhelpers' => array(),
  16 + 'hbhelpers' => array(),
  17 + 'partials' => array(),
  18 + 'scopes' => array(),
  19 + 'sp_vars' => array('root' => $in),
  20 + 'lcrun' => 'Plugin\LCRun3',
  21 +
  22 + );
  23 +
  24 + return ''.'<!DOCTYPE html>
  25 +<html>
  26 +<head>
  27 +<meta charset="utf-8">
  28 +<title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title>
  29 +<meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'">
  30 +<meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'">
  31 +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  32 +<meta http-equiv="cleartype" content="on">
  33 +<meta name="apple-mobile-web-app-status-bar-style" content="black" />
  34 +<meta content="telephone=no" name="format-detection" />
  35 +<meta content="email=no" name="format-detection" />
  36 +<script type="text/javascript">
  37 + (function(doc, win) {
  38 + var docEl = doc.documentElement;
  39 + (function() {
  40 + var clientWidth = docEl.clientWidth;
  41 + if (!clientWidth) {
  42 + return;
  43 + }
  44 + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\';
  45 + }());
  46 + })(document, window);
  47 +</script>
  48 +'.((Plugin\LCRun3::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
  49 +' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
  50 +' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
  51 +' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
  52 +' : '').'</head>
  53 +<body '.((Plugin\LCRun3::debug('[isPassportPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[isPassportPage]', 'v', $cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>
  54 + '.''.Plugin\LCRun3::debug('[pageHeader]', 'sec', $cx, Plugin\LCRun3::debug('[pageHeader]', 'v', $cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header class="yoho-header'.((Plugin\LCRun3::debug('[boys]', 'ifvar', $cx, Plugin\LCRun3::debug('[boys]', 'v', $cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::debug('[girls]', 'ifvar', $cx, Plugin\LCRun3::debug('[girls]', 'v', $cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::debug('[kids]', 'ifvar', $cx, Plugin\LCRun3::debug('[kids]', 'v', $cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::debug('[lifeStyle]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifeStyle]', 'v', $cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">
  55 +'.((Plugin\LCRun3::debug('[navBack]', 'ifvar', $cx, Plugin\LCRun3::debug('[navBack]', 'v', $cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="nav-back"></a>
  56 +' : '').''.Plugin\LCRun3::debug('[navHome]', 'sec', $cx, Plugin\LCRun3::debug('[navHome]', 'v', $cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'" class="nav-home"></a>
  57 +';}).''.Plugin\LCRun3::debug('[navTitle]', 'sec', $cx, Plugin\LCRun3::debug('[navTitle]', 'v', $cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p>
  58 +';}).'</header>
  59 +';}).''.''.'<div class="index-page yoho-page">
  60 + <div class="index-container">
  61 + <div class="index-header clearfix">
  62 + <div class="iconfont index-logo">&#xe60e;</div>
  63 + <form action="'.Plugin\LCRun3::debug('[searchUrl]', 'encq', $cx, Plugin\LCRun3::debug('[searchUrl]', 'v', $cx, $in, array('searchUrl'))).'" class="index-search">
  64 + <a href="javascript:void(0);" class="no-search">取消</a>
  65 + <div class="search-box">
  66 + <input type="hidden" name="from" value="search">
  67 + <input type="text" name="query" placeholder="搜索">
  68 + <span class="iconfont clear-text">&#xe623;</span>
  69 + <span class="iconfont search-icon">&#xe60f;</span>
  70 + </div>
  71 + </form>
  72 + </div>
  73 + <div class="index-channel">
  74 + <img class="img" src="'.Plugin\LCRun3::debug('[background]', 'encq', $cx, Plugin\LCRun3::debug('[background]', 'v', $cx, $in, array('background'))).'" alt="">
  75 + <div class="index-channel-list">
  76 + <a href="/boys" class="list-item">男生 <span class="lighter">BOYS</span> <span class="iconfont right-icon">&#xe614;</span></a>
  77 + <a href="/girls" class="list-item">女生 <span class="lighter">GIRLS</span> <span class="iconfont right-icon">&#xe614;</span></a>
  78 + <a href="/kids" class="list-item">潮童 <span class="lighter">KIDS</span> <span class="iconfont right-icon">&#xe614;</span></a>
  79 + <a href="/lifestyle" class="list-item">创意生活 <span class="lighter">LIFESTYLE</span> <span class="iconfont right-icon">&#xe614;</span></a>
  80 + </div>
  81 + </div>
  82 + </div>
  83 +</div>
  84 +'.''.''.Plugin\LCRun3::debug('[pageFooter]', 'sec', $cx, Plugin\LCRun3::debug('[pageFooter]', 'v', $cx, $in, array('pageFooter')), $in, false, function($cx, $in) {return ' <footer id="yoho-footer" class="yoho-footer hide">
  85 + <p class="op-row">
  86 + <span class="back-to-top">
  87 + Back to top
  88 + <i class="iconfont">&#xe608;</i>
  89 + </span>
  90 + </p>
  91 + <address class="copyright">
  92 + CopyRight©2007-2016 南京新与力文化传播有限公司
  93 + </address>
  94 + </footer>
  95 +';}).'
  96 + '.''.''.Plugin\LCRun3::debug('[showDownloadApp]', 'sec', $cx, Plugin\LCRun3::debug('[showDownloadApp]', 'v', $cx, $in, array('showDownloadApp')), $in, false, function($cx, $in) {return '<div class="float-layer hide" id="float-layer-app">
  97 + <div class="float-layer-left">
  98 + <span class="yoho-icon iconfont">&#xe60d;</span>
  99 + <p>新用户首单减10元</p>
  100 + </div>
  101 + <a href="javascript:void(0);" id="float-layer-close" >
  102 + <i class="close-icon iconfont">&#xe623;</i>
  103 + <div class="circle-rightbottom"></div>
  104 + </a>
  105 + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
  106 + 立即下载
  107 + </a>
  108 +</div>
  109 +';}).'
  110 +
  111 + '.''.((Plugin\LCRun3::debug('[hasWxShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[hasWxShare]', 'v', $cx, $in, array('hasWxShare')))) ? ' <script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  112 +' : '').''.((Plugin\LCRun3::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
  113 +<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
  114 +' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
  115 +<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
  116 +' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
  117 +<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
  118 +' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
  119 +<script>seajs.config({base: \'http://localhost:8000/\'});</script>
  120 +' : '').'
  121 +<script type="text/javascript">
  122 + (function(w,d,s,j,f){
  123 + w[\'YohoAcquisitionObject\']=f;
  124 + w[f]=function(){w[f].p=arguments;};
  125 + var a=d.createElement(s);
  126 + var m=d.getElementsByTagName(s)[0];
  127 + a.async=1;
  128 + a.src=j;
  129 + m.parentNode.insertBefore(a,m);
  130 + })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\');
  131 +</script>
  132 +
  133 +'.'<script>
  134 + seajs.use(\'js/common\');
  135 +</script>
  136 +
  137 +'.((Plugin\LCRun3::debug('[psList]', 'ifvar', $cx, Plugin\LCRun3::debug('[psList]', 'v', $cx, $in, array('psList')))) ? '<script>
  138 + seajs.use(\'js/guang/plus-star/list\');
  139 +</script>
  140 +' : '').''.((Plugin\LCRun3::debug('[psDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[psDetail]', 'v', $cx, $in, array('psDetail')))) ? '<script>
  141 + seajs.use(\'js/guang/plus-star/detail\');
  142 +</script>
  143 +' : '').''.((Plugin\LCRun3::debug('[guangHome]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangHome]', 'v', $cx, $in, array('guangHome')))) ? '<script>
  144 + seajs.use(\'js/guang/home\');
  145 +</script>
  146 +' : '').''.((Plugin\LCRun3::debug('[guangList]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangList]', 'v', $cx, $in, array('guangList')))) ? '<script>
  147 + seajs.use(\'js/guang/list\');
  148 +</script>
  149 +' : '').''.((Plugin\LCRun3::debug('[guangDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangDetail]', 'v', $cx, $in, array('guangDetail')))) ? '<script>
  150 + seajs.use(\'js/guang/detail\');
  151 +</script>
  152 +' : '').'
  153 +'.((Plugin\LCRun3::debug('[regIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[regIndex]', 'v', $cx, $in, array('regIndex')))) ? '<script>
  154 + seajs.use(\'js/passport/register/register\');
  155 +</script>
  156 +' : '').''.((Plugin\LCRun3::debug('[regCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[regCode]', 'v', $cx, $in, array('regCode')))) ? '<script>
  157 + seajs.use(\'js/passport/register/code\');
  158 +</script>
  159 +' : '').''.((Plugin\LCRun3::debug('[regPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[regPwd]', 'v', $cx, $in, array('regPwd')))) ? '<script>
  160 + seajs.use(\'js/passport/register/password\');
  161 +</script>
  162 +' : '').'
  163 +'.((Plugin\LCRun3::debug('[loginIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginIndex]', 'v', $cx, $in, array('loginIndex')))) ? '<script>
  164 + seajs.use(\'js/passport/login/login\');
  165 +</script>
  166 +' : '').''.((Plugin\LCRun3::debug('[loginInternational]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginInternational]', 'v', $cx, $in, array('loginInternational')))) ? ' <script>
  167 + seajs.use(\'js/passport/login/international\');
  168 + </script>
  169 +' : '').'
  170 +'.((Plugin\LCRun3::debug('[backEmail]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmail]', 'v', $cx, $in, array('backEmail')))) ? '<script>
  171 + seajs.use(\'js/passport/back/email\');
  172 +</script>
  173 +' : '').''.((Plugin\LCRun3::debug('[backEmailSuccess]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmailSuccess]', 'v', $cx, $in, array('backEmailSuccess')))) ? '<script>
  174 + seajs.use(\'js/passport/back/email-success\');
  175 +</script>
  176 +' : '').''.((Plugin\LCRun3::debug('[backMobile]', 'ifvar', $cx, Plugin\LCRun3::debug('[backMobile]', 'v', $cx, $in, array('backMobile')))) ? '<script>
  177 + seajs.use(\'js/passport/back/mobile\');
  178 +</script>
  179 +' : '').''.((Plugin\LCRun3::debug('[backCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[backCode]', 'v', $cx, $in, array('backCode')))) ? '<script>
  180 + seajs.use(\'js/passport/back/code\');
  181 +</script>
  182 +' : '').''.((Plugin\LCRun3::debug('[backNewPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[backNewPwd]', 'v', $cx, $in, array('backNewPwd')))) ? '<script>
  183 + seajs.use(\'js/passport/back/new-password\');
  184 +</script>
  185 +' : '').'
  186 +'.((Plugin\LCRun3::debug('[channelPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[channelPage]', 'v', $cx, $in, array('channelPage')))) ? '<script>
  187 + seajs.use(\'js/index/channel\');
  188 + seajs.use(\'js/index/footer\');
  189 +</script>
  190 +' : '').'
  191 +'.((Plugin\LCRun3::debug('[grilsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[grilsHomePage]', 'v', $cx, $in, array('grilsHomePage')))) ? '<script>
  192 + seajs.use(\'js/home/home\');
  193 + seajs.use(\'js/index/footer\');
  194 +</script>
  195 +' : '').''.((Plugin\LCRun3::debug('[boysHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')))) ? '<script>
  196 + seajs.use(\'js/home/home\');
  197 + seajs.use(\'js/index/footer\');
  198 +</script>
  199 +' : '').''.((Plugin\LCRun3::debug('[kidsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[kidsHomePage]', 'v', $cx, $in, array('kidsHomePage')))) ? '<script>
  200 + seajs.use(\'js/home/home\');
  201 + seajs.use(\'js/index/footer\');
  202 +</script>
  203 +' : '').''.((Plugin\LCRun3::debug('[lifestyleHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifestyleHomePage]', 'v', $cx, $in, array('lifestyleHomePage')))) ? '<script>
  204 + seajs.use(\'js/home/home\');
  205 + seajs.use(\'js/index/footer\');
  206 +</script>
  207 +' : '').'
  208 +'.((Plugin\LCRun3::debug('[newArrivalPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[newArrivalPage]', 'v', $cx, $in, array('newArrivalPage')))) ? '<script>
  209 + seajs.use(\'js/product/newsale/newarrival\');
  210 + seajs.use(\'js/index/footer\');
  211 +</script>
  212 +' : '').'
  213 +'.((Plugin\LCRun3::debug('[discountPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[discountPage]', 'v', $cx, $in, array('discountPage')))) ? '<script>
  214 + seajs.use(\'js/product/newsale/discount\');
  215 + seajs.use(\'js/index/footer\');
  216 +</script>
  217 +' : '').'
  218 +'.((Plugin\LCRun3::debug('[goodListPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodListPage]', 'v', $cx, $in, array('goodListPage')))) ? '<script>
  219 + seajs.use(\'js/product/list\');
  220 + seajs.use(\'js/index/footer\');
  221 +</script>
  222 +' : '').'
  223 +'.((Plugin\LCRun3::debug('[goodDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodDetail]', 'v', $cx, $in, array('goodDetail')))) ? '<script>
  224 + seajs.use(\'js/product/detail/detail\');
  225 +</script>
  226 +' : '').'
  227 +'.((Plugin\LCRun3::debug('[categoryPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[categoryPage]', 'v', $cx, $in, array('categoryPage')))) ? '<script>
  228 + seajs.use(\'js/category/index\');
  229 + seajs.use(\'js/index/footer\');
  230 +</script>
  231 +' : '').'
  232 +'.((Plugin\LCRun3::debug('[brandPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')))) ? '<script>
  233 + seajs.use(\'js/category/brand\');
  234 + seajs.use(\'js/index/footer\');
  235 +</script>
  236 +' : '').'
  237 +'.((Plugin\LCRun3::debug('[searchPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[searchPage]', 'v', $cx, $in, array('searchPage')))) ? '<script>
  238 + seajs.use(\'js/index/search\');
  239 + seajs.use(\'js/index/footer\');
  240 +</script>
  241 +' : '').'
  242 +'.((Plugin\LCRun3::debug('[shoppingCartPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[shoppingCartPage]', 'v', $cx, $in, array('shoppingCartPage')))) ? '<script>
  243 + seajs.use(\'js/shopping-cart/cart\');
  244 +</script>
  245 +' : '').''.((Plugin\LCRun3::debug('[giftAdvancePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[giftAdvancePage]', 'v', $cx, $in, array('giftAdvancePage')))) ? '<script>
  246 + seajs.use(\'js/shopping-cart/gift-advance\');
  247 +</script>
  248 +' : '').''.'
  249 +'.' <!-- Google Tag Manager -->
  250 + <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  251 + <script>
  252 + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
  253 + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
  254 + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
  255 + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
  256 + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
  257 + </script>
  258 + <!-- End Google Tag Manager -->
  259 +
  260 +<script type="text/javascript">
  261 + var _hmt = _hmt || [];
  262 + (function() {
  263 + var hm = document.createElement("script");
  264 + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
  265 + var s = document.getElementsByTagName("script")[0];
  266 + s.parentNode.insertBefore(hm, s);
  267 + })();
  268 +</script>
  269 +
  270 +<script>
  271 + var _hmt = _hmt || [];
  272 + (function() {
  273 + var hm = document.createElement("script");
  274 + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
  275 + var s = document.getElementsByTagName("script")[0];
  276 + s.parentNode.insertBefore(hm, s);
  277 + })();
  278 +</script>'.'</body>
  279 +</html>'.'';
  280 +}
  281 +?>