{if($get_act=="new1")}
	{if($obj_ctl_user->is_login())}
		{if($obj_ctl_user->type=="company")}
			document.write("<div class='y_logined'>{$this_user_name}，欢迎您！<br><a href='company.php'>企业中心</a>");
		{else}
			document.write("<div class='y_logined'>{$this_user_name}，欢迎您！<br><a href='user.php'>个人中心</a>　<a href='user.php?act=refresh'>刷新简历</a>");
		{/if}
		{if($obj_ctl_user->is_admin())}
			document.write("<br><a href='{$web_url}/admin' target='_blank'><b>后台管理</b></a>");
		{/if}
		document.write("<br><a href='{$web_url}/login.php?act=exit' class='x_exit'>退出系统</a></div>");
	{else}
		document.write("<form name='frmLogin' action='{$web_url}/login.php' method='post'>");
		document.write("<input name='act' value='login' type='hidden'>");
		document.write('<li class="y_input">会员名：<input type="text" name="uname" value=""></li><li class="y_input">密　码：<input type="password" name="pwd" value=""></li>');
		document.write('<li class="y_input">验证码：<input type="input" name="code" value="" style="width:50px" class="text_1"> <img src="{$web_url}/plus/page.code.php" onclick="this.src=\'{$web_url}/plus/page.code.php?rnd=\'+Math.random();"></li>');
		document.write('<li><input type="submit" name="btn_ok" value="&nbsp;" class="btn_login1"></li>');
		document.write('<li><input type="checkbox" name="" value=1>自动登录　忘记密码</li>');
		document.write("</form>");
	{/if}
{else}
	{if($obj_ctl_user->is_login())}
		{if($obj_ctl_user->type=="company")}
			document.write("<div class='login_x_box1'>{$this_user_name}，欢迎您！<br><a href='company.php'>企业中心</a>");
		{else}
			document.write("<div class='login_x_box1'>{$this_user_name}，欢迎您！<br><a href='user.php'>个人中心</a>　<a href='user.php?act=refresh'>刷新简历</a>");
		{/if}
		{if($obj_ctl_user->is_admin())}
			document.write("<br><a href='{$web_url}/admin' target='_blank'><b>后台管理</b></a>");
		{/if}
		document.write("</div><div class='login_x_box2'><a href='{$web_url}/login.php?act=exit' class='login_x_exit'></a></div>");
	{else}
		document.write("<form name='frmLogin' action='{$web_url}/login.php' method='post'>");
		document.write("<input name='act' value='login' type='hidden'>");
		document.write('<div class="login_x_txt">用户名：</div>');
		document.write('<div class="login_x_input"><input type="text" name="uname" value="" class="text_1"></div>');
		document.write('<div class="login_x_txt">密　码：</div>');
		document.write('<div class="login_x_input"><input type="password" name="pwd" value="" class="text_1"></div>');
		document.write('<div class="login_x_txt">验证码：</div><div class="login_x_input"><span style="float:left"><input type="input" name="code" value="" style="width:50px" class="text_1"></span><span style="float:left">&nbsp;&nbsp;<img src="{$web_url}/plus/page.code.php" onclick="this.src=\'{$web_url}/plus/page.code.php?rnd=\'+Math.random();"></span></div>');
		document.write('<div class="login_x_login"><input type="submit" name="btn_ok" value="&nbsp;" class="btn_login1">  <b><a href="{$web_url}/index.php?app=findpwd">?忘记密码</a></b></div>');
		document.write("</form>");
	{/if}
{/if}