summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gruntfile.js6
-rw-r--r--moe/includes/api.php1
-rw-r--r--moe/index.php1
-rw-r--r--moe/panel/index.php119
-rw-r--r--pages/ca.swig6
-rw-r--r--pages/check_fileapica.swig2
-rw-r--r--pages/check_scriptca.swig2
-rw-r--r--pages/faq.swig24
-rw-r--r--pages/index.swig8
-rw-r--r--pages/layout.swig24
-rw-r--r--pages/layoutca.swig24
-rw-r--r--pages/nav.swig16
-rw-r--r--pages/nojs.swig8
-rw-r--r--pages/other.swig7
-rw-r--r--pages/tools.swig153
-rwxr-xr-xstatic/classes/Response.class.php8
16 files changed, 223 insertions, 186 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 70cbfbe..96fbab2 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -18,9 +18,9 @@ module.exports = function (grunt) {
'index.swig',
'faq.swig',
'tools.swig',
- 'other.swig',
- 'nojs.swig',
- 'ca.swig'
+ 'other.swig',
+ 'nojs.swig',
+ 'ca.swig'
],
siteUrl: 'https://pantsu.cat/',
production: false,
diff --git a/moe/includes/api.php b/moe/includes/api.php
index b85cbbf..634cd74 100644
--- a/moe/includes/api.php
+++ b/moe/includes/api.php
@@ -1,4 +1,5 @@
<?php
+
// This file will act as a APIish thing
require_once 'core.php';
diff --git a/moe/index.php b/moe/index.php
index 70e081b..8a44f41 100644
--- a/moe/index.php
+++ b/moe/index.php
@@ -1,4 +1,5 @@
<?php
+
session_start();
if (isset($_SESSION['id'])) {
diff --git a/moe/panel/index.php b/moe/panel/index.php
index 1c0cc6b..7a8bceb 100644
--- a/moe/panel/index.php
+++ b/moe/panel/index.php
@@ -1,64 +1,61 @@
<!DOCTYPE HTML>
<html>
- <head>
- <title>Moe Panel</title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <meta name="description" content="" />
- <meta name="keywords" content="" />
- <link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400" rel="stylesheet" />
- <script src="js/jquery.min.js"></script>
- <script src="js/config.js"></script>
- <script src="js/skel.min.js"></script>
- <noscript>
- <link rel="stylesheet" href="css/skel-noscript.css" />
- <link rel="stylesheet" href="css/style.css" />
- <link rel="stylesheet" href="css/style-desktop.css" />
- <link rel="stylesheet" href="css/noscript.css" />
- </noscript>
- <!--[if lte IE 8]><script src="js/html5shiv.js"></script><link rel="stylesheet" href="css/ie8.css" /><![endif]-->
- </head>
- <body class="homepage">
-
- <!-- Wrapper-->
- <div id="wrapper">
-
- <!-- Nav -->
- <nav id="nav">
- <a href="#me" class="fa fa-home active"><span>Home</span></a>
- <a href="ghetto-search.php" class="fa fa-folder"><span>Files</span></a>
- <a href="http://twitter.com/nekunekus" target="_BLANK" class="fa fa-twitter"><span>Twitter</span></a>
- </nav>
-
- <!-- Main -->
- <div id="main">
-
- <!-- Me -->
- <article id="me" class="panel">
- <header>
- <h1><?php session_start();
- if(!isset($_SESSION['id'])){
- header('Location: ../login/');
- }
- echo 'Hi '.$_SESSION['email'];?></h1>
- <span class="byline">Are you being cayoot today?</span>
- </header>
- <a href="#files" class="jumplink pic">
- <img src="images/cute.png" alt="" />
- </a>
- </article>
- </div>
- <!-- Footer -->
- <div id="footer">
- <ul class="links">
- <li><a href="http://pomf.se/">Pomf</a></li>
- <li><a href="http://p.pomf.se/">Paste</a></li>
- <li><a href="http://blog.pomf.se">Blog</a></li>
- <li><a href="http://pomf.se/faq.html">FAQ</a></li>
- <li><a href="../includes/api.php?do=logout">Logout</a></li>
- </ul>
- </div>
-
- </div>
-
- </body>
+ <head>
+ <title>Moe Panel</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta name="description" content="" />
+ <meta name="keywords" content="" />
+ <link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400" rel="stylesheet" />
+ <script src="js/jquery.min.js"></script>
+ <script src="js/config.js"></script>
+ <script src="js/skel.min.js"></script>
+ <noscript>
+ <link rel="stylesheet" href="css/skel-noscript.css" />
+ <link rel="stylesheet" href="css/style.css" />
+ <link rel="stylesheet" href="css/style-desktop.css" />
+ <link rel="stylesheet" href="css/noscript.css" />
+ </noscript>
+ <!--[if lte IE 8]><script src="js/html5shiv.js"></script><link rel="stylesheet" href="css/ie8.css" /><![endif]-->
+ </head>
+ <body class="homepage">
+ <!-- Wrapper-->
+ <div id="wrapper">
+ <!-- Nav -->
+ <nav id="nav">
+ <a href="#me" class="fa fa-home active"><span>Home</span></a>
+ <a href="ghetto-search.php" class="fa fa-folder"><span>Files</span></a>
+ <a href="http://twitter.com/nekunekus" target="_BLANK" class="fa fa-twitter"><span>Twitter</span></a>
+ </nav>
+ <!-- Main -->
+ <div id="main">
+ <!-- Me -->
+ <article id="me" class="panel">
+ <header>
+ <h1>
+ <?php session_start();
+ if (!isset($_SESSION['id'])) {
+ header('Location: ../login/');
+ }
+ echo 'Hi '.$_SESSION['email'];
+ ?>
+ </h1>
+ <span class="byline">Are you being cayoot today?</span>
+ </header>
+ <a href="#files" class="jumplink pic">
+ <img src="images/cute.png" alt="" />
+ </a>
+ </article>
+ </div>
+ <!-- Footer -->
+ <div id="footer">
+ <ul class="links">
+ <li><a href="http://pomf.se/">Pomf</a></li>
+ <li><a href="http://p.pomf.se/">Paste</a></li>
+ <li><a href="http://blog.pomf.se">Blog</a></li>
+ <li><a href="http://pomf.se/faq.html">FAQ</a></li>
+ <li><a href="../includes/api.php?do=logout">Logout</a></li>
+ </ul>
+ </div>
+ </div>
+ </body>
</html>
diff --git a/pages/ca.swig b/pages/ca.swig
index 68c7b97..a15a7d5 100644
--- a/pages/ca.swig
+++ b/pages/ca.swig
@@ -2,9 +2,9 @@
{% block body %}
<div class="jumbotron">
- <header>
- <h1 >Roba Interior~</h1>
- </header>
+ <header>
+ <h1>Roba Interior~</h1>
+ </header>
<p class="lead">Màxima grandària de pujada {{max_upload_size}}MiB, read the <a href="faq.html">FAQ</a></p>
{% include "check_scriptca.swig" %}
{% include "check_fileapica.swig" %}
diff --git a/pages/check_fileapica.swig b/pages/check_fileapica.swig
index a3e8120..1797a9b 100644
--- a/pages/check_fileapica.swig
+++ b/pages/check_fileapica.swig
@@ -1,3 +1,3 @@
<p id="no-file-api" class="alert alert-error">
- <strong> El seu navegador és una merda. </strong> Instal l'última <a href="http://firefox.com/"> Firefox </a> o <a href = "http://chrome.google.com / "> </a> Botnet i tornar &lt;3
+ <strong>El seu navegador és una merda.</strong> Instal l'última <a href="http://firefox.com/">Firefox</a> o <a href="http://chrome.google.com/">Botnet</a> i tornar &lt;3
</p>
diff --git a/pages/check_scriptca.swig b/pages/check_scriptca.swig
index 0a5f0ea..3c8b01a 100644
--- a/pages/check_scriptca.swig
+++ b/pages/check_scriptca.swig
@@ -1,3 +1,3 @@
<noscript>
- <p class="alert alert-error"><a href="https://no.pantsu.cat"> Javascript versió gratuïta</p>
+ <p class="alert alert-error"><a href="https://no.pantsu.cat">Javascript versió gratuïta</a></p>
</noscript>
diff --git a/pages/faq.swig b/pages/faq.swig
index 320f4b4..dca3c80 100644
--- a/pages/faq.swig
+++ b/pages/faq.swig
@@ -3,20 +3,20 @@
{% block title %}FAQ{% endblock %}
{% block body %}
<div class="jumbotron">
-<h1>FAQ</h1>
-{% include "nav.swig" %}
+ <h1>FAQ</h1>
+ {% include "nav.swig" %}
</div>
<ul>
- <li>Pantsu does NOT support Internet Explorer and older versions of Firefox, Chrome, Opera and Safari.</li>
- <li>Uploading tools for Pantsu can be found at Tools. (Currently working to update them all to work with pantsu.cat)</li>
- <li>Max file size is {{max_upload_size}}MiB, hopefully I won't have to change this to a even lower number. (read: don't be an ass).</li>
- <li>No Child porn, anything else goes until I get a lawsuit I guess. (unless its a virus, because that goes into the being an ass category).</li>
- <li>All filetypes are allowed, ALL! (gif,exe,jpg,rar,ass,srt,etc,etc).</li>
- <li>No data is collected or logged by us. This won't change. Cloudflare isn't in use</li>
- <li>Please contact me at <a href="mailto:contact@pantsu.cat">contact@pantsu.cat</a> for any questions.</li>
- <li>If you wish to send me any DMCA requests please contact me at <a href="mailto:abuse@pantsu.cat>abuse@pantsu.cat</a></li>
- <li>If any changes to these policies happen you will be informed about them.</li>
- <li>I will keep the site as transparent as possible. This will include any files that I remove will be publically listed and have a copy of the DMCA notice. For more information please visit the <a href="//transparency.pantsu.cat">transparency information</a> page.</li>
+ <li>Pantsu does NOT support Internet Explorer and older versions of Firefox, Chrome, Opera and Safari.</li>
+ <li>Uploading tools for Pantsu can be found at Tools. (Currently working to update them all to work with pantsu.cat)</li>
+ <li>Max file size is {{max_upload_size}}MiB, hopefully I won't have to change this to a even lower number. (read: don't be an ass).</li>
+ <li>No Child porn, anything else goes until I get a lawsuit I guess. (unless its a virus, because that goes into the being an ass category).</li>
+ <li>All filetypes are allowed, ALL! (gif,exe,jpg,rar,ass,srt,etc,etc).</li>
+ <li>No data is collected or logged by us. This won't change. Cloudflare isn't in use</li>
+ <li>Please contact me at <a href="mailto:contact@pantsu.cat">contact@pantsu.cat</a> for any questions.</li>
+ <li>If you wish to send me any DMCA requests please contact me at <a href="mailto:abuse@pantsu.cat>abuse@pantsu.cat</a></li>
+ <li>If any changes to these policies happen you will be informed about them.</li>
+ <li>I will keep the site as transparent as possible. This will include any files that I remove will be publically listed and have a copy of the DMCA notice. For more information please visit the <a href="//transparency.pantsu.cat">transparency information</a> page.</li>
</ul>
{% include "banners.swig" %}
{% endblock %}
diff --git a/pages/index.swig b/pages/index.swig
index 8a1635e..3335661 100644
--- a/pages/index.swig
+++ b/pages/index.swig
@@ -2,10 +2,10 @@
{% block body %}
<div class="jumbotron">
- <header>
- <h1>Pantsu~</h1>
- <p lang="ca">Ropa Interior~</p>
- </header>
+ <header>
+ <h1>Pantsu~</h1>
+ <p lang="ca">Ropa Interior~</p>
+ </header>
<p class="lead">Max upload size is {{max_upload_size}}MiB, read the <a href="faq.html">FAQ</a></p>
{% include "check_script.swig" %}
{% include "check_fileapi.swig" %}
diff --git a/pages/layout.swig b/pages/layout.swig
index 7daaf0b..d887a3e 100644
--- a/pages/layout.swig
+++ b/pages/layout.swig
@@ -1,15 +1,15 @@
<!DOCTYPE html>
<html lang="en">
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Pantsu.cat &middot; {% block title %}Kawaii File Hosting{% endblock %}</title>
- <link rel="icon" href="favicon.ico">
- <link rel="stylesheet" href="pomf.min.css">
-</head>
-<body>
-<div class="container">
- {% block body %}What the fuck are you doing here, baka?{% endblock %}
-</div>
-</body>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Pantsu.cat &middot; {% block title %}Kawaii File Hosting{% endblock %}</title>
+ <link rel="icon" href="favicon.ico">
+ <link rel="stylesheet" href="pomf.min.css">
+ </head>
+ <body>
+ <div class="container">
+ {% block body %}What the fuck are you doing here, baka?{% endblock %}
+ </div>
+ </body>
</html>
diff --git a/pages/layoutca.swig b/pages/layoutca.swig
index 92f9824..54c54d6 100644
--- a/pages/layoutca.swig
+++ b/pages/layoutca.swig
@@ -1,15 +1,15 @@
<!DOCTYPE html>
<html lang="ca">
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Roba Interior.cat &middot; {% block title %}Allotjament d'arxius valent{% endblock %}</title>
- <link rel="icon" href="favicon.ico">
- <link rel="stylesheet" href="pomf.min.css">
-</head>
-<body>
-<div class="container">
- {% block body %}What the fuck are you doing here, baka?{% endblock %}
-</div>
-</body>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Roba Interior.cat &middot; {% block title %}Allotjament d'arxius valent{% endblock %}</title>
+ <link rel="icon" href="favicon.ico">
+ <link rel="stylesheet" href="pomf.min.css">
+ </head>
+ <body>
+ <div class="container">
+ {% block body %}What the fuck are you doing here, baka?{% endblock %}
+ </div>
+ </body>
</html>
diff --git a/pages/nav.swig b/pages/nav.swig
index 5864c43..cd2f43d 100644
--- a/pages/nav.swig
+++ b/pages/nav.swig
@@ -1,11 +1,11 @@
<nav>
- <ul><li>
- <a href="//pantsu.cat/">Pantsu</a></li><li>
- <a href="//p.pantsu.cat/">Paste</a></li><li>
- <a href="tools.html">Tools</a></li><li>
- <a href="//github.com/pantsucat/pomf">Github</a></li><li>
- <a href="other.html">Other</a></li><li>
- <a href="//transparency.pantsu.cat">Transparency</a></li>
- <a href="ca.html">Catalan</a></li><li>
+ <ul>
+ <li><a href="//pantsu.cat/">Pantsu</a></li>
+ <li><a href="//p.pantsu.cat/">Paste</a></li>
+ <li><a href="tools.html">Tools</a></li>
+ <li><a href="//github.com/pantsucat/pomf">Github</a></li>
+ <li><a href="other.html">Other</a></li>
+ <li><a href="//transparency.pantsu.cat">Transparency</a></li>
+ <li><a href="ca.html">Catalan</a></li>
</ul>
</nav>
diff --git a/pages/nojs.swig b/pages/nojs.swig
index c526688..91d1105 100644
--- a/pages/nojs.swig
+++ b/pages/nojs.swig
@@ -2,10 +2,10 @@
{% block body %}
<div class="jumbotron">
- <header>
- <h1>Pantsu~</h1>
- <p lang="ca">Ropa Interior~</p>
- </header>
+ <header>
+ <h1>Pantsu~</h1>
+ <p lang="ca">Ropa Interior~</p>
+ </header>
<p class="lead">Max upload size is {{max_upload_size}}MiB, read the <a href="faq.html">FAQ</a></p>
{% include "check_fileapi.swig" %}
{% include "upload_form_nojs.swig" %}
diff --git a/pages/other.swig b/pages/other.swig
index 2efb119..4071fb5 100644
--- a/pages/other.swig
+++ b/pages/other.swig
@@ -3,12 +3,11 @@
{% block title %}FAQ{% endblock %}
{% block body %}
<div class="jumbotron">
-<h1>Other Services</h1>
+ <h1>Other Services</h1>
</div>
<ul>
- <li><a href="//git.pantsu.cat">Git</a></li>
- <li><a href="firefox/">Firefox /g/uide</a></li>
+ <li><a href="//git.pantsu.cat">Git</a></li>
+ <li><a href="firefox/">Firefox /g/uide</a></li>
</ul>
{% include "nav.swig" %}
{% endblock %}
-
diff --git a/pages/tools.swig b/pages/tools.swig
index f82e8e4..2632f5f 100644
--- a/pages/tools.swig
+++ b/pages/tools.swig
@@ -6,83 +6,122 @@
<h1>Pomf Tools</h1>
{% include "nav.swig" %}
</div>
-<section><h1>Pomfit</h1><dl>
- <dt>Download</dt>
- <dd><a href="https://github.com/pantsucat/pomfit">https://github.com/pantsucat/pomfit</a></dd>
- <dt>Contact</dt>
+<section>
+ <h1>Pomfit</h1>
+ <dl>
+ <dt>Download</dt>
+ <dd><a href="https://github.com/pantsucat/pomfit">https://github.com/pantsucat/pomfit</a></dd>
+ <dt>Contact</dt>
<dd><a href="https://twitter.com/Senketsu_Dev">https://twitter.com/Senketsu_Dev</a></dd>
-</dl></section>
-<section><h1>Bash Pomf Uploader</h1><dl>
- <dt>Download</dt>
+ </dl>
+</section>
+<section>
+ <h1>Bash Pomf Uploader</h1>
+ <dl>
+ <dt>Download</dt>
<dd><a href="https://gist.github.com/pantsucat/b46320a4103afda4e0ff">https://gist.github.com/pantsucat/b46320a4103afda4e0ff</a></dd>
- <dt>Contact</dt>
+ <dt>Contact</dt>
<dd><a href="https://twitter.com/AnonymousLink">https://twitter.com/AnonymousLink</a></dd>
-</dl></section>
-<section><h1>Simple Bash Pomf Uploader</h1><dl>
- <dt>Download</dt>
+ </dl>
+</section>
+<section>
+ <h1>Simple Bash Pomf Uploader</h1>
+ <dl>
+ <dt>Download</dt>
<dd><a href="https://gist.github.com/pantsucat/da46d56e22063704604a">https://gist.github.com/pantsucat/da46d56e22063704604a</a></dd>
- <dt>Contact</dt>
+ <dt>Contact</dt>
<dd><a href="https://twitter.com/dev_console">https://twitter.com/dev_console</a></dd>
-</dl></section>
-<section><h1>limf</h1><dl>
- <dt>Download</dt>
- <dd><a href="https://github.com/lich/limf">https://github.com/lich/limf</a></dd>
- <dt>Contact</dt>
- <dd><a href="http://lich.github.io/">http://lich.github.io//</a></dd>
-</dl></section>
-<section><h1>1339secure</h1><dl>
- <dt>Download</dt>
- <dd><a href="https://github.com/pantsucat/1339secure">https://github.com/pantsucat/1339secure</a></dd>
- <dt>Contact</dt>
- <dd><a href="mailto:adriankoshcha@teknik.io">adriankoshcha@teknik.io</a></dd>
-</dl></section>
-<section><h1>Python Pomf Uploader</h1><dl>
- <dt>Download</dt>
+ </dl>
+</section>
+<section>
+ <h1>limf</h1>
+ <dl>
+ <dt>Download</dt>
+ <dd><a href="https://github.com/lich/limf">https://github.com/lich/limf</a></dd>
+ <dt>Contact</dt>
+ <dd><a href="http://lich.github.io/">http://lich.github.io//</a></dd>
+ </dl>
+</section>
+<section>
+ <h1>1339secure</h1>
+ <dl>
+ <dt>Download</dt>
+ <dd><a href="https://github.com/pantsucat/1339secure">https://github.com/pantsucat/1339secure</a></dd>
+ <dt>Contact</dt>
+ <dd><a href="mailto:adriankoshcha@teknik.io">adriankoshcha@teknik.io</a></dd>
+ </dl>
+</section>
+<section>
+ <h1>Python Pomf Uploader</h1>
+ <dl>
+ <dt>Download</dt>
<dd><a href="https://github.com/pantsucat/POMF">https://github.com/pantsucat/POMF</a></dd>
- <dt>Contact</dt>
+ <dt>Contact</dt>
<dd><a href="https://twitter.com/FuzzyPomf">https://twitter.com/FuzzyPomf</a></dd>
-</dl></section>
-<section><h1>Sharex</h1><dl>
- <dt>Download</dt>
+ </dl>
+</section>
+<section>
+ <h1>Sharex</h1>
+ <dl>
+ <dt>Download</dt>
<dd><a href="https://code.google.com/p/sharex/">https://code.google.com/p/sharex/</a></dd>
- <dt>Settings</dt>
+ <dt>Settings</dt>
<dd><a href="https://p.pantsu.cat/view/raw/b79ea507">https://p.pantsu.cat/view/raw/b79ea507</a></dd>
-</dl></section>
-<section><h1>Scotty</h1><dl>
- <dt>Download</dt>
+ </dl>
+</section>
+<section>
+ <h1>Scotty</h1>
+ <dl>
+ <dt>Download</dt>
<dd><a href="https://github.com/pantsucat/Scotty">https://github.com/pantsucat/Scotty</a></dd>
- <dt>Contact</dt>
+ <dt>Contact</dt>
<dd><a href="https://twitter.com/mavanmanenDev">https://twitter.com/mavanmanenDev</a></dd>
-</dl></section>
-<section class="ded"><h1>Gyazo Client (Puush like client)</h1><dl>
- <dt>Download</dt>
+ </dl>
+</section>
+<section class="ded">
+ <h1>Gyazo Client (Puush like client)</h1>
+ <dl>
+ <dt>Download</dt>
<dd><a href="https://github.com/pantsucat/gyazowin">https://github.com/pantsucat/gyazowin</a></dd>
- <dt>Contact</dt>
+ <dt>Contact</dt>
<dd><a href="https://twitter.com/4vailable">https://twitter.com/4vailable</a></dd>
-</dl></section>
-<section class="ded"><h1>Bash Screenshot Uploader</h1><dl>
- <dt>Download</dt>
+ </dl>
+</section>
+<section class="ded">
+ <h1>Bash Screenshot Uploader</h1>
+ <dl>
+ <dt>Download</dt>
<dd><a href="https://gist.github.com/aki--aki/6258422">https://gist.github.com/aki--aki/6258422</a></dd>
- <dt>Contact</dt>
+ <dt>Contact</dt>
<dd><a href="https://twitter.com/__akiaki">https://twitter.com/__akiaki</a></dd>
-</dl></section>
-<section class="ded"><h1>Pomf.se Windows Client <span class="old">Dead</span></h1><dl>
- <dt>Download</dt>
+ </dl>
+</section>
+<section class="ded">
+ <h1>Pomf.se Windows Client <span class="old">Dead</span></h1>
+ <dl>
+ <dt>Download</dt>
<dd><a href="http://mavanmanen.nl/index.php?page=projects">http://mavanmanen.nl/index.php?page=projects</a></dd>
- <dt>Contact</dt>
+ <dt>Contact</dt>
<dd><a href="https://twitter.com/mavanmanenDev">https://twitter.com/mavanmanenDev</a></dd>
-</dl></section>
-<section class="ded"><h1>ScrotUP <span class="old">Dead</span></h1><dl>
- <dt>Download</dt>
+ </dl>
+</section>
+<section class="ded">
+ <h1>ScrotUP <span class="old">Dead</span></h1>
+ <dl>
+ <dt>Download</dt>
<dd><a href="https://github.com/mavanmanen/ScrotUP">https://github.com/mavanmanen/ScrotUP</a></dd>
- <dt>Contact</dt>
+ <dt>Contact</dt>
<dd><a href="https://twitter.com/mavanmanenDev">https://twitter.com/mavanmanenDev</a></dd>
-</dl></section>
-<section class="ded"><h1>Perl Pomf Uploaer <span class="old">Dead</span></h1><dl>
- <dt>Download</dt>
+ </dl>
+</section>
+<section class="ded">
+ <h1>Perl Pomf Uploaer <span class="old">Dead</span></h1>
+ <dl>
+ <dt>Download</dt>
<dd><a href="http://p.pomf.se/624">http://p.pomf.se/624</a></dd>
- <dt>Contact</dt>
+ <dt>Contact</dt>
<dd>Kori</dd>
-</dl></section>
+ </dl>
+</section>
{% endblock %}
diff --git a/static/classes/Response.class.php b/static/classes/Response.class.php
index 951e39e..b7e4c5d 100755
--- a/static/classes/Response.class.php
+++ b/static/classes/Response.class.php
@@ -17,7 +17,7 @@ class Response
$this->type = $response_type;
break;
- case 'html':
+ case 'html':
header('Content-Type: text/html;charset=utf-8');
$this->type = 'html';
break;
@@ -118,7 +118,7 @@ class Response
$result .= $file['url']."\n";
}
- return $result;
+ return $result;
}
private static function html_error($code, $description)
@@ -129,10 +129,10 @@ class Response
private static function html_success($files)
{
foreach ($files as $file) {
- $result .= "<a href=\"".$file['url']."\">".$file['url']."</a><br>";
+ $result .= '<a href="'.$file['url'].'">'.$file['url'].'</a><br>';
}
- return $result;
+ return $result;
}
private static function json_error($code, $description)