Пример #1
0
<?php

/* 
	this example uses the default values as entered in admin alng with the built-in 'insert_header'
	function to build the header
	
	clearly, with the exception of 'intermediate theme' appended to the subtitle, this example has the same 
	result as using the default header, but it illustrates the values that can be set manually if required
	
	for instance - you may wish to include a date variable, which wouldn't be possible via the settings pages
*/
// custom nav array - this will override anything in the Links > Menu
$link = array();
$nav_links['site_menu'] = array($link[] = array('title' => 'Custom Header Nav:', 'link' => '#'), $link[] = array('title' => 'Facebook', 'link' => 'http://facebook.com'), $link[] = array('title' => 'Google', 'link' => 'http://google.com'));
// set values
$title = $config['site']['title'];
$subtitle = $config['site']['subtitle'] . ' - intermediate theme';
$panel = $config['site']['header_panel_html'];
$nav = insert_nav('header', $nav_links);
// use built-in function to wrap around the html markup and output
echo insert_header($title, $subtitle, $panel, $nav);
    function content_5631b7d9a633a2_85802998($_smarty_tpl)
    {
        ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php 
        echo insert_head(array('file' => 'common/head.php', 'pagetitle' => '首页 - 唯艺设计', 'description' => ''), $_smarty_tpl);
        ?>
<link rel="stylesheet" type="text/css" href="css/layout.css?14460989051"/>
<link rel="canonical" href="http://www.weiyi5.cc/" />
</head>

<body>
    <h1>网店装修</h1>
    <?php 
        echo insert_nav(array('file' => 'common/nav.php'), $_smarty_tpl);
        ?>
    
    <div class="banner">
        <div class="banner-pic">
            <ul>
                <li style="background: url(http://localhost:8085//images/banner-VIP.jpg) center no-repeat;"><a href="/topic/tuiguang/vip-tuiguang2.html" target="_blank"></a></li>
                <li style="background: url(http://localhost:8085//images/banner1.jpg) center no-repeat;"><a href="/topic/vip/activity_vip.html" target="_blank"></a></li>                
                <li style="background: url(http://localhost:8085//images/banner4.jpg) center no-repeat;"><a href="/site/register/" target="_blank"></a></li>                                
                <li style="background: url(http://localhost:8085//images/banner5.jpg) center no-repeat;"><a href="/topic/download/" target="_blank"></a></li>
            </ul>
        </div>
        <div class="banner-mark">
            <div class="banner-con">
                <div class="mark-box mark-in"></div>
                <div class="mark-box"></div>
                <div class="mark-box"></div>
                <div class="mark-box"></div>
                <!-- <div class="mark-box"> 
                    <span></span>
                    <div class="font-pic fp-1"></div>
                    <p>不要钱!模板永久免费使用</p>
                </div>

                <div class="mark-box">
                    <div class="font-pic fp-2"></div>
                    <p>免动手!免费帮您装模板</p>
                </div>

               <div class="mark-box">
                    <div class="font-pic fp-3"></div>
                    <p>用不完!模板特效不断更新</p>
                </div>

                <div class="mark-box">
                    <div class="font-pic fp-4"></div>
                    <p>留客户!提升销量20%以上</p>
                </div>-->

            </div>
        </div>
    </div>
    <div class="credit">
        <div class="credit-content w-1200">
            <dl class="credit-box">
                <dt>唯艺荣誉:点击下图可查看认证真伪</dt>
                <dd><a href="http://xinyong.360.cn/detail/weiyi5.cc" target="_blank" class="credit1"></a><a href="http://www.anquan.org/authenticate/cert/?site=www.weiyi5.cc&at=realname" target="_blank" class="credit2"></a><a href="http://www.symantec.com" target="_blank" class="credit4"></a></dd>
            </dl>
            <div class="cctv-box l"></div>
            <dl class="flag-box l">
                <dt class="l"></dt>
                <dd class="l"><span>政府扶持</span><p>政府扶持电商企业</p></dd>
            </dl>
            <dl class="tip-box r">
                <dd><span>平台已经注册用户数</span><p id="enter-user-count"></p></dd>
                <dd class="dd-2"><span>累计安装模板数</span><p>3000000+</p></dd>
            </dl>
        </div>
    </div>
    <div class="contenter body-box">
        <div class="contenter-con body-con">

            <div class="form-box l">
                <div class="l">
                    <div class="form-des">
                        <a href="http://www.zhangguijia.com/?weiyi1" target="_blank" class="free-shop-apply" rel="nofollow">
                            <img src="/images/sz002.jpg" />
                        </a>
<!--                        <a href="javascript:;" onclick="$.freeShopApplyDialog()" class="free-shop-apply"></a>-->
<!--                        <div class="first">
                            轻松三步<br/>搞定装修
                        </div>-->
                        <div class="l mleft-10">
                            <p class="des-box-title">注册唯艺,立即免费使用!</p>
                            <div class="des-box">
                                <ul class="des-box-items des-box-items-first">
                                    <li class="des-box-items-icon step1"></li>
                                    <li class="des-box-items-title"><a href="/site/register" target="_blank">免费注册</a></li>
                                    <li class="des-box-items-detail">注册并登陆平台</li>
                                    <li class="des-box-items-arrow"></li>
                                </ul>
                                <ul class="des-box-items">
                                    <li class="des-box-items-icon step2"></li>
                                    <li class="des-box-items-title"><a href="/design/" target="_blank">挑选模板</a></li>
                                    <li class="des-box-items-detail">选择喜欢的模板</li>
                                    <li class="des-box-items-arrow"></li>
                                </ul>
                                <ul class="des-box-items des-box-items-last">
                                    <li class="des-box-items-icon step3"></li>
                                    <li class="des-box-items-title"><a href="/topic/tuiguang/tuiguang1.html" target="_blank">一键安装</a></li>
                                    <li class="des-box-items-detail">轻松便捷快速完成</li>
                                </ul>
                            </div>
                            <div class="third"></div>
                        </div>
                        
                    </div>
                    <div class="marquee-box l">
                        <ul>
                                                        <li>用户<span class="u-name">aimi****@163.com</span>安装了<span class="u-name">高端优雅 多功能 精品鞋包淘宝模板</span></li>
                                                        <li>用户<span class="u-name">1095****@qq.com</span>安装了<span class="u-name">名优美酒 高端优雅 红酒香槟淘宝模版</span></li>
                                                        <li>用户<span class="u-name">5165****@qq.com</span>安装了<span class="u-name">绚丽欧美 高端深蓝 母婴用品淘宝模板</span></li>
                                                        <li>用户<span class="u-name">7005****@qq.com</span>安装了<span class="u-name">时尚简约 瀑布流 装饰家居淘宝模板</span></li>
                                                        <li>用户<span class="u-name">2068****@qq.com</span>安装了<span class="u-name">留白简约 瀑布流  挂画壁画淘宝模板</span></li>
                                                        <li>用户<span class="u-name">1587****@qq.com</span>安装了<span class="u-name">高雅大牌 舒爽浅色 女包女鞋网店模板</span></li>
                                                        <li>用户<span class="u-name">6243****@qq.com</span>安装了<span class="u-name">清新优雅 简约背景 内衣服饰淘宝模版</span></li>
                                                        <li>用户<span class="u-name">8107****@qq.com</span>安装了<span class="u-name">游戏充值 瀑布流 虚拟充值网店模板</span></li>
                                                        <li>用户<span class="u-name">scha****@163.com</span>安装了<span class="u-name">大牌简约 大气背景 珠宝配饰网店模板</span></li>
                                                        <li>用户<span class="u-name">3434****@qq.com</span>安装了<span class="u-name">时尚床品 高雅品位 大气轮播 淘宝模版</span></li>
                                                        <li>用户<span class="u-name">2426****@qq.com</span>安装了<span class="u-name">森林情调-深绿色 食品保健 家居 玉器 茶叶 户外运动 类模板</span></li>
                                                        <li>用户<span class="u-name">1979****@qq.com</span>安装了<span class="u-name">旅行眼镜 炫酷欧美 服装配件网店模板</span></li>
                                                        <li>用户<span class="u-name">2426****@qq.com</span>安装了<span class="u-name">冰海保鲜  全屏轮播 海鲜海产淘宝模板</span></li>
                                                        <li>用户<span class="u-name">3573****@qq.com</span>安装了<span class="u-name">奢侈名表 简约奢华 饰品珠宝淘宝模板</span></li>
                                                        <li>用户<span class="u-name">6570****@qq.com</span>安装了<span class="u-name">春季、夏季清爽 化妆美容、健美店铺模板 全屏轮播</span></li>
                                                        <li>用户<span class="u-name">5048****@qq.com</span>安装了<span class="u-name">时尚美容美妆馆</span></li>
                                                        <li>用户<span class="u-name">7005****@qq.com</span>安装了<span class="u-name">吉他乐器 全屏懒人 音乐CD淘宝模版</span></li>
                                                        <li>用户<span class="u-name">ston****@qq.com</span>安装了<span class="u-name">小镇风情 全屏轮播 美容护肤淘宝模板</span></li>
                                                        <li>用户<span class="u-name">3489****@qq.com</span>安装了<span class="u-name">别具欧美 时尚潮流 特色皮带 淘宝模板</span></li>
                                                        <li>用户<span class="u-name">kecy****@163.com</span>安装了<span class="u-name">儿童服饰 清新可爱 淡雅浅色  淘宝模版</span></li>
                                                        <li>用户<span class="u-name">1243****@qq.com</span>安装了<span class="u-name">时尚女鞋 米色暖黄 女鞋精品淘宝模板</span></li>
                                                        <li>用户<span class="u-name">1009****@qq.com</span>安装了<span class="u-name">型男健美 素雅青灰 型男健美淘宝模板</span></li>
                                                        <li>用户<span class="u-name">5293****@qq.com</span>安装了<span class="u-name">春天衣橱 精品酷黑 潮流男装淘宝模板</span></li>
                                                        <li>用户<span class="u-name">maya****@163.com</span>安装了<span class="u-name">双十二 促销大红 现代灯艺淘宝模板</span></li>
                                                        <li>用户<span class="u-name">5719****@qq.com</span>安装了<span class="u-name">至简大牌 全屏轮播 女装服饰淘宝模板</span></li>
                                                        <li>用户<span class="u-name">9250****@qq.com</span>安装了<span class="u-name">淡雅浅黄 简约风尚 女装女鞋淘宝模板</span></li>
                                                        <li>用户<span class="u-name">zhan****@163.com</span>安装了<span class="u-name">清新果味 全屏轮播 新鲜水果淘宝模板</span></li>
                                                        <li>用户<span class="u-name">1911****@qq.com</span>安装了<span class="u-name">英伦雅致 潮流鞋靴 精品鞋包网店模板</span></li>
                                                        <li>用户<span class="u-name">shul****@tom.com</span>安装了<span class="u-name">复古欧美 胶片暗青 创意灯饰淘宝模板</span></li>
                                                        <li>用户<span class="u-name">eval****@163.com</span>安装了<span class="u-name">烘焙料理 英式甜点 蛋糕咖啡淘宝模版</span></li>
                                                        <li>用户<span class="u-name">2678****@qq.com</span>安装了<span class="u-name">活泼绚丽 清新蓝色 户外包包淘宝模板</span></li>
                                                        <li>用户<span class="u-name">kong****@qq.com</span>安装了<span class="u-name">肉脯坚果 绚丽背景 零食特产淘宝模版</span></li>
                                                        <li>用户<span class="u-name">1270****@qq.com</span>安装了<span class="u-name">高雅复古 浓情深色 各式婚纱 淘宝模板</span></li>
                                                        <li>用户<span class="u-name">2006****@qq.com</span>安装了<span class="u-name">奢华香包 大图模块 珠宝鞋靴淘宝模版</span></li>
                                                        <li>用户<span class="u-name">1006****@qq.com</span>安装了<span class="u-name">简约风尚 女装女鞋 服装配件网店模板</span></li>
                                                        <li>用户<span class="u-name">3751****@qq.com</span>安装了<span class="u-name">香水珠宝 高贵雅致 化妆健美淘宝模板</span></li>
                                                        <li>用户<span class="u-name">7150****@qq.com</span>安装了<span class="u-name">各色杯子 极简黑白 简约大气 淘宝模版</span></li>
                                                        <li>用户<span class="u-name">ezhi****@126.com</span>安装了<span class="u-name">茶杯茶壶 无缝海报 家具用品淘宝模版</span></li>
                                                        <li>用户<span class="u-name">7797****@qq.com</span>安装了<span class="u-name">多彩数码 科技蓝调 手机数码网店模板</span></li>
                                                        <li>用户<span class="u-name">weiy****@qq.com</span>安装了<span class="u-name">潮流复古  极致简约  个性服饰淘宝模板</span></li>
                                                        <li>用户<span class="u-name">7002****@qq.com</span>安装了<span class="u-name">怡情小钓 全屏海报 钓鱼用品淘宝模板</span></li>
                                                        <li>用户<span class="u-name">1002****@qq.com</span>安装了<span class="u-name">家居首饰淘宝模板 新秀系列 高雅背景</span></li>
                                                        <li>用户<span class="u-name">9324****@qq.com</span>安装了<span class="u-name">非主流 全屏轮播 布鞋板鞋淘宝模板</span></li>
                                                        <li>用户<span class="u-name">2867****@qq.com</span>安装了<span class="u-name">日用杂货 清新简约 生活兴趣网店模板</span></li>
                                                        <li>用户<span class="u-name">hong****@qq.com</span>安装了<span class="u-name">笔记本包 实用大气 数码配件淘宝模版</span></li>
                                                        <li>用户<span class="u-name">wang****@126.com</span>安装了<span class="u-name">中国风 佛缘手珠 饰品珠宝淘宝模板</span></li>
                                                        <li>用户<span class="u-name">xiao****@gmail.com</span>安装了<span class="u-name">素雅家纺 全屏轮播 床上用品淘宝模版</span></li>
                                                        <li>用户<span class="u-name">arlo****@sina.com</span>安装了<span class="u-name">活力欧美 帅气男装 服装配件淘宝模板</span></li>
                                                        <li>用户<span class="u-name">1129****@qq.com</span>安装了<span class="u-name">电脑配件 欧美风采 时尚简约 淘宝模版</span></li>
                                                        <li>用户<span class="u-name">ruxi****@163.com</span>安装了<span class="u-name">简约明了 优雅浅色 乐器音响 淘宝模板</span></li>
                                                        <li>用户<span class="u-name">baox****@msn.com</span>安装了<span class="u-name">精油香膏 芳香之旅 美容护肤淘宝模版</span></li>
                                                        <li>用户<span class="u-name">only****@sina.com</span>安装了<span class="u-name">激情雪地  全屏轮播  雪地运动淘宝模版</span></li>
                                                        <li>用户<span class="u-name">pqda****@qq.com</span>安装了<span class="u-name">时尚简约 鞋帽箱包 珠宝配饰淘宝模板</span></li>
                                                        <li>用户<span class="u-name">ltxx****@163.com</span>安装了<span class="u-name">潮流欧美 全屏轮播 双肩背包淘宝模板</span></li>
                                                        <li>用户<span class="u-name">2748****@qq.com</span>安装了<span class="u-name">双十一 淘宝活动促销模板 潮流女装</span></li>
                                                        <li>用户<span class="u-name">2324****@qq.com</span>安装了<span class="u-name">好茶汇聚 素雅浅色 食品保健淘宝模板</span></li>
                                                        <li>用户<span class="u-name">1217****@qq.com</span>安装了<span class="u-name">绅士帽子 灰色品质 个性鞋帽淘宝模版</span></li>
                                                        <li>用户<span class="u-name">1006****@qq.com</span>安装了<span class="u-name">时尚彩妆 全屏轮播 服装配件网店模板</span></li>
                                                        <li>用户<span class="u-name">1985****@qq.com</span>安装了<span class="u-name">高端优雅 多功能 精品鞋包淘宝模板</span></li>
                                                        <li>用户<span class="u-name">6233****@qq.com</span>安装了<span class="u-name">名优美酒 高端优雅 红酒香槟淘宝模版</span></li>
                                                        <li>用户<span class="u-name">7002****@qq.com</span>安装了<span class="u-name">绚丽欧美 高端深蓝 母婴用品淘宝模板</span></li>
                                                    </ul>
                    </div>
                </div>
                
                <div class="form-step-right">
                    <p class="clearfix">
                            <span class="l">用户登录</span><a href="site/show_reset_password" target="_blank" class="r">找回密码></a>
                        </p>
                    <div class="login-box">
                        
			<form method="post" action="">
			  <div class="textfield-box">
                              <label for="username"><span class="icons-username"></span></label>
				<input type="text" name="login_id" id="username">
			  </div>
			  <div class="textfield-box">
			  	<label for="password"><span class="icons-password"></span></label>
				<input type="password" name="pwd" id="password">
			  </div>
                          <div class="textfield-box checkcode">
                              <input type="text" name="checkcode" id="checkcode" style="width:98px; padding-left: 5px;" /><img id="checkcodeimg" src="code_char.php" style="width:95px; height: 35px;" /><a id="changecheckcode" href="javascript:;" onclick="$('#checkcodeimg').attr({src:'code_char.php?'+Math.random()})">换一换</a>
			  </div>
			
			  <div class="button-box">
                                <a href="javascript:;" class="login-box-btn login-box-btn-red" name="" id="login">登&nbsp;&nbsp;录</a>
                                <a href="site/register" target="_blank" class="login-box-btn login-box-btn-blue" name="" id="register">注&nbsp;&nbsp;册</a>
			  </div>
			
			</form>
                    </div>
<!--                    <p>已有<span id="enter-user-count"></span>用户在使用唯艺平台</p>
                    <div class="login-box">
                        <a href="javascript:;" onclick="$.addClickCount();$.loginDialog()" class="login-box-btn login-box-btn-red">登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录</a>
                        <a href="site/register" target="_blank" class="login-box-btn login-box-btn-blue">注&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;册</a>
                    </div>-->
                </div>
            </div>
            
            <div>
                <span class="wy-krakatoa-title l">精美模板推荐</span>
                <a href="http://localhost:8085//design/" class="wy-krakatoa-title-more r" target="_blank"><h2>更多淘宝店铺模板</h2></a>
            </div>
            <div class="wy-krakatoa l" data-settings="{ items : 1, autoplay : true, loop : true, title : false, width:1200, height:326, delay:4000, buttons:false, arrows:false }">
                                                <ul class="item" data-title="">
                                <li >
                    <div class="item-content relative">
                        <a href="http://localhost:8085//template/03BFFE2E-6656-4E04-BFC3-935923DAEDB3.html" target="_blank">
                            <img src="http://img.weiyi5.cc/upload/2014/12/13/20141213143036301379.jpg" alt="名优美酒 高端优雅 红酒香槟淘宝模版"/>
                        </a>
                        <div class="item-title-bg absolute"></div>
                        <a href="http://localhost:8085//mytry/03BFFE2E-6656-4E04-BFC3-935923DAEDB3-0-0.html" class="item-title absolute" title="点击马上试用模板" target="_blank">名优美酒 高端优雅 红酒香槟淘宝模版</a>
                    </div>
                </li>
                                                                <li >
                    <div class="item-content relative">
                        <a href="http://localhost:8085//template/21226131-B6A6-4FD6-B461-C0B8ED1A6A04.html" target="_blank">
                            <img src="images/tempate/template-pic-EAD721E6-800A-4319-9D08-2184D8301E3F.jpg" alt="森林情调-深绿色 食品保健 家居 玉器 茶叶 户外运动 类模板"/>
                        </a>
                        <div class="item-title-bg absolute"></div>
                        <a href="http://localhost:8085//mytry/21226131-B6A6-4FD6-B461-C0B8ED1A6A04-0-0.html" class="item-title absolute" title="点击马上试用模板" target="_blank">森林情调-深绿色 食品保健 家居 玉器 茶叶 户外运动 类模板</a>
                    </div>
                </li>
                                                                <li >
                    <div class="item-content relative">
                        <a href="http://localhost:8085//template/1362D2C9-F2E5-4BD3-B6C2-1DB215E3DD5E.html" target="_blank">
                            <img src="http://img.weiyi5.cc/upload/2014/11/24/20141124113830821939.jpg" alt="清新优雅 简约背景 内衣服饰淘宝模版"/>
                        </a>
                        <div class="item-title-bg absolute"></div>
                        <a href="http://localhost:8085//mytry/1362D2C9-F2E5-4BD3-B6C2-1DB215E3DD5E-0-0.html" class="item-title absolute" title="点击马上试用模板" target="_blank">清新优雅 简约背景 内衣服饰淘宝模版</a>
                    </div>
                </li>
                                                                <li >
                    <div class="item-content relative">
                        <a href="http://localhost:8085//template/02FA00C6-AD27-43D2-80EC-F7EB35A0688F.html" target="_blank">
                            <img src="http://img.weiyi5.cc/upload/2014/10/30/20141030114720540771.jpg" alt="高端优雅 多功能 精品鞋包淘宝模板"/>
                        </a>
                        <div class="item-title-bg absolute"></div>
                        <a href="http://localhost:8085//mytry/02FA00C6-AD27-43D2-80EC-F7EB35A0688F-0-0.html" class="item-title absolute" title="点击马上试用模板" target="_blank">高端优雅 多功能 精品鞋包淘宝模板</a>
                    </div>
                </li>
                                                                <li class="last">
                    <div class="item-content relative">
                        <a href="http://localhost:8085//template/1672FE2F-1213-4A67-B65B-04F85DE43FBB.html" target="_blank">
                            <img src="http://img.weiyi5.cc/upload/2014/10/30/20141030123941186489.jpg" alt="大牌简约 大气背景 珠宝配饰网店模板"/>
                        </a>
                        <div class="item-title-bg absolute"></div>
                        <a href="http://localhost:8085//mytry/1672FE2F-1213-4A67-B65B-04F85DE43FBB-0-0.html" class="item-title absolute" title="点击马上试用模板" target="_blank">大牌简约 大气背景 珠宝配饰网店模板</a>
                    </div>
                </li>
                                </ul>
                                                                <ul class="item" data-title="">
                                <li >
                    <div class="item-content relative">
                        <a href="http://localhost:8085//template/14440E75-0778-4EAE-A67D-7ED0B75E2429.html" target="_blank">
                            <img src="http://img.weiyi5.cc/upload/2014/10/30/20141030130252830783.jpg" alt="游戏充值 瀑布流 虚拟充值网店模板"/>
                        </a>
                        <div class="item-title-bg absolute"></div>
                        <a href="http://localhost:8085//mytry/14440E75-0778-4EAE-A67D-7ED0B75E2429-0-0.html" class="item-title absolute" title="点击马上试用模板" target="_blank">游戏充值 瀑布流 虚拟充值网店模板</a>
                    </div>
                </li>
                                                                <li >
                    <div class="item-content relative">
                        <a href="http://localhost:8085//template/0FFF7231-BE0A-4A93-BF4F-83EA54CEC96A.html" target="_blank">
                            <img src="http://img.weiyi5.cc/upload/2014/10/30/20141030115720458099.jpg" alt="绚丽欧美 高端深蓝 母婴用品淘宝模板"/>
                        </a>
                        <div class="item-title-bg absolute"></div>
                        <a href="http://localhost:8085//mytry/0FFF7231-BE0A-4A93-BF4F-83EA54CEC96A-0-0.html" class="item-title absolute" title="点击马上试用模板" target="_blank">绚丽欧美 高端深蓝 母婴用品淘宝模板</a>
                    </div>
                </li>
                                                                <li >
                    <div class="item-content relative">
                        <a href="http://localhost:8085//template/107E4BD2-BC1C-45CD-AE0C-D239F6A06703.html" target="_blank">
                            <img src="http://img.weiyi5.cc/upload/2014/10/30/20141030114641525939.jpg" alt="时尚简约 瀑布流 装饰家居淘宝模板"/>
                        </a>
                        <div class="item-title-bg absolute"></div>
                        <a href="http://localhost:8085//mytry/107E4BD2-BC1C-45CD-AE0C-D239F6A06703-0-0.html" class="item-title absolute" title="点击马上试用模板" target="_blank">时尚简约 瀑布流 装饰家居淘宝模板</a>
                    </div>
                </li>
                                                                <li >
                    <div class="item-content relative">
                        <a href="http://localhost:8085//template/2A24DE1A-DAB8-481B-9364-04AAED88BF0B.html" target="_blank">
                            <img src="http://img.weiyi5.cc/upload/2014/10/30/20141030130152574746.jpg" alt="旅行眼镜 炫酷欧美 服装配件网店模板"/>
                        </a>
                        <div class="item-title-bg absolute"></div>
                        <a href="http://localhost:8085//mytry/2A24DE1A-DAB8-481B-9364-04AAED88BF0B-0-0.html" class="item-title absolute" title="点击马上试用模板" target="_blank">旅行眼镜 炫酷欧美 服装配件网店模板</a>
                    </div>
                </li>
                                                                <li class="last">
                    <div class="item-content relative">
                        <a href="http://localhost:8085//template/11BB3CA8-D293-4026-AFA5-E76385EE42E9.html" target="_blank">
                            <img src="images/tempate/template-pic-4361DE99-4FAD-4F9C-AA36-FBDB42AD1F32.jpg" alt="高雅大牌 舒爽浅色 女包女鞋网店模板"/>
                        </a>
                        <div class="item-title-bg absolute"></div>
                        <a href="http://localhost:8085//mytry/11BB3CA8-D293-4026-AFA5-E76385EE42E9-0-0.html" class="item-title absolute" title="点击马上试用模板" target="_blank">高雅大牌 舒爽浅色 女包女鞋网店模板</a>
                    </div>
                </li>
                                </ul>
                                            </div>


            <div class="pro-box">
                <div class="coordinate-box">

                    <div class="coordinate-mark coordinate-first show-in">
                        <div class="cd-icon cd-pic-01"><span></span></div>
                        <div class="cd-des">5年用户信赖品牌</div>
                    </div>

                    <div class="coordinate-mark coordinate-second">
                        <div class="cd-icon cd-pic-02"></div>
                        <div class="cd-des">国际顶尖设计人员</div>
                    </div>

                    <div class="coordinate-mark coordinate-third">
                        <div class="cd-icon cd-pic-03"></div>
                        <div class="cd-des">专业团队贴心服务</div>
                    </div>

                </div>
                <div class="pro-con">
                    <ul class="pro-items-list">
                        <li class="pro-item item-1"><img src="http://localhost:8085//images/pro-01.jpg" alt="五年的掌柜选择_淘宝店铺装修免费模板" /></li>
                        <li class="pro-item item-2"><img src="http://localhost:8085//images/pro-02.jpg" alt="顶尖的海龟设计师_免费帮您装修店铺" /></li>
                        <li class="pro-item item-3"><img src="http://localhost:8085//images/pro-03.jpg" alt="最专业的团队最贴心的服务_专业淘宝装修教程" /></li>
                    </ul>
                </div>
            </div>

            <div class="server-box">
                <div class="server-title">让你满意的服务
                    <div class="call-me"><input id="call-me" type="button" value="&nbsp;" /></div>
                </div>
                <div class="server-con">
                    <div class="sb-left server-item con-box-01">
                        <div class="title">模板<span>定制</span></div>
                        <p>专属设计让你的店铺独一无二</p>
                    </div>
                    <div class="sb-right">
                        <div class="server-item con-box-02">
                            <div class="title">宝贝<span>描述</span></div>
                            <p>打造爆款提升销量必备</p>
                        </div>
                        <div class="server-item con-box-03">
                            <div class="title">海报<span>设计</span></div>
                            <p>电影级海报让你备受瞩目</p>
                        </div>
                        <div class="server-item con-box-04">
                            <div class="title">模板<span>代装</span></div>
                            <p>专业人员为您排忧解难</p>
                        </div>
                        <div class="server-item con-box-05">
                            <div class="title">图片<span>处理</span></div>
                            <p>让宝贝焕发夺目光彩</p>
                        </div>
                        <div class="server-item con-box-06">
                            <div class="title">商品<span>拍摄</span></div>
                            <p>专业摄影团队影棚拍摄</p>
                        </div>
                    </div>
                </div>
            </div>

            <div class="teaching-des">
                <span class="icon"></span>
                唯艺淘宝装修
                <span>新手开店必学!淘宝网店装修教程!超级卖家店铺装修秘籍!<a href="http://www.weiyi5.cc/zhuangxiujiaocheng/" target="_blank"><h2>进入淘宝装修教程</h2></a></span>
            </div>

            <div class="essay-box">
                <div class="eb-left">
                    <div class="eb-title"><a href="http://www.weiyi5.cc/zhuangxiujiaocheng/wangdian/" target="_blank"><h3>淘宝网店装修教程</h3></a></div>
                    <div class="eb-con">
                        <ul>
                        	<li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2115.html">网店装修需规避的点击率误区</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2114.html">不同类型的钻展图片装修你掌握了吗</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2110.html">解读淘宝网店必懂装修流程(二)</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2109.html">解读淘宝网店必懂装修流程(一)</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2108.html">淘宝卖家达人必学店标装修技巧(二)</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2107.html">淘宝卖家达人必学店标装修技巧(一)</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2106.html">三招首焦图装修捧红你的网店</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2105.html">不得不警惕的淘宝店铺装修违规条例</a></li>
                        
                        </ul>
                    </div>
                </div>
                <div class="eb-left" style="margin-left:25px;">
                    <div class="eb-title"><a href="http://www.weiyi5.cc/zhuangxiujiaocheng/muban/" target="_blank"><h3>淘宝模板制作教程</h3></a></div>
                    <div class="eb-con">
                        <ul>
                        	<li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2118.html">新手怎样巧用淘宝网店免费装修模板</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2117.html">淘宝网店用装修模板时常见的问题有哪些</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2116.html">淘宝店铺模板装修需步步为营</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2113.html">玩转双十一大促的模板装修教程</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2111.html">教你怎么使用淘宝装修免费模板</a></li>
                        	
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2061.html">怎样获取淘宝网店装修模板?</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1994.html">淘宝网店装修的模板怎么选</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1963.html">网店装修怎样借用他人网店模板之力</a></li>
                            
                        </ul>
                    </div>
                </div>

                <div class="eb-left" style="margin-left:25px;">
                    <div class="eb-title"><a href="http://www.weiyi5.cc/zhuangxiujiaocheng/shouji/" target="_blank"><h3>手机店铺装修</h3></a></div>
                    <div class="eb-con">
                        <ul>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2068.html">新手手机店宝贝详情页装修</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2067.html">怎样做到手机店高效装修</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2065.html">手机店铺装修弊端及攻略</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2064.html">手机淘宝网店装修的常识</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2059.html">值得收藏的手机淘宝网店首页装修教程(二)</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2058.html">值得收藏的手机淘宝网店首页装修教程(一)</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2045.html">淘宝图片在手机店铺装修中的重要性</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2044.html">手机淘宝网店的图片装修技巧(二)</a></li>
                        </ul>
                    </div>
                </div>
                <div class="eb-left" style="margin-bottom: 0;">
                    <div class="eb-title"><a href="http://www.weiyi5.cc/zhuangxiujiaocheng/daima/" target="_blank"><h3>淘宝装修代码</h3></a></div>
                    <div class="eb-con">
                        <ul>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1486.html">网店装修免费代码</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1473.html">装修公告栏的滚动代码</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1472.html">店铺装修如何添加滚动图片的代码</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1455.html">网店装修的轮播图片代码</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1399.html">店铺装修中的HTML代码</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1398.html">扶植版装修的轮播图片代码</a></li>                            
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1285.html">淘宝店铺装修代码集锦</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id821.html">一天学会使用首屏代码装修网店</a></li>
                        </ul>
                    </div>
                </div>
                
                <div class="eb-left" style="margin-bottom: 0;margin-left:25px;">
                    <div class="eb-title"><a href="http://www.weiyi5.cc/zhuangxiujiaocheng/ruanjian/" target="_blank"><h3>淘宝装修软件</h3></a></div>
                    <div class="eb-con">
                        <ul>
                        	<li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id2112.html">网店装修常用的几款软件推荐</a></li>
                        	
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id868.html">如何使用设计软件装修淘宝店铺</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id458.html">图片空间店铺装修软件介绍</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id450.html">淘宝网店装修直通车软件介绍</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id445.html">利用淘宝收藏软件提高排名</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id442.html">经典店铺装修设计软件介绍</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id434.html">SignPics店铺装修软件批量处理图片</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id419.html">使用店铺装修软件推广淘宝网店</a></li>
                            
                        </ul>
                    </div>
                </div>
                <div class="eb-left" style="margin-bottom: 0;margin-left:25px;">
                    <div class="eb-title"><a href="http://www.weiyi5.cc/zhuangxiujiaocheng/shipin/" target="_blank"><h3>网店装修视频教程</h3></a></div>
                    <div class="eb-con">
                        <ul>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1742.html">淘宝店铺装修如何添加视频</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1059.html">四步教你装修视频怎么转换格式</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1057.html">4步教你淘宝店铺装修免费插入视频</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1054.html">剪辑视频装修店铺教程</a></li>
                            <li><a target="_blank" href="http://www.weiyi5.cc/zhuangxiujiaocheng/id1017.html">图片视频的播放占据淘宝店铺装修重要地位</a></li>
                            <li><a href="http://www.weiyi5.cc/zhuangxiujiaocheng/id549.html" target="_blank">淘宝装修如何为宝贝详情页添加视频</a></li>
                            <li><a href="http://www.weiyi5.cc/zhuangxiujiaocheng/id532.html" target="_blank">4步免费插入视频装修淘宝店铺</a></li>
                            <li><a href="http://www.weiyi5.cc/zhuangxiujiaocheng/id494.html" target="_blank">淘宝店铺详情页装修插入视频步骤</a></li>
                        </ul>
                    </div>
                </div>

            </div>


        </div>
    </div>
    <?php 
        echo insert_footer(array('file' => 'common/footer.php'), $_smarty_tpl);
        ?>
    <script type="text/javascript"  src="js/jquery.kxbdmarquee.js"></script>
    <script type="text/javascript"  src="js/jquery.krakatoa.min.js"></script>
    <script type="text/javascript" src="js/main.js?20150121"></script>
</body>
</html><?php 
    }
/**
 * show_body
 * 
 * 
 * 
 * 
 * 
 * 
 */
function show_body($body_content, $config = 0)
{
    // get config from database
    if (empty($config)) {
        $config = get_settings();
    }
    // start body html
    echo '
	<body>
		<div id="outer_wrapper">
		<div id="inner_wrapper">';
    // header
    $panel = !empty($config['site']['header_panel_html']) ? $config['site']['header_panel_html'] : '';
    $nav = $config['layout']['main_menu'] == 'header' ? insert_nav($config['layout']['main_menu']) : '';
    echo !empty($body_content['header']) ? $body_content['header'] : insert_header($config['site']['title'], $config['site']['subtitle'], $panel, $nav);
    // nav - only insert automatically if main_menu position is set to 'navbar'
    if ($config['layout']['main_menu'] == 'navbar') {
        echo !empty($body_content['nav']) ? $body_content['nav'] : insert_nav($config['layout']['main_menu']);
    }
    // start content wrapper
    echo '	
		<div id="content_wrapper">';
    // main content
    echo insert_main_content($body_content['main']);
    // aside
    echo !empty($body_content['aside']) ? $body_content['aside'] : insert_aside();
    // close content wrapper
    echo '
		</div> <!-- close content_wrapper -->
		</div> <!-- close inner_wrapper -->
		</div> <!-- close outer_wrapper -->';
    // footer
    echo !empty($body_content['footer']) ? $body_content['footer'] : insert_footer();
    // analytics
    if (!empty($config['connections']['woopra_analytics'])) {
        echo insert_woopra_analytics();
    }
    if (!empty($config['connections']['compete_analytics'])) {
        echo insert_compete_analytics($config['connections']['compete_analytics']);
    }
    if (!empty($config['connections']['getclicky_analytics'])) {
        echo insert_getclicky_analytics($config['connections']['getclicky_analytics']);
    }
    if (!empty($config['connections']['quantcast_analytics'])) {
        echo insert_quantcast_analytics($config['connections']['quantcast_analytics']);
    }
    if (!empty($config['connections']['disqus_shortname'])) {
        echo insert_disqus_comment_count($config['connections']['disqus_shortname']);
    }
    echo '	
	</body>
	</html>';
}
    function content_5631c4d8684211_84846844($_smarty_tpl)
    {
        ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php 
        echo insert_head(array('file' => "common/head.php", 'pagetitle' => $_smarty_tpl->tpl_vars['pagetitle']->value, 'description' => $_smarty_tpl->tpl_vars['description']->value), $_smarty_tpl);
        ?>

<script type="text/javascript"  src="js/jq_scroll.js"></script>
<script type="text/javascript"  src="js/countdown.js"></script>
</head>

<body>
    <?php 
        echo insert_nav(array('file' => "common/nav.php"), $_smarty_tpl);
        ?>

    <div class="header-ad" style="display:none;"></div>
    <div class="main w">
        <div class="left l">
            <?php 
        echo insert_home_menu(array('file' => "home/menu.php"), $_smarty_tpl);
        ?>

        </div>
        <div class="right r">
<table width="100%" border="0" style="background:#FFF; margin-bottom:20px;">
  <tr>
    <td align="center"><table class="table table-bordered width780">
  <tr>
    <td colspan="3" align="center"><h1>VIP 6折巨惠活动<?php 
        if (strtotime($_smarty_tpl->tpl_vars['endtime']->value) > time()) {
            ?>
(<em id="countDown" class="time" data-end="<?php 
            echo $_smarty_tpl->tpl_vars['endtime']->value;
            ?>
"></em>)<?php 
        }
        ?>
</h1></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;你目前拥有</td>
    <td>&nbsp;VIP升级将拥有</td>
  </tr>
  <tr>
    <td>&nbsp;模板数</td>
    <td>&nbsp;2套</td>
    <td>&nbsp;数百套(持续更新)</td>
  </tr>
  <tr>
    <td>&nbsp;首页轮播</td>
    <td>&nbsp;小尺寸轮播</td>
    <td>&nbsp;全屏轮播(高端大气)</td>
  </tr>
  <tr>
    <td>&nbsp;编辑权限</td>
    <td>&nbsp;有限编辑功能</td>
    <td>&nbsp;全部编辑功能</td>
  </tr>
  <tr>
    <td>&nbsp;使用期限</td>
    <td>&nbsp;单套永久</td>
    <td>&nbsp;全部永久(每套折合不到2毛钱)</td>
  </tr>
</table>
</td>
  </tr>
  <tr>
    <td align="center">&nbsp;活动期间购买VIP 6折仅需60元,再送价值18元淘宝销量评价服务,用户可以自定义评价内容。</td>
  </tr>
  <tr>
    <td align="center">
    <a href="/order?type=1" class="icons-btn-green-80 ht-icons choose-btn">我要购买</a>
    </td>
  </tr>
  <tr>
    <td height="20px">
    </td>
  </tr>
</table>

            <div class="box no-boder" style="overflow: visible; height: 90px; position: relative;">
              <div class="l">
                <div class="bigPic l">
                    <a target="_blank" href="http://mai.taobao.com/seller_admin.htm"><img alt="" src="<?php 
        if (empty($_smarty_tpl->tpl_vars['shopInfo']->value['IconUrl'])) {
            ?>
images/default_user_avatar.gif<?php 
        } else {
            echo $_smarty_tpl->tpl_vars['shopInfo']->value['IconUrl'];
        }
        ?>
"></a>
                    <div class="textbg text-bg"></div>	
                    <a class="text text-bg" target="_blank" href="http://mai.taobao.com/seller_admin.htm">更改头像</a>
                </div>
              </div>
              <ul class="user-info l mleft-20">
                  <li class="first"><span class="font-size-18"><?php 
        if ($_smarty_tpl->tpl_vars['h']->value > 0 && $_smarty_tpl->tpl_vars['h']->value <= 8) {
            ?>
早上好<?php 
        } elseif ($_smarty_tpl->tpl_vars['h']->value > 8 && $_smarty_tpl->tpl_vars['h']->value <= 12) {
            ?>
上午好<?php 
        } elseif ($_smarty_tpl->tpl_vars['h']->value > 12 && $_smarty_tpl->tpl_vars['h']->value <= 18) {
            ?>
下午好<?php 
        } elseif ($_smarty_tpl->tpl_vars['h']->value > 18 && $_smarty_tpl->tpl_vars['h']->value <= 24) {
            ?>
晚上好<?php 
        }
        ?>
,<?php 
        echo $_smarty_tpl->tpl_vars['shopInfo']->value['OwnerName'];
        ?>
</span>&nbsp;&nbsp;
                      <em id="home-user-sign" class="relative">
                          <?php 
        if ($_smarty_tpl->tpl_vars['auth']->value['is_agent']) {
            ?>
                          <span class="home-user-sign home-user-sign-shangjia"></span>
                          <span class="home-user-sign home-user-sign-vip"></span>
                          <?php 
        } elseif ($_smarty_tpl->tpl_vars['auth']->value['is_vip']) {
            ?>
                          <span class="home-user-sign home-user-sign-vip"></span>
                          <?php 
        } else {
            ?>
                          <span class="home-user-sign home-user-sign-free"></span>
                          <?php 
        }
        ?>
                      </em>
                      
                  </li>
                <li><span class="ftcolor-c"><?php 
        echo $_smarty_tpl->tpl_vars['userInfo']->value['EmailAddress'];
        ?>
</span><span class="divider">|</span><a href="/topic/course/"class="ftcolor-c" target="_blank">使用教程</a><!--<span class="divider">|</span><a href="#" class="ftcolor-c" target="_blank">用户版本区别</a><span class="divider"></span><a href="#" class="ftcolor-c" target="_blank">模板使用教程></a>--></li>
                <li>店铺名称:<a href="<?php 
        echo $_smarty_tpl->tpl_vars['shopInfo']->value['Url'];
        ?>
" target="_blank"><span class="ftcolor-b"><?php 
        echo $_smarty_tpl->tpl_vars['shopInfo']->value['Name'];
        ?>
</span></a></li>
              </ul>
                <a class="r" href="http://www.zhangguijia.com/?weiyi2" target="_blank"><img src="/images/sz001.jpg"></a>
                <div id="box-dialog1" class="box-dialog" style="display: block; top: 0px; left: 375px;">
                    <?php 
        if ($_smarty_tpl->tpl_vars['auth']->value['is_vip']) {
            ?>
                    <ul>
                        <li>周发布数&nbsp;&nbsp;<i class="font-weight ftcolor-h"><?php 
            echo $_smarty_tpl->tpl_vars['auth']->value['max_publish_times'];
            ?>
</i>&nbsp;&nbsp</li>
                        <li>周同步数&nbsp;&nbsp;<i class="font-weight ftcolor-h"><?php 
            echo $_smarty_tpl->tpl_vars['auth']->value['max_sync_times'];
            ?>
</i></li>
                        <?php 
            if (!$_smarty_tpl->tpl_vars['auth']->value['is_vip']) {
                ?>
<li>月领取数&nbsp;&nbsp;<i class="font-weight ftcolor-h">1</i></li><?php 
            }
            ?>
                        <li style="width:80px;">最大宝贝&nbsp;&nbsp;<i class="font-weight ftcolor-h"><?php 
            echo $_smarty_tpl->tpl_vars['auth']->value['max_sync_items'];
            ?>
</i></li>
                    </ul>
                    <p class="box-dialog-tip">服务市场整装待发,敬请期待!</p>
                    <?php 
        } else {
            ?>
                    
                    <a href="javascript:;" onclick="$.upgradeVIPDialog()" class="mleft-10">
                        <img src="/images/x12.jpg" style="border:1px #dcdcdc solid;" >
                    </a>
                    <?php 
        }
        ?>
                  </div>
                
<!--              <ul class="user-other r">
                <li class="mright-10 l"><a href="design" target="_blank" class="icon icon-1"><h3>挑模板</h3></a></li>
                <li class="l"><a href="home/show_service" target="_blank" class="icon icon-2"><h3>找设计</h3></a></li>
              </ul>-->
              </div>
            <div class="mtop-15 home-note">
                <ul>
                    <li>唯艺VIP隆重上线,更多服务更多功能带给你更多装修体验。如遇使用问题,请详询客服。</li>
                    <li>近期有不法分子利用唯艺平台名义收取用户相关费用,请用户不要轻易相信,如有问题请先咨询官方客服,认准唯艺官方地址 www.weiyi5.cc</li>
                </ul>
            </div>
            <?php 
        if (empty($_smarty_tpl->tpl_vars['userTemplateCount']->value)) {
            ?>
            <div class="box bgcolor-a mtop-15">
                <div class="l boder-right" style="*height:260px;">
                    <div class="template-img-bg l">
                    </div>
                    <div class="l home-index-box mtop-30" style="width: 340px;">
                        <div class="home-index-box-1">
                            <h1 class="font-size-18">挑选免费模板</h1>
                            <h2 class="ftcolor-c mbottom-5">挑选喜欢的模板进行编辑、发布、安装</h2>
                            <h3 class="ftcolor-a ht-icons icons-info-14">编辑模板前请勿在淘宝进行店铺装修操作</h3>
                            <a href="/design/" class="icons-btn-green-80 ht-icons choose-btn" target="_blank">立即挑选</a>
                        </div>
                    </div>
                </div>
                <div class="">
                    <div class="l home-index-box mtop-30">
                        <div class="home-index-box-1" style="width: 210px; height: 185px;">
                            <h1 class="font-size-18 mbottom-5">我拥有的模板</h1>
                            <p><a href="/user/show_my_templates" class="ftcolor-f">查看模板></a></p>
                            <a href="/user/show_my_templates" class="link-3"><?php 
            echo $_smarty_tpl->tpl_vars['userTemplateCount']->value;
            ?>
</a>
                        </div>
                        
                    </div>
                </div>
            </div>
            <?php 
        } else {
            ?>
            <div class="box bgcolor-a mtop-15">
                <div class="l boder-right" style="*height:260px;">
                    <div class="template-img-bg l">
                        <?php 
            if (!empty($_smarty_tpl->tpl_vars['myLastCaseID']->value)) {
                ?>
<img src="<?php 
                echo $_smarty_tpl->tpl_vars['myLastCase']->value['BaseTemplate']['Thumbnail'];
                ?>
" alt="" /><?php 
            }
            ?>
                    </div>
                    <div class="l home-index-box mtop-30" style="width: 340px;">                        
                        <div class="home-index-box-1 boder-bottom">
                            <a href="/design/" target="_blank">
                                <h1 class="font-size-18">挑选免费模板</h1>
                                <h2 class="ftcolor-c mbottom-5">挑选喜欢的模板进行编辑、发布、安装</h2>
                                <?php 
            if (!$_smarty_tpl->tpl_vars['auth']->value['is_vip']) {
                ?>
                                <h2 class="ftcolor-h mbottom-5">本月可免费领用&nbsp;<i class="ftcolor-f"><?php 
                echo $_smarty_tpl->tpl_vars['auth']->value['free_template_times'];
                ?>
</i>&nbsp;次</h2>
                                <?php 
            }
            ?>
                            </a>                            
                            <?php 
            if (!$_smarty_tpl->tpl_vars['auth']->value['is_vip']) {
                ?>
                            <a href="javascript:;" onclick="$.upgradeVIPDialog()" class="ftcolor-f">VIP享永久精美模板,数量次数不限</a>
<!--                            <h2>
                                <em class="l">免费领用次数&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php 
                echo $_smarty_tpl->tpl_vars['auth']->value['free_template_times'];
                ?>
&nbsp;&nbsp;</em>
                                <em class="templates-free-times relative l" style="width:20px; display: block;">
                                    <i class="wy-icons icons-plus home-plus"></i>
                                    <div class="box-dialog" id="templates-free-dialog">
                                        <?php 
                if ($_smarty_tpl->tpl_vars['auth']->value['can_receive_regular_customer_templates']) {
                    ?>
                                        <a class="upgrade-vip-btn wy-icons icons-btn-green-110" onclick="$.feedbackDialog()" href="javascript:;">免费领取</a>
                                        <?php 
                }
                ?>
                                        <a class="upgrade-vip-btn wy-icons icons-btn-green-110" onclick="$.upgradeVIPDialog()" href="javascript:;">升级VIP</a>
                                    </div>
                                </em> 
                                
                            </h2>-->
                            <?php 
            }
            ?>
                        </div>
                        <div class="home-index-box-1  mtop-20 relative">
                            <h1 class="ftcolor-d font-size-18 mbottom-5">当前店铺模板</h1>
                            <img class="jiantou" src="images/jiantou.gif" />
                            <p class="mbottom-5">上次发布时间:<span class="ftcolor-c"><?php 
            if (empty($_smarty_tpl->tpl_vars['userInfo']->value['LastPublishDate'])) {
                ?>
暂无发布记录<?php 
            } else {
                echo $_smarty_tpl->tpl_vars['userInfo']->value['LastPublishDate'];
            }
            ?>
</span></p>
                            <?php 
            if (!empty($_smarty_tpl->tpl_vars['myLastCaseID']->value)) {
                ?>
                            <p class="edit-tempalte">
                                <a href="/page/index/<?php 
                echo $_smarty_tpl->tpl_vars['myLastCaseID']->value;
                ?>
" class="ftcolor-f">编辑模板></a>
                                <span class="ftcolor-a ht-icons icons-info-14 edit-tempalte-tip">编辑模板前请勿在淘宝进行店铺装修操作</span>
                            </p>
                            <?php 
            }
            ?>
                        </div>
                    </div>
                </div>
                <div>
                    <div class="l home-index-box mtop-30">
                        <div class="home-index-box-1" style="width: 210px; height: 185px;">
                            <h1 class="font-size-18 mbottom-5">我拥有的模板</h1>
                            <p><a href="/user/show_my_templates" class="ftcolor-f">查看模板></a></p>
                            <a href="/user/show_my_templates" class="link-3"><?php 
            echo $_smarty_tpl->tpl_vars['userTemplateCount']->value;
            ?>
</a>
                        </div>
<!--                        <a class="ftcolor-a" href="#"><img src="images/new-1.gif">&nbsp;模板不合适?想要独一无二?赶紧来定制</a>-->
<!--                        <div class="home-index-box-1 mtop-20" style="width: 210px;">
                            <h1 class="font-size-18 mbottom-5">我设计的模板</h1>
                            <p><a href="/user/show_my_case" class="ftcolor-f">设计模板></a></p>
                            <a href="/user/show_my_case" class="link-2"><?php 
            echo $_smarty_tpl->tpl_vars['userCaseCount']->value;
            ?>
</a>
                        </div>-->
                    </div>
                </div>
            </div>
            <?php 
        }
        ?>
            <div class="mtop-15 clearfix" style="height: 80px;">
                <a href="/topic/vip/activity_vip.html" class="l" target="_blank"><img src="/images/tuiguang-1.jpg"></a>
                <a href="/topic/tuiguang/vip-tuiguang2.html" class="r" target="_blank"><img src="/images/tuiguang-2.jpg"></a>
            </div>
            <div class="box bgcolor-a mtop-15">
            <div class="shop-info">
              <h2>我的淘宝店铺</h2>
<!--              <a href="<?php 
        echo $_smarty_tpl->tpl_vars['shopInfo']->value['Url'];
        ?>
" class="my-shop" target="_blank">查看我的店铺></a>-->
              <a href="javascript:;" onclick="<?php 
        if (empty($_smarty_tpl->tpl_vars['userInfo']->value['WangWangID'])) {
            ?>
$.taobaoShopDialog()<?php 
        } else {
            ?>
$.sycnData()<?php 
        }
        ?>
" class="sycn-btn">同步店铺数据</a>
              <img src="images/tongbu.gif" class="sycn-icon" />
<!--              <a href="javascript:;" class="shop-reload" onclick="$.sycnData()" title="点击同步店铺数据"><img src="images/load-1.gif" /></a>-->
              <ul class="shop-info-list">
                <li>
                    淘宝帐号:<span class="ftcolor-c" style="width: auto !important; min-width: 100px;"><?php 
        echo $_smarty_tpl->tpl_vars['shopInfo']->value['OwnerName'];
        ?>
</span>
                  <span class="divider"></span>
                  旺铺版本:<span class="ftcolor-c" style="width: auto !important; min-width: 60px;"><?php 
        echo $_smarty_tpl->tpl_vars['shopInfo']->value['ShopVersion'];
        ?>
</span>
                  <span class="divider"></span>
                  信用等级:<?php 
        if (empty($_smarty_tpl->tpl_vars['shopInfo']->value['TrustLevel'])) {
            ?>
0<?php 
        } else {
            ?>
<img border="0" align="absmiddle" src="<?php 
            echo $_smarty_tpl->tpl_vars['shopInfo']->value['TrustLevel'];
            ?>
" class="rank"><?php 
        }
        ?>
                  <span class="divider"></span>
                  商品数量:<span class="ftcolor-a font-weight"><?php 
        echo $_smarty_tpl->tpl_vars['shopInfo']->value['ProductsCount'];
        ?>
</span><span class="ftcolor-c">/<?php 
        echo $_smarty_tpl->tpl_vars['auth']->value['max_sync_items'];
        ?>
</span>
                </li>
                <li>
                    同步次数:<span class="ftcolor-c" style="width: auto !important; min-width: 100px;"><?php 
        echo $_smarty_tpl->tpl_vars['auth']->value['sync_count'];
        ?>
/<?php 
        echo $_smarty_tpl->tpl_vars['auth']->value['max_sync_times'];
        ?>
</span>
                    <span class="divider"></span>
                数据同步时间:<span class="ftcolor-c"><?php 
        echo $_smarty_tpl->tpl_vars['userInfo']->value['LastSyncDate'];
        ?>
</span>
                </li>
              </ul>
            </div>        
          </div>
      </div>
    </div>
    
    <?php 
        echo insert_footer(array('file' => "common/footer.php"), $_smarty_tpl);
        ?>

    
    <script>
        function get_shop_count() {
            $.Ajax({
                url : $.hostUrl + '/module/get_shop_diagnosis_count',
                data : {type : 1},
                success : function(data) {
                    $('#shopcount').html(data.reportcount);
                }
            });
        }
        function tip() {
            $.alert({message: '同步功能暂时关闭', subMessage: '系统正在升级中,同步功能暂时关闭,老用户可正常发布'});
        }
        function init() {
            $("#home-user-sign").hover(
                function () {
                    $('#box-dialog').show();
                },
                function () {
                    $('#box-dialog').hide();
                }
            );
        }
        $(function(){
            $.homeMenu();
            $.checkSycnStatus();
            get_shop_count();
            init();
            $(".home-note").Scroll({line:1,speed:1000,timer:3000});
            <?php 
        if (empty($_smarty_tpl->tpl_vars['userInfo']->value['WangWangID'])) {
            ?>
            $.taobaoShopDialog();
            <?php 
        } elseif (empty($_smarty_tpl->tpl_vars['auth']->value['is_vip'])) {
            ?>
            $.tuiguangVipDialog();
            <?php 
        }
        ?>
        })
		//优惠活动倒计时
        $('#countDown').countDown({'showDay':0});
    </script>
</body>
</html><?php 
    }
Пример #5
0
$popular_articles = get_articles_basic($config['layout']['url_style'], '', 'view_count DESC', '5');
// feeds - this is slightly different - we'll write out the html and put it in a variable
$feeds_img = file_exists(WW_ROOT . '/ww_view/_img/feed-icon16x16.png') ? '<img src="' . WW_WEB_ROOT . '/ww_view/_img/feed-icon16x16.png" alt="RSS logo" width="16" height="16"/>' : '';
$feeds_list = '
		<ul>
			<li>
				<a href="' . WW_WEB_ROOT . '/rss/" rel="alternate" type="application/rss+xml">' . $feeds_img . 'Main feed</a>
			</li>
			<li>
				<a title="RSS feeds for ' . $config['site']['title'] . '" href="' . WW_WEB_ROOT . '/feeds/">Click here to view all available feeds</a>
			</li>
		</ul>';
// get content for menu aside
$aside_snippet['main_menu'] = '';
if ($config['layout']['main_menu'] == 'aside') {
    $aside_snippet['main_menu'] = insert_nav();
}
// now we start formatting the above data into snippet-style html using the build_snippet function
if (detect_smartphone() == true) {
    // if the user is using a mobile we'll only show the dropdown lists
    // first we define each snippet and store in a variable
    // here we build the actual html for each snippet
    $aside_snippet['search'] = build_snippet('Search', $search_form);
    $aside_snippet['categories_select'] = build_snippet('Categories', $categories_select_form);
    $aside_snippet['months_select'] = build_snippet('Months', $months_select_form);
    $aside_snippet['authors_select'] = build_snippet('Authors', $authors_select_form);
    $aside_snippet['tags_select'] = build_snippet('Tags', $tags_select_form);
    // then we insert each snippet variable into an array
    // upper/inner/outer/lower correlates to the divs within the aside section of the html page
    $aside_content['upper'] = array($aside_snippet['search']);
    $aside_content['inner'] = array($aside_snippet['categories_select'], $aside_snippet['months_select'], $aside_snippet['authors_select'], $aside_snippet['tags_select']);