Server IP : 103.6.199.200 / Your IP : 3.135.214.175 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="LocationMaster.aspx.cs" Inherits="Megazip.LocationMaster" %> <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">Location Master</li> </ul> <script language="javascript" type="text/javascript"> function ClientTextBox() { var spclChars = "'!@#$%^*()"; var location_name = document.getElementById("ctl00_Content_Admin_txtlocation_name").value; for (var i = 0; i < location_name.length; i++) { if (spclChars.indexOf(location_name.charAt(i)) != -1) { alert("Please Enter Location Name Special characters are not allowed."); return false; } } var Country_name = document.getElementById("ctl00_Content_Admin_ddlCountry_name").value; var currencytype = document.getElementById("ctl00_Content_Admin_txtcurrency").value; for (var i = 0; i < currencytype.length; i++) { if (spclChars.indexOf(currencytype.charAt(i)) != -1) { alert(" Please enter currency type special characters are not allowed."); return false; } } var Address = document.getElementById("ctl00_Content_Admin_txtAddress").value; for (var i = 0; i < Address.length; i++) { if (spclChars.indexOf(Address.charAt(i)) != -1) { alert(" Please enter address special characters are not allowed."); return false; } } var LocDetails = document.getElementById("ctl00_Content_Admin_txtDetails").value; for (var i = 0; i < LocDetails.length; i++) { if (spclChars.indexOf(LocDetails.charAt(i)) != -1) { alert(" Please enter location details special characters are not allowed."); return false; } } if (location_name == null || location_name == "") { alert("Enter The Location Name"); return false; } else if (Country_name == 0) { alert("Select The Country Name"); return false; } else if (currencytype == 0) { alert("Enter The Currency Type"); return false; } else if (Address == null || Address == "") { alert("Enter The Address"); 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"> Location 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="lblLocation_ID" runat="server" class="col-md-4 col-xs-12 control-label">Location ID</asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtLocation_ID" Enabled="false" runat="server" class="form-control" ></asp:TextBox> </div> </div> </div> </br> <div class="row"> <div class="form-group"> <asp:Label ID="lblCountry" runat="server" class="col-md-4 col-xs-12 control-label">Country<span style="color:Red";><label> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <%--<asp:TextBox ID="txtCountry" runat="server" class="form-control" TabIndex="2"></asp:TextBox>--%> <asp:DropDownList ID="ddlCountry_name" AutoPostBack="false" CssClass="form-control selected" TabIndex="2" runat="server"> <asp:ListItem Value=0>---Select---</asp:ListItem> <asp:ListItem>Afghanistan</asp:ListItem> <asp:ListItem>Albania</asp:ListItem> <asp:ListItem>Algeria</asp:ListItem> <asp:ListItem>American Samoa</asp:ListItem> <asp:ListItem>Andorra</asp:ListItem> <asp:ListItem>Angola</asp:ListItem> <asp:ListItem>Anguilla</asp:ListItem> <asp:ListItem>Antarctica</asp:ListItem> <asp:ListItem>Antigua And Barbuda</asp:ListItem> <asp:ListItem>Argentina</asp:ListItem> <asp:ListItem>Armenia</asp:ListItem> <asp:ListItem>Aruba</asp:ListItem> <asp:ListItem>Australia</asp:ListItem> <asp:ListItem>Austria</asp:ListItem> <asp:ListItem>Azerbaijan</asp:ListItem> <asp:ListItem>Bahamas The</asp:ListItem> <asp:ListItem>Bahrain</asp:ListItem> <asp:ListItem>Bangladesh</asp:ListItem> <asp:ListItem>Barbados</asp:ListItem> <asp:ListItem>Belarus</asp:ListItem> <asp:ListItem>Belgium</asp:ListItem> <asp:ListItem>Belize</asp:ListItem> <asp:ListItem>Benin</asp:ListItem> <asp:ListItem>Bermuda</asp:ListItem> <asp:ListItem>Bhutan</asp:ListItem> <asp:ListItem>Bolivia</asp:ListItem> <asp:ListItem>Bosnia and Herzegovina</asp:ListItem> <asp:ListItem>Botswana</asp:ListItem> <asp:ListItem>Bouvet Island</asp:ListItem> <asp:ListItem>Brazil</asp:ListItem> <asp:ListItem>British Indian Ocean Territory</asp:ListItem> <asp:ListItem>Brunei</asp:ListItem> <asp:ListItem>Bulgaria</asp:ListItem> <asp:ListItem>Burkina Faso</asp:ListItem> <asp:ListItem>Burundi</asp:ListItem> <asp:ListItem>Cambodia</asp:ListItem> <asp:ListItem>Cameroon</asp:ListItem> <asp:ListItem>Canada</asp:ListItem> <asp:ListItem>Cape Verde</asp:ListItem> <asp:ListItem>Cayman Islands</asp:ListItem> <asp:ListItem>Central African Republic</asp:ListItem> <asp:ListItem>Chad</asp:ListItem> <asp:ListItem>Chile</asp:ListItem> <asp:ListItem>China</asp:ListItem> <asp:ListItem>Christmas Island</asp:ListItem> <asp:ListItem>Cocos (Keeling) Islands</asp:ListItem> <asp:ListItem>Colombia</asp:ListItem> <asp:ListItem>Comoros</asp:ListItem> <asp:ListItem>Congo</asp:ListItem> <asp:ListItem>Congo The Democratic Republic Of The</asp:ListItem> <asp:ListItem>Cook Islands</asp:ListItem> <asp:ListItem>Costa Rica</asp:ListItem> <asp:ListItem>Cote D'Ivoire (Ivory Coast)</asp:ListItem> <asp:ListItem>Croatia (Hrvatska)</asp:ListItem> <asp:ListItem>Cuba</asp:ListItem> <asp:ListItem>Cyprus</asp:ListItem> <asp:ListItem>Czech Republic</asp:ListItem> <asp:ListItem>Denmark</asp:ListItem> <asp:ListItem>Djibouti</asp:ListItem> <asp:ListItem>Dominica</asp:ListItem> <asp:ListItem>Dominican Republic</asp:ListItem> <asp:ListItem>East Timor</asp:ListItem> <asp:ListItem>Ecuador</asp:ListItem> <asp:ListItem>Egypt</asp:ListItem> <asp:ListItem>El Salvador</asp:ListItem> <asp:ListItem>Equatorial Guinea</asp:ListItem> <asp:ListItem>Eritrea</asp:ListItem> <asp:ListItem>Estonia</asp:ListItem> <asp:ListItem>Ethiopia</asp:ListItem> <asp:ListItem>External Territories of Australia</asp:ListItem> <asp:ListItem>Falkland Islands</asp:ListItem> <asp:ListItem>Faroe Islands</asp:ListItem> <asp:ListItem>Fiji Islands</asp:ListItem> <asp:ListItem>Finland</asp:ListItem> <asp:ListItem>France</asp:ListItem> <asp:ListItem>French Guiana</asp:ListItem> <asp:ListItem>French Polynesia</asp:ListItem> <asp:ListItem>French Southern Territories</asp:ListItem> <asp:ListItem>Gabon</asp:ListItem> <asp:ListItem>Gambia The</asp:ListItem> <asp:ListItem>Georgia</asp:ListItem> <asp:ListItem>Germany</asp:ListItem> <asp:ListItem>Ghana</asp:ListItem> <asp:ListItem>Gibraltar</asp:ListItem> <asp:ListItem>Greece</asp:ListItem> <asp:ListItem>Greenland</asp:ListItem> <asp:ListItem>Grenada</asp:ListItem> <asp:ListItem>Guadeloupe</asp:ListItem> <asp:ListItem>Guam</asp:ListItem> <asp:ListItem>Guatemala</asp:ListItem> <asp:ListItem>Guernsey and Alderney</asp:ListItem> <asp:ListItem>Guinea</asp:ListItem> <asp:ListItem>Guinea-Bissau</asp:ListItem> <asp:ListItem>Guyana</asp:ListItem> <asp:ListItem>Haiti</asp:ListItem> <asp:ListItem>Heard and McDonald Islands</asp:ListItem> <asp:ListItem>Honduras</asp:ListItem> <asp:ListItem>Hong Kong S.A.R.</asp:ListItem> <asp:ListItem>Hungary</asp:ListItem> <asp:ListItem>Iceland</asp:ListItem> <asp:ListItem>India</asp:ListItem> <asp:ListItem>Indonesia</asp:ListItem> <asp:ListItem>Iran</asp:ListItem> <asp:ListItem>Iraq</asp:ListItem> <asp:ListItem>Ireland</asp:ListItem> <asp:ListItem>Israel</asp:ListItem> <asp:ListItem>Italy</asp:ListItem> <asp:ListItem>Jamaica</asp:ListItem> <asp:ListItem>Japan</asp:ListItem> <asp:ListItem>Jersey</asp:ListItem> <asp:ListItem>Jordan</asp:ListItem> <asp:ListItem>Kazakhstan</asp:ListItem> <asp:ListItem>Kenya</asp:ListItem> <asp:ListItem>Kiribati</asp:ListItem> <asp:ListItem>Korea North</asp:ListItem> <asp:ListItem>Korea South</asp:ListItem> <asp:ListItem>Kuwait</asp:ListItem> <asp:ListItem>Kyrgyzstan</asp:ListItem> <asp:ListItem>Laos</asp:ListItem> <asp:ListItem>Latvia</asp:ListItem> <asp:ListItem>Lebanon</asp:ListItem> <asp:ListItem>Lesotho</asp:ListItem> <asp:ListItem>Liberia</asp:ListItem> <asp:ListItem>Libya</asp:ListItem> <asp:ListItem>Liechtenstein</asp:ListItem> <asp:ListItem>Lithuania</asp:ListItem> <asp:ListItem>Luxembourg</asp:ListItem> <asp:ListItem>Macau S.A.R.</asp:ListItem> <asp:ListItem>Macedonia</asp:ListItem> <asp:ListItem>Madagascar</asp:ListItem> <asp:ListItem>Malawi</asp:ListItem> <asp:ListItem>Malaysia</asp:ListItem> <asp:ListItem>Maldives</asp:ListItem> <asp:ListItem>Mali</asp:ListItem> <asp:ListItem>Malta</asp:ListItem> <asp:ListItem>Man (Isle of)</asp:ListItem> <asp:ListItem>Marshall Islands</asp:ListItem> <asp:ListItem>Martinique</asp:ListItem> <asp:ListItem>Mauritania</asp:ListItem> <asp:ListItem>Mauritius</asp:ListItem> <asp:ListItem>Mayotte</asp:ListItem> <asp:ListItem>Mexico</asp:ListItem> <asp:ListItem>Micronesia</asp:ListItem> <asp:ListItem>Moldova</asp:ListItem> <asp:ListItem>Monaco</asp:ListItem> <asp:ListItem>Mongolia</asp:ListItem> <asp:ListItem>Montserrat</asp:ListItem> <asp:ListItem>Morocco</asp:ListItem> <asp:ListItem>Mozambique</asp:ListItem> <asp:ListItem>Myanmar</asp:ListItem> <asp:ListItem>Namibia</asp:ListItem> <asp:ListItem>Nauru</asp:ListItem> <asp:ListItem>Nepal</asp:ListItem> <asp:ListItem>Netherlands Antilles</asp:ListItem> <asp:ListItem>Netherlands The</asp:ListItem> <asp:ListItem>New Caledonia</asp:ListItem> <asp:ListItem>New Zealand</asp:ListItem> <asp:ListItem>Nicaragua</asp:ListItem> <asp:ListItem>Niger</asp:ListItem> <asp:ListItem>Nigeria</asp:ListItem> <asp:ListItem>Niue</asp:ListItem> <asp:ListItem>Norfolk Island</asp:ListItem> <asp:ListItem>Northern Mariana Islands</asp:ListItem> <asp:ListItem>Norway</asp:ListItem> <asp:ListItem>Oman</asp:ListItem> <asp:ListItem>Pakistan</asp:ListItem> <asp:ListItem>Palau</asp:ListItem> <asp:ListItem>Palestinian Territory Occupied</asp:ListItem> <asp:ListItem>Panama</asp:ListItem> <asp:ListItem>Papua new Guinea</asp:ListItem> <asp:ListItem>Paraguay</asp:ListItem> <asp:ListItem>Peru</asp:ListItem> <asp:ListItem>Philippines</asp:ListItem> <asp:ListItem>Pitcairn Island</asp:ListItem> <asp:ListItem>Poland</asp:ListItem> <asp:ListItem>Portugal</asp:ListItem> <asp:ListItem>Puerto Rico</asp:ListItem> <asp:ListItem>Qatar</asp:ListItem> <asp:ListItem>Reunion</asp:ListItem> <asp:ListItem>Romania</asp:ListItem> <asp:ListItem>Russia</asp:ListItem> <asp:ListItem>Rwanda</asp:ListItem> <asp:ListItem>Saint Helena</asp:ListItem> <asp:ListItem>Saint Kitts And Nevis</asp:ListItem> <asp:ListItem>Saint Lucia</asp:ListItem> <asp:ListItem>Saint Pierre and Miquelon</asp:ListItem> <asp:ListItem>Saint Vincent And The Grenadines</asp:ListItem> <asp:ListItem>Samoa</asp:ListItem> <asp:ListItem>San Marino</asp:ListItem> <asp:ListItem>Sao Tome and Principe</asp:ListItem> <asp:ListItem>Saudi Arabia</asp:ListItem> <asp:ListItem>Senegal</asp:ListItem> <asp:ListItem>Serbia</asp:ListItem> <asp:ListItem>Seychelles</asp:ListItem> <asp:ListItem>Sierra Leone</asp:ListItem> <asp:ListItem>Singapore</asp:ListItem> <asp:ListItem>Slovakia</asp:ListItem> <asp:ListItem>Slovenia</asp:ListItem> <asp:ListItem>Smaller Territories of the UK</asp:ListItem> <asp:ListItem>Solomon Islands</asp:ListItem> </asp:DropDownList> </div> </div> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="lblAddress" runat="server" class="col-md-4 col-xs-12 control-label">Address<span style="color:Red";><label> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtAddress" Enabled="True" runat="server" TextMode="MultiLine" Rows="4" Columns="5" class="form-control" TabIndex="4"></asp:TextBox> </div> </div> </div> </div> <div class="col-md-6"> <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> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtlocation_name" 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="lblcurrency" runat="server" class="col-md-4 col-xs-12 control-label">Currency Type<span style="color:Red";><label> *</label></span></asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtcurrency" Enabled="True" runat="server" class="form-control" TabIndex="3"></asp:TextBox> </div> </div> </div> <br /> <div class="row"> <div class="form-group"> <asp:Label ID="lblDetails" runat="server" class="col-md-4 col-xs-12 control-label">Location Details</asp:Label> <div class="col-md-6 col-xs-12"> <asp:TextBox ID="txtDetails" runat="server" TextMode="MultiLine" Rows="4" Columns="5" class="form-control" TabIndex="5"></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="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_LocationMaster" Text="Submit" runat="server" class="btn btn-success" onclick="btn_LocationMaster_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>