. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| 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="AddSubProduct.aspx.cs" Inherits="GrowelWeb.GrowelAdmin.AddSubProduct" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link href="<%=siteurl%>GrowelAdmin/dist/select2//css/select2.css" rel="stylesheet" type="text/css" />
<style>
.form td
{
vertical-align:middle;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="topbutton"><a href="ManageSubProducts.aspx?product=<%=product %>&type=<%=type %>" class="btn btn-default">Go Back</a></div>
<h2>Add Subproduct</h2>
<div class="btn-success status" visible="false" runat="server" id="status"></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"></asp:TextBox> <small>e.g. Ferrowash-15</small> <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Required" ControlToValidate="txttitle"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>DisplayName</td>
<td>
<asp:TextBox ID="txtdisplayname" runat="server" CssClass="form-control"></asp:TextBox> <small>e.g. Ferrowash 15</small> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Required" ControlToValidate="txtdisplayname"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>Product</td>
<td>
<asp:TextBox ID="txtproduct" runat="server" CssClass="form-control" ReadOnly="true"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Required" ControlToValidate="txtproduct"></asp:RequiredFieldValidator>
</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/Thumbnail 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>Other Product Images</td>
<td>
<%--<img src="<%=url %>" height="200" />--%>
<asp:FileUpload AllowMultiple="true" ID="FileUploadmultiple" runat="server" />
</td>
</tr>
<tr>
<td></td>
<td>
<asp:Repeater ID="gdvtypes" runat="server">
<ItemTemplate>
<div class="col-md-3 sort" >
<div class="thumb">
<div>
<img width="120px" style='margin-bottom: 20px;border: 1px solid #d6d6d6;' src='../images/products/<%#Eval("imgName") %>' />
</div>
<div>
<asp:LinkButton ID="lnkdelete" OnCommand="lnkdelete_click" runat="server" OnClientClick="return confirm('Delete Image ?')" Text="Delete" CommandArgument='<%#Eval("Id") %>'></asp:LinkButton></div>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
</td>
</tr>
<tr>
<td valign="top">Description</td>
<td>
<textarea name="content" id="content" runat="server" cols="100" rows="10"></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>