View file wapp_antifront.com/upload/file-fusian.php

File size: 3.32Kb
<?php
include '../config.php';

Error_Reporting(E_ALL & ~E_NOTICE);
?>

<html>
<head><title>Файловый обменник</title>


<?php
require ('config.php');                                                                                # Include configuration file.
require ('common.php');                                                                                # Include common file with functions in.

?>



<!--- HTML Submission Form Section --->

<body bgcolor="#FFFFFF">
<font face="verdana" color="#ff0000" link="#00ff00" text="#FFFFFF">
<!--- Main Logo Image --->
<?php
# Do not change the logo file here, there is an option for this in the config.php file.
echo "<h1>Файловый обменник<br/>$sitename</h1>";
?>

<!--- Setup Table, To Hold Function Links --->
<left><br>

<!-- Maximum File Size Warning -->
<?php
        if ($show_info == "1")
        {
                require 'config.php';

                $fileaccept = "";
                if($filetype1 != "NULL")
                {

                        $fileaccept = $fileaccept . $filetype1;

                }

                if($filetype2 != "NULL")
                {

                        $fileaccept = $fileaccept . ", " . $filetype2;

                }

                if($filetype3 != "NULL")
                {

                        $fileaccept = $fileaccept . ", " . $filetype3;

                }

                if($filetype4 != "NULL")
                {

                        $fileaccept = $fileaccept . ", " . $filetype4;

                }

                if($filetype5 != "NULL")
                {

                        $fileaccept = $fileaccept . ", " . $filetype5;



                }
                 if($filetype6 != "NULL")
                {

                        $fileaccept = $fileaccept . ", " . $filetype6;



                }
                if($filetype7 != "NULL")
                {

                        $fileaccept = $fileaccept . ", " . $filetype7;



                }
                if($filetype8 != "NULL")
                {

                        $fileaccept = $fileaccept . ", " . $filetype8;



                }

                $upload_size = $max_file_size/1024;

                print "<h8><b>&#x0414;&#x043E;&#x043F;&#x0443;&#x0441;&#x0442;&#x0438;&#x043C;&#x044B;&#x0435; &#x0440;&#x0430;&#x0437;&#x0440;&#x0435;&#x0448;&#x0435;&#x043D;&#x0438;&#x044F; &#x0444;&#x0430;&#x0439;&#x043B;&#x043E;&#x0432;:</b> $fileaccept <br/><br/><b>&#x041C;&#x0430;&#x043A;&#x0441;&#x0438;&#x043C;&#x0430;&#x043B;&#x044C;&#x043D;&#x044B;&#x0439; &#x0440;&#x0430;&#x0437;&#x043C;&#x0435;&#x0440; &#x0444;&#x0430;&#x0439;&#x043B;&#x0430;:</b> $upload_size kilobytes (KB).</h8>";

        }

?>
<!--- Actual Form --->
<form enctype="multipart/form-data" action"<?php print $PHP_SELF ?>" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo ($max_file_size); ?>">
<input type="file" name="fupload">
<br/><br/>
<input type="submit" value="&#x437;&#x430;&#x433;&#x440;&#x443;&#x437;&#x438;&#x442;&#x44C;">
<br><br><font color="#ffff00"><a href="<? print "$homepage" ?>/upload/files/">&#x0417;&#x0430;&#x0433;&#x0440;&#x0443;&#x0436;&#x0435;&#x043D;&#x043D;&#x044B;&#x0435; &#x0444;&#x0430;&#x0439;&#x043B;&#x044B;</a></font><br><br>
</form>
</body>
</html>