Warning: file_get_contents(http://s4p.us/a/api/?method=generateUrl&param=http%3A%2F%2Fpaste4.us%2Fview_paste%2F200%2F) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/content/82/8776282/html/evbpc.com/paste_system/code/view_paste.php on line 21
Index.cshtml
Fullscreen Options: With Syntax Highlighting | Plain Text | Design View
Short Link:
Index.cshtml
By EBrown
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 <h3>All Downloads</h3>
@foreach (var item in Model)
{
    if (item.Minor == 0 && item.Revision == 0 && item.Build == 0)
    {
        <ul class="download_list">
            <h4>@Html.DisplayFor(m => item.Major).@Html.DisplayFor(m => item.Minor).@Html.DisplayFor(m => item.Revision).@Html.DisplayFor(m => item.Build) Downloads</h4>
            <li>@Html.Partial("_DownloadListItemPartial", item)
    
                <ul class="download_child_list">
                @foreach (var child in Model)
                {
                    if (item.Major == child.Major && (child.Minor != 0 || child.Revision != 0 || child.Build != 0))
                    {
                        <li><span class="text-primary">@Html.Partial("_DownloadListItemPartial", child)</li>
                    }
                }
                </ul>
            </li>
        </ul>
    }