<!--<?php
print <<<EOT
-->
<!--
EOT;
list($htmlAdvert,$arrayAdvert) = pwAdvert('Mode.Dianpu.Index.Header');
if($htmlAdvert){print <<<EOT
-->
	<div class="cc mb10">{$htmlAdvert}</div>
<!--
EOT;
}print <<<EOT
-->
<div class="cc"> 
		<div id="contentA" class="fl">
			<div class="cc mb10">
				<div id="sideBarB" class="fl">
					<div class="B_boxA">
						<div class="fr"><div class="B_ico ico_hot"></div></div>
						<h2 class="B_bg B_h2"><pw id="T8655dianpuindex" /></h2>
						<div class="B_listTabA">
<pw id="P9703dianpuindex" />
						</div>
						<div class="bgA">
<pw id="L8299dianpuindex" />
						</div>
					</div>
				</div>
				<div class="fr" id="contentB">
					<div class="B_flash pr mb10" style="height:206px;" id="pwSlidePlayerA">
<pw id="P1805dianpuindex" />
					</div>	
<script language="javascript" src="mode/dianpu/js/ddsliderplayer.js"></script>
<script>ddSliderPlayers('PP1_A','PP1_B',4,'current');</script>
					<div class="B_boxB bgC B_recommend">
						<h2><pw id="P2432dianpuindex" /></h2>
<pw id="I6764dianpuindex" />
					</div>
				</div>
			</div>
		</div>
		<div id="sideBarA" class="fr">
			<div class="B_ico B_notice mb10">
				<h2 class="b f14"><pw id="E8159dianpuindex" /></h2>
<pw id="店铺公告@dianpuindx" />
				<div class="tac">
				<a href="{$_viewer->baseUrl}&c=checkin" class="B_ico ico_Sopen fl">我要开店</a>
				<!--a href="#" class="B_ico ico_Sadmin fl">店铺管理</a-->
				<a href="{$_viewer->baseUrl}&c=imanage" class="B_ico fl" id="manageButton">店铺管理</a></div>
			</div>
<!--
EOT;
list($htmlAdvert,$arrayAdvert) = pwAdvert('Mode.Dianpu.Index.Right1');
if($htmlAdvert){print <<<EOT
-->
			<div class="mb10 cc S_bannerA">{$htmlAdvert}</div>
<!--
EOT;
}
list($htmlAdvert,$arrayAdvert) = pwAdvert('Mode.Dianpu.Index.Right2');
if($htmlAdvert){print <<<EOT
-->			
			<div class="mb10 cc S_bannerA">{$htmlAdvert}</div>
<!--
EOT;
}print <<<EOT
-->
		</div>
	</div>
	<div class="cc">
		<div id="contentA" class="fl">
			<div class="B_boxC mb10">
				<h2 class="B_bg B_h3"><pw id="Z2594dianpuindex" /></h2>
				<ul class="cc B_half">
					<li class="li">
						<dl class="B_dlA cc">
<pw id="V2130dianpuindex" />
						</dl>
						<div class="B_hrA">&nbsp;</div>
						<div class="B_listB" style="width:315px;">
<pw id="K1483dianpuindex" />
						</div>
					</li>
					<li class="li">
						<dl class="B_dlA cc">
<pw id="G3174dianpuindex" />
						</dl>
						<div class="B_hrA">&nbsp;</div>
						<div class="B_listB">
<pw id="W7946dianpuindex" />
						</div>
					</li>
				</ul>
			</div>
		</div>
		<div id="sideBarA" class="fr">
			<div class="B_boxB mb10">
				<h2 class="B_bg B_h5"><pw id="E8034dianpuindex" /></h2>
				<div class="B_listTabB">
<pw id="J9171dianpuindex" />
				</div>
			</div>
		</div>
	</div>
<!--
EOT;
list($htmlAdvert,$arrayAdvert) = pwAdvert('Mode.Dianpu.Index.Center1');
if($htmlAdvert){print <<<EOT
-->
	<div class="cc mb10">{$htmlAdvert}</div>
<!--
EOT;
}print <<<EOT
-->
	
	<div class="cc">
		<div id="contentA" class="fl">
			<div class="B_boxD mb10">
				<h2 class="B_bg B_h4"><pw id="W4530dianpuindex" /></h2>
	 <ul class="cc B_half">
<!--
EOT;
$index = 0;
foreach($_viewer->parents as $key => $value){
if($index != 0 && $index%2 == 0){
print <<<EOT
-->
</ul>
<div class="B_hrA">&nbsp;</div>
<ul class="cc B_half">
<!--
EOT;
}print <<<EOT
-->
		<li class="li">
			<dl class="cc B_dlB p10">
				<dt class="mb5"><a href="{$_viewer->baseName}&c=list&categoryid={$value[categoryid]}" class="f14 b s2">{$value[name]}</a></dt>
				<dd>
<!--
EOT;
if(!$_viewer->childs[$value[categoryid]]){
print <<<EOT
-->
					该行业暂无子分类
<!--
EOT;
}foreach($_viewer->childs[$value[categoryid]] as $k => $category){
print <<<EOT
-->
					<a href="{$_viewer->baseName}&c=list&categoryid={$category[categoryid]}">{$category[name]}</a>
<!--
EOT;
}print <<<EOT
-->				
			</dl>
		</li>
<!--
EOT;
$index++;
}print <<<EOT
-->
			</ul>
			</div>
		</div>
		<div id="sideBarA" class="fr">
			<div class="B_boxB mb10">
				<h2 class="B_bg B_h5"><pw id="I9939dianpuindex" /></h2>
					<div class="B_dlC">
<pw id="A9376dianpuindex" />
					</div>
				</div>
			</div>
	</div>
<!--
EOT;
?>-->