<?php include $this->_include('top.html'); ?>
	
	<!-- banner开始 -->
	<div class="header">
		<div class="module-default">
			<div class="module-inner">
				<div class="module-content">
					<div class="slideshow slideshow-min carousel clearfix" style="height:350px; overflow:hidden;">
						<div id="carousel-180982">
							<div class="carousel-item">
								<div class="carousel-img">
									<img src="<?php $this->block(4);?>" />
								</div>
							</div>
						</div>
						<div class="carousel-btn carousel-btn-fixed" id="carousel-page-180982">
						</div>
					</div>
					<script type="text/javascript">
			$(window).bind("load resize",function(){
			$("#carousel-180982").carouFredSel({
			width       : '100%',
			items  : { visible : 1 },
			auto     : { pauseOnHover: true, timeoutDuration:5000 },
			swipe     : { onTouch:true, onMouse:true },
			pagination  : "#carousel-page-180982",
			scroll   : { fx : "crossfade" }
			}); 
			});
			</script>
				</div>
			</div>
		</div>
	</div>
	<!-- banner结束 --> 
	<!--内容开始-->
	<section class="main main-sidebar">
		<div class="page-width clearfix">
			<section class="content float-right">
				<div class="content-wrapper">
					<div class="module-default">
						<div class="module-inner">
							<div class="module-content">
								<div class="article-detail">
									<div class="article-title">
										<h1><?php echo $title; ?></h1>
									</div>
									<div class="entry-meta">
										<span><strong>日期：</strong><?php echo date("Y-m-d", $time); ?></span> <span>作者：<a href=http://www.wysha.cn>天然自制狗粮</a>专家微莎狗狗工作室</span><span><strong>浏览：</strong><font class="countnum"><script src="/index.php?c=api&a=hits&id=<?php echo $id; ?>"></script></font></span>
									</div>
									<div class="article-content-wrapper">
										<div class="article-content">
											<div class="qhd-content">
												  <?php echo $content; ?>
											</div>
										</div>
										<div class="detail-bottom">
											<?php if ($prev_page) { ?> <div class="float-left">
												<a href="<?php echo $prev_page['url']; ?>">上一篇：<?php echo $prev_page['title']; ?></a>										</div><?php }  if ($next_page) { ?> <div class="float-right">
												<a href="<?php echo $next_page['url']; ?>">下一篇：<?php echo $next_page['title']; ?></a>											</div><?php } ?>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</section>
			<section class="sidebar float-left">
				<section class="page-menu" skinobjectzone="menu_4103">
					<div class="page-menu-title">
						<h3>狗狗百科</h3>
					</div>
					<div class="page-menu-content">
						<ul>
											<?php $return = $this->_category("num=10 parentid=5");  if (is_array($return))  foreach ($return as $key=>$c9) { $allchildids = @explode(',', $c9['allchildids']);    $current = in_array($catid, $allchildids);?>
																					<li class="<?php if ($current) { ?>current<?php } ?>"><a title="<?php echo $c9['catname']; ?>" href="<?php echo $c9['url']; ?>"><?php echo $c9['catname']; ?></a></li>
																			<?php } ?>		</ul>
					</div>
				</section>
				<div class="clear">
				</div>
				<div class="sidebar-content">
	<div class="module">
		<div class="module-inner">
			<div class="module-title module-title-default clearfix">
				<div class="page-menu-title">
					<h3>联系我们</h3>
				</div>
			</div>
			<div class="module-content">
				<div class="qhd-content">
					<p> <?php echo $site_company; ?><br />
					    电话：<?php echo $site_call; ?><br />
						手机：<?php echo $site_tel; ?><br />
						QQ：<a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $site_qq; ?>&site=mobanvip&menu=yes" target="_blank"><?php echo $site_qq; ?></a><br />
						联系人：<?php echo $site_lxr; ?><br />
						地址：<?php echo $site_addr; ?> </p>
				</div>
			</div>
		</div>
	</div>
</div> </section>
		</div>
	</section>
	<!--内容结束--> 
	<?php include $this->_include('bot.html'); ?>