Hallo oxpus
leider sieht es immer noch nicht ganz so aus wie ich es möchte, ich habe alles rausgenommen was mit class= .........." ist nun sieht der code so aus:
Code: Alles auswählen
<!-- BEGIN switch_countdown_on -->
<form name="countdown">
<table align="center" width="100%" cellspacing="2" cellpadding="5" border="0" >
<tr>
<th align="center" colspan="3">Countdown</th>
</tr>
<tr>
<td align="left" valign="center" width="20%">{IMG_LEFT}</td>
<td align="center" width="60%">
<div >{DESC}</div><br />
<div id="time_event" style="display:"><b>
{L_DAYS} <input name="days" " size=4 style="border: 0px">
<span style="display: {FULL_DISPLAY};" " name="time_string">-
<input name="hours" " size=2 style="border: 0px"> :
<input name="mins" size=2 style="border: 0px"> :
<input name="secs" size=2 style="border: 0px">
</b></span></div>
<div id="event_time" style="display:none">{EVENT_TEXT}</div>
</td>
<td align="right" valign="center" width="20%">{IMG_RIGHT}</td>
</tr>
</table>
</form>
<script language="JavaScript" type="text/javascript">countdown();</script>
<!-- END switch_countdown_on -->
"Countdown" ist immer noch in einem Balken ist es nicht irgendwie möglich, dass es weiter unten ist.
So sieht meine overall_header.tpl im Moment aus:
Code: Alles auswählen
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
{META_TAG}
{META} {NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/illusion/{T_HEAD_STYLESHEET}" type="text/css">
<script language="JavaScript" type="text/javascript" src="includes/toggle_display.js"></script>
<!-- BEGIN switch_enable_pm_popup -->
<script language="javascript" type="text/javascript">
<!--
// MOD: PM Popup Blocker Fix - by tomlevens (tom@tomlevens.co.uk)
// (4 lines replaced - original lines follow)
//
// if ( {PRIVATE_MESSAGE_NEW_FLAG} )
// {
// window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
// }
//
if({PRIVATE_MESSAGE_NEW_FLAG})
{
new_pm_prompt = confirm('{L_PRIVATEMSG_NEW}');
if(new_pm_prompt == true) {
// Redirect to Inbox if OK is clicked
window.location = '{U_PRIVATEMSGS}';
}
else {
// Close prompt if cancel is clicked
}
}
//
// END MOD
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script>
window.onload = resizeimg;
function resizeimg()
{
if (document.getElementsByTagName)
{
for (i=0; i<document.getElementsByTagName('img').length; i++)
{
im = document.getElementsByTagName('img')[i];
if (im.width > {IMAGEWIDTH})
{
im.style.width = '{IMAGEWIDTH}px';
eval("pop" + String(i) + " = new Function(\"pop = window.open('" + im.src + " ','fullscale','width=400,height=400,scrollbars=1,resizable=1'); pop.focus();\")");
eval("im.onclick = pop" + String(i) + ";");
if (document.all) im.style.cursor = 'hand';
if (!document.all) im.style.cursor = 'pointer';
im.title = 'Click to enlarge';
}
}
}
}
</script>
<script language="javascript" type="text/javascript">
<!--
function changeImages()
{
if (document.images)
{
for (var i=0; i<changeImages.arguments.length; i+=2)
{
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
var PreloadFlag = false;
function newImage(arg)
{
if (document.images)
{
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function PreloadImages()
{
if (document.images)
{
// preload all rollover images
<!-- BEGIN switch_user_logged_out -->
img0 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login_on.gif');
img1 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register_on.gif');
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
img13 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_admin_on.gif');
img2 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm_on.gif');
img3 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile_on.gif');
img4 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups_on.gif');
img41 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_nposts_on.gif');
img5 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout_on.gif');
<!-- END switch_user_logged_in -->
img6 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq_on.gif');
img7 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search_on.gif');
img8 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users_on.gif');
img9 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index_on.gif');
img10 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_portal_on.gif');
img11 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_calender_on.gif');
img12 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_statistic_on.gif');
PreloadFlag = true;
}
return true;
}
//-->
</script>
<SCRIPT LANGUAGE="Javascript">
var win = null;
function Gk_PopTart(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=yes';
win = window.open(mypage,myname,settings);
}
</SCRIPT>
{COUNTDOWN}
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" {COUNTDOWN_ON}/>
<a name="top"></a>
<table width='100%' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF' align='center' valign='middle'>
<tr>
<td width="100%">
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="templates/illusion/images/head/h_logo_l.png" width="89" height="80" alt="graphic"></td>
<td><img src="templates/illusion/images/head/h_logo_r.png" width="144" height="80" alt="logo"></td>
<td><img src="templates/illusion/images/head/h_pane1.png" width="128" height="80" alt="logo"></td>
<td><img src="templates/illusion/images/head/h_pane2.png" width="116" height="80" alt="graphic"></td>
<td><img src="templates/illusion/images/head/h_pane3.png" width="45" height="80" alt="graphic"></td>
<td class="h_tile" width="100%" align="top">
<p align="right">{BANNER_0_IMG}</td>
</tr>
</table>
</div>
<table class="navbar" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle"><img src="templates/illusion/images/head/head_naveye.png" width="94" height="25">
</td>
<td valign="middle" width="100%">
<!-- BEGIN switch_admin -->
<td><a title="{L_ADMIN_TOP_LINK}" href="{U_ADMIN_TOP_LINK}" onmouseover="changeImages('btn_admin', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_admin_on.gif'); return true;" onmouseout="changeImages('btn_admin', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_admin.gif'); return true;"><img name="btn_admin" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_admin.gif" border="0" alt="Admin Menü" /></a> </td>
<!-- END switch_admin -->
<td><a title="{L_HOME}" href="{U_PORTAL}" onmouseover="changeImages('btn_portal', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_portal_on.gif'); return true;" onmouseout="changeImages('btn_portal', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_portal.gif'); return true;"><img name="btn_portal" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_portal.gif" height="20" border="0" alt="Portal" /></a></td>
<td><a title="Forum" href="{U_INDEX}" onmouseover="changeImages('btn_top_index', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index_on.gif'); return true;" onmouseout="changeImages('btn_top_index', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index.gif'); return true;"><img name="btn_top_index" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index.gif" height="20" border="0" alt="Forum" /></a></td>
<td><a title="{L_FAQ}" href="{U_FAQ}" onmouseover="changeImages('btn_top_faq', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq_on.gif'); return true;" onmouseout="changeImages('btn_top_faq', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq.gif'); return true;"><img name="btn_top_faq" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq.gif" height="20" border="0" alt="{L_FAQ}" /></a></td>
<td><a title="{L_SEARCH}" href="{U_SEARCH}" onmouseover="changeImages('btn_top_search', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search_on.gif'); return true;" onmouseout="changeImages('btn_top_search', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search.gif'); return true;"><img name="btn_top_search" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search.gif" height="20" border="0" alt="{L_SEARCH}" /></a></td>
<!-- BEGIN switch_user_logged_in -->
<td><a title="{L_MEMBERLIST}" href="{U_MEMBERLIST}" onmouseover="changeImages('btn_top_users', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users_on.gif'); return true;" onmouseout="changeImages('btn_top_users', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users.gif'); return true;"><img name="btn_top_users" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users.gif" height="20" border="0" alt="{L_MEMBERLIST}" /></a></td>
<td><a title="{I_RECENT}" href="{U_RECENT}" onmouseover="changeImages('btn_nposts', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_nposts_on.gif'); return true;" onmouseout="changeImages('btn_nposts', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_nposts.gif'); return true;"><img name="btn_nposts" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_nposts.gif" height="20" border="0" alt="{L_RECENT}" /></a></td>
<td><a title="{L_USERGROUPS}" href="{U_GROUP_CP}" onmouseover="changeImages('btn_top_groups', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups_on.gif'); return true;" onmouseout="changeImages('btn_top_groups', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups.gif'); return true;"><img name="btn_top_groups" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups.gif" height="20" border="0" alt="{L_USERGROUPS}" /></a></td>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<td><a title="{L_LOGIN_LOGOUT}" href="{U_LOGIN_LOGOUT}" onmouseover="changeImages('btn_top_login', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login_on.gif'); return true;" onmouseout="changeImages('btn_top_login', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login.gif'); return true;"><img name="btn_top_login" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login.gif" height="20" border="0" alt="{L_LOGIN_LOGOT}" /></a></td>
<td><a title="{L_REGISTER}" href="{U_REGISTER}" onmouseover="changeImages('btn_top_register', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register_on.gif'); return true;" onmouseout="changeImages('btn_top_register', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register.gif'); return true;"><img name="btn_top_register" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register.gif" height="20" border="0" alt="{L_REGISTER}" /></a> </td>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<td><a title="{L_PROFILE}" href="{U_PROFILE}" onmouseover="changeImages('btn_top_profile', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile_on.gif'); return true;" onmouseout="changeImages('btn_top_profile', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile.gif'); return true;"><img name="btn_top_profile" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile.gif" height="20" border="0" alt="{L_PROFILE}" /></a></td>
<td><a title="{PRIVATE_MESSAGE_INFO}" href="{U_PRIVATEMSGS}" onmouseover="changeImages('btn_top_pm', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm_on.gif'); return true;" onmouseout="changeImages('btn_top_pm', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm.gif'); return true;"><img name="btn_top_pm" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm.gif" height="20" border="0" alt="{PRIVATE_MESSAGE_INFO}" /></a></td>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_in -->
<td><a title="{L_LOGIN_LOGOUT}" href="{U_LOGIN_LOGOUT}" onmouseover="changeImages('btn_top_logout', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout_on.gif'); return true;" onmouseout="changeImages('btn_top_logout', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout.gif'); return true;"><img name="btn_top_logout" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout.gif" height="20" border="0" alt="{L_LOGIN_LOGOUT}" /></a> </td>
<!-- END switch_user_logged_in -->
</table>
<!-- BEGIN switch_countdown_on -->
<form name="countdown">
<table align="center" width="100%" cellspacing="2" cellpadding="5" border="0" >
<tr>
<th align="center" colspan="3">Countdown</th>
</tr>
<tr>
<td align="left" valign="center" width="20%">{IMG_LEFT}</td>
<td align="center" width="60%">
<div >{DESC}</div><br />
<div id="time_event" style="display:"><b>
{L_DAYS} <input name="days" " size=4 style="border: 0px">
<span style="display: {FULL_DISPLAY};" " name="time_string">-
<input name="hours" " size=2 style="border: 0px"> :
<input name="mins" size=2 style="border: 0px"> :
<input name="secs" size=2 style="border: 0px">
</b></span></div>
<div id="event_time" style="display:none">{EVENT_TEXT}</div>
</td>
<td align="right" valign="center" width="20%">{IMG_RIGHT}</td>
</tr>
</table>
</form>
<script language="JavaScript" type="text/javascript">countdown();</script>
<!-- END switch_countdown_on -->
<div align="center">
<table class="h_shadowbar" width="100%" border="0" cellspacing="0" cellpadding="12">
<tr>
<td align="right"> <br /><br />
{CALENDAR_BOX}
Liebe Grüsse
sile1