Skip to content

Instantly share code, notes, and snippets.

@haileys
Created October 29, 2010 11:05
Show Gist options
  • Save haileys/653341 to your computer and use it in GitHub Desktop.
Save haileys/653341 to your computer and use it in GitHub Desktop.
<%@ Page Title="" Language="C#" MasterPageFile="~/Super.Master" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="AnyHub._default" %>
<%@ Import Namespace="AnyHub" %>
<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="server">
<div class="notice info" id="anonwarn" runat="server"><%=Context.Trans(Localizable.AnonymousWarning) %></div>
<form action="/upload" method="post" enctype="multipart/form-data">
<input type="hidden" name="folder" value="2" id="folderinput" />
<fieldset class="upload">
<div class="fancy"><input type="file" name="Filedata" /></div>
<div class="multirow">
<input class="fancy submit" type="submit" value="<%=Context.Trans(Localizable.Upload) %>" />
<div class="sect">
<input id="priv" type="checkbox" name="private" value="1" />
<label for="priv"><%=Context.Trans(Localizable.Private) %></label>
</div>
</div>
</fieldset>
</form>
<%if (user != null && user.Premium)
{ %>
<%=treeJson()%>
<%} %>
</asp:Content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment