@page
@using System.Web
@model IndexModel
@{
ViewData["Title"] = "webmusic";
}
@if (Model.path.Contains(".."))
{
return;
}
@Model.displaypath
[..]
Go back
[--]
Download m3u
@foreach (var dir in Model.dirs)
{
[--]
@dir
}
@foreach (var file in Model.files)
{
var jspath = Model.Encode(Model.fullpath);
var jsfile = jspath + "/" + Model.Encode(file);
[DL]
@file
}