b0y-101 Mini Shell


Current Path : E:/www/sci/academic/WebRUDB/WebRUDB version1.1.0/WebRUDB/WebForm/
File Upload :
Current File : E:/www/sci/academic/WebRUDB/WebRUDB version1.1.0/WebRUDB/WebForm/ChangePWD.aspx

<%@ page language="VB" autoeventwireup="false" inherits="WebForm_ChangePWD, App_Web_mmgtz1ds" %>

<!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 runat="server">
    <title>Change Password</title>
    <style type="text/css">
        .style1
        {
            width: 51%;
        }
        .style2
        {
            width: 100%;
        }
        .style3
        {
            height: 20px;
            text-align: center;
        }
        .style4
        {
            height: 20px;
            text-align: left;
        }
        .style5
        {
            text-align: left;
        }
        .style6
        {
            text-align: right;
        }
        .style7
        {
            height: 33px;
        }
        .style8
        {
            text-align: right;
            height: 29px;
        }
        .style9
        {
            text-align: left;
            height: 29px;
        }
        .auto-style1 {
            background-color: #808080;
        }
        .auto-style20 {
            font-weight: normal;
        }
        .auto-style22 {
            font-size: small;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    
<script type ="text/javascript">
        function ConfirmWindowClose() {
        if (confirm("บันทึกข้อมูลเรียบร้อย\nปิดหน้าต่าง") == true)
            return true
        else
            return false
    }
  
</script>

    <table class="style2">
        <tr>
            <td class="style7">
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                <table class="style1" 
                    style="border-style: solid; border-width: thin; font-size: small;">
                    <tr>
                        <td style="text-align: left; font-weight: 700; color: #FFFFFF; " class="auto-style1">
                            เปลี่ยนรหัสผ่าน</td>
                    </tr>
                    <tr>
                        <td>
                            <table class="style2">
                                <tr>
                                    <td class="style8">
                                        User Name (Display Name) :</td>
                                    <td class="style9">
                                        <asp:TextBox ID="txtUserName" runat="server" CssClass="auto-style22" Width="250px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style6">
                                        รหัสผ่านใหม่:</td>
                                    <td class="style5">
                                        <asp:TextBox ID="txtNewPWD" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                            ControlToValidate="txtNewPWD" ErrorMessage="*" style="font-weight: 700"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style6">
                                        ยืนยันรหัสผ่านใหม่:</td>
                                    <td class="style5">
                                        <asp:TextBox ID="txtCNewPWD" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                            ControlToValidate="txtCNewPWD" ErrorMessage="*" style="font-weight: 700"></asp:RequiredFieldValidator>
                                        <span class="auto-style20">
                                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNewPWD" ControlToValidate="txtCNewPWD" CssClass="auto-style22" ErrorMessage="* password not match" ValidationGroup="2"></asp:CompareValidator>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style3" colspan="2">
                                        <asp:Label ID="lbStatus" runat="server" 
                                            style="text-align: center; color: #008000; font-weight: 700" 
                                            Text="เปลี่ยนรหัสผ่านเรียบร้อย" Visible="False"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style7" colspan="2">
                                        <asp:Button ID="btnSubmit" runat="server" Text="ยืนยัน" Width="70px" />
&nbsp;<asp:Button ID="btnCancel" runat="server" Text="ปิดหน้าต่าง" CausesValidation="False" Width="70px" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>

Copyright © 2019 by b0y-101