Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
HRDC
/
HRDC
/
Views
/
Shared
/
Edit File Name :
PageMenu.cshtml
@using HRDC.Models; <!--<img src='https://www.hrdcnepal.org/img/logo.png'/>--> @using (dbHRDCEntities db = new dbHRDCEntities()) { <ul class="nav navbar-nav navbar-right main-nav"> <li><a class="current-item" href="~/"><i class="fa fa-home"></i></a></li> <li class="dropdown"> <a href="#" data-toggle="dropdown">About Us<span class="caret"></span></a> <ul class="dropdown-menu"> <li> @{ var mv = db.OtherContents.Where(t => t.ContentID == 2).FirstOrDefault().URLTitle; } @Html.ActionLink("Mission and Vision", null, null, new { href = "/Contents/" + mv }) </li> <li> @{ var his = db.OtherContents.Where(t => t.ContentID == 1).FirstOrDefault().URLTitle; } @Html.ActionLink("History", null, null, new { href = "/Contents/" + his }) <li> @{ var msgch = db.Teams.Where(t => t.TeamID == 1).FirstOrDefault().URLTitle; } @Html.ActionLink("Message from Chair Person", null, null, new { href = "/Team/" + msgch }) </li> <li> @{ var mgmtst = db.Teams.Where(t => t.TeamID == 2).FirstOrDefault().URLTitle; } @Html.ActionLink("Management Structure", null, null, new { href = "/Team/" + mgmtst }) </li> <li> @{ var hrdctm = db.Teams.Where(t => t.TeamID == 3).FirstOrDefault().URLTitle; } @Html.ActionLink("The HRDC Team", null, null, new { href = "/Team/" + hrdctm }) </li> <li> @{ var awracc = db.Awards.Where(t => t.AwardID == 1).FirstOrDefault().URLTitle; } @Html.ActionLink("Awards and Accolades", null, null, new { href = "/Awards/" + awracc }) </li> <li> @{ var supp = db.OtherContents.Where(t => t.ContentID == 19).FirstOrDefault().URLTitle; } @Html.ActionLink("Our Supporters", null, null, new { href = "/Contents/" + supp }) </li> <li> <a href="#contact">Contact Us</a> </li> </ul> </li> <li class="dropdown"> <a href="#" data-toggle="dropdown">What we do<span class="caret"></span></a> <ul class="dropdown-menu"> <li> @{ var fbs = db.OurPrograms.Where(t => t.ProgramID == 2).FirstOrDefault().URLTitle; } @Html.ActionLink("Field Based Services", null, null, new { href = "/OurPrograms/" + fbs }) </li> <li> @{ var hbs = db.OurPrograms.Where(t => t.ProgramID == 1).FirstOrDefault().URLTitle; } @Html.ActionLink("Hospital Based Services", null, null, new { href = "/OurPrograms/" + hbs }) </li> <li style="padding-left:10px;"> @{ var sp = db.OtherContents.Where(t => t.ContentID == 6).FirstOrDefault().URLTitle; } @Html.ActionLink("Surgical Procedures", null, null, new { href = "/Contents/" + sp }) </li> <li style="padding-left:10px;"> @{ var pt = db.OtherContents.Where(t => t.ContentID == 7).FirstOrDefault().URLTitle; } @Html.ActionLink("Physiotherapy", null, null, new { href = "/Contents/" + pt }) </li> <li style="padding-left:10px;"> @{ var pao = db.OtherContents.Where(t => t.ContentID == 8).FirstOrDefault().URLTitle; } @Html.ActionLink("Prosthetics and Orthotics", null, null, new { href = "/Contents/" + pao }) </li> <li style="padding-left:10px;"> @{ var eah = db.OtherContents.Where(t => t.ContentID == 4).FirstOrDefault().URLTitle; } @Html.ActionLink("Education at HRDC", null, null, new { href = "/Contents/" + eah }) </li> </ul> </li> <li class="dropdown"> <a href="#" data-toggle="dropdown">Our Impact<span class="caret"></span></a> <ul class="dropdown-menu"> <li> @Html.ActionLink("Children Stories", null, null, new { href = "/SuccessStories/" }) </li> <li> @Html.ActionLink("Earthquake Response", null, null, new { href = "/NewsAndEvents/Earthquake_Response/" }) </li> </ul> </li> <li class="dropdown"> <a href="#" data-toggle="dropdown">Gallery<span class="caret"></span></a> <ul class="dropdown-menu"> <li> @Html.ActionLink("Photo Gallery", "AlbumList", "Home") </li> <li> @Html.ActionLink("Video Gallery", "VideoList", "Home") </li> </ul> </li> <li class="dropdown"> <a href="#" data-toggle="dropdown">Publications<span class="caret"></span></a> <ul class="dropdown-menu"> <li> @Html.ActionLink("B&B-HRDC Medical Journal", null, null, new { href = "/Contents/B__B_Medical_Journal" }) </li> @foreach (var lnks in db.DownloadCategories.OrderByDescending(t => t.DownloadCategoryID).Take(6).ToList()) { <li> @*@Html.ActionLink(lnks.DownloadCategory1, "DownloadDetail/" + lnks.DownloadCategoryID, "Home")*@ @Html.ActionLink(lnks.DownloadCategory1, null, null, new { href = "/Downloads/" + lnks.DownloadCategoryID }) </li> } <li> @Html.ActionLink("Newsletters", null, null, new { href = "/ViewNewsletter" }) </li> </ul> </li> <li class="dropdown"> <a href="#" data-toggle="dropdown">Registrations<span class="caret"></span></a> <ul class="dropdown-menu"> @{ var prt = db.OtherContents.Where(t => t.ContentID == 13).FirstOrDefault(); var conf = db.OtherContents.Where(t => t.ContentID == 11).FirstOrDefault(); } @*<li><a href="/HRDC/Home/Content/13">PRT/Workshop Registration</a></li> <li><a href="/HRDC/Home/Content/11">Conference Registration</a></li>*@ <li>@Html.ActionLink(prt.ContentTitle, null, null, new { href = "/Contents/" + prt.URLTitle })</li> <li>@Html.ActionLink(conf.ContentTitle, null, null, new { href = "/Contents/" + conf.URLTitle })</li> </ul> </li> <li class="dropdown"> <a href="#" data-toggle="dropdown">Get Involved<span class="caret"></span></a> <ul class="dropdown-menu"> @{ var vac = db.OtherContents.Where(t => t.ContentID == 20).FirstOrDefault(); var vol = db.OtherContents.Where(t => t.ContentID == 21).FirstOrDefault(); } <li>@Html.ActionLink(vac.ContentTitle, null, null, new { href = "/Contents/" + vac.URLTitle })</li> <li>@Html.ActionLink(vol.ContentTitle, null, null, new { href = "/Contents/" + vol.URLTitle })</li> </ul> </li> @*<li class="dropdown"> <a href="#" data-toggle="dropdown">Workshops<span class="caret"></span></a> <ul class="dropdown-menu"> @using (dbHRDCEntities db = new dbHRDCEntities()) { foreach (var lnks in db.OtherContents.OrderByDescending(t => t.ContentPublishDate).Take(3).ToList()) { <li> @Html.ActionLink(lnks.ContentTitle, "UsefulLinkDetail/" + lnks.ContentID, "UsefulLinks") </li> } db.Dispose(); } </ul> </li>*@ <li> @{ var don = db.OtherContents.Where(t => t.ContentID == 5).FirstOrDefault(); } @Html.ActionLink("Donate", null, null, new { @Class = "btn btn-red", href = "/Contents/" + don.URLTitle }) </li> </ul> }
Save