<!--<?php
require($this->getSegmentFile('manage.nav'));
print <<<EOT
-->
<div id="contentC" class="fl">
<div class="p15">
				<div class="nav3 mb10">
					<ul class="cc">
						<li><a href="{$_viewer->baseUrl}&dianpuid={$_viewer->dianpuid}">基本信息</a></li>
						<li><a href="{$_viewer->baseUrl}&a=map&dianpuid={$_viewer->dianpuid}">地理位置</a></li>
						<li class="current"><a href="{$_viewer->baseUrl}&a=style&dianpuid={$_viewer->dianpuid}">风格设置</a></li>
					</ul>
				</div>
				<h2 class="h1">风格选择</h2>
<!--
EOT;
if(!$_viewer->styles){
print <<<EOT
-->
				暂时没有任何可用风格
<!--
EOT;
} else {
print <<<EOT
-->
<form action="{$_viewer->baseUrl}&a=styleedit" method="post" name="FORM">
<input type="hidden" value="{$_viewer->dianpuinfo->dianpuid}" name="dianpuid"/>
				<ul class="Bus_skinclist cc p5">
<!--
EOT;
$_viewer->dianpuinfo->tempstyle = $_viewer->dianpuinfo->tempstyle ? $_viewer->dianpuinfo->tempstyle : $_viewer->defaultstyle;
foreach($_viewer->styles as $key => $value){
$_checked = $value['checked'] ? 'checked="checked"' : '';
print <<<EOT
-->
					<li>
						<img src="{$value[preview]}" class="B_img" onclick="clickStyle('{$key}',this)"/>
						<p><label><input name="style" type="radio" value="{$key}" {$_checked}>{$value[title]}</label></p>
					</li>
<!--
EOT;
}print <<<EOT
-->
				</ul>
				<div class="p10 tac"><span class="btn"><span><button type="submit">提 交</button></span></span></div>
</form>
<!--
EOT;
}print <<<EOT
-->
</div>
</div>
</div>
</div>
<!--
EOT;
?>