<?php /* Smarty version Smarty-3.1.10, created on 2016-02-04 15:18:07
         compiled from "D:\wwwroot\test60\wwwroot\themes\default\weblink.html" */ ?>
<?php /*%%SmartyHeaderCode:420956b2fb2f826572-26248411%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f57a7a56b5ea0cb5020426126038ca849e797d32' => 
    array (
      0 => 'D:\\wwwroot\\test60\\wwwroot\\themes\\default\\weblink.html',
      1 => 1441717792,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '420956b2fb2f826572-26248411',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'site_root' => 0,
    'pagename' => 0,
    'weblinks' => 0,
    'item' => 0,
    'showpage' => 0,
    'art' => 0,
    'best' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_56b2fb2fa6b876_47914344',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56b2fb2fa6b876_47914344')) {function content_56b2fb2fa6b876_47914344($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include 'D:\\wwwroot\\test60\\wwwroot\\source\\extend\\smarty\\plugins\\modifier.truncate.php';
?><!DOCTYPE HTML>
<html>
<head>
<title><?php echo $_smarty_tpl->tpl_vars['site_title']->value;?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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 yzdir.com" />
<link href="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
themes/default/skin/style.css" rel="stylesheet" type="text/css" />
<?php echo $_smarty_tpl->getSubTemplate ("script.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</head>

<body>
<?php echo $_smarty_tpl->getSubTemplate ("topbar.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div id="wrapper">
	<?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

    <div id="mainbox" class="clearfix">
    	<div id="mainbox-left">
            <div id="listbox" class="clearfix">
            	<h2><?php echo $_smarty_tpl->tpl_vars['pagename']->value;?>
</h2>
            	<table border="0" cellpadding="0" cellspacing="1" width="100%" class="weblink">
                	<tr>
                    	<th>交易方式</th>
                    	<th>网站名称</th>
                        <th>网站域名</th>
                        <th>所属分类</th>
                        <th>谷歌PR</th>
                        <th>百度权重</th>
                        <th>Alexa排名</th>
                        <th>更新时间</th>
                        <th>联系站长</th>
                    </tr>
                    <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['weblinks']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
                    <tr style="text-align: center;">
                    	<td><?php echo $_smarty_tpl->tpl_vars['item']->value['deal_type'];?>
</td>
                    	<td><a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['web_link'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['link_name'];?>
</a></td>
                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['web_url'];?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['cate_name'];?>
</td>
                        <td><img src="/public/images/gpr/<?php echo $_smarty_tpl->tpl_vars['item']->value['web_grank'];?>
.gif"></td>
                        <td><img src="/public/images/bpr/<?php echo $_smarty_tpl->tpl_vars['item']->value['web_brank'];?>
.gif"></td>
                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['web_arank'];?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['link_time'];?>
</td>
                        <td><a href="tencent://message/?uin=<?php echo $_smarty_tpl->tpl_vars['item']->value['user_qq'];?>
&site=<?php echo $_smarty_tpl->tpl_vars['item']->value['web_url'];?>
&menu=yes"><img src="http://wpa.qq.com/pa?p=1:<?php echo $_smarty_tpl->tpl_vars['item']->value['user_qq'];?>
:4" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['user_qq'];?>
"/></a></td>
                    </tr>
                    <?php } ?>
                </table>
                <div class="showpage"><?php echo $_smarty_tpl->tpl_vars['showpage']->value;?>
</div>
            </div>
        </div>
        <div id="mainbox-right">
        	 <div class="inad4">
       <?php echo get_adcode(32);?>

       </div> 
            <div id="bestart">
            	<h3>推荐资讯</h3>
                <ul class="artlist_b">
                	<?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_articles(0,10); 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><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'],"19");?>
</a></li>
                    <?php } ?>
                </ul>
            </div>
            <div class="blank10"></div>
            <div id="bestweb" class="mag">
            	<h3>推荐站点</h3>
                <ul class="weblist_b">
                   	<?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,5,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;
?>
                   	<li><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_pic'];?>
" width="100" height="80" alt="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
" /></a><strong><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
</a></strong><p><?php echo $_smarty_tpl->tpl_vars['best']->value['web_intro'];?>
</p><address><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_furl'];?>
" target="_blank" class="visit" onClick="clickout(<?php echo $_smarty_tpl->tpl_vars['best']->value['web_id'];?>
)"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_url'];?>
</a></address></li>
                   	<?php } ?>
               	</ul>
            </div>
        </div>
    </div>
    <?php echo $_smarty_tpl->getSubTemplate ("footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

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