<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<!--#include file="mycartconn/conn.asp" -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-cn">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<meta http-equiv="content-language" content="zh-cn" />

<meta http-equiv="title" content="电子相册制作软件-网友个人相册储存-免费网络相册-<%=my_name%>flash相册"; charset="gb2312">

<meta name='description' content='<%=my_name%>电子相册-提供网友相册,个人相册,网络相册,永久免费为大家服务'>

<meta name='keywords' content='电子相册 网友相册 像册 个人相册 相册视频 flash相册 电子相册制作软件 小凡的相册 网络相册 <%=my_name%> 免费相册'>

<title>电子相册,个人相册,相册视频,flash相册,网络相册,免费相册等等，尽在<%=my_name%></title>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<script>document.title='<%=my_name%>—电子相册，个人相册提供商，快来制作你的相册视频吧！'</script>
<script type="text/javascript" src="js/get_config.asp"></script>
<script language="javascript" src="js/ajax.js"></script>

<script language="javascript" src="js/register.js"></script>

<script language="javascript" src="js/event.js"></script>

<link rel="stylesheet" href="common/css/main_xiu.css" type="text/css" media="all" />

<LINK href="common/css/win.css" type="text/css" rel="stylesheet" />



<script language="javascript">

et = new events();

reg = new reg();

function ck(o){

	if(o.oldpass.value==""){

		alert("请输入旧密码");

		o.oldpass.focus();

		return false;

	}



	if(o.newpass.value==""){

		alert("请输入新密码");

		o.newpass.focus();

		return false;

	}



	if(o.newpass1.value==""){

		alert("请确认密码");

		o.newpass1.focus();

		return false;

	}



	if(o.newpass.value!=o.newpass1.value){

		alert("两次输入的密码不一致");

		return false;

	}

	var _ajax = new ajax;

	var url = "<%=myurl%>/index.asp?action=modpass&userpass="+o.oldpass.value+"&newpass="+o.newpass.value;

	var isRight = _ajax.StartRequest(url,"text","");

	if(isRight=="1"){

		alert("密码修改成功！");

		window.close();

	}else{

		alert("原始密码不正确");

		//alert(isRight);

	}

	return false;



}

</script>

<style type="text/css">

.myMain {

	margin: 50px auto;

	width: 326px;

	background: #e1edf1 url(common/css/images/login_form_bg_bottom.png) no-repeat left bottom;

	padding: 0 0 30px;

}

.myMain input {

	font: 12px Verdana, Arial, Helvetica, sans-serif;

}

.myMain form {

	margin: 0px;

	padding: 0;

}

.myMain h3 {

	text-align: center;

	margin: 0px;

	padding: 10px 0 30px;

	font-size: 14px;

	font-weight: bold;

	color: #000000;

	background: url(common/css/images/login_form_title.png) no-repeat;

}

</style>



</head>

<body>

<!-- 头部begin -->

<script type="text/javascript" id="loginOrnot"></script>
<script type="text/javascript" src="js/login.js"></script>
<div class="headerWarp">
	<!--#include file="menu.asp" -->
</div>
<div class="infoWarp">
	<div id="info">
    	<img src="images/index_radiate.gif" style="position:absolute; top:0; left:0;" />
        <div class="call_board">
			<script type="text/javascript" src="js/call_board_msg.js"></script>
            <script type="text/javascript" src="js/call_board.js"></script>
    	</div>
        <div class="loginWarp" id="newuser"><script type="text/javascript">login_register();</script></div>
    </div>
</div>
<!-- 头部end -->

<!-- 正文begin -->

<div class="myMain">

<h3>修改密码</h3>

<form name="modpass" method="post" style="margin:0px;" onSubmit="return ck(this);">

    <table width="100%" cellpadding="5">

        <tr>

            <td align="right"><label for="textfield">旧密码</label></td>

            <td colspan="2"><input type="password" name="oldpass" id="textfield"></td>

        </tr>

		<tr>

            <td align="right"><label for="textfield">新密码</label></td>

            <td colspan="2"><input type="password" name="newpass" id="textfield"></td>

        </tr>

		<tr>

            <td align="right"><label for="textfield">确认密码</label></td>

            <td colspan="2"><input type="password" name="newpass1" id="textfield"></td>

        </tr>

		<tr>

            <td colspan="3" id="getpass_err" align="center"></td>

        </tr>

        <tr>

            <td>&nbsp;</td>

            <td colspan="2"><input type="submit" name="button" id="button" value="修改密码">

                </td>

        </tr>

    </table>

</form>

</div>

<!-- 正文end -->

<!-- 底部begin -->

<div class="clear"></div>
<!--#include file="foot.asp" -->

</body>
</html>
<%
conn.close
Set conn=Nothing
%>