<?php if(!class_exists('Template')) die('Access Denied'); $this->tpl->check('myInfo.html', 'a4c9f4fe182460008e7906cb67e80ee2', 1362484604); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="none" />
<title>预订易KTV预订网站管理系统</title>
<link type="text/css" href="<?php echo MY_THEMEDIR; ?>images/layout.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/jquery.js"></script>
</head>

<body>
<div id="bodymain">
<!-- 头部开始 -->
<?php include $this->tpl->getfile('inc/header'); ?>
<!-- 主体开始 -->
<div id="user_content">
<table width="100%" border="0">
<tr>
<td width="156" valign="top">
<?php include $this->tpl->getfile('inc/lead_home'); ?>
</td>
<td valign="top">
<div id="main_user">
<div class="main_user_bg"><div class="main_user_bg1_right"></div></div>
<div class="user_con">
<?php if($action=='info') { ?>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/home/myinfoUpdate.js"></script>
<h2>修改我的信息</h2>
<table class="user_table user_table2" border="0" cellSpacing="0" cellPadding="0" width="100%">
<tbody>
<tr>
<td style="width:15%;">登录帐号:</td>
<td style="width:85%;text-align:left"><span id="O_Account"><?php echo $account; ?></span></td>
</tr>
<tr>
<td style="width:15%;">姓名:</td>
<td style="width:85%;text-align:left"><input id="O_Name" type="text" class="common_txt" maxlength="50" value="<?php echo $name; ?>" /></td>
</tr>
<tr>
<td style="width:15%;">性别:</td>
<td style="width:85%;text-align:left">
<input type="radio" name="O_Sex" value="男" id="O_Sex_0"<?php if($sex=='男') { ?> checked="checked"<?php } ?> /><label for="O_Sex_0" style="cursor:pointer;">男</label> 
<input type="radio" name="O_Sex" value="女" id="O_Sex_1"<?php if($sex=='女') { ?> checked="checked"<?php } ?> /><label for="O_Sex_1" style="cursor:pointer;">女</label> 
</td>
</tr>
<tr>
<td style="width:15%;">联系电话:</td>
<td style="width:85%;text-align:left"><input id="O_Phone" type="text" class="common_txt" maxlength="50" value="<?php echo $phone; ?>" /></td>
</tr>
<tr>
<td style="width:15%;">联系QQ:</td>
<td style="width:85%;text-align:left"><input id="O_QQ" type="text" class="common_txt" maxlength="50" value="<?php echo $qq; ?>" /></td>
</tr>
<tr>
<td style="width:15%;">Email:</td>
<td style="width:85%;text-align:left"><input id="O_Email" type="text" class="common_txt" maxlength="50" value="<?php echo $email; ?>" /></td>
</tr>
<tr>
<td style="width:15%;">联系地址:</td>
<td style="width:85%;text-align:left"><input id="O_Address" type="text" class="common_txt" maxlength="50" value="<?php echo $address; ?>" /></td>
</tr>
<tr>
<td style="text-align:left;padding-left:50px" colSpan="2"><button id="O_Submit" class="searchbutton" type="button" onClick="update();">提 交</button></td>
</tr>
</tbody></table>
<?php } elseif ($action=='psd') { ?>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/home/myinfoPsdUpdate.js"></script>
<h2>修改登录密码</h2>
<table class="user_table user_table2" border="0" cellSpacing="0" cellPadding="0" width="100%">
<tbody>
<tr>
<td style="width:15%;">旧登录密码:</td>
<td style="width:85%; text-align:left"><input id="O_Psd_Old" type="password" class="common_txt" maxlength="50" /></td>
</tr>
<tr>
<td style="width:15%;">新登录密码:</td>
<td style="width:85%; text-align:left"><input id="O_Psd_New" type="password" class="common_txt" maxlength="50" /></td>
</tr>
<tr>
<td style="width:15%;">请重复密码:</td>
<td style="width:85%; text-align:left"><input id="O_Psd_New_Re" type="password" class="common_txt" maxlength="50" /></td>
</tr>
<tr>
<td style="text-align:left;padding-left:50px;" colSpan="2"><button id="O_Submit" class="searchbutton" type="button" onClick="update();">提 交</button></td>
</tr>
</tbody>
</table>
<?php } ?>
</div>
<div class="main_user_bg1"><div class="main_user_bg1_right1"></div></div></div>
</td>
</tr>
</table>
</div>
<div class="clearfloat"></div>
<?php include $this->tpl->getfile('inc/bottom'); ?>
</div>
</body>
</html>