This blob has been accessed 295 times via Git panel.
- <style>
- body {
- color: #666666;
- margin: 10px;
- padding: 0px;
- text-align: left;
- font-family: <?php
- if (file_exists("data/fonts/body.txt")) {
- $font_body = file_get_contents("data/fonts/body.txt");
- echo "{$font_body},";
- }
- ?> arial, helvetica, sans-serif;
- background-color: #FFFFFF;
- }
- p {
- font-size: 11px;
- }
- a {
- font-weight: bold;
- text-decoration: none;
- }
- a:link, a:visited {
- color: #666666;
- }
- a:hover {
- color: #336699;
- }
- a:active {
- color: #336699;
- }
- .input {
- color: #666666;
- background: #ffffff;
- border: #999999 solid 1px;
- width: 125px;
- font-family: <?php
- if (file_exists("data/fonts/input.txt")) {
- $font_input = file_get_contents("data/fonts/input.txt");
- echo "{$font_input},";
- }
- ?> arial, helvetica, sans-serif;
- font-size: 11px;
- }
- </style>
- <?php
- error_reporting(E_ERROR);
- if (get_magic_quotes_gpc()) {
- function stripslashes_array($data) {
- if (is_array($data)){
- foreach ($data as $key => $value){
- $data[$key] = stripslashes_array($value);
- }
- return $data;
- }
- else{
- return stripslashes($data);
- }
- }
- $_REQUEST = stripslashes_array($_REQUEST);
- }
- if (isset($_REQUEST['entry']) and !empty($_REQUEST['entry'])) {
- $dir = "data/items/" . $_REQUEST['entry'];
- if (file_exists("$dir")) {
- ?>
- <form enctype="multipart/form-data" action="index.php?entry=<?php echo $_REQUEST['entry'];
- if (isset($_REQUEST['show']) and ($_REQUEST['show'] == comments)) {
- echo "&show=comments";
- }
- if (isset($_REQUEST['show']) and ($_REQUEST['show'] == album)) {
- echo "&show=album";
- }
- if (isset($_REQUEST['show']) and ($_REQUEST['show'] == filedrop)) {
- echo "&show=filedrop";
- }
- if (isset($_REQUEST['show']) and ($_REQUEST['show'] == pdf)) {
- echo "&show=pdf";
- }
- ?>" method="post">
- <input autocomplete=off class=input type=password name=passwd>
- <input class=input type=submit value=submit>
- </form>
- <p>Enter the required password above or click <a href=index.php>here</a> to go back to the index page.</p>
- <?php
- }
- }
- ?>