Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 369.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions 404.aspx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="404.aspx.cs" Inherits="_404" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h1 style="font-size:85px;color:red">Error</h1>
</div>
</form>
</body>
</html>
14 changes: 14 additions & 0 deletions 404.aspx.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _404 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
}
127 changes: 127 additions & 0 deletions AboutUs.aspx
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<%@ Page Title="About us - mfpower.in" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AboutUs.aspx.cs" Inherits="AboutUs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div class="page-title-area bg-10" style="background-image:url('assets/images/bg_hd.jpg');background-size:cover">
<div class="container">
<div class="page-title-content">
<h2>
About Us
</h2>

<ul>

<li>
<a href="Index.aspx">
Home
</a>
</li>



<li class="active">
About Us
</li>
</ul>
</div>
</div>
</div>
<section class="about-us-area ptb-100">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6">
<div class="about-img-content">
<div class="about-img-1">
<img src="assets/images/about/about-img-1.jpg" alt="mfpower.in"/>
<div class="about-img-2">
<img src="assets/images/about/about-img-2.jpg" alt="mfpower.in"/>
</div>
</div>

<h3><span>25</span> Years of Experience</h3>


</div>
</div>

<div class="col-lg-6">
<div class="about-content">
<span>About MFPower</span>
<h2>Better Eat, Better Life</h2>
<h4>If You Get Better Nutrition, You Can Enjoy a Healthy Age</h4>
<p style="text-align:justify"> D'ultimate Life Sciences is a renowned & prestigious company engaged in the manufacturing of Ayurvedic & Herbal products from last 17 years (since 2005) & has formulated more than 300 products . The registered office & Plant of the company is in Bhilwara (Rajasthan) India. </p>
<p style="text-align:justify"> From 2015 company is manufacturing products on the basis of latest technology of Ayurvedic Science that is 'PHYTOMOLECULES & NANO TECHNOLOGY. In this technique our Scientists are extracting only Medicated Molecules from the various Herbs and Plants of nature. </p>
<p style="text-align:justify"> D'ultimate Life Sciences products are approved by various Government Authority's of India. Company having various certificates like GMP, FSSAI, AUSH MANTRALAYA, FDA, ISO 22000:2005 & products are 100% Natural Herbal products. </p>
<h3>We Can Help You </h3>
<h3 style="color:#17a9fc">Call Now : <i class="bx bx-phone"></i> +91- 86903-05654</h3>



</div>
</div>
</div>
</div>

<div class="about-shape-img">
<img src="assets/images/about-shape.png" alt="mfpower.in"/>
</div>
</section>
<!-- End About Us Area -->

<!-- Start Partner Area -->
<div class="partner-area ptb-100">
<div class="container">
<div class="partner-bg">
<div class="row">
<div class="partner-slider owl-carousel owl-theme">
<div class="partner-item">
<a href="#">
<img src="img/certi/1.png" style="width:150px;height:150px;border:solid 1px #e5e4e4;padding:5px" alt="mfpower.in"/>

</a>
</div>

<div class="partner-item">
<a href="#">

</a>
<img src="img/certi/2.png" style="width:150px;height:150px;border:solid 1px #e5e4e4;padding:5px" alt="mfpower.in"/>
</div>

<div class="partner-item">
<a href="#">
<img src="img/certi/3.png" style="width:150px;height:150px;border:solid 1px #e5e4e4;padding:5px" alt="mfpower.in"/>

</a>
</div>

<div class="partner-item">
<a href="#">
<img src="img/certi/4.png" style="width:150px;height:150px;border:solid 1px #e5e4e4;padding:5px" alt="mfpower.in"/>

</a>
</div>

<div class="partner-item">
<a href="#">
<img src="img/certi/5.png" alt="mfpower.in" style="width:150px;height:150px;border:solid 1px #e5e4e4;padding:5px"/>
</a>
</div>

<div class="partner-item">
<a href="#">
<img src="img/certi/6.png" alt="mfpower.in" style="width:150px;height:150px;border:solid 1px #e5e4e4;padding:5px"/>

</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Partner Area -->


</asp:Content>

14 changes: 14 additions & 0 deletions AboutUs.aspx.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class AboutUs : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
}
158 changes: 158 additions & 0 deletions AccountDetails.aspx
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
<%@ Page Title="My Account - mfpower.in" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AccountDetails.aspx.cs" Inherits="AccountDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<style>
table#t01 tr:nth-child(even) {
background-color: #eee;
}

table#t01 tr:nth-child(odd) {
background-color: #fff;
}

table#t01 th {
background-color: #FF5252;
color: white;
padding: 6px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<br /><br />
<div class="page-title-area bg-10" style="background-image:url('assets/images/bg_hd.jpg');background-size:cover">
<div class="container">
<div class="page-title-content">
<h2>
Profile
</h2>

<ul>

<li>
<a href="Index.aspx">
Home
</a>
</li>



<li class="active">
Profile
</li>
</ul>
</div>
</div>
</div>

<div class="mian-contain">
<div class="container">

<!-- CONTAIN START ptb-95-->
<section class="checkout-section ptb-95 ptb-sm-60 ptb-xs-30">
<div class="row">
<div class="col-md-2 col-sm-4">

</div>
<div class="col-md-10 col-sm-8">
<br />
<div id="data-step2" class="account-content" data-temp="tabdata">
<div class="row">
<div class="col-12">
<div class="heading-part heading-bg mb-30">
<h2 class="heading m-0">Account Details</h2>
</div>
</div> <br /><br />
</div>

<div class="container-fluid" style="border: solid 1px #dbdee0">
<asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:ListView ID="ListView1" runat="server" DataSourceID="Sqlnewarrival">
<ItemTemplate>
<div class="row">


<div class="col-sm-5 col-md-5 col-lg-5">
<form>
<div class="form-group">
<p>Name :-</p>
<asp:TextBox ID="TxtName" runat="server" class="form-control" type="text" Text='<%#Eval("Name")%>' Style="color: black" placeholder="Name"></asp:TextBox>
</div>
<div class="form-group">
<p>Email :-</p>
<asp:TextBox ID="TxtEmail" runat="server" type="email" class="form-control" Style="color: black" Text='<%#Eval("emailid")%>' placeholder="Email Id"></asp:TextBox>
</div>


<div class="form-group">
<p>Mobile Number :-</p>
<asp:TextBox ID="TxtMobile" runat="server" class="form-control" Enabled="false" Style="color: black" Text='<%#Eval("mobilenumber")%>' placeholder="Mobile No."></asp:TextBox>
</div>
</form>
</div>

<div class="col-sm-5 col-md-5 col-lg-5">





<div class="form-group">
<p>Pin Code :-</p>
<asp:TextBox ID="txtpincode" runat="server" class="form-control" Style="color: black" Text='<%#Eval("zipcode")%>' placeholder="Enter PinCode" TabIndex="7"></asp:TextBox>
</div>
<div class="form-group">
<p>Address :-</p>
<asp:TextBox ID="Txtaddress" runat="server" class="form-control" Style="color: black" TextMode="MultiLine" Rows="2" Text='<%#Eval("Address")%>' placeholder="Address"></asp:TextBox>

</div>



&nbsp;<asp:Label ID="LblErr" runat="server" ForeColor="red"></asp:Label>
<div class="form-group">
<asp:Button ID="btnregister" runat="server" Text="Update" TabIndex="12" class="btn btn-primary" OnClick="btnregister_Click" Style="background-color: #278706; border: none; color: white" />

</div>
<br />
</div>

</div>

</ItemTemplate>
</asp:ListView>
<asp:SqlDataSource ID="Sqlnewarrival" runat="server" ConnectionString="<%$ ConnectionStrings:DigitalMobiz %>" SelectCommand="select * from register Where UserId=@UserId">
<SelectParameters>
<asp:SessionParameter Name="UserId" SessionField="UserId" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</ContentTemplate>
</asp:UpdatePanel>
</div>




</div>

<br />
<br />


<%-- <div class="row">
<img src="refer.jpg" style="border: solid 1px #d8d8d8; padding: 3px" />
</div>--%>


<br />
<br />

<a id="bottom"></a>

</div>
</div>
</section>
<!-- CONTAINER END -->
</div>
</div>
</asp:Content>
54 changes: 54 additions & 0 deletions AccountDetails.aspx.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class AccountDetails : System.Web.UI.Page
{
ClsConnection Cnn = new ClsConnection();
public static string refercode = "";
protected void Page_Load(object sender, EventArgs e)
{
if (Session["UserId"] == null)
{
Response.Redirect("login.aspx");
}

}
protected void Button2_Click(object sender, EventArgs e)
{

}
protected void btnregister_Click(object sender, EventArgs e)
{
try
{
Cnn.Open();
foreach (ListViewItem myListViewItem in ListView1.Items)
{
// string id = ((Label)myListViewItem.FindControl("lblid")).Text;
TextBox TxtName = ((TextBox)myListViewItem.FindControl("TxtName"));
TextBox Txtaddress = ((TextBox)myListViewItem.FindControl("Txtaddress"));
TextBox TxtMobile = ((TextBox)myListViewItem.FindControl("TxtMobile"));
TextBox Txtemail = ((TextBox)myListViewItem.FindControl("TxtEmail"));
TextBox Txtpincode = ((TextBox)myListViewItem.FindControl("txtpincode"));
Label id = (Label)myListViewItem.FindControl("LblErr") as Label;

Cnn.Open();
Cnn.ExecuteNonQuery("update register set name='" + TxtName.Text.Trim() + "',Address='" + Txtaddress.Text.Trim() + "',MobileNumber='" + TxtMobile.Text.Trim() + "',EmailId='" + Txtemail.Text.Trim() + "',ZipCode='" + Txtpincode.Text + "' where UserId='" + Session["UserId"] + "'");
Cnn.Close();
id.Text = "changed successfully";
}

Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "window.location.href = '#data-step3'", true);
Cnn.Close();
}
catch (Exception ex)
{
throw ex;
}

}
}
Loading