na das hilft doch schon... besten dank
dann würde ich das bevorzugen:
<html><head><title>Test</title>
</head><body>
<script type="text/javascript">
var jetzt = new Date();
var TagInWoche = jetzt.getDay();
var Wochentag = new Array("Sonntag", "Montag", "Dienstag", "Mittwoch",
"Donnerstag", "Freitag", "Samstag");
document.write('<table border bgcolor="#CCFFFF"><tr><td><b>' +
Wochentag[TagInWoche] + "<\/b><\/td><\/tr><\/table>");
</script>
</body></html>
Alles anzeigen
allerdings frag ich mich nun, wie ich die sache in den linkcode kriege... und wie ich den link darein bekomme.. weil 'document.write' hilft mir da kaum weiter, oder??
Spontan word ichs so einbingen...
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder"> <tr>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" colspan="2"><table style="width:100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="logobackground" align="left"><img src="{$style['imagefolder']}/header_links.jpg" border="0" alt="" title="" /></td>
<td class="logobackground" align="center"><if($style['logoimage']!="")><then><a href="forumindex.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
<td class="logobackground" align="right"><img src="{$style['imagefolder']}/header_rechts.jpg" border="0" alt="" title="" /></td>
</tr>
</table></td>
</tr><tr><td style="width: 120px;" valign="top"><table style="width: 100%; background-image: url({$style['imagefolder']}/navbg2.jpg);" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td align="center"><a target="_blank" href="http://web136.server5.de.kolido.net/HP/home.htm"><img src="{$style['imagefolder']}/Home1.gif" border="0" alt="Homepage" title="Radio Walhalla" /></a></span></td>
</tr>
</table></td></tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td align="center"><a href="forumindex.php"><img src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a></span></td>
</tr>
</table></td>
</tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td align="center"><a href="http://forum.radiowalhalla.de"><img src="{$style['imagefolder']}/top_portal.gif" border="0" alt="Portal" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a></span></td>
</tr>
</table></td>
</tr>
<if($wbbuserdata['userid'])>
<then>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a href="usercp.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usercp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a href="pms.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_pms.gif" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a></span></td>
</tr>
</table></td>
</tr>
</then><else>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a href="register.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_register.gif" border="0"alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" /></a>
</span></td>
</tr>
</table></td>
</tr>
</else></if>
<script type="text/javascript">
var jetzt = new Date();
var TagInWoche = jetzt.getDay();
var Wochentag = new Array( "Montag", "Dienstag", "Mittwoch",
"Donnerstag", "Freitag");
[COLOR=Red]<input type="button" value="Stream" [B]onclick="location='index.htm'"[/B]>[/COLOR]
</script>
<script type="text/javascript">
var jetzt = new Date();
var TagInWoche = jetzt.getDay();
var Wochentag = new Array( "Samtag");
[COLOR=Red]<input type="button" value="Stream" [B]onclick="location='index.htm'"[/B]>[/COLOR]
</script>
<script type="text/javascript">
var jetzt = new Date();
var TagInWoche = jetzt.getDay();
var Wochentag = new Array( "Sonntag");
[COLOR=Red]<input type="button" value="Stream" [B]onclick="location='index.htm'"[/B]>[/COLOR]
</script>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td align="center"><a href="http://charts.radiowalhalla.de"><img src="{$style['imagefolder']}/top_usercharts.gif" border="0" alt="UserCharts" title="UserCharts" /></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a target="_blank" href="http://djs.radiowalhalla.de"><img src="{$style['imagefolder']}/DJs1.gif" border="0" alt="Unsere DJs" title="Unsere DJs" /></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a target="_blank" href="http://tester.radiowalhalla.de"><img src="{$style['imagefolder']}/Testi.gif" border="0" alt="Tester Nr.1" title="Tester Nr.1" /></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a target="_blank" href="http://tester2.radiowalhalla.de"><img src="{$style['imagefolder']}/Tester2.gif" border="0" alt="Tester Nr.2" title="Tester Nr.2" /></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a target="_blank"href="http://sendeplan.radiowalhalla.de"><img src="{$style['imagefolder']}/Sendeplan1.gif" border="0" alt="Sendeplan" title="Sendeplan" /></a></span></td>
</tr>
</table></td>
</tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td align="center"><a href="partner.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_partner.gif" border="0" alt="Partner" title="Partner" /></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a target="_blank" href="http://wubo.radiowalhalla.de"><img src="{$style['imagefolder']}/WuBo1.gif" border="0" alt="Wunschbox" title="Wunschbox" /></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a href="misc.php?action=faq{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_faq.gif" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a href="team.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_team.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" /></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><a href="memberslist.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_members.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><a href="calendar.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_calendar.gif" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a href="search.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_search.gif" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" /></a></span></td>
</tr>
</table></td>
</tr>
</tr><if($wbbuserdata['can_guthaben_shop'])>
<then>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a href="lottozahlen.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_lottozahlen.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_LOTTO']}" title="{$lang->items['LANG_GLOBAL_GUT_LOTTO']}" /></a></span></td>
</tr>
</table></td>
</then></if>
</tr><if($wbbuserdata['userid'])>
<then>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a href="guthaben.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_guthaben.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_GUT']}" title="{$lang->items['LANG_GLOBAL_GUT_GUT']}" /></a></span></td>
</tr>
</table></td>
</then></if>
</tr><if($wbbuserdata['can_guthaben_werben'])>
<then>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a href="empfehlen.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_empfehlen.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_WERBEN']}" title="{$lang->items['LANG_GLOBAL_GUT_WERBEN']}" /></a></span></td>
</tr>
</table></td>
</then></if>
</tr><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)>
<then>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></span></td>
</tr>
</table></td>
</then></if> </tr> <if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then>
<tr>
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_modcp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></span></td>
</tr>
</table></td>
</then></if> </tr>
<tr>
<td colspan="6" valign="top" align="center" ><img src="{$style['imagefolder']}/navbg2.jpg" border="0" alt="Style-Pic" title="Style-Pic" /></td>
</tr>
<tr>
<td colspan="6" valign="top" align="center" ><img src="{$style['imagefolder']}/navbg2.jpg" border="0" alt="Style-Pic" title="Style-Pic" /></td>
</tr>
<tr>
<td colspan="6" valign="top" align="center" ><img src="{$style['imagefolder']}/navbg2.jpg" border="0" alt="Style-Pic" title="Style-Pic" /></td>
</tr>
<tr>
<td colspan="6" valign="top" align="center" ><img src="{$style['imagefolder']}/navbg2.jpg" border="0" alt="Style-Pic" title="Style-Pic" /></td>
</tr>
<tr>
<td colspan="6" valign="top" align="center" ><img src="{$style['imagefolder']}/navbg2.jpg" border="0" alt="Style-Pic" title="Style-Pic" /></td>
</tr>
<tr>
<td colspan="6" valign="top" align="center" ><img src="{$style['imagefolder']}/navbg2.jpg" border="0" alt="Style-Pic" title="Style-Pic" /></td>
</tr>
<tr>
<td colspan="6" valign="top" align="center" ><img src="{$style['imagefolder']}/navbg2.jpg" border="0" alt="Style-Pic" title="Style-Pic" /></td>
</tr>
<tr>
<td style="width:120px; height: 70px;" valign="middle"><table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
</table></td>
</tr>
<tr>
<td><img src="{$style['imagefolder']}/navunten.jpg" border="0" alt="" title="" /></td>
</tr>
</table></td>
<td align="center" valign="top" style="width: 100%;"><br /> <table style="width:{$style['tableinwidth']};" cellpadding="{$style['tableoutpadding']}" cellspacing="2" align="center" border="{$style['tableinborder']}" class="tableinborder">
<tr>
<td class="mainpage" align="center"><br />
Alles anzeigen
und nun stellt sich mir noch das Problem, wie ich folgendes
<td style="width:120px; height: 30px;" valign="middle"> <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 70%;" align="center"><span class="normalfont"><a target="_blank" href="http://stream.radiowalhalla.de"><img src="{$style['imagefolder']}/Radio1.gif" border="0" alt="Zum Radio" title="Radio" /></a></span></td>
</tr>
</table></td>
</tr>
Dahin umschreibe:
[COLOR=Red]<input type="button" value="Home" [B]onclick="location='index.htm'"[/B]>[/COLOR]
bei Sa wäre es dann 'http://mohjo.radiowalhalla.de'
und bei So 'http://ruhetagt.radiowalhalla.de'