summaryrefslogtreecommitdiffstats
path: root/system/application/views
diff options
context:
space:
mode:
Diffstat (limited to 'system/application/views')
-rw-r--r--system/application/views/file/footer.php3
-rw-r--r--system/application/views/file/header.php19
-rw-r--r--system/application/views/file/non_existant.php3
-rw-r--r--system/application/views/file/show_url.php4
-rw-r--r--system/application/views/file/too_big.php3
-rw-r--r--system/application/views/file/upload_error.php4
-rw-r--r--system/application/views/file/upload_form.php18
-rw-r--r--system/application/views/index.html10
8 files changed, 64 insertions, 0 deletions
diff --git a/system/application/views/file/footer.php b/system/application/views/file/footer.php
new file mode 100644
index 000000000..eda863585
--- /dev/null
+++ b/system/application/views/file/footer.php
@@ -0,0 +1,3 @@
+ </div>
+</body>
+</html>
diff --git a/system/application/views/file/header.php b/system/application/views/file/header.php
new file mode 100644
index 000000000..76d21e076
--- /dev/null
+++ b/system/application/views/file/header.php
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+ <title><?php echo isset($title) ? $title : ''; ?></title>
+ <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>data/default.css" media="screen" />
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+</head>
+
+<body>
+ <div class="top">
+ <ul class="nav">
+ <li><?php echo anchor('file/index', 'Upload'); ?></li>
+ </ul>
+ </div>
+
+ <div class="clearer" ></div>
+
+ <div class="content">
diff --git a/system/application/views/file/non_existant.php b/system/application/views/file/non_existant.php
new file mode 100644
index 000000000..418007782
--- /dev/null
+++ b/system/application/views/file/non_existant.php
@@ -0,0 +1,3 @@
+<div style="text-align:center">
+ I'm sorry, but the requested file doesn't exist.
+</div>
diff --git a/system/application/views/file/show_url.php b/system/application/views/file/show_url.php
new file mode 100644
index 000000000..62d34c661
--- /dev/null
+++ b/system/application/views/file/show_url.php
@@ -0,0 +1,4 @@
+<div style="text-align:center">
+ You can get your file here:<br />
+ <a href="<?php echo $url; ?>"><?php echo $url; ?></a><br />
+</div>
diff --git a/system/application/views/file/too_big.php b/system/application/views/file/too_big.php
new file mode 100644
index 000000000..e5dd5bd6a
--- /dev/null
+++ b/system/application/views/file/too_big.php
@@ -0,0 +1,3 @@
+<div style="text-align:center">
+ Sorry, the file you uploaded is too big.
+</div>
diff --git a/system/application/views/file/upload_error.php b/system/application/views/file/upload_error.php
new file mode 100644
index 000000000..807ca6071
--- /dev/null
+++ b/system/application/views/file/upload_error.php
@@ -0,0 +1,4 @@
+<div style="text-align:center">
+ An error occured while uploading.<br />
+ Most likely your file is too big.
+</div>
diff --git a/system/application/views/file/upload_form.php b/system/application/views/file/upload_form.php
new file mode 100644
index 000000000..b39088c4e
--- /dev/null
+++ b/system/application/views/file/upload_form.php
@@ -0,0 +1,18 @@
+<div style="text-align:center">
+ <?php echo form_open_multipart('file/do_upload'); ?>
+ File: <input type="file" name="userfile" size="30" />
+ <input type="submit" value="Upload" name="process" />
+ </form>
+</div>
+<br /><br />
+Uploads are deleted after 5 days.<br />
+<br />
+If you want to you can use my script (needs python and curl) to upload files, paste text (with syntax highlighting of course) or delete your uploads:<br />
+<a href="http://git.server-speed.net/bin/plain/fb">http://git.server-speed.net/bin/plain/fb</a><br />
+<br />
+If you experience any problems feel free to <a href="http://bluewind.at/?id=1">contact me</a>.<br />
+<br />
+<br />
+<div class="small">
+ This service is provided without warranty of any kind and may not be used to distribute copyrighted content.
+</div>
diff --git a/system/application/views/index.html b/system/application/views/index.html
new file mode 100644
index 000000000..c942a79ce
--- /dev/null
+++ b/system/application/views/index.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+ <title>403 Forbidden</title>
+</head>
+<body>
+
+<p>Directory access is forbidden.</p>
+
+</body>
+</html> \ No newline at end of file