<?php /* Smarty version Smarty-3.0.6, created on 2012-03-20 20:42:14
         compiled from "C:\wamp\www\yun3/tpl\require_sider.html" */ ?>
<?php /*%%SmartyHeaderCode:307584f687b26c76cb8-65123312%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c6ef86917b5e112108ce159ad331db7c8ed06bf7' => 
    array (
      0 => 'C:\\wamp\\www\\yun3/tpl\\require_sider.html',
      1 => 1332079359,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '307584f687b26c76cb8-65123312',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_function_cycle')) include 'C:\wamp\www\yun3\init\Drivers\Smarty\plugins\function.cycle.php';
?><!--右侧菜单组件-->
<?php if ($_SESSION['uid']!=''){?>

  <?php if (!$_smarty_tpl->getVariable('in_tagindex')->value){?>

  <div id="search"><input type="text" value="搜索标签,发现兴趣" class="ipt"><input type="button" class="btn" value="" onClick="searchTag()"></div>
  <div class="hr"></div>
  
  <div id="sidetop">
	<div class="myfollow"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main'),$_smarty_tpl);?>
">我关注<?php echo $_smarty_tpl->getVariable('user')->value['flow'];?>
个博客</a></div>
	<div class="showfollow"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'user','a'=>'myfollow'),$_smarty_tpl);?>
">管理我的关注</a></div>
   </div>

    <div id="dasbard">
        <div class="item"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'user','a'=>'mylikes'),$_smarty_tpl);?>
">我的最爱</a><span><?php echo $_smarty_tpl->getVariable('user')->value['likenum'];?>
</span></div>
        <div class="item"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'user','a'=>'mypost'),$_smarty_tpl);?>
">我发布的</a><span><?php echo $_smarty_tpl->getVariable('user')->value['num'];?>
</span></div>
         <div class="item"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'user','a'=>'myreplay'),$_smarty_tpl);?>
">我回复的</a></div>
    </div>
      <div class="hr"></div>
  <?php }?>


    <?php if ($_smarty_tpl->getVariable('in_tagindex')->value){?>

         <?php if ($_smarty_tpl->getVariable('favatag')->value){?>
             <div id="menu">
             <li class="end"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'index'),$_smarty_tpl);?>
" title="返回首页">返回首页</a></li>
             <?php  $_smarty_tpl->tpl_vars['d'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('favatag')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['d']->key => $_smarty_tpl->tpl_vars['d']->value){
?>
             	<?php if ($_smarty_tpl->tpl_vars['d']->value['tag']['title']==$_smarty_tpl->getVariable('tagname')->value){?>
                 <li class="current"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'blog','a'=>'tag','tag'=>$_smarty_tpl->tpl_vars['d']->value['tag']['title']),$_smarty_tpl);?>
" title="最近更新<?php echo dtktime(array('time'=>$_smarty_tpl->tpl_vars['d']->value['tag']['updates']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['d']->value['tag']['title'];?>
</a><span><?php if ($_smarty_tpl->tpl_vars['d']->value['tag']['num']){?>(<?php echo $_smarty_tpl->tpl_vars['d']->value['tag']['num'];?>
)<?php }?></span></li>
                <?php }else{ ?>
                <li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'blog','a'=>'tag','tag'=>$_smarty_tpl->tpl_vars['d']->value['tag']['title']),$_smarty_tpl);?>
" title="最近更新<?php echo dtktime(array('time'=>$_smarty_tpl->tpl_vars['d']->value['tag']['updates']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['d']->value['tag']['title'];?>
</a><span><?php if ($_smarty_tpl->tpl_vars['d']->value['tag']['num']){?>(<?php echo $_smarty_tpl->tpl_vars['d']->value['tag']['num'];?>
)<?php }?></span></li>
                <?php }?>

            <?php }} ?>
              <div class="clear"></div>
            </div>
            <?php }else{ ?>
             <div id="menu">
              <li class="end"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'recommend'),$_smarty_tpl);?>
">没有关注标签,发现一下吧</a></li>
              <div class="clear"></div>
            </div>
         <?php }?>
    <?php }else{ ?>
    	<?php if ($_smarty_tpl->getVariable('favatag')->value){?>
             <div id="menu">
             <?php  $_smarty_tpl->tpl_vars['d'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('favatag')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['d']->key => $_smarty_tpl->tpl_vars['d']->value){
?>
              <li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'blog','a'=>'tag','tag'=>$_smarty_tpl->tpl_vars['d']->value['tag']['title']),$_smarty_tpl);?>
" title="最近更新<?php echo dtktime(array('time'=>$_smarty_tpl->tpl_vars['d']->value['tag']['updates']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['d']->value['tag']['title'];?>
</a> <span><?php if ($_smarty_tpl->tpl_vars['d']->value['tag']['num']){?>(<?php echo $_smarty_tpl->tpl_vars['d']->value['tag']['num'];?>
)<?php }?></span></li>
            <?php }} ?>
             <li class="end"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'blog','a'=>'tag'),$_smarty_tpl);?>
">查看更多标签</a></li>
              <div class="clear"></div>
            </div>
            <?php }else{ ?>
             <div id="menu">
              <li class="end"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'recommend'),$_smarty_tpl);?>
">没有关注标签,发现一下吧</a></li>
              <div class="clear"></div>
			  <script type="text/javascript">//<![CDATA[
			  Calendar.setup({
				inputField : "f_date1",
				trigger    : "f_btn1",
				onSelect   : function() { this.hide() },
				showTime   : 12,
				dateFormat : "%Y-%m-%d %I:%M %p"
			  });
			//]]></script>
            </div>
        <?php }?>
    <?php }?>

	<div class="clear"></div>
 <?php }?>
	<div class="hr"></div>
	<!-- 放置新浪微博状态 -->
	<!--<iframe width="100%" height="24" frameborder="0" allowtransparency="true" marginwidth="0" marginheight="0" scrolling="no" border="0" src="http://widget.weibo.com/relationship/followbutton.php?language=zh_cn&width=100%&height=24&uid=1570967302&style=3&btn=red&dpc=1"></iframe>-->
	<iframe width="100%" height="550" class="share_self"  frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=0&height=550&fansRow=2&ptype=1&speed=0&skin=10&isTitle=1&noborder=1&isWeibo=1&isFans=1&uid=1570967302&verifier=b3700b1c&dpc=1"></iframe>
	<a href="http://mobile.91.com/Soft/Android/com.ditieker.dtk-1.6.html"><img src="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/tpl/image/pboard.png" alt="猫扑狂搞笑下载地址"/></a>
	<!--放置热门杂志-->
	<div id="hotmagtitle">热门杂志</div>
	<div id="hotmagcontent">
		<?php  $_smarty_tpl->tpl_vars['d'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars["j"] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('HotBoards')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['d']->key => $_smarty_tpl->tpl_vars['d']->value){
 $_smarty_tpl->tpl_vars["j"]->value = $_smarty_tpl->tpl_vars['d']->key;
?>
			<div class="hotwords"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'magazine','boid'=>$_smarty_tpl->getVariable('HotBoards')->value[$_smarty_tpl->getVariable('j')->value]['boid']),$_smarty_tpl);?>
" target="_blank"><?php echo $_smarty_tpl->getVariable('j')->value+1;?>
.<?php echo $_smarty_tpl->tpl_vars['d']->value['boardname'];?>
&nbsp&nbsp(<?php echo $_smarty_tpl->getVariable('HotBoards')->value[$_smarty_tpl->getVariable('j')->value]['coins'];?>
热度)</a></div>
		<?php }} ?>
		<div class="more_hotmags"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'magazine','a'=>'all'),$_smarty_tpl);?>
" target="_blank">更多</a></div>
	</div>
	<div id="tagcloudtitle">热门标签</div>
	<div id="tagcloudcontent">
		<?php  $_smarty_tpl->tpl_vars['d'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('htag')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['d']->key => $_smarty_tpl->tpl_vars['d']->value){
?>
		<tr class="tag-row <?php echo smarty_function_cycle(array('values'=>"odd,add"),$_smarty_tpl);?>
">
			<td class="tag"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'blog','a'=>'tag','tag'=>$_smarty_tpl->tpl_vars['d']->value['title']),$_smarty_tpl);?>
" target="_blank" style="<?php echo tagcloud(array(),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['d']->value['title'];?>
</a></td>
			</td>
		</tr>
      <?php }} ?>
	</div>
	<div id="coderssbar">
		<hr>
		<div class="2vcode">
			手机上 ditieker.com</p>
			<img src="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/tpl/image/2code.jpg"></p>
			↑手机拍二维码，或直接用手机进入ditieker.com，存书签，随时随地地铁客～
		</div>
		<hr>
		订阅是个好习惯</p>
		<!-- Feedsky FEED发布代码开始 -->
		<!-- FEED自动发现标记开始 -->
		<link title="RSS 2.0" type="application/rss+xml" href="http://feed.feedsky.com/b469" rel="alternate" />
		<!-- FEED自动发现标记结束 -->
		<a href="http://feed.feedsky.com/b469" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_sub_c1s17.gif" alt="feedsky" vspace="2"  style="margin-bottom:3px" ></a><br />
		<a href="http://www.zhuaxia.com/add_channel.php?url=http://feed.feedsky.com/b469" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_zhuaxia.gif" alt="&#25235;&#34430;" vspace="2" style="margin-bottom:3px" ></a><br />
		<a href="http://www.rojo.com/add-subscription?resource=http://feed.feedsky.com/b469" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_rojo.gif" alt="Rojo" vspace="2" style="margin-bottom:3px" ></a><br />
		<a href="http://fusion.google.com/add?feedurl=http://feed.feedsky.com/b469" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_google.gif" alt="google reader" vspace="2" style="margin-bottom:3px" ></a><br />
		<a href="http://add.my.yahoo.com/rss?url=http://feed.feedsky.com/b469" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_yahoo.gif" alt="my yahoo" vspace="2" style="margin-bottom:3px" ></a><br />
		<a href="http://www.xianguo.com/subscribe.php?url=http://feed.feedsky.com/b469" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_xianguo.gif" alt="&#40092;&#26524;" vspace="2" style="margin-bottom:3px" ></a><br />
		<a href="http://inezha.com/add?url=http://feed.feedsky.com/b469" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_nazha.gif" alt="&#21738;&#21522;" vspace="2" style="margin-bottom:3px" ></a><br />
		<!-- Feedsky FEED发布代码结束 -->
	</div>






