Може ли някой да ми вгради този код
Във ето тизи код
и вместо VLEZE!! да ми изкарва предния код а ако изпише PROXY! да не изкарва нищо
Код:
<?php
session_start();
include("config.php");
include "ipban.php";
?>
<head>
<title>Website</title>
<link rel="stylesheet" type="text/css" href="theme/style.css">
<LINK REL="SHORTCUT ICON" HREF="favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>
<?
include("bgtopconf.php");
$sql = mysql_query("SELECT ctime FROM $dbtable WHERE ip=\"$ip\"");
if($row = mysql_fetch_array($sql)) {
$calc = $row['ctime'] + $vtime;
if ($calc < $time) { show(); }
}
else { show(); }
?>
<html>
<body vlink="#000000" link="#000000">
<div style="padding: 0px; overflow: hidden; visibility: hidden; position: absolute; width: 0px; left: 0px; top: 0px;" id="WzTtDiV"></div>
<table align='center' border='0' cellpadding='5' cellspacing='0'>
<center><div id="header"></center>
</tbody></table>
<?php
include "menu.php"
?>
<tr><td class="outer" style="padding-top: 10px; padding-bottom: 10px;" align="center">
<?php
include("check.php");
$url="$_SERVER[REQUEST_URI]";
$newurl=explode("/", $url);
if($_GET['a']) {
$page = htmlspecialchars($_GET['a']);
$p=@ include("$page.php");
if ($p)
{
}
else
{
echo "<center><b>Няма такава страница, моля върнете се !</b></center>";
} }
elseif (empty($newurl[1]) || $newurl[1] == "index.php" && !$_GET['a'])
{
include "news.php";
}
else
{
}
?>
</td></tr></tbody></table>
<?php
include "reklama.php"
?>
Във ето тизи код
Код:
<?php
header("Content-type: text/html; charset=UTF-8");
if($_SERVER['HTTP_ACCEPT_CHARSET'] != NULL && $_SERVER['HTTP_ACCEPT_ENCODING'] != NULL && $_SERVER['HTTP_CONNECTION'] != NULL)
{
echo "VLEZE!!";
}
else
{
echo "<h1>PROXY!</h1>";
}
?>
и вместо VLEZE!! да ми изкарва предния код а ако изпише PROXY! да не изкарва нищо