mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
* More sysstat reducing stuff.
* Also added CVS Id: tags to files missing them at the top. --jm
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
require_once 'prepend.inc';
|
||||
/* $Id: */
|
||||
|
||||
require_once './include/prepend.inc';
|
||||
|
||||
$NUMACROSS = 2;
|
||||
$SHOW_CLOSE = 10;
|
||||
|
||||
@@ -68,7 +68,7 @@ if (!isset($base)) {
|
||||
// The base is the referrer site. Check if it was a PHP mirror site,
|
||||
// and not some other site offering a direct PHP.net search form.
|
||||
// Links should not be pointed back to a non PHP.net mirror site
|
||||
if (preg_match("!^http://(\\w{2}\\d?)\\.php\\.net/!", $HTTP_REFERER, $matches) &&
|
||||
if (isset($_SERVER['HTTP_REFERER']) && preg_match("!^http://(\\w{2}\\d?)\\.php\\.net/!", $HTTP_REFERER, $matches) &&
|
||||
$matches[1] != 'qa') {
|
||||
$base = "http://{$matches[1]}.php.net/";
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
include_once "prepend.inc";
|
||||
/* $Id$ */
|
||||
|
||||
include_once "./include/prepend.inc";
|
||||
|
||||
// Gecko would like to see the target to be _content, while IE would
|
||||
// like to see the target to be _main. Other browsers are not expected
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
require_once 'prepend.inc';
|
||||
/* $Id$ */
|
||||
|
||||
require_once './include/prepend.inc';
|
||||
|
||||
commonHeader("PHP.net Search Bars");
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
include_once "prepend.inc";
|
||||
/* $Id$ */
|
||||
|
||||
include_once "./include/prepend.inc";
|
||||
commonHeader("Sitemap");
|
||||
?>
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
include_once 'prepend.inc';
|
||||
/* $Id$ */
|
||||
|
||||
include_once './include/prepend.inc';
|
||||
commonHeader("A Tourist's Guide");
|
||||
?>
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<?php
|
||||
require_once 'prepend.inc';
|
||||
require_once 'posttohost.inc';
|
||||
require_once 'email-validation.inc';
|
||||
/* $Id$ */
|
||||
|
||||
require_once './include/prepend.inc';
|
||||
require_once './include/posttohost.inc';
|
||||
require_once './include/email-validation.inc';
|
||||
|
||||
commonHeader("Submit an Event");
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
|
||||
include './include/prepend.inc';
|
||||
|
||||
commonHeader("Getting Help");
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
require_once 'prepend.inc';
|
||||
/* $Id$ */
|
||||
|
||||
require_once './include/prepend.inc';
|
||||
commonHeader("Thanks");
|
||||
?>
|
||||
|
||||
|
||||
4
tips.php
4
tips.php
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
require_once 'prepend.inc';
|
||||
/* $Id$ */
|
||||
|
||||
require_once './include/prepend.inc';
|
||||
commonHeader("Cool Quick Reference Tips");
|
||||
|
||||
function tipTitle($title,$author='',$date='') {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
require_once 'prepend.inc';
|
||||
/* $Id$ */
|
||||
|
||||
require_once './include/prepend.inc';
|
||||
commonHeader("Unsubscribing");
|
||||
?>
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
include_once 'prepend.inc';
|
||||
/* $Id: */
|
||||
|
||||
include_once './include/prepend.inc';
|
||||
|
||||
$SIDEBAR_DATA='
|
||||
<h3>URL examples</h3>
|
||||
|
||||
Reference in New Issue
Block a user