Ok i'm a big n00b cause i can't get the variables to work. I've made my own header and included this in the header template as seen below:
Code:
<!-- logo -->
<a name="top"></a>
<title>Site</title>
<script language="JavaScript" type="text/javascript">
<!-- Hide from older browsers
function SwitchImg()
{ //start
var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
(store.indexOf('document.all[')==0 && document.all==null))
store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
obj = eval(store);
if (obj != null) {
switcher[keep++] = obj;
switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
obj.src = SwitchImg.arguments[rem+2];
} }
document.Data = switcher;
} //end
function RestoreImg()
{ //start
if (document.Data != null)
for (var rem=0; rem<(document.Data.length-1); rem+=2)
document.Data[rem].src=document.Data[rem+1];
} //end
// end hiding contents -->
</script>
<link href="style.css" rel="stylesheet" type="text/css">
</head><center>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table id="Table_01" width="750" height="*" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td><img src="images/index_02.gif" width="335" height="102" alt="" border="0"></td>
<td background="images/index_03.gif" width="415" height="102">
-- USERINFO --
</td>
</tr>
<tr valign="top">
<td colspan="2"><img src="images/index_05.gif" width="19" height="27" alt="" border="0"><img src="images/index_06.gif" width="115" height="27" alt="" border="0"><img src="images/index_07.gif" width="14" height="27" alt="" border="0"><img src="images/index_08.gif" width="115" height="27" alt="" border="0"><img src="images/index_09.gif" width="14" height="27" alt="" border="0"><img src="images/index_10.gif" width="115" height="27" alt="" border="0"><img src="images/index_11.gif" width="14" height="27" alt="" border="0"><img src="images/index_12.gif" width="115" height="27" alt="" border="0"><img src="images/index_13.gif" width="229" height="27" alt="" border="0"></td>
</tr>
<tr valign="top">
<td colspan="2"><img src="images/index_14.gif" width="750" height="25" alt="" border="0"></td>
</tr>
<tr valign="top">
<td width="100%" height="*" valign="top" bgcolor="#ffffff" colspan="2">
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
I did this with the adminCP Edit Templates. I really want the userinfo and welcome screen between:
Code:
<td background="images/index_03.gif" width="415" height="102">
-- USERINFO --
</td>
The TD's where it says -- USERINFO --, this must be extremely simple...
Can someone help me?