<?php echo '周末设计商业模板保护!请购买正版模板,http://www.haoweek.com/';exit;?>
<!--{subtemplate common/header}-->
<style type="text/css">
	.xl2 { background: url({IMGDIR}/vline.png) repeat-y 50% 0; }
		.xl2 li { width: 49.9%; }
			.xl2 li em { padding-right: 10px; }
				.xl2 .xl2_r em { padding-right: 0; }
			.xl2 .xl2_r i { padding-left: 10px; }
</style>
<div id="pt" class="bm cl">
  <div class="z">
		<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><!--{if helper_access::check_module('guide')}--><em>&raquo;</em><a href="forum.php?mod=guide&view=index">{lang guide}</a><!--{/if}-->$navigation
	</div>
	<!--{if $view != 'index'}-->
		<a href="forum.php?mod=misc&amp;action=nav" onclick="showWindow('nav', this.href, 'get', 0)" id="newspecial">{lang send_posts}</a>
	<!--{/if}-->
</div>
<div class="boardnav">
	<div id="ct" class="wp cl">
		<div class="mn">
			<!--{if $view != 'index'}-->
				<ul id="thread_types" class="ttp mtm bm cl">
					<!--{if helper_access::check_module('guide')}-->
					<li $currentview['index']><a href="forum.php?mod=guide&view=index">{lang guide_index}</a></li>
					<!--{/if}-->
					<li $currentview['hot']><a href="forum.php?mod=guide&view=hot">{lang guide_hot}</a></li>
					<li $currentview['digest']><a href="forum.php?mod=guide&view=digest">{lang guide_digest}</a></li>
					<li $currentview['new']><a href="forum.php?mod=guide&view=new">{lang guide_new}</a></li>
					<li $currentview['my']><a href="forum.php?mod=guide&view=my">{lang guide_my}</a></li>
					<!--{hook/guide_nav_extra}-->
				</ul>
			<!--{/if}-->
			<!--{hook/guide_top}-->
			<!--{if $view == 'index'}-->
				<!--{loop $data $key $list}-->
				<div class="bm bmw">
					<div class="bm_h">
						<a href="forum.php?mod=guide&view=$key" class="y xi2">{lang more} &raquo;</a>
						<h2>
							<!--{if $key == 'hot'}-->{lang guide_hot}<!--{elseif $key == 'digest'}-->{lang guide_digest}<!--{elseif $key == 'new'}-->{lang guide_new}<!--{elseif $key == 'my'}-->{lang guide_my}<!--{/if}-->
						</h2>
					</div>
					 <div class="bm_c">
					 	<div class="xl xl2 cl">
					 		<!--{if $list['threadcount']}-->
					 			<!--{eval $i=0;}-->
					 			<!--{loop $list['threadlist'] $thread}-->
					 			<!--{eval $i++;$newtd=$i%2;}-->
					 			<li{if !$newtd} class="xl2_r"{/if}>
						 			<em>
							 			<!--{if $key == 'hot'}--><span class="xi1">$thread['heats']{lang guide_attend}</span><!--{/if}-->
							 			<!--{if $key == 'new'}-->$thread['lastpost']<!--{/if}-->
						 			</em>
						 			
						 			<i>&middot; <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra"$thread[highlight] target="_blank">$thread[subject]</a></i>&nbsp;<span class="xg1"><a href="forum.php?mod=forumdisplay&fid=$thread[fid]" target="_blank">$list['forumnames'][$thread[fid]]['name']</a></span>
					 			</li>
					 			<!--{/loop}-->
					 		<!--{else}-->
					 				<p class="emp">{lang guide_nothreads}</p>
					 		<!--{/if}-->
					 	</div>
					</div>
				</div>
				<!--{/loop}-->
			<!--{else}-->
				<!--{loop $data $key $list}-->
				<div id="threadlist" class="tl bm bmw"{if $_G['uid']} style="position: relative;"{/if}>
					<div class="bm_c">
						<!--{if $view == 'my'}-->
							<div class="tbmu cl">
								<form method="get" action="forum.php" class="y">
									<input type="hidden" name="mod" value="guide">
									<input type="hidden" name="view" value="my">
									<input type="hidden" name="type" value="$viewtype">
									<!--{if $viewtype != 'postcomment'}-->
										<select name="filter" id="filter" class="ps vm">
											<option value="">{lang status}</option>
										<!--{loop $filter_array $fkey $name}-->
											<option value="$fkey" {if $fkey == $_GET[filter]}selected{/if}>$name</option>
										<!--{/loop}-->
										</select>&nbsp; 
										<select name="fid" id="forumlist" class="ps vm">
										<option value="0">{lang guide_forum_select}</option>
											$forumlist
										</select>
									<!--{/if}-->
									<!--{if $viewtype == 'thread'}-->
									&nbsp; <input type="text" name="searchkey" id="searchmypost" class="px vm" size="20" value="$searchkey" placeholder="{lang keyword}" />
									<!--{/if}-->
									<!--{if $viewtype != 'postcomment'}-->
									&nbsp; <button class="pn vm"><em>{lang search}</em></button>
									<!--{/if}-->
									&nbsp; <a id="filter_special" href="javascript:;" class="showmenu xi2" onclick="showMenu(this.id)">{lang posts_type}</a>
								</form>
								<a href="forum.php?mod=guide&view=my&type=thread" {if $viewtype == 'thread'} class="a"{/if}>{lang forum_threads}</a>
								<span class="pipe">|</span>
								<a href="forum.php?mod=guide&view=my&type=reply" {if $viewtype == 'reply'} class="a"{/if}>{lang reply}</a>
								<span class="pipe">|</span>
								<a href="forum.php?mod=guide&view=my&type=postcomment" {if $viewtype == 'postcomment'} class="a"{/if}>{lang comments}</a>
							</div>
						<!--{/if}-->
						<div id="forumnew" style="display:none"></div>
						<table cellspacing="0" cellpadding="0">
						<!--{subtemplate forum/guide_list_row}-->
						</table>
					</div>
				</div>
				<div class="bm mtm bw0 pgs cl">$multipage</div>
				<!--{/loop}-->
			<!--{/if}-->
			<!--{hook/guide_bottom}-->
		</div>
	</div>
</div>
<!--{if $view == 'my' && !IS_ROBOT}-->
	<div id="filter_special_menu" class="p_pop" style="display:none">
		<ul>
			<li><a href="home.php?mod=space&do=poll&view=me" target="_blank">{lang thread_poll}</a></li>
			<li><a href="home.php?mod=space&do=trade&view=me" target="_blank">{lang thread_trade}</a></li>
			<li><a href="home.php?mod=space&do=reward&view=me" target="_blank">{lang thread_reward}</a></li>
			<li><a href="home.php?mod=space&do=activity&view=me" target="_blank">{lang thread_activity}</a></li>
		</ul>
	</div>
<!--{/if}-->
<!--{subtemplate common/footer}-->