vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   theres barely any code in my index.php file.?? (https://vborg.vbsupport.ru/showthread.php?t=47732)

rY rY 01-15-2003 05:27 AM

theres barely any code in my index.php file.??
 
im a newbie to the 10th power my php index barely has anything in it... am I using the wrong one

<?php
include ("mainfile.php");
$index = 1;
global $menu_id,$menu,$Pmenu,$activeusers;
$Pmenu="P_thememenu_homepage";
include("header.php");
centerblocks();
echo "<br>";
// This is the referer routine from Nuke, it's handy so I left in, you
// may want to disable or remove it if you need to conserve server resources.
if ($httpref==1) {
$referer = getenv("HTTP_REFERER");
if ($referer=="" OR eregi("^unknown", $referer) OR substr("$referer",0,strlen($nukeurl))==$nukeurl OR eregi("^bookmark",$referer)) {
} else {
mysql_query("insert into $prefix"._referer." values (NULL, '$referer')");
}
$result = mysql_query("select * from $prefix"._referer."");
$numrows = mysql_num_rows($result);
if($numrows>=$httprefmax) {
mysql_query("delete from $prefix"._referer."");
}
}
// End of nuke referer
include("footer.php");
?>

rY rY 01-15-2003 05:28 AM

Im tryin to install this top 10 hack.... and its asking me to find this line:

$numbermembers=number_format($numbersmembers['users']);

and add the stuff after it

but that code is nowhere to be found in my index.php

Erwin 01-15-2003 10:19 AM

You are looking at the wrong index.php. Look at the index.php in your forum directory. That index.php you posted is for vBPortal.


All times are GMT. The time now is 08:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01015 seconds
  • Memory Usage 1,706KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete