header:
Code:
<div align="center">
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
// JavaScript to interpolate random images into a page.
var ic = 14; // Number of alternative images
var i = new Array(ic); // Array to hold filenames
// Set up the images. These are GIFs, but they don't have to be.
// You could also save space in your file by including the
// unchanging part of the image filename (i.e. 'inline/imageSample'
// and '.gif') in the 'writeln' statement below, and just storing
// the part of the image name that actually changes. Used this way
// you could reference a very large number of different images while
// keeping the file size small.
i[0] = "images/header/1.jpg";
i[1] = "images/header/2.jpg";
i[2] = "images/header/3.jpg";
i[3] = "images/header/4.jpg";
i[4] = "images/header/5.jpg";
i[5] = "images/header/6.jpg";
i[6] = "images/header/7.jpg";
i[7] = "images/header/8.jpg";
i[8] = "images/header/9.jpg";
i[9] = "images/header/10.jpg";
i[10] = "images/header/11.jpg";
i[11] = "images/header/12.jpg";
i[12] = "images/header/13.jpg";
i[13] = "images/header/14.jpg";
i[14] = "images/header/15.jpg";
function pickRandom(range) {
if (Math.random)
return Math.round(Math.random() * (range-1));
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
// Write out an IMG tag, using a randomly-chosen image name.
var choice = pickRandom(ic);
document.writeln('<a href="http://www.auto-labs.com/forum/"' + '<TABLE WIDTH=792 HEIGHT=154 ALIGN=CENTER><TR><TD>' +
'<IMG SRC="' + i[choice] +
'" HEIGHT="154" WIDTH="792" BORDER=0 id="forumlogo"><' +
"/P><" + "/TD><" + "/TR><" + "/TABLE></a>");
// -->
</SCRIPT>
</div>
<!-- content table -->
$spacer_open
$_phpinclude_output
headerinclude
Code:
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $versionnumber" />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->
<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->
</script>
<script type="text/javascript" src="clientscript/resizeall.js"></script>
<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if>