/** * 模板处理 * @param string $file * @param string $tpl_dir * @param bool $get_tpl_file * @return string */ function template($file, $tpl_dir = '', $get_tpl_file = 0) { global $_FANWE; $tpl_dir = $tpl_dir ? $tpl_dir : './tpl/' . $_FANWE['setting']['site_tmpl']; $tpl_file = $tpl_dir . '/' . $file . '.htm'; $cache_file = './data/tpl/compiled/' . str_replace('/', '_', $file) . '.tpl.php'; if ($get_tpl_file) { return $tpl_file; } checkTplRefresh($tpl_file, $tpl_file, @filemtime(PUBLIC_ROOT . $cache_file), $cache_file, $tpl_dir, $file); //echo (PUBLIC_ROOT.$cache_file); return PUBLIC_ROOT . $cache_file; }
<?php if (!defined('IN_FANWE')) { exit('Access Denied'); } 0 || checkTplRefresh('./tpl/pink2/services/share/u_share_item.htm', './tpl/pink2/inc/share/tags.htm', 1339934325, './data/tpl/compiled/services_share_u_share_item.tpl.php', './tpl/pink2', 'services/share/u_share_item'); ?> <li class="t_f" id="SHARE_LIST_<?php echo $share_item['share_id']; ?> "> <div class="t_tag"> <a class="t" href="<?php echo $share_item['url']; ?> " target="_blank"><?php echo $share_item['time']; ?> </a> </div> <div class="hd"><?php echo setTplUserFormat($share_item['uid'], 1, 0, 'm', 48, '', 'avt icard r5', ''); ?> </div> <div class="tk"> <div class="inf"><?php echo setTplUserFormat($share_item['uid'], 0, 1, '', 0, 'icard n gc', '', ''); ?> <span> <?php if ($share_item['type'] == 'ask') { ?> 发表<a target="_blank" title="<?php
<?php if (!defined('IN_FANWE')) { exit('Access Denied'); } 0 || checkTplRefresh('./tpl/pink2/inc/u/me_share_list.htm', './tpl/pink2/inc/share/tags.htm', 1339934283, './data/tpl/compiled/inc_u_me_share_list.tpl.php', './tpl/pink2', 'inc/u/me_share_list') || checkTplRefresh('./tpl/pink2/inc/u/me_share_list.htm', './tpl/pink2/inc/pages.htm', 1339934283, './data/tpl/compiled/inc_u_me_share_list.tpl.php', './tpl/pink2', 'inc/u/me_share_list'); if (empty($share_list)) { ?> <div class="empty"> <img alt="" class="fl" src="./tpl/images/fanwe4.png"> <?php if ($home_uid == $_FANWE['uid']) { ?> <span>你还没有发过消息呢~</span> <br>在上边的输入框里写一句想说的话,把生活分享给大家吧。 <?php } else { ?> <span>呼~~这里还是空的~~</span> <?php } ?> </div> <?php } else { ?> <script src="./tpl/js/share_list.js" type="text/javascript"></script> <ul class="t_l" id="SHARE_DETAIL_LiST"><?php if (is_array($share_list)) { foreach ($share_list as $share_item) { $relay_share = array();
<?php if (!defined('IN_FANWE')) { exit('Access Denied'); } 0 || checkTplRefresh('./tpl/pink2/page/book/book_index.htm', './tpl/pink2/inc/pages.htm', 1339934187, './data/tpl/compiled/page_book_book_index.tpl.php', './tpl/pink2', 'page/book/book_index'); $css_list[0]['url'][] = './tpl/css/general.css'; $css_list[0]['url'][] = './tpl/css/book.css'; include template('inc/header'); ?> <link rel="stylesheet" type="text/css" href="/tpl/uu43/css/book.css" /> <div id="body" class="container_16"> <div class="blank20"></div> <div class="box_shadow" style="width:940px; margin:0 10px; overflow:hidden;"> <div class="catalog_guide_wrapper"> <ul class="catalog_guide f14"> <?php $cate_active = false; $g_r_cate = $_FANWE['cache']['goods_category']['root']; $g_r_cate =& $_FANWE['cache']['goods_category']['all'][$g_r_cate]; if (MODULE_NAME == 'Book' && ACTION_NAME == 'shopping') { $cate_active = true; } $g_i_cates =& $_FANWE['cache']['goods_category']['parent']; ?> <li><a href='<?php echo FU('book/shopping', array()); ?> ' class="cgoods<?php if ($cate_active) { ?>
<?php if (!defined('IN_FANWE')) { exit('Access Denied'); } 0 || checkTplRefresh('./tpl/pink2/page/u/u_book.htm', './tpl/pink2/inc/pages.htm', 1339934610, './data/tpl/compiled/page_u_u_book.tpl.php', './tpl/pink2', 'page/u/u_book'); $css_list[0]['url'][] = './tpl/css/general.css'; $css_list[0]['url'][] = './tpl/css/book.css'; $js_list[0] = './tpl/js/book.js'; include template('inc/header'); ?> <div id="body" class="container_16"> <div class="imagewall_sort" style="height:40px;"> </div> <div id="imagewall_container" class="imagewall"> <?php for ($i = 0; $i <= 3; $i++) { $col_index = $i + 1; ?> <div class="col<?php echo $col_index; ?> clear_in share_col"> <?php if ($i == 0) { ?> <div class="i_w_f o u_profile"> <div class="b_u_hd"></div> <div class="b_u_bd"> <div class="up_info"> <a class="uavatar" href="<?php