Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
Prev Previous Post   Next Post Next
  #3  
Old 09-18-2008, 07:55 PM
Hex_legend Hex_legend is offline
 
Join Date: May 2007
Posts: 750
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am changing the header.php file which shows:

PHP Code:
<?php

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS'1);

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(

);

// get special data templates from the datastore
$specialtemplates = array(
    
);

// pre-cache templates used by all actions
$globaltemplates = array(
    
);

// pre-cache templates used by specific actions
$actiontemplates = array(

);

// ######################### REQUIRE BACK-END ############################
require_once('http://www.thesocialrev.com/forum/global.php');

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################



?> 



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The Social Revolution</title>
<style type="text/css">
<!--
body {
    background-image: url(bmp/bkgd.jpg);
    background-attachment: fixed;
    background-repeat: repeat;
    background-color: #000000;
}
body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    color: #FFFFFF;
}
.style1 {font-size: x-small}
.style2 {
    color: #000000;
    font-size: x-small;
}
.style3 {
    color: #000000;
    font-size: small;
    font-weight: bold;
}
.style4 {font-size: small}
-->
</style>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body onload="MM_preloadImages('images/homeb_32.png','images/homeb_33.png','images/homeb_34.png','images/homeb_35.png','images/homeb_36.png','images/homeb_37.png','images/homeb_38.png','images/homeb_39.png','images/homeb_40.png','images/homeb_41.png','images/homeb_58.png','images/homeb_59.png','images/homeb_60.png','images/homeb_61.png','images/homeb_62.png','images/homeb_63.png','images/homeb_64.png','images/homeb_65.png','images/homeb_66.png','images/homeb_67.png','images/homeb_31.png','images/homeb_57.png')">
<table width="1006" height="801" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
  <tr>
    <td colspan="45"><img src="images/home_01.png" width="1006" height="9" alt="" /></td>
  </tr>
  <tr>
    <td colspan="4" rowspan="5"><img src="images/home_02.png" width="24" height="141" alt="" /></td>
    <td colspan="5" align="left" valign="top"><font size="-1">Welcome $vbulletin->userinfo['username'], Logout</font></td>
    <td rowspan="5"><img src="images/home_04.png" width="19" height="141" alt="" /></td>
    <td colspan="3" align="left" valign="top"><font size="-1">Inbox (12)</font></td>
    <td rowspan="5"><img src="images/home_06.png" width="20" height="141" alt="" /></td>
    <td colspan="3" align="left" valign="top"><img src="images/home_07.png" width="112" height="21" alt="" /></td>
    <td colspan="7" rowspan="5"><img src="images/home_08.png" width="209" height="141" alt="" /></td>
    <td colspan="4" align="left" valign="top"><img src="images/home_09.png" width="112" height="21" alt="" /></td>
    <td rowspan="2"><img src="images/home_10.png" width="8" height="61" alt="" /></td>
    <td colspan="4" align="left" valign="top"><a href="about.html"><img src="images/home_11.png" alt="" width="101" height="21" border="0" /></a></td>
    <td rowspan="2"><img src="images/home_12.png" width="8" height="61" alt="" /></td>
    <td colspan="3" align="left" valign="top"><a href="contact.html"><img src="images/home_13.png" alt="" width="83" height="21" border="0" /></a></td>
    <td rowspan="3"><img src="images/home_14.png" width="7" height="83" alt="" /></td>
    <td colspan="3" align="left" valign="top"><a href="contact.html"><img src="images/home_15.png" alt="" width="54" height="21" border="0" /></a></td>
    <td colspan="4" rowspan="7"><img src="images/home_16.png" width="23" height="162" alt="" /></td>
  </tr>
  <tr>
    <td colspan="5" rowspan="4"><img src="images/home_17.png" width="157" height="120" alt="" /></td>
    <td colspan="3" rowspan="4"><img src="images/home_18.png" width="69" height="120" alt="" /></td>
    <td colspan="3" rowspan="4"><img src="images/home_19.png" width="112" height="120" alt="" /></td>
    <td colspan="4"><img src="images/home_20.png" width="112" height="40" alt="" /></td>
    <td colspan="4"><img src="images/home_21.png" width="101" height="40" alt="" /></td>
    <td colspan="3"><img src="images/home_22.png" width="83" height="40" alt="" /></td>
    <td colspan="3" rowspan="2"><img src="images/home_23.png" width="54" height="62" alt="" /></td>
  </tr>
  <tr>
    <td colspan="3" rowspan="3"><img src="images/home_24.png" width="82" height="80" alt="" /></td>
    <td colspan="3" align="left" valign="top"><img src="images/home_25.png" width="66" height="22" alt="" /></td>
    <td colspan="3" align="left" valign="top"><img src="images/home_26.png" width="73" height="22" alt="" /></td>
    <td colspan="4" align="left" valign="top"><img src="images/home_27.png" width="91" height="22" alt="" /></td>
  </tr>
  <tr>
    <td colspan="14" align="left" valign="top"><img src="images/home_28.png" width="291" height="25" alt="" /></td>
  </tr>
  <tr>
    <td colspan="14"><img src="images/home_29.png" width="291" height="33" alt="" /></td>
  </tr>
  <tr>
    <td colspan="2" rowspan="5"><img src="images/home_30.png" width="4" height="49" alt="" /></td>
    <td colspan="4" align="left" valign="top"><a href="index.html"><img src="images/home_31.png" alt="" width="45" height="20" border="0" id="Image21" onmouseover="MM_swapImage('Image21','','images/homeb_31.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="2" align="left" valign="top"><a href="01generalboard.html"><img src="images/home_32.png" alt="" width="85" height="20" border="0" id="Image1" onmouseover="MM_swapImage('Image1','','images/homeb_32.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="02systemconsolegames.html"><img src="images/home_33.png" alt="" width="128" height="20" border="0" id="Image2" onmouseover="MM_swapImage('Image2','','images/homeb_33.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="04polls.html"><img src="images/home_34.png" alt="" width="41" height="20" border="0" id="Image3" onmouseover="MM_swapImage('Image3','','images/homeb_34.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="3" align="left" valign="top"><a href="05tournamentsevents.html"><img src="images/home_35.png" alt="" width="119" height="20" border="0" id="Image4" onmouseover="MM_swapImage('Image4','','images/homeb_35.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="2" align="left" valign="top"><a href="06entertainment.html"><img src="images/homeb_36.png" alt="" width="81" height="20" border="0" id="Image5" onmouseover="MM_swapImage('Image5','','images/homeb_36.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="2" align="left" valign="top"><a href="07sports.html"><img src="images/home_37.png" alt="" width="47" height="20" border="0" id="Image6" onmouseover="MM_swapImage('Image6','','images/homeb_37.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="3" align="left" valign="top"><a href="08clanspartyup.html"><img src="images/home_38.png" alt="" width="92" height="20" border="0" id="Image7" onmouseover="MM_swapImage('Image7','','images/homeb_38.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="6" align="left" valign="top"><a href="09guideswalkthroughs.html"><img src="images/home_39.png" alt="" width="129" height="20" border="0" id="Image8" onmouseover="MM_swapImage('Image8','','images/homeb_39.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="10gamesmovierevies.html"><img src="images/home_40.png" alt="" width="126" height="20" border="0" id="Image9" onmouseover="MM_swapImage('Image9','','images/homeb_40.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="11boardindex.html"><img src="images/home_41.png" alt="" width="76" height="20" border="0" id="Image10" onmouseover="MM_swapImage('Image10','','images/homeb_41.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td rowspan="2"><img src="images/home_42.png" width="10" height="21" alt="" /></td>
  </tr>
  <tr>
    <td colspan="38"><img src="images/home_43.png" width="969" height="1" alt="" /></td>
  </tr>
  <tr>
    <td rowspan="3"><img src="images/home_44.png" width="5" height="28" alt="" /></td>
    <td colspan="39" align="left" valign="top" bgcolor="#92B4FF"><span class="style2"><img src="images/home_45.png" width="13" height="21" alt="" />Television | Music | Video's | Movies | Pictures | Comedy | Arts &amp; Crafts</span></td>
    <td colspan="3" rowspan="2"><img src="images/home_46.png" width="11" height="27" alt="" /></td>
  </tr>
  <tr>
    <td colspan="39"><img src="images/home_47.png" width="986" height="3" alt="" /></td>
  </tr>
  <tr>
    <td colspan="41" rowspan="2" align="left" valign="top" background="bmp/guns.jpg" bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="10">
      <tr>
        <td><img src="bmp/banner1.png" width="955" height="145" /></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="82%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="10">
                  <tr>
                    <td valign="top">
As it wont be needing any templates, we are just using raw html code for the header - I just need the vB Functions..

This code is causing errors - see here.

What do I do to resolve?
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:41 PM.


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.07102 seconds
  • Memory Usage 2,687KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (11)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete