<?php /* Smarty version Smarty-3.1.10, created on 2016-02-02 16:29:58
         compiled from "D:\wwwroot\71dir\wwwroot\viphong\mobile\index.html" */ ?>
<?php /*%%SmartyHeaderCode:3148556acb5708ff411-61593754%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2d77d8356f82e2699db138fa073ed111e86fc873' => 
    array (
      0 => 'D:\\wwwroot\\71dir\\wwwroot\\viphong\\mobile\\index.html',
      1 => 1454401796,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3148556acb5708ff411-61593754',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_56acb570d5ccb7_25319988',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'site_name' => 0,
    'keyword' => 0,
    'best' => 0,
    'quick' => 0,
    'site_root' => 0,
    'instat' => 1,
    'outstat' => 0,
    'art' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56acb570d5ccb7_25319988')) {function content_56acb570d5ccb7_25319988($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include 'D:\\wwwroot\\71dir\\wwwroot\\source\\extend\\smarty\\plugins\\modifier.truncate.php';
?><?php echo '<?xml';?> version="1.0" encoding="utf-8"<?php echo '?>';?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/>
<title><?php echo $_smarty_tpl->tpl_vars['site_title']->value;?>
</title>
<meta name="Keywords" content="<?php echo $_smarty_tpl->tpl_vars['site_keywords']->value;?>
" />
<meta name="Description" content="<?php echo $_smarty_tpl->tpl_vars['site_description']->value;?>
" />
<meta name="Copyright" content="Powered By puss7.com" />
<style type="text/css">
body,html{ margin:0px;}
a{ color:#de1f2c}
.head{background-color: #de1f2c;
background-image: none;
height: 40px;
line-height:40px;
color: #FFFFFF;}
.head .left{ float:left; width:25%; height:40px;}
.head .title{ float:left; width:50%; text-align:center;}
.head .right{float:right; width:25%; text-align:right; height:40px;}
.clear{ clear:both; margin:0px;}
.search{ width:95%; height:50px; margin-top:10px; margin-left:5%;}

.search_1{height:40px;}

.search_1 .k{ width:70%; height:34px; line-height:34px; outline: none; float:left;}

.search_1 .sou{ width:20%; height:40px; background:#de1f2c; color:#FFFFFF; font-size:18px; font-family:微锟斤拷锟脚猴拷; border:0px; float:left;}

.search_1 .sou:hover{ background:#2b9be1;}
.main{ padding:5px;}
.dhh{ width:100%; background:#eee; overflow:hidden; margin-bottom:5px;}
.dhh .ml{ width:25%; float:left; text-align:center; height:40px; line-height:40px;}
.dhh .ml a{ color:#333333;}

.content{ width:100%; overflow:hidden; border:#dcdcdc 1px solid;}

.content_title{ width:95%; height:40px; border-bottom:#dcdcdc 1px dashed; line-height:40px; padding-left:5%;}

.content_picture{ width:50%; overflow:hidden;  float:left; margin-top:5px;}

.content_picture .top{ width:90%; overflow:hidden; border:#dcdcdc 1px solid; margin-left:5%; margin-right:5%; }

.content_picture .top img{ width:100%;}

.content_picture .t{ width:100%; height:28px; line-height:28px; float:left; text-align:center; font-size:12px; margin-top:2px; overflow:hidden;}

.main .box{width:100%; overflow:hidden; margin-top:10px; border:#dcdcdc 1px solid; padding-bottom:5px;}
.main .box .title{ width:95%; height:40px; border-bottom:#dcdcdc 1px dashed; line-height:40px; padding-left:5%;}
.main .box .title .left{ float:left; width:60%;}
.main .box .title .right{ float:right; width:35%; text-align:right; margin-right:5%;}
.main .box .nav{ width:100%; overflow:hidden;}
.main .box .nav li{ float:left; width:50%;list-style-type: none;}
.main .box .nav li .duan{ width:75%; float:left; overflow:hidden; height:30px; line-height:30px; margin-left:5%; font-size:12px;}
.main .box .nav li img{ width:20%; float:left; vertical-align: middle;}
.main .box .nav ul{    -webkit-padding-start: 0px; list-style-type:}
.main .box .nav li .mulu{ width:95%; float:left; overflow:hidden; height:30px; line-height:30px; margin-left:5%; font-size:12px;}
.mfoot {
    text-align: center;
    color: #b5b5b5;
    line-height: 22px;
    padding-top: 5px;
    font-size: 12px;
	clear: both;
    
}
.mfoot span {
    display: inline-block;
    margin: 0 9px;
    color: #b5b5b5;
}
.mfoot a {
    color: #444;
}
.mfoot p {
    padding: 3px 0 5px;
}
</style>
</head>
<body >
<header class="head">
<div class="left">
</div>
<div class="title"><?php echo $_smarty_tpl->tpl_vars['site_name']->value;?>
</div>
<div class="right"></div>
</header>
  <div class="dhh">
    <div class="ml"><a href="?mod=webdir">网站目录</a></div>
	<div class="ml"><a href="?mod=article">站长资讯</a></div>
	<div class="ml"><a href="?mod=weblink">链接交换</a></div>
	<div class="ml"><a href="?mod=category">分类浏览</a></div>
	<div class="ml"><a href="?mod=update">最新收录</a></div>
	<div class="ml"><a href="?mod=archives">数据归档</a></div>
	<div class="ml"><a href="?mod=top">TOP排行榜</a></div>
	<div class="ml"><?php echo get_adcode(53);?>
</div>
	
  </div>
<div class="search">
    <div class="search_1">
 <form name="sofrm" class="sofrm" method="get" action="" onSubmit="return rewrite_search()">

            	<input name="mod" type="hidden" id="mod" value="search" />

                <input name="type" type="hidden" id="type" value="name" />
 
		<input name="query" type="text" class="k" id="query" onFocus="this.value='<?php echo $_smarty_tpl->tpl_vars['keyword']->value;?>
';" placeholder="请输入网站名称的关键词" />


	  <input type="submit" class="sou" value="搜索" />

    
    </form>
	</div>
	</div>
<div class="main">

  
<div class="content">
  <div class="content_title">
    <strong>网站推荐</strong>
  </div>
 
   <?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,6,false,true); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['best']->key => $_smarty_tpl->tpl_vars['best']->value){
$_smarty_tpl->tpl_vars['best']->_loop = true;
?>

           
		   
   <div class="content_picture">
    <div class="top">
	<a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_pic'];?>
" width="164px" height="104px" /></a>
	</div>
	<div class="t">
	<a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
</a>
	</div>
  </div>
               		<?php } ?>
	   
  
</div>

<div class="box">
	  <div class="title">
	    <div class="left">
		<b>最新快审</b>
		</div>
		<div class="right">
		<a href="?mod=webdir" target="_blank">更多</a>
		</div>
	  </div>
	  <div class="nav">
	  <ul>
	  <?php  $_smarty_tpl->tpl_vars['quick'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['quick']->_loop = false;
 $_from = get_websites(0,20,true); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['quick']->key => $_smarty_tpl->tpl_vars['quick']->value){
$_smarty_tpl->tpl_vars['quick']->_loop = true;
?>
	      <li><div  class="duan"><a href="<?php echo $_smarty_tpl->tpl_vars['quick']->value['web_link'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['quick']->value['web_name'];?>
</a></div><img src="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
viphong/default/images/audit.gif" /></li>
		<?php } ?>
	 
	  </ul>	 
	  </div>
</div>
<div class="box">
	  <div class="title">
	    <div class="left">
		<b>最新点入网站</b>
		</div>
		<div class="right">
		<a href="?mod=webdir" target="_blank">更多</a>
		</div>
	  </div>
	  <div class="nav">
	  <ul>
	  

          	<?php  $_smarty_tpl->tpl_vars['instat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['instat']->_loop = false;
 $_from = get_websites(0,20,false,false,'instat'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['instat']->key => $_smarty_tpl->tpl_vars['instat']->value){
$_smarty_tpl->tpl_vars['instat']->_loop = true;
?>

			

		      <li> <div class="mulu"><a href="<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_name'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['instat']->value['web_name'];?>
</a></div></li>

            <?php } ?>

            
	 
	  </ul>	 
	  </div>
</div>
<div class="box">
	  <div class="title">
	    <div class="left">
		<b>出站排行榜</b>
		</div>
		<div class="right">
		<a href="?mod=webdir" target="_blank">更多</a>
		</div>
	  </div>
	  <div class="nav">
	  <ul>
	  <?php  $_smarty_tpl->tpl_vars['outstat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['outstat']->_loop = false;
 $_from = get_websites(0,20,false,false,'outstat'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['outstat_website']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['outstat']->key => $_smarty_tpl->tpl_vars['outstat']->value){
$_smarty_tpl->tpl_vars['outstat']->_loop = true;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['outstat_website']['iteration']++;
?>

                   	<li><div class="mulu"><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['outstat_website']['iteration'];?>
.</span><a href="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_name'];?>
</a></div></li>

                   	<?php } ?>
	 
	  </ul>	 
	  </div>
</div>
<div class="box">
	  <div class="title">
	    <div class="left">
		<b>站长资讯</b>
		</div>
		<div class="right">
		<a href="?mod=article" target="_blank">更多</a>
		</div>
	  </div>
	  <div class="nav">
	  <ul>
	  <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_articles(0,20,false); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['art']->key => $_smarty_tpl->tpl_vars['art']->value){
$_smarty_tpl->tpl_vars['art']->_loop = true;
?>

         <li><div class="mulu"><a href="<?php echo $_smarty_tpl->tpl_vars['art']->value['art_link'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['art_title'],"15");?>
 </a></div></li>

         <?php } ?>
	  
	 
	  </ul>	 
	  </div>
</div>

</div>

  
<div class="mfoot">移动版<span>|</span><a href="/">电脑版</a><p> <?php echo get_adcode(35);?>
 </p></div>

</body>
</html>
<?php }} ?>