Files
5ducky/legacy/templates/remotepost.tpl.php
kibiandClaude Opus 5.5 664d8c6117 Move the original PHP site into legacy/
The PHP sources, templates and old jQuery-based scripts move unchanged into
legacy/ for reference. Shared assets (media/, images/, favicon.ico, the
default avatar) stay at the repository root.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 02:15:05 +02:00

42 lines
1.7 KiB
PHP

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><?php echo Config::$siteTitle ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo Config::$absolutePath; ?>media/styles_b.css" />
<link rel="Shortcut Icon" href="<?php echo Config::$absolutePath; ?>media/favicon.ico"/>
<script type="text/javascript" src="<?php echo Config::$absolutePath; ?>media/general.js"></script>
</head>
<body style="margin: 0.2em 1em 0 1em; padding: 0;">
<h1 class="remotePost">4ducky.com - One click Uploader</h1>
<?php if( !$user->id ) { ?>
<form action="remotepost.php" method="post">
<em>Name:</em>
<input type="text" name="name" style="width: 80px; margin-right: 10px" value="<?php echo htmlspecialchars($_POST['name']); ?>"/>
<em>Passwort:</em>
<input type="password" style="width: 80px; margin-right: 10px" name="pass" />
<input type="submit" class="button login" name="login" value="Login" />
<input type="hidden" name="remember" value="1"/>
</form>
<?php } else if( $user->isSpamLocked() ) { ?>
<p>Sorry, you are not allowed to post more than 10 Images in 2 Hours.</p>
<?php } else if( $status == 'ready' ) { ?>
<p>Please click on the image you want to publish on 4ducky.com!</p>
<p><strong>Rules:</strong> Gore, CP, Spam (no Thread) = Ban</p>
<?php } else if( $status == 'failed' ) { ?>
<p>Sorry, the Image could not be posted for the following reason:</p>
<p><strong><?php echo implode(' ', $uploadErrors); ?></strong></p>
<?php } else if( $status == 'posted' ) { ?>
<p>Image posted! Thank you!</p>
<script type="text/javascript">
if( parent ) {
parent.location = "<?php echo addslashes($_GET['xhrLocation']) ?>#RP_Success";
}
</script>
<?php } ?>
</body>
</html>