protected void Page_Load(object sender, EventArgs e)
        {
            string        s  = r.name(Session["fname"].ToString());
            SqlConnection cn = new SqlConnection();

            cn.ConnectionString = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["cn"].ToString();
            cn.Open();
            string        str = "select * from reg where Email='" + Session["uname"].ToString() + "'";
            SqlCommand    cmd = new SqlCommand(str, cn);
            SqlDataReader dr  = cmd.ExecuteReader();

            s = r.name(Session["fname"].ToString());
            if (dr.Read())
            {
                Label1.Text     = dr[1].ToString();
                HyperLink1.Text = s;
            }
            profilepic();
            cn.Close();

            fillfriend();
            fillpost();
            notifrnds();
            notification();
            if (A.isvalid(Session["uname"].ToString(), Session["fname"].ToString()))
            {
                Button1.Visible = true;
            }
        }