<!--<?php
include_once PrintEot('m_header');
print <<<EOT
-->
<div class="cc"><div class="cc p10" style="height:310px;background:url(mode/o/images/o-banner.png) no-repeat;">
<div class="contentA f14">
	<div class="f14 b s5" style="margin:25px">
		<a href="$regurl" title="注册"><img src="mode/o/images/regnow.png" /></a>
		<br />
		和其他{$totalmember}位用户一起，<br />
		发现趣味，结交朋友！！<br />
<img src="mode/o/images/jump.jpg" style=" margin:15px 0 0 70px;" />
	</div>
	
</div>
<div id="sidebar" class="sidebarA fr" style="margin-top:25px;">
<div id="loginbox">
		<div class="p10 cc"><span class="fl f14">登录</span></div>
		<div style="padding:0 0 1em 1em" id="loginbar" class="cc">
			<form action="login.php" name="login_FORM" method="post">
				<input type="hidden" name="step" value="2" />
				<input type="hidden" name="cktime" value="31536000" />
				<input type="hidden" name="jumpurl" value="{$basename}" />
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td style="width:50px">
							<select name="lgt">
<!--
EOT;
$arr_logintypename = array('用户名','UID','Email');
if(count($arr_logintype)==1){
$value = current($arr_logintype);
print <<<EOT
-->
								<option value="$value" selected>$arr_logintypename[$value]</option>
<!--
EOT;
}elseif(count($arr_logintype)>1){
$i=1;
foreach($arr_logintype as $value){
$str_checked = $i==1? 'selected':'';
$i++;
print <<<EOT
-->
								<option value="$value" $str_checked>$arr_logintypename[$value]</option>
<!--
EOT;
}print <<<EOT
-->
							</select>
<!--
EOT;
}else{print <<<EOT
-->

							<input type="radio" name="lgt" value="$value" checked /><span id="login_$value">用户名</span>
<!--
EOT;
}print <<<EOT
-->
						</td>
						<td class="tal">
							<input class="input" style="width:140px" name="pwuser" tabindex="1" />
						</td>
					</tr>
					<tr>
						<td>
							密 码
						</td>
						<td>
							<input class="input" type="password" name="pwpwd" style="width:140px;" tabindex="2" />
						</td>
					</tr>
<!--
EOT;
if($db_gdcheck & 2){print <<<EOT
-->
							<tr>
								<td>认证码</td>
								<td>
									<input class="input" onfocus="showCK();" type="text" name="gdcode" size="5" tabindex="3"  />
									<img id="ckcode" style="cursor:pointer;display:none" onclick="this.src='ck.php?nowtime='+new Date().getTime();" alt="看不清楚，换一张" />
								</td>
							</tr>
<!--
EOT;
}if($db_ifsafecv){print <<<EOT
-->
							<tr>
								<td>安全问题</td>
								<td>
									<select name="question" onchange="showcustomquest(this.value)" tabindex="4">
										<option value="0">无安全问题</option>
										<option value="1">我爸爸的出生地</option>
										<option value="2">我妈妈的出生地</option>
										<option value="3">我的小学校名</option>
										<option value="4">我的中学校名</option>
										<option value="5">我最喜欢的运动</option>
										<option value="6">我最喜欢的歌曲</option>
										<option value="7">我最喜欢的电影</option>
										<option value="8">我最喜欢的颜色</option>
										<option value="-1">自定义问题</option>
									</select>
									<input id="customquest" style="display:none" name="customquest" class="input" size="10" tabindex="5" />
								</td>
							</tr>
							<tr>
								<td>您的答案</td>
								<td><input name="answer" class="input" style="width:140px;" tabindex="6" /></td>
							</tr>
<!--
EOT;
}if($qcheck){print <<<EOT
-->
							<tr>
								<td>验证问答</td>
								<td>问题：{$db_question[$qkey]}<br />
									<input class="input" name="qanswer" style="width:140px;" tabindex="7" /><br />&nbsp;正确答案：{$db_answer[$qkey]}
									<input type="hidden" name="qkey" value="$qkey" />
								</td>
							</tr>
<!--
EOT;
}print <<<EOT
-->
					<tr>
						<td>
						</td>
						<td>
							<input type="submit" value=" 登录 " class="btn" />&nbsp;<a href="sendpwd.php" style="margin:.5em 0 0 1em;">忘记密码</a>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
<script language="JavaScript">
function showcustomquest(qid){
	getObj('customquest').style.display = qid==-1 ? '' : 'none';
}
</script>
</div>
</div>
<div class="wrapB cc">
<div class="c"></div>
<div id="content" class="contentA">
	<div class="cc">
		<div class="contentA-left fl cc" style="width:300px;">
			<div class="cc">
				<div class="boxB">
<style>
.pwSlide {background:#fff;position:relative;width:100%; height:225px;margin:auto;overflow:hidden;text-align:left;}
.pwSlide a:hover{text-decoration:none;}
.pwSlide h4{background:#fff;position:absolute;z-index:3;bottom:-10px;display:block;width:245px;overflow:hidden;}
.pwSlide ul {z-index:2;position:absolute;right:5px;bottom:35px;}
.pwSlide ul li {float:left;width:18px;height:13px;line-height:15px;text-align:center;margin-left:1px;background: url($imgpath/focus1.gif) no-repeat;}
.pwSlide ul li a {display:block;width:18px;height:13px;font-size:10px;font-family:Tahoma;color:#FFFFFF;}
.pwSlide ul li a:hover, .pwSlide ul li a.sel {color:#fff;text-decoration:none;background: url($imgpath/focus2.gif) no-repeat;}
</style><div id="pwSlidePlayer" class="pwSlide cc" onmouseover="pwSlidePlayer('pause');" onmouseout="pwSlidePlayer('goon');">
					<pw id="o_index_flash" name="圈子首页flash" stamp="push" num="7"/>
					<loop>
<!--#$tmpCount++;#-->
					<div id="Switch_$key" style="display:none;">
						<a href="{url}"><img src="{image,298,200}" title="{title}" /></a>
            <h4 class="tac h4A f14"><a href="{url}">{title,35}</a></h4>
					</div>
					</loop>
<!--#
if(empty($tmpCount)){
$tmpCount = 1;
#-->
					<div id="Switch_0">
						<img src="$pwModeImg/flash-no.gif" style="width:100%;padding-top:20px;" />
					</div>
<!--#}#-->
					<ul id="SwitchNav"></ul>
				</div>
				<div class="c"></div>
				<script type="text/javascript" src="js/picplayer.js"></script>
				<script language="JavaScript">pwSlidePlayer('play',1,$tmpCount);</script>
			</div></div>
			<div class="cc bgA" style="padding-top:10px">
				<h3 class="h3A b">最新照片...</h3>
				<div class="c"></div>
				<div class="piclistA">
<!--#
foreach($smphoto as $value){
#-->
					<a href="{$basename}q=photos&a=view&pid=$value[pid]"><img src="$value[path]" width="75" height="75" /></a>
<!--#
}
#-->
				</div>
			</div>
		</div>
		<div class="contentA-right cc fr bgA" style="padding-top:10px;width:390px;">
			<h3 class="h3A b">新近热门的文章</h3>
			<div class="c">
			</div>
			<div class="u-postlist-s">
				<ul>
				<pw id="new_title_index" name="新近热门的文章" stamp="subject" num="15"/>
				<loop>
					<li>
						<span class="fl"><a href="{$basename}q=user&u={authorid}" class="black">{author}</a>
						&nbsp;<a href="{url}" class="blue">{title,30}</a></span>
						<span class="fr">{replies}个回复</span>
					</li>
				</loop>
				</ul>
			</div>
		</div>
		<div class="c"></div>
			<div style="margin:0 0 .8em; width:698px; float:left" class="bgA">
		<div class="cc"  style="padding-top:10px">
			<h3 class="h3A pdD b">{hot_user_index}</h3>
			<div class="p10 cc">
			<pw id="hot_user_index" name="活跃会员" stamp="user" num="6"/>
			<loop>
				<dl class="member100">
					<dd>
						<a href="{url}"><img src="{image}" class="portrait-m"/></a>
					</dd>
					<dt>
						<a href="{url}" class="u-name">{title}</a>
					</dt>
				</dl>
			</loop>
				
			</div>
		</div>
		<div class="c"></div>
	</div>
	<div class="c"></div>
		
	</div>
</div>
<div id="sidebar" class="sidebarA">
	<div class="bgA cc" style="padding-top:10px">
		<h3 class="h3A  b">{hot_forum_index}</h3>
		<div class="c">
		</div>
		<div class="listTable">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tbody id="info_forum_tpost">
				<pw stamp="forum" name="今日版块排行" id="hot_forum_index" />
				<loop>
					<tr>
						<td class="forum-name">
							<div>
								<a href="{url}">
									{title}
								</a>
							</div>
						</td>
						<td class="forum-count">
							{value}
						</td>
					</tr>
				</loop>
				</tbody>
			</table></div>
	</div>
	<div class="c"></div>
</div>
</div>
</div><div class="c"></div>
</div>
<!--
EOT;
?>-->
