home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
61.19.244.139
/
61.19.244.139.zip
/
61.19.244.139
/
cp2013
/
Publish
/
PRB_A001.aspx
< prev
next >
Wrap
Text File
|
2013-06-10
|
26KB
|
345 lines
<%@ page language="VB" masterpagefile="~/PRB_MP01.master" autoeventwireup="false" inherits="PRB_A001, App_Web_wtjus7jp" title="จัดการข้อมูล..." %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ACT" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MPcphContent" runat="Server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table cellpadding="0" cellspacing="0" id="tbContent" class="styletbContentSub">
<tr>
<td style="text-align: left; vertical-align: top">
<table cellpadding="0" cellspacing="0" style="width: 100%; vertical-align: middle;"
id="tbSearch">
<tr class="styletbFS">
<td colspan="5">
</td>
</tr>
<tr>
<td style="width: 10px">
</td>
<td style="width: 120px; text-align: left;">
<asp:DropDownList ID="ddlSearch" runat="server" Width="120px">
<asp:ListItem Value="0">ทั้งหมด</asp:ListItem>
<asp:ListItem Value="1">รหัสตัวแทน</asp:ListItem>
<asp:ListItem Value="2">ชื่อ</asp:ListItem>
<asp:ListItem Value="3">นามสกุล</asp:ListItem>
<asp:ListItem Value="4">รหัสบัตรประชาชน</asp:ListItem>
</asp:DropDownList>
</td>
<td style="width: 200px; text-align: left;">
<asp:TextBox ID="txtSearch" runat="server" Width="200px"></asp:TextBox>
</td>
<td style="text-align: left">
<asp:Button ID="btnSearch" runat="server" Text="<% $Resources: Resource,A002btnSearch %>"
Width="80px" />
</td>
<td style="width: 10px;">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="5">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width: 100%; vertical-align: middle;"
id="tbgrdUser">
<tr>
<td style="width: 10px">
</td>
<td>
<asp:Panel ID="panGrdSearch" runat="server" Height="150px" HorizontalAlign="Left"
ScrollBars="Auto" Width="525px" Wrap="False">
<asp:GridView ID="grdSearch" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
AutoGenerateColumns="False" Width="100%" CellSpacing="1">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:CommandField SelectText="เลือก" ShowSelectButton="True">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:CommandField>
<asp:BoundField HeaderText="รหัสตัวแทน" DataField="i_ag">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField HeaderText="ชื่อ-นามสกุล" DataField="AgentName">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField HeaderText="รหัสบัตรประชาชน" DataField="c_idcard">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:CommandField SelectText="เลือก" ShowSelectButton="True">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:CommandField>
</Columns>
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</asp:Panel>
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
</table>
<asp:Panel ID="panUserLogin" runat="server" Width="100%">
<table cellpadding="0" cellspacing="0" style="width: 100%; vertical-align: middle;"
id="tbAuthUser">
<tr>
<td style="width: 10px">
</td>
<td>
<asp:Label ID="lblAgent" runat="server" Text=">> "></asp:Label>
<asp:Label ID="lblAgentID" runat="server"></asp:Label>
<asp:Label ID="lblAgentDetail" runat="server"></asp:Label>
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td style="width: 10px">
</td>
<td>
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="text-align: right" width="135">
<asp:Label ID="Label1" runat="server" Text="Agent ID"></asp:Label>
<asp:Label ID="lblBlank" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="txtAgentID" runat="server" Enabled="False" MaxLength="15" Width="165px"></asp:TextBox>
<asp:HiddenField ID="hddNewRec" runat="server" />
</td>
</tr>
<tr>
<td style="text-align: right">
<asp:Label ID="Label2" runat="server" Text="User Name"></asp:Label>
<asp:Label ID="lblBlank0" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="txtUserName" runat="server" Enabled="False" MaxLength="15" Width="165px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="text-align: right">
<asp:Label ID="Label3" runat="server" Text="Password"></asp:Label>
<asp:Label ID="lblBlank1" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="txtPWD" runat="server" MaxLength="15" TextMode="Password" Width="165px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="text-align: right">
<asp:Label ID="Label4" runat="server" Text="Confirm Password"></asp:Label>
<asp:Label ID="lblBlank2" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="txtCPWD" runat="server" MaxLength="15" TextMode="Password" Width="165px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="text-align: right">
<asp:Label ID="Label5" runat="server" Text="E-Mail"></asp:Label>
<asp:Label ID="lblBlank3" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="txtEMail" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="text-align: right">
</td>
<td style="text-align: left">
<asp:CheckBox ID="chkKeyUser" runat="server" AutoPostBack="True" Text="ข้อมูลพนักงานคีย์" />
</td>
</tr>
<tr class="styletbFS">
<td style="text-align: right">
</td>
<td style="text-align: left">
</td>
</tr>
</table>
</td>
<td style="width: 10px">
</td>
</tr>
<tr style="empty-cells: hide">
<td style="width: 10px">
</td>
<td>
<asp:Panel ID="panUserKey" runat="server" HorizontalAlign="Center" Width="525px"
Wrap="False">
<asp:RadioButtonList ID="radAddEdit" runat="server" AutoPostBack="True" RepeatDirection="Horizontal">
<asp:ListItem Selected="True" Value="0">เพิ่ม</asp:ListItem>
<asp:ListItem Value="1">แก้ไข</asp:ListItem>
</asp:RadioButtonList>
<asp:Panel ID="panGrdUserKey" runat="server" Height="150px" HorizontalAlign="Left"
ScrollBars="Auto" Width="525px" Wrap="False">
<asp:GridView ID="GrdUserKey" runat="server" AutoGenerateColumns="False" CellPadding="4"
CellSpacing="1" ForeColor="#333333" GridLines="None" Width="100%">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:CommandField SelectText="เลือก" ShowSelectButton="True">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:CommandField>
<asp:BoundField DataField="F_UserName" HeaderText="รหัสพนง.คีย์">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="F_Email" HeaderText="E-Mail">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:CommandField SelectText="เลือก" ShowSelectButton="True">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:CommandField>
</Columns>
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</asp:Panel>
<asp:Panel ID="panUserKey0" runat="server" HorizontalAlign="Left" Width="525px" Wrap="False">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr class="styletbFS">
<td style="text-align: right" width="135">
</td>
<td style="text-align: left">
</td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="lblAgent0" runat="server" Text=">> "></asp:Label>
<asp:Label ID="lblKeyID" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td style="text-align: right" width="135">
<asp:Label ID="Label7" runat="server" Text="User Name"></asp:Label>
<asp:Label ID="lblBlank5" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="txtUserName0" runat="server" MaxLength="15" Width="165px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="text-align: right">
<asp:Label ID="Label8" runat="server" Text="Password"></asp:Label>
<asp:Label ID="lblBlank6" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="txtPWD0" runat="server" MaxLength="15" TextMode="Password" Width="165px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="text-align: right">
<asp:Label ID="Label9" runat="server" Text="Confirm Password"></asp:Label>
<asp:Label ID="lblBlank7" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="txtCPWD0" runat="server" MaxLength="15" TextMode="Password" Width="165px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="text-align: right">
<asp:Label ID="Label10" runat="server" Text="E-Mail"></asp:Label>
<asp:Label ID="lblBlank8" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="txtEMail0" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
</td>
</tr>
<tr class="styletbFS">
<td style="text-align: right">
</td>
<td style="text-align: left">
</td>
</tr>
</table>
</asp:Panel>
</asp:Panel>
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td style="width: 10px">
</td>
<td style="text-align: center">
<asp:Button ID="btnSave" runat="server" Text="Save" Width="80px" />
<asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="80px" />
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdateProgress ID="udp" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel1">
<ProgressTemplate>
<div style="top: 0px; height: 10000px; background-color: #FFFFFF; opacity: 0.40;
filter: alpha(opacity=40); vertical-align: middle; left: 0px; z-index: 999999;
width: 1500px; position: absolute; text-align: center;">
</div>
<div id="divUDP" align="center" valign="middle" runat="server" style="padding: 5px;
border: 1px solid #999999; position: absolute; left: 50%; top: 50%; visibility: visible;
vertical-align: middle; background-color: #FFFFFF; z-index: 200;">
<asp:Image ID="imgUDP" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
<asp:Label ID="lblUDP" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
</asp:Content>