Server IP : 103.6.199.200 / Your IP : 52.14.209.100 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 : |
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/APOS.Master" CodeBehind="CounterCreation.aspx.cs" Inherits="Megazip.CounterCreation" %> <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">Counter Creation</li> </ul> <script language="javascript" type="text/javascript"> function ClientTextBox() { var spclChars = "'!@#$%^*()"; var txtdevice_id = document.getElementById("ctl00_Content_Admin_txtdevice_id").value; for (var i = 0; i < txtdevice_id.length; i++) { if (spclChars.indexOf(txtdevice_id.charAt(i)) != -1) { alert(" Please enter device id special characters are not allowed."); return false; } } var Counter_name = document.getElementById("ctl00_Content_Admin_txtCounter_name").value; for (var i = 0; i < Counter_name.length; i++) { if (spclChars.indexOf(Counter_name.charAt(i)) != -1) { alert(" Please enter counter name special characters are not allowed."); return false; } } var Location = document.getElementById("ctl00_Content_Admin_ddlLocation").value; if (txtdevice_id == null || txtdevice_id == "") { alert("Enter The Device ID"); return false; } else if (Counter_name == null || Counter_name == "") { alert("Enter The Counter Name"); return false; } else if (Location == 0) { alert("Select The Location Name"); 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"> Counter 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="lblCounter_ID" runat="server" class="col-md-4 col-xs-12 control-label">Counter ID</asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtCounter_ID" 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="lblCounter_name" runat="server" class="col-md-4 col-xs-12 control-label">Counter Name<span style="color:Red";><label> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtCounter_name" Enabled="True" runat="server" class="form-control" TabIndex="2"></asp:TextBox> </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     </asp:ListItem> <asp:ListItem Value="Deactive">Deactive</asp:ListItem> </asp:RadioButtonList> </div> </div> </div> </div> <br /> </div> <div class="col-md-6"> <div class="row"> <div class="form-group"> <asp:Label ID="lbldeviceid" runat="server" class="col-md-4 col-xs-12 control-label">Device ID<span style="color:Red";><label> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtdevice_id" 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" runat="server" class="col-md-4 col-xs-12 control-label">Location<span style="color:Red;"><label> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <asp:DropDownList ID="ddlLocation" AutoPostBack="false" CssClass="form-control selected" TabIndex="3" runat="server" onselectedindexchanged="ddlLocation_SelectedIndexChanged"> </asp:DropDownList> </div> </div> </div> <br /> <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_Counter" Text="Submit" runat="server" class="btn btn-success" OnClick="btn_Counter_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> </div> </form> </div> </asp:Content>