. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 87.98.249.37 / Your IP : 216.73.216.208 [ Web Server : Microsoft-IIS/10.0 System : Windows NT NS3076740 10.0 build 17763 (Windows Server 2019) AMD64 User : IWPD_292(growel19p) ( 0) PHP Version : 8.3.12 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Inetpub/vhosts/growel.com/httpdocs/GrowelAdmin/ |
Upload File : |
<%@ Page Title="" Language="C#" MasterPageFile="~/GrowelAdmin/Admin.Master" AutoEventWireup="true" CodeBehind="AddProduct.aspx.cs" Inherits="GrowelWeb.GrowelAdmin.AddProduct" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link href="<%=siteurl%>GrowelAdmin/dist/select2//css/select2.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h3>Add New Product To <%=ptype %></h3>
<div class="btn-success status" visible="false" runat="server" id="status"></div>
<div class="topbutton">
<a href="ManageProducts.aspx?type=<%=type %>" class="btn btn-default">Go Back</a>
</div>
<table cellspacing="0" cellpadding="4" border="0" width="800" class="form">
<tr>
<td>Title</td>
<td>
<asp:TextBox ID="txttitle" runat="server" CssClass="form-control form-inline"></asp:TextBox>
</td>
</tr>
<tr>
<td>DisplayName</td>
<td>
<asp:TextBox ID="txtdisplayname" runat="server" CssClass="form-control form-inline"></asp:TextBox>
</td>
</tr>
<tr>
<td>Type</td>
<td>
<asp:TextBox ID="txttype" runat="server" ReadOnly="true" CssClass="form-control form-inline"></asp:TextBox>
</td>
</tr>
<tr>
<td>Industries</td>
<td>
<asp:ListBox ID="ddlIndustries" runat="server" SelectionMode="Multiple" class="select2 form-control select2-multiple">
<asp:ListItem Value="Aerospace" Text="Aerospace"></asp:ListItem>
<asp:ListItem Value="Auto-Ancillary" Text="Auto & Auto Ancillary"></asp:ListItem>
<asp:ListItem Value="Appliances" Text="Appliances"></asp:ListItem>
<asp:ListItem Value="Defense" Text="Defense"></asp:ListItem>
<asp:ListItem Value="Jewellery" Text="Jewellery"></asp:ListItem>
<asp:ListItem Value="Marine" Text="Marine"></asp:ListItem>
<asp:ListItem Value="Irrigation" Text="Irrigation"></asp:ListItem>
<asp:ListItem Value="Oil-Gas" Text="Oil & Gas"></asp:ListItem>
</asp:ListBox>
</td>
</tr>
<tr>
<td>Final Product:</td>
<td><asp:CheckBox ID="chkisfinalproduct" runat="server" /> </td>
</tr>
<tr>
<td>Show Enquiry:</td>
<td><asp:CheckBox ID="chkShowEnquiry" runat="server" /> </td>
</tr>
<tr>
<td>Cover Image</td>
<td>
<img src="<%=urlcover %>" height="200" />
<asp:FileUpload ID="FileUpload2" runat="server" />
<asp:LinkButton ID="lnkremovecover" runat="server" Text="Remove Cover Photo" OnClientClick="return confirm('Remove cover?')" OnClick="lnkremovecover_Click"></asp:LinkButton>
</td>
</tr>
<tr>
<td>Product Image</td>
<td>
<img src="<%=url %>" height="200" />
<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:LinkButton ID="lnkremoveproduct" runat="server" Text="Remove Product Image Photo" OnClientClick="return confirm('Remove Product Image?')" OnClick="lnkremoveproduct_Click"></asp:LinkButton>
</td>
</tr>
<%--<tr>
<td>Technical Spec.</td>
<td>
<asp:TextBox ID="txtspecs" runat="server" CssClass="form-control form-inline"></asp:TextBox>
</td>
</tr>--%>
<tr>
<td valign="top">Description</td>
<td>
<%--<asp:TextBox ID="txtdescription" runat="server" Rows="10" Columns="100" TextMode="MultiLine"></asp:TextBox>--%>
<textarea id="content" rows="10" cols="100" runat="server" name="content"></textarea>
</td>
</tr>
<tr>
<td>Page Title</td>
<td>
<asp:TextBox ID="txtmetatitle" runat="server" CssClass="form-control form-inline"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Required" Display="Dynamic" ControlToValidate="txtmetatitle"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>Meta Keywords</td>
<td>
<asp:TextBox ID="txtmetakeywords" runat="server" CssClass="form-control form-inline"></asp:TextBox>
</td>
</tr>
<tr>
<td>Meta description</td>
<td>
<asp:TextBox ID="txtmetadesc" runat="server" CssClass="form-control form-inline"></asp:TextBox>
</td>
</tr>
<tr>
<td> </td>
<td>
<asp:Button ID="btnsubmit" runat="server" Text="Submit" OnClick="btnsubmit_Click"/>
</td>
</tr>
</table>
</asp:Content>