Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 3.16.75.156
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/AnnualPass.aspx
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/APOS.Master" CodeBehind="AnnualPass.aspx.cs"
    Inherits="Megazip.AnnualPass" %>

<asp:Content ContentPlaceHolderID="Content_Admin" ID="Body" runat="server">

    <script src="js/jquery-1.8.2.js" type="text/javascript"></script>

    <script type="text/javascript">
        function ShowPreview(input) {
            if (input.files && input.files[0]) {
                var ImageDir = new FileReader();
                ImageDir.onload = function(e) {
                    $('#ctl00_Content_Admin_imgName').attr('src', e.target.result);
                }
                ImageDir.readAsDataURL(input.files[0]);
            }
        }  
    </script>

    <ul class="breadcrumb push-down-0">
        <li><a href="#">Super Admin</a></li>
        <li class="active">Annual Pass</li>
    </ul>

    <script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(function() {
            $("#ctl00_Content_Admin_txtIssueDate").datepicker();
            $("#ctl00_Content_Admin_txtexpriydate").datepicker();
            $("#ctl00_Content_Admin_txtdob").datepicker();
        });
    </script>

    <style type="text/css">
        .ui-datepicker
        {
            font-size: 8pt !important;
        }
    </style>
    <style>
        .carousel-inner > .item > img, .carousel-inner > .item > a > img
        {
            width: 50%;
            margin: auto;
        }
    </style>

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

        function ClientTextBox() {
            var spclChars = "'!@#$%^*()";
            var PassType = document.getElementById("ctl00_Content_Admin_ddlPassType").value;
            var Names = document.getElementById("ctl00_Content_Admin_txtName").value;
            for (var i = 0; i < Names.length; i++) {
                if (spclChars.indexOf(Names.charAt(i)) != -1) {
                    alert(" Please enter name special characters are not allowed.");
                    return false;
                }
            }      
            var IssueDate = document.getElementById("ctl00_Content_Admin_txtIssueDate").value;
            var expriydate = document.getElementById("ctl00_Content_Admin_txtexpriydate").value;
            var Icno = document.getElementById("ctl00_Content_Admin_txtic_no").value;
            var Amtt = document.getElementById("ctl00_Content_Admin_txtAmount").value;
            var Mobileno = document.getElementById("ctl00_Content_Admin_txtMobileno").value;
            var Email = document.getElementById("ctl00_Content_Admin_txtemail").value;
            var atpos = Email.indexOf("@");
            var dotpos = Email.lastIndexOf(".");
            
            var filter = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;

            if (PassType == 0) {
                alert("Select The Pass Type");
                return false;
            }
            else if (Names == null || Names == "") {
                alert("Enter The Name");
                return false;
            }

            else if (IssueDate == null || IssueDate == "") {
                alert("Select The Issue Date");
                return false;
            }
            else if (expriydate == null || expriydate == "") {
                alert("Select The Expriy Date");
                return false;
            }
            else if (Icno == null || Icno == "") {
                alert("Enter The IC Number");
                return false;
            }
            else if (Amtt == null || Amtt == "") {
                alert("Enter The Amount");
                return false;
            }
            else if (Mobileno == null || Mobileno == "") {
                alert("Enter The Mobile Number");
                return false;
            }
            else if (atpos < 1 || dotpos < atpos + 2 || dotpos + 2 >= Email.length) {
            alert("Please Enter a valid email address");
            return false;
            }


        }
    </script>
    
    <script type="text/javascript">
        function isNumberKey(evt, id) {
            try {
                var charCode = (evt.which) ? evt.which : event.keyCode;

                if (charCode == 46) {
                    var txt = document.getElementById(id).value;
                    if (!(txt.indexOf(".") > -1)) {

                        return true;
                    }
                }
                if (charCode > 31 && (charCode < 48 || charCode > 57))
                    return false;

                return true;
            } catch (w) {
               // alert(w);
            }
        }
    </script>
    
    <script type="text/javascript">

        function isNumber(evt) {
            evt = (evt) ? evt : window.event;
            var charCode = (evt.which) ? evt.which : evt.keyCode;
            if (charCode > 31 && (charCode < 48 || charCode > 57)) {
                return false;
            }
            return true;
        }
    
    
    </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">
                            Annual Pass</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="lblpassid" runat="server" class="col-md-4 col-xs-12 control-label">Pass ID</asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtpassid" Enabled="false" Text="Auto" runat="server" class="form-control"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                              
                                    <div class="row">
                                        <div class="form-group">
                                            <asp:Label ID="lblCombo_Code" runat="server" class="col-md-4 col-xs-12 control-label">Name<span style="color:Red";><label>&#160;*</label></span></asp:Label>
                                            <div class="col-md-6 col-xs-12">
                                                <asp:TextBox ID="txtName" Enabled="true" runat="server" class="form-control" TabIndex="1"></asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                    <br />
                                      <div id="Peak" runat="server">
                                    <div class="row">
                                        <div class="form-group">
                                            <asp:Label ID="lbldob" runat="server" class="col-md-4 col-xs-12 control-label">DOB</asp:Label>
                                            <div class="col-md-6 col-xs-12">
                                                <asp:TextBox ID="txtdob" runat="server" class="form-control datepicker" TabIndex="2"></asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                    <br />
                                    <div class="row">
                                        <div class="form-group">
                                            <asp:Label ID="lblemail" runat="server" class="col-md-4 col-xs-12 control-label">Email ID</asp:Label>
                                            <div class="col-md-6 col-xs-12">
                                                <asp:TextBox ID="txtemail" runat="server" class="form-control" TabIndex="3"></asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblIssueDate" runat="server" class="col-md-4 col-xs-12 control-label">Issue Date<span style="color:Red";><label>&#160;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <div class="input-group">
                                                <asp:TextBox ID="txtIssueDate" runat="server" class="form-control datepicker" TabIndex="5"></asp:TextBox>
                                                <samp class="input-group-addon" style="padding-bottom: 7px;">
                                                    <samp id="ctl00_Content_Admin_Samp1" class="fa fa-calendar">
                                                    </samp>
                                                </samp>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div id="Peak1" runat="server">
                                    <div class="row" id="divimage" runat="server">
                                        <div class="form-group">
                                            <asp:Label ID="Label12" runat="server" class="col-md-3 col-xs-12 control-label">Photo</asp:Label>
                                            <div class="col-md-6 col-xs-12">
                                                <div class="input-group" style="margin-left: 39px;">
                                                    <asp:Image ID="imgName" Height="100px" Width="250px" runat="server" />
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <br />
                                    <div id="PhotoName" runat="server">
                                        <div class="row">
                                            <div class="form-group">
                                                <asp:Label ID="lblPhoto" runat="server" class="col-md-4 col-xs-12 control-label">Photo</asp:Label>
                                                <div class="col-md-6 col-xs-12">
                                                    <asp:TextBox ID="txt_Photo" runat="server" class="form-control" Enabled="false"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <br />
                                    <div class="row">
                                        <div class="form-group">
                                            <asp:Label ID="lbluploadimage" runat="server" Style="color: black;" class="col-md-4 col-xs-12 control-label">Upload Photo (1011*468)</asp:Label>
                                            <div class="col-md-6 col-xs-12">
                                                <div class="input-group">
                                                    <div class="btn btn-danger btn-file">
                                                        <i class="glyphicon glyphicon-folder-open"></i>&nbsp;Browse …
                                                        <input id="txtPhoto" runat="server" name="browse" type="file" onchange="ShowPreview(this)"
                                                            tabindex="4" /></div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <br />
                                </div>
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblstatus" 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="rbtnStatus" RepeatDirection="Horizontal" runat="server">
                                                    <asp:ListItem Selected="True" Value="Y">Active &#160; &#160; </asp:ListItem>
                                                    <asp:ListItem Value="N">Deactive</asp:ListItem>
                                                </asp:RadioButtonList>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                 <div id="Peak2" runat="server">
                                    <div class="row">
                                        <div class="form-group">
                                            <asp:Label ID="lblic_no" runat="server" class="col-md-4 col-xs-12 control-label">IC Number<span style="color:Red";><label>&#160;*</label></span></asp:Label>
                                            <div class="col-md-6 col-xs-12">
                                                <asp:TextBox ID="txtic_no" runat="server" class="form-control" onkeypress="return isNumber(event)" TabIndex="10"></asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <br />
                            </div>
                            <div class="col-md-6">
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblPassType" runat="server" class="col-md-4 col-xs-12 control-label">Pass Type<span style="color:Red";><label>&#160;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <%-- <asp:TextBox ID="txtAllproduct" runat="server" class="form-control" TabIndex="2"></asp:TextBox>--%>
                                            <asp:DropDownList ID="ddlPassType" AutoPostBack="true" CssClass="form-control selected"
                                                TabIndex="7" runat="server" MinimumValue="1" MaximumValue="3" OnSelectedIndexChanged="ddlPassType_SelectedIndexChanged">
                                                <asp:ListItem Value="0" Text="---Select---">---Select---</asp:ListItem>
                                                <asp:ListItem Value="Peak">Peak</asp:ListItem>
                                                <asp:ListItem Value="OffPeak">Off Peak</asp:ListItem>
                                                <asp:ListItem Value="SPass">SPass</asp:ListItem>
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div id="spass" runat="server">
                                    <div class="row">
                                        <div class="form-group">
                                            <asp:Label ID="Label1" runat="server" class="col-md-4 col-xs-12 control-label">Number of Use</asp:Label>
                                            <div class="col-md-6 col-xs-12">
                                                <asp:TextBox ID="txtNoOfUse" runat="server" class="form-control" onkeypress="return isNumber(event)" TabIndex="9"></asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblexpiry" runat="server" class="col-md-4 col-xs-12 control-label">Expiry Date<span style="color:Red";><label>&#160;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <div class="input-group">
                                                <asp:TextBox ID="txtexpriydate" runat="server" class="form-control datepicker" TabIndex="6"></asp:TextBox>
                                                <samp class="input-group-addon" style="padding-bottom: 7px;">
                                                    <samp id="Samp1" class="fa fa-calendar">
                                                    </samp>
                                                </samp>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblAmount" runat="server" class="col-md-4 col-xs-12 control-label">Amount</asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtAmount" runat="server" class="form-control" onkeypress="return isNumberKey(event,this.id)" TabIndex="8"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblQty" runat="server" class="col-md-4 col-xs-12 control-label">Mobile Number<span style="color:Red";><label>&#160;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtMobileno" runat="server" class="form-control" onkeypress="return isNumber(event)" TabIndex="5"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                               
                            </div>
                        </div>
                        <br />
                        <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_AnnualPass" Text="Submit" runat="server" class="btn btn-success"
                                            OnClick="btn_AnnualPass_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>
        </form>
    </div>
</asp:Content>

Anon7 - 2022
AnonSec Team