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
/
Dashboard
/
View File Name :
EditDownload.cshtml
@model HRDC.Models.DownloadDetail @{ ViewBag.Title = "Edit"; Layout = "~/Views/Shared/_AdminLayout.cshtml"; } @using (Html.BeginForm("EditDownload", "Dashboard", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.AntiForgeryToken() @Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.DownloadID) @Html.HiddenFor(model => model.DownloadCategoryID) <div class="row"> <div class="col-xs-12"> <div class="panel panel-primary"> <div class="panel-heading"> Update Download </div> <div class="panel-body"> <div class="form-group"> @Html.LabelFor(model => model.DownloadTitle) @Html.EditorFor(model => model.DownloadTitle, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.DownloadTitle, "", new { @class = "text-danger" }) </div> <div class="form-group"> @Html.LabelFor(model => model.PublishDate) @Html.EditorFor(model => model.PublishDate, new { htmlAttributes = new { @class = "date-picker form-control" } }) @Html.ValidationMessageFor(model => model.PublishDate, "", new { @class = "text-danger" }) </div> <div class="form-group"> @Html.LabelFor(model => model.DownloadLink) <div class=""> <div class="fileupload fileupload-new" data-provides="fileupload"> <div class="fileupload-preview thumbnail" style="width: 200px; height: 150px;"></div> <div> <span class="btn btn-file btn-success"> <span class="fileupload-new"> Select </span><span class="fileupload-exists">Change</span> @Html.EditorFor(model => model.DownloadLink, new { htmlAttributes = new { type = "file", @id = "DownloadContent" } }) </span> <a href="#" class="btn btn-danger fileupload-exists" data-dismiss="fileupload">Remove</a> </div> </div> @Html.ValidationMessageFor(model => model.DownloadLink, "", new { @class = "text-danger", @id = "DownloadContentMsg" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.ExternalLink) @Html.EditorFor(model => model.ExternalLink, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.ExternalLink, "", new { @class = "text-danger" }) </div> <input type="submit" value="Create" class="btn btn-info" onclick="return submitClick()" /> </div> </div> </div> </div> } <div> @Html.ActionLink("Back to List", "ManageDownloads", new { id = Model.DownloadCategoryID }) </div> @*<script> function submitClick() { var img = document.getElementById("DownloadContent"); var msg = document.getElementById("DownloadContentMsg"); msg.innerHTML = ''; if ((DownloadContent.files[0].size / 15728640) > 1) { msg.innerHTML = 'Please upload file less than 15 mb'; return false; } else return true; } </script>*@