*/
public function write($cacheFile, $content)
{
// 检测模板目录
$dir = dirname($cacheFile);
if (!is_dir($dir)) {
mkdir($dir, 0755, true);
}
// 生成模板缓存文件
if (false === file_put_contents($cacheFile, $content)) {
throw new Exception('cache write error:' . $cacheFile, 11602);
}
}
/**
* 读取编译编译
* @param string $cacheFile 缓存的文件名
* @param array $vars 变量数组
* @return void
cacheFile | /usr/home/hyu2460840001/htdocs/data/runtime/temp/505213f70566dc2d46800cfcf4eb88a2.php |
content | <?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:43:"public/themes/haiwaiguahao/portal/page.html";i:1512543234;s:49:"public/themes/haiwaiguahao/portal/public/nav.html";i:1511950028;s:52:"public/themes/haiwaiguahao/portal/public/footer.html";i:1582537097;}*/ ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="keywords" content=""> <meta name="description" content=""> <title><?php echo $page['post_title']; ?>-海外挂号网</title> <!-- 字体本身的 S--> <!--<script type="text/javascript" src="http://cdn.webfont.youziku.com/wwwroot/__TMPL__/portal/assets/js/wf/youziku.api.min.js"></script>--> <!--<script type="text/javascript">--> <!--$youziku.load("body", "410437052faa476eb415ba2486be949e", "Source-Han-Sans-Medium");--> <!--/*$youziku.load("#id1,.class1,h1", "410437052faa476eb415ba2486be949e", "Source-Han-Sans-Medium");*/--> <!--/*...*/--> <!--$youziku.draw();--> <!--</script>--> <!-- 字体本身的 E--> <!--[if lte IE 8]><script src="__TMPL__/portal/assets/js/libs/selectivizr.js"></script><![endif]--> <!--[if lt IE 9]> <script src="__TMPL__/portal/assets/js/libs/html5shiv.js"></script> <![endif]--> <link rel="stylesheet" href="__TMPL__/portal/assets/css/style.css" /> <script src="__TMPL__/portal/assets/js/jquery-1.10.2.min.js"></script> </head> <body> <header class="w_con header"> <div class="logo"> <a href="/"> <img src="__TMPL__/portal/assets/img/logo.png" alt="" /> </a> <span>专业、透明、便捷的跨境医疗一站式直订平台</span> </div> <div class="hotline"> <p><i class="icon icon_phone"></i>免费咨询热线<em><?php echo $site_contact['hotline']; ?></em></p> </div> <i class="icon_nav js_nav"></i> </header> <section class="navBox bg18 js_navBox"> <nav class="nav w_con"> <ul class="ul1"> <?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if((input('nid') == $vo['id'])): ?> <li class="li1 current"> <?php else: ?> <li class="li1"> <?php endif; ?> <a href="<?php echo $vo['href']; ?>"><?php echo $vo['name']; ?></a> <?php if($vo['children']): ?> <ul> <?php if(is_array($vo['children']) || $vo['children'] instanceof \think\Collection || $vo['children'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['children'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cvo): $mod = ($i % 2 );++$i;?> <li><a href="<?php echo $cvo['href']; ?>"><?php echo $cvo['name']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> <?php endif; ?> </li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> </nav> </section> <script> $(function () { $(".js_navBox").find(".li1").each(function(index, element){ if( $(element).find("ul").length>0 ){ $(element).on("mouseover", function(){ $(this).find("ul").css("display","block"); }).on("mouseout", function(){ $(this).find("ul").css("display","none"); }); } }); }) </script> <section class="ban_img"> <img src="__TMPL__/portal/assets/img/banner.jpg" alt="" /> </section> <section class="w_con mb40"> <div class="sec6"> <h3 class="tit js_about_tit"><?php echo $page['post_title']; ?></h3> <div class="sec6_con js_about_con"> <?php echo $page['post_content']; ?> </div> </div> </section> <script type="text/javascript" src="__TMPL__/portal/assets/js/jquery-1.10.2.min.js"></script> <script src="__TMPL__/portal/assets/js/com.js"></script> <footer class="footer"> <div class="footer_con"> <?php if(isset($links)): ?> <p class="frendly_link js_frendly"> 友情链接 <?php if(is_array($links) || $links instanceof \think\Collection || $links instanceof \think\Paginator): $i = 0; $__LIST__ = $links;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <span><a href='<?php echo $vo['url']; ?>'><?php echo $vo['description']; ?></a></span> <?php endforeach; endif; else: echo "" ;endif; ?> </p> <?php endif; ?> <div class="footer_c"> <div class="footer_logo"> <a href="/"> <img src="__TMPL__/portal/assets/img/footer_logo.png" alt="" /> </a> </div> <div class="concact"> <p class="tit">联系我们</p> <p>联系人: <span class="js_cact_p"><?php echo $site_contact['name']; ?></span></p> <p>手机: <span class="js_cact_tel"><?php echo $site_contact['mobile']; ?></span></p> <p>服务热线: <span class="js_cact_line"><?php echo $site_contact['hotline']; ?></span></p> <p>邮箱: <span class="js_cact_email"><?php echo $site_contact['email']; ?></span></p> <p>地址: <span class="js_cact_address"><?php echo $site_contact['address']; ?></span></p> </div> <div class="q_er"> <img src="__TMPL__/portal/assets/img/wsc.png" alt="" class="js_dyh" style="width:174px;height:174px;"/> <p>官方微商城</p> </div> <div class="q_er" style="margin-right: 20px;"> <img src="__TMPL__/portal/assets/img/er_dyh.jpg" alt="" class="js_dyh"/> <p>官方订阅号</p> </div> </div> <!-- <center><a href="http://218.242.124.22:8081/businessCheck/verifKey.do?showType=extShow&serial=9031000020160803152149000001111290-SAIC_SHOW_310000-20190403170333648309&signData=MEQCIEGoR5Ev6R9jX0sVOTp3M3iy0X+GuEpH5tTFYqqv9dajAiACVadTorjI7gn7D9nOzhI7s6SZ0smohXI21Zz5RliVtg==" target="_blank"><img src="__TMPL__/portal/assets/img/1.jpg" alt="" class="js_dyh"/></a></center> --> <center><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31010602005254" target="_blank"><img src="/data/runtime/1.png" alt="" class="js_dyh"/></a></center> <p class="copyright">创习(上海)商务咨询有限公司备案查询 <a target="_blank" href="http://www.beian.miit.gov.cn">沪ICP备16009624号-1</a></p> </div> </footer> <script> $(function(){ // temp.footer(); // titleLoad("关于我们"); // singlePage("关于我们"); }); </script> </body> </html> |
dir | /usr/home/hyu2460840001/htdocs/data/runtime/temp |