<div>
<ul class="nav navbar-nav" id="Menu_All" runat="server">
<%-- <li class="dropdown"><a id="A30" href="~/Default.aspx" runat="server"><img src="images/HomeIconn.png" height="30px" width="30px" title="Click here goto Home Page" alt="homeImage" /></a></li>--%>
<%-- <li class="dropdown"><a id="A1" href="WelcomePMU.aspx" runat="server">Home</a></li>--%>
<li id="Li1" class="dropdown" runat="server" visible="true">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Fund<span class="caret"></span></a>
<ul role="menu" class="dropdown-menu">
<li><a id="OrganisationMaster" runat="server" visible="false" href="~/View/DIETY/FundManage/ManageExamRsultByDIETY.aspx">Manage Fund</a> </li>
<li><a id="A5" runat="server" href="~/View/DIETY/FundManage/FundAllocateByDeity.aspx">Fund Allocate </a></li>
<li><a id="A9" runat="server" href="~/View/DIETY/FundManage/ExamAppearedList.aspx">Fund Release</a> </li>
<li><a id="A10" runat="server" href="~/View/DIETY/FundManage/DBTStudentAc.aspx">DBT To Student AC</a> </li>
<li><a id="A55" runat="server" href="~/View/DIETY/FundManage/ApprovedBatch.aspx">Download Certificate & Photo</a> </li>
</ul>
</li>
<li id="Li2" class="dropdown" runat="server" visible="false">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Report<span class="caret"></span></a>
<ul role="menu" class="dropdown-menu">
<li><a id="A2" runat="server" href="~/View/DIETY/Reports/TrainingPartnerReport.aspx">Training Partner Report</a> </li>
<li><a id="A3" runat="server" href="~/View/DIETY/Reports/TP Requested Courses Report.aspx">Training Partner Requested Courses</a> </li>
<li><a id="A4" runat="server" href="~/View/DIETY/Reports/StudentDetailsReport.aspx">Student Details Report</a> </li>
<li><a id="A6" visible="false" runat="server" href="~/View/DIETY/Reports/FundReport.aspx">Fund Report</a> </li>
<li><a id="A7" visible="false" runat="server" href="~/View/DIETY/Reports/StudentPassFailReport.aspx">Student Report</a> </li>
<li><a id="A11" visible="true" runat="server" href="~/View/DIETY/Reports/FundReleaseReport.aspx">Fund Release Report</a> </li>
<li><a id="A12" visible="true" runat="server" href="~/View/DIETY/Reports/FeeDetailsReport.aspx">Fees Report</a> </li>
<li><a id="A13" visible="true" runat="server" href="~/View/DIETY/Reports/stdCertificationDtls.aspx">Certification Report</a> </li>
<li><a id="A14" visible="true" runat="server" href="~/View/DIETY/Reports/223SIA.aspx">SIA fees Report</a> </li>
<li><a id="A15" visible="true" runat="server" href="~/View/DIETY/Reports/231AffTP.aspx">Affilited Training Partner Report</a> </li>
<li><a id="A16" visible="true" runat="server" href="~/View/DIETY/Reports/232BatchWiseRpt.aspx">Batchwise Student Report</a> </li>
<li><a id="A17" visible="true" runat="server" href="~/View/DIETY/Reports/233ReappearingRpt.aspx">Re-appearing Student Report</a> </li>
<li><a id="A18" visible="true" runat="server" href="~/View/DIETY/Reports/235PlacementSec.aspx">Placement Report</a> </li>
<li><a id="A19" visible="false" runat="server" href="~/View/DIETY/Reports/AffTPrpt.aspx">Affilited Training Partner Report</a> </li>
<li><a id="A20" visible="true" runat="server" href="~/View/DIETY/Reports/FeeDetailsReport.aspx">Fees Details Report</a> </li>
<li><a id="A21" visible="true" runat="server" href="~/View/DIETY/Reports/23pmu.aspx">Student Fund Report</a> </li>
<li><a id="A22" visible="true" runat="server" href="~/View/DIETY/Reports/stdCertificationDtls.aspx">Student Certification Report</a> </li>
<li><a id="A23" visible="true" runat="server" href="~/View/DIETY/Reports/PlacementSection.aspx">Placement</a> </li>
<li><a id="A24" visible="true" runat="server" href="~/View/DIETY/Reports/StudSecRpt.aspx">Student Section Detail</a> </li>
<li><a id="A25" visible="true" runat="server" href="~/View/DIETY/Reports/PlacedStdDtls.aspx">Placed Student Detail</a> </li>
<li><a id="A27" visible="true" runat="server" href="~/View/DIETY/Reports/SeatAllotDtls.aspx">Seat Allocation Report</a> </li>
</ul>
</li>
<li id="Li3" class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Report<span class="caret"></span></a>
<ul role="menu" class="dropdown-menu">
<%--New code add on 30072020--%>
<li class="dropdown-submenu">
<a id="A26" href="#" class="dropdown-toggle" data-toggle="dropdown">Student Report</a>
<ul class="dropdown-menu" role="menu">
<li><a id="ca" runat="server" href="~/View/DIETY/Reports/StudentDetailsReport.aspx">Student Detail Report </a></li>
<li><a id="cb" runat="server" href="Reports/232BatchWiseRpt.aspx">Batchwise Student Report</a></li>
<li><a id="cc" runat="server" href="Reports/233ReappearingRpt.aspx">Re-Appearing Student Report</a></li>
<li><a id="fee" runat="server" href="Reports/FeeDetailsReport.aspx">Fees Details Report</a></li>
<li><a href="Reports/stdCertificationDtls.aspx" id="st" runat="server">Certification Report</a></li>
<li><a id="aaa" runat="server" href="Reports/235PlacementSec.aspx">Placement report Report</a></li>
<li><a id="placed" runat="server" href="~/View/DIETY/Reports/PlacedStdDtls.aspx">Placed Student</a></li>
<li><a id="bc" runat="server" href="Reports/23pmu.aspx">Student Fund Report</a></li>
</ul>
</li>
<li class="dropdown-submenu">
<a id="A28" href="#" class="dropdown-toggle" data-toggle="dropdown">Funding Report</a>
<ul class="dropdown-menu" role="menu">
<li><a id="ac" runat="server" href="Reports/FundReleaseReport.aspx">Fund Released Report </a></li>
<li><a id="ab" runat="server" href="Reports/223SIA.aspx">Student Fund Received Report</a></li>
</ul>
</li>
<li class="dropdown-submenu">
<a id="A29" href="#" class="dropdown-toggle" data-toggle="dropdown">Stake Holder Report</a>
<ul class="dropdown-menu" role="menu">
<li><a id="bf" runat="server" href="Reports/TrainingPartnerReport.aspx">Training Partner Report </a></li>
<li><a id="be" runat="server" href="Reports/231AffTP.aspx" visible="false">Affilited TP Report</a></li>
<li><a id="bd" runat="server" href="Reports/TP Requested Courses Report.aspx">TP Requested Course Report</a></li>
<li><a id="bb" runat="server" href="Reports/SeatAllotDtls.aspx">Seat Allocation Report</a></li>
</ul>
</li>
<li>
<a id="A37" runat="server" href="Reports/PMU_ApprovedRejectedCoveringReport.aspx">Approved/Rejected Covering Batches</a>
</li>
<li>
<a id="A38" runat="server" href="Reports/PMU_ProcessedCoveringReport.aspx">Processed Covering Batches</a>
</li>
<li>
<li><a id="A42" runat="server" href="~/View/DIETY/Reports/Rpt_InvoiceStatus.aspx">Invoice Status</a></li>
</li>
</ul>
</li>
<li>
<a id="A30" href="~/View/DIETY/Reports/CourseMaster.aspx" runat="server">Course</a>
</li>
<%--New Code add on 31102019--%>
<li id="Li4" class="dropdown" runat="server" visible="true">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Manage Invoice<span class="caret"></span></a>
<ul role="menu" class="dropdown-menu">
<li><a id="A32" runat="server" href="~/View/DIETY/ManageInvoice/PMU_InvoiceInbox.aspx">Invoice Inbox </a></li>
<li><a id="A45" runat="server" href="~/View/DIETY/ManageInvoice/PMU_InvoiceInbox_AP.aspx">Invoice Inbox (After Placement) </a></li>
<li><a id="A43" runat="server" href="~/View/DIETY/ManageInvoice/PMU_DoublePaymentCheckDate.aspx">Double Payment Check Date</a></li>
<li><a id="A44" runat="server" href="~/View/DIETY/ManageInvoice/PMU_DocUpload.aspx">Document Upload</a></li>
</ul>
</li>
<li>
<a id="A33" href="Default.aspx" runat="server">Dashboard</a>
</li>
<li>
<a id="A8" href="ChangePassword.aspx" runat="server">Change Password</a>
</li>
</ul>
<ul class="nav navbar-nav" id="Menu_SuperAdmin" runat="server">
<li>
<a id="A31" href="PMU_StateAllocation.aspx" runat="server">State Allocation</a>
</li>
</ul>
</div>
aspx.cs page
protected void Page_Load(object sender, EventArgs e)
{
HtmlMeta meta = new HtmlMeta();
meta.HttpEquiv = "Refresh";
meta.Content = Convert.ToString(Session.Timeout * 60) + ";url=Logout.aspx";
this.Page.Header.Controls.Add(meta);
Page.Title = ":::ESDM DIETY:::";
try
{
if (Session["diesession"] != null && Convert.ToString(Session["diesession"]).Length > 1)
{
if (Session["diecookiessession"] != null && Session["diecookiessession"].ToString().Length > 0 && Convert.ToString(Session["diecookiessession"]) == Convert.ToString(Request.Cookies["dieCookies"].Value))
{
lb_user.Text = Convert.ToString(Session["diesession"]) + " (" + Convert.ToString(Session["DieEmail"]) + ")";
//Start Add New Code on 06112019
if (Convert.ToString(Session["DietyLevelCode"]).Trim() == "SA")
{
Menu_All.Visible = true;
Menu_SuperAdmin.Visible = true;
Menu_InvoiceStatus.Visible = true;
}
else if (Convert.ToString(Session["DietyLevelCode"]).Trim() == "S")
{
Menu_All.Visible = false;
Menu_SuperAdmin.Visible = true;
Menu_InvoiceStatus.Visible = true;
}
else
{
Menu_All.Visible = true;
Menu_SuperAdmin.Visible = false;
Menu_InvoiceStatus.Visible = false;
}
//End Add New Code on 06112019
}
else
{
FormsAuthentication.SignOut();
Request.Cookies.Remove("dieCookies");
new Cookies().RemoveCookies("dieCookies");
Session.RemoveAll();
Response.Redirect("~/Login.aspx?Invalid Session");
}
}
else
{
// Cookies.ClearAllCookies();
FormsAuthentication.SignOut();
Request.Cookies.Remove("dieCookies");
new Cookies().RemoveCookies("dieCookies");
Session.RemoveAll();
Response.Redirect("~/Login.aspx?Invalid Session");
}
}
catch (Exception ee)
{
Response.Redirect("~/Login.aspx?error=" + ee.Message.ToString(), false);
}
}
No comments:
Post a Comment