Server IP : 103.6.199.200 / Your IP : 52.14.110.171 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#" MasterPageFile="~/APOS.Master" AutoEventWireup="true" CodeBehind="PlanMaster.aspx.cs" Inherits="Megazip.PlanMaster" %> <asp:Content ContentPlaceHolderID="Content_Admin" runat="server" ID="Boday"> <ul class="breadcrumb push-down-0"> <li><a href="#">Super Admin</a></li> <li class="active">Plan Master</li> </ul> <script src="js/jquery-1.7.2.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function() { $("#ctl00_Content_Admin_txt_Plan_Start_date").datepicker(); // $("#ctl00_Content_Admin_txttodate").datepicker(); }); </script> <script language="javascript" type="text/javascript"> function ClientTextBox() { var Plan_Name = document.getElementById("ctl00_Content_Admin_txt_Plan_Name").value; var PlannoMonths = document.getElementById("ctl00_Content_Admin_ddlPlannoMonths").value; var Plan_Start_date = document.getElementById("ctl00_Content_Admin_txt_Plan_Start_date").value; // var Plan_End_date = document.getElementById("ctl00_Content_Admin_txt_Plan_End_date").value; if (Plan_Name == null || Plan_Name == "") { alert("Enter The Plan Name"); return false; } else if (PlannoMonths == 0) { alert("Select The No. Of Months"); return false; } else if (Plan_Start_date == null || Plan_Start_date == "") { alert("Select The Plan Start Date"); return false; } // else if (Plan_End_date == null || Plan_End_date == "") { // alert("Enter The Plan End Date"); // 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"> Plan 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" /> </div> </div> <div class="panel-body"> <div class="row"> <div class="col-md-6"> <div class="row"> <div class="form-group"> <asp:Label ID="lblplancode" runat="server" class="col-md-4 col-xs-12 control-label">Plan code</asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txt_plancode" 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="lblPlan_no_Months" runat="server" class="col-md-4 col-xs-12 control-label">Plan No Months<span style="color:Red;"><label> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <asp:DropDownList ID="ddlPlannoMonths" AutoPostBack="true" runat="server" CssClass="form-control select" TabIndex="2" OnSelectedIndexChanged="ddlPlannoMonths_SelectedIndexChanged"> </asp:DropDownList> </div> </div> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="lblPlan_Start_date" runat="server" class="col-md-4 col-xs-12 control-label">Plan Start Date<span style="color:Red;"><label> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <div class="input-group"> <asp:TextBox ID="txt_Plan_Start_date" runat="server" class="form-control Datepicker" AutoPostBack="true" TabIndex="3" OnTextChanged="txt_Plan_Start_date_TextChanged"></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> </div> <div class="col-md-6"> <div class="row"> <div class="form-group"> <asp:Label ID="lblPlan_Name" runat="server" class="col-md-4 col-xs-12 control-label">Plan Name<span style="color:Red;"><label> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txt_Plan_Name" runat="server" class="form-control" TabIndex="1"></asp:TextBox> </div> </div> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="lblCompany_Status" runat="server" class="col-md-4 col-xs-12 control-label">Plan Status</asp:Label> <div class="col-md-6 col-xs-12"> <asp:RadioButtonList ID="rbtnPlan_Status" runat="server" RepeatDirection="Horizontal"> <asp:ListItem Selected="True" Value="Y">Active </asp:ListItem> <asp:ListItem Value="N">Deactive</asp:ListItem> </asp:RadioButtonList> </div> </div> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="lblPlan_End_date" runat="server" class="col-md-4 col-xs-12 control-label">Plan End date</asp:Label> <div class="col-md-6 col-xs-12"> <div class="input-group"> <asp:TextBox ID="txt_Plan_End_date" ReadOnly="true" runat="server" class="form-control datepicker" TabIndex="4"></asp:TextBox> <samp class="input-group-addon" style="padding-bottom: 7px;"> <samp id="Samp1" class="fa fa-calendar"> </samp> </samp> </div> </div> </div> </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 style="margin-top: 2%;"> <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_Click" /> </center> </div> </div> </div> <br /> </div> </div> </div> </div> </div> </form> </div> </asp:Content>