Hex_legend |
09-18-2008 09:31 PM |
I'm still getting an error:
Warning: require_once(/home/content/s/k/u/skullzrus/html/includes/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/s/k/u/skullzrus/html/forum/global.php on line 20
Fatal error: require_once() [function.require]: Failed opening required '/home/content/s/k/u/skullzrus/html/includes/init.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/s/k/u/skullzrus/html/forum/global.php on line 20
I don't want to create a template, which is why Im not following the "vbulletin powered page guide". I just want to enable $username in the header of my html site.
This is why I'm asking if there is a way to include global.php on my html page, which is:
Code:
<!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 & 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">
|