Server IP : 103.6.199.200 / Your IP : 18.222.113.135 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="AddOnMaster.aspx.cs" Inherits="Megazip.AddOnMaster" %> <asp:Content ContentPlaceHolderID="Content_Admin" ID="Body" runat="server"> <%--<script> function FunSession() { $('#toggle_event_editing button').click(function() { if ($(this).hasClass('locked_active') || $(this).hasClass('unlocked_inactive')) { /* code to do when unlocking */ $('#switchstatus').html('On'); } else { /* code to do when locking */ $('#switchstatus').html('Off'); } /* reverse locking status */ $('#toggle_event_editing button').eq(0).toggleClass('locked_inactive locked_active btn-default btn-info'); $('#toggle_event_editing button').eq(1).toggleClass('unlocked_inactive unlocked_active btn-info btn-default'); }); } </script>--%> <%--<script src="js/jquery-1.8.2.js" type="text/javascript"></script>--%> <%--<script src="js/bootstrap.min.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_ItemImage').attr('src', e.target.result); } ImageDir.readAsDataURL(input.files[0]); } } </script> <ul class="breadcrumb push-down-0"> <li><a href="#">SuperAdmin</a></li> <li class="active">Addons Master</li> </ul> <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"> Addon Master</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" /> <%--<a href="AddOnMasterView.aspx" class="btn btn-success">Back</a>--%> </div> </div> <div class="form-control"> <div class="panel-body"> <div class="col-md-6"> <div class="row"> <div class="form-group"> <asp:Label ID="Label1" runat="server" class="col-md-3 col-xs-12 control-label">Item ID</asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtItemID" 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="lblImageName" runat="server" class="col-md-3 col-xs-12 control-label">Image Name</asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtImageName" runat="server" class="form-control" Enabled="false"></asp:TextBox> </div> </div> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="Label6" runat="server" class="col-md-3 col-xs-12 control-label">Image Upload(367 X 248)</asp:Label> <div class="col-md-6 col-xs-12"> <div class="btn btn-danger btn-file"> <i class="glyphicon glyphicon-folder-open"></i> Browse … <input id="txtMenu_Image" onchange="ShowPreview(this)" runat="server" name="browse" type="file" tabindex="5" /></div> </div> </div> </div> <br /> <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"></asp:Label> <div class="col-md-6 col-xs-12"> <div class="input-group"> <asp:Image ID="ItemImage" Height="80px" Width="200px" runat="server" /> </div> </div> </div> </div> <br /> </div> <div class="col-md-6"> <div class="row"> <div class="form-group"> <asp:Label ID="Label2" runat="server" class="col-md-3 col-xs-12 control-label">Item Name</asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtItemName" runat="server" class="form-control"></asp:TextBox> </div> </div> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="Label7" runat="server" class="col-md-3 col-xs-12 control-label">Price</asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtPrice" runat="server" class="form-control" onkeypress="return onlyNumbers(event)"></asp:TextBox> </div> </div> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="Label4" runat="server" class="col-md-3 col-xs-12 control-label">Status</asp:Label> <div class="col-md-6 col-xs-12"> <div class="input-group"> <asp:RadioButtonList ID="rbtnStatus" runat="server" RepeatDirection="Horizontal"> <asp:ListItem Value="Yes" Selected="True">Active    </asp:ListItem> <asp:ListItem Value="No">Deactive</asp:ListItem> </asp:RadioButtonList> </div> <%--<div class="btn-group" id="toggle_event_editing" onclick="FunSession()"> <button type="button" class="btn btn-info locked_active"> OFF</button> <button type="button" class="btn btn-default unlocked_inactive"> ON</button> </div>--%> <br /> <br /> <%--<div class="alert alert-info" id="switchstatus">off</div>--%> </div> </div> </div> <br /> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="Label5" runat="server" class="col-md-3 col-xs-12 control-label"></asp:Label> <div class="col-md-8 col-xs-12" style="margin-left: 36%;"> <div class="input-group"> <asp:Button ID="btnSubmit" Text="Submit" runat="server" class="btn btn-success" OnClick="btnSubmit_Click" /> <asp:Button ID="Button1" runat="server" Text="Cancel" class="btn btn-danger" OnClick="Button1_Click" /> </div> </div> </div> </div> <br /> </div> </div> </div> </div> </div> </form> </div> </asp:Content>