Hallo erstmal ^^
also ich habe einen clan auf gemacht und hab eine hp vorlage geloadet aber ich hab ein kleines problem also hier erstmal den kompletten code von der indep.php
Code: <?php
include("_mysql.php");
include("_settings.php");
include("_functions.php");
?><head><link href="_stylesheet.css" rel="stylesheet" type="text/css">
<script src="js/bbcode.js" language="jscript" type="text/javascript"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
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_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_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>
<style type="text/css">
<!--
.Stil9 {color: #FFFFFF}
body {
background-image: url();
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body bgcolor="#101010" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="MM_preloadImages('Bilder/designh_05.jpg','Bilder/designh_06.jpg','Bilder/designh_07.jpg','Bilder/designh_08.jpg','Bilder/designh_09.jpg','Bilder/designh_10.jpg','Bilder/designh_11.jpg','Bilder/designh_12.jpg','Bilder/designh_30.jpg','Bilder/designh_31.jpg','Bilder/designh_32.jpg','Bilder/designh_35.jpg','Bilder/designh_37.jpg','Bilder/designh_43.jpg','Bilder/designh_44.jpg','Bilder/designh_46.jpg','Bilder/designh_47.jpg','Bilder/designh_52.jpg','Bilder/designh_53.jpg','Bilder/designh_54.jpg','Bilder/designh_55.jpg','Bilder/designh_56.jpg','Bilder/designh_63.jpg','Bilder/designh_65.jpg','Bilder/designh_66.jpg','Bilder/designh_67.jpg','Bilder/designh_68.jpg','Bilder/designh_69.jpg','Bilder/designh_70.jpg')">
<center>
<table width="863" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="Bilder/header.gif" width="928" height="300"></td>
</tr>
<tr>
<td><table border="0" width="928" cellspacing="0" cellpadding="0">
<tr>
<td width="116"><a href="index.php?site=news"><img src="Bilder/design_05.jpg" width="116" height="25" border="0"></a></td>
<td width="116"><a href="index.php?site=forum"><img src="Bilder/design_10.jpg" width="116" height="25" border="0"></a></td>
<td width="116"><a href="index.php?site=squads"><img src="Bilder/design_06.jpg" width="116" height="25" border="0"></a></td>
<td width="116"><a href="index.php?site=ts2"><img src="Bilder/design_08.jpg" width="116" height="25" border="0"></a></td>
<td width="116"><a href="index.php?site=sponsors"><img src="Bilder/design_07.jpg" width="116" height="25" border="0"></a></td>
<td width="116"><a href="index.php?site=contact"><img src="Bilder/design_09.jpg" width="116" height="25" border="0"></a></td>
<td width="116"><a href="index.php?site=guestbook"><img src="Bilder/design_11.jpg" width="116" height="25" border="0"></a></td>
<td width="116"><a href="index.php?site=register"><img src="Bilder/design_12.jpg" width="116" height="25" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td>
<table border="0" width="863" cellspacing="0" cellpadding="0">
<tr>
<td width="8"></td>
<td width="848">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="173" valign="top" background="Bilder/lückelinks.jpg">
<table border="0" width="173" cellspacing="0" cellpadding="0" height="658">
<tr>
<td width="173">
<IMG SRC="Bilder/design_29.jpg" WIDTH=193 HEIGHT=40 ALT=""></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=news" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image58','','Bilder/designh_30.jpg',1)"><img src="Bilder/design_30.jpg" name="Image58" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=news&action=archive" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image59','','Bilder/designh_31.jpg',1)"><img src="Bilder/design_31.jpg" name="Image59" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=articles" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image60','','Bilder/designh_32.jpg',1)"><img src="Bilder/design_32.jpg" name="Image60" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=calendar" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image61','','Bilder/designh_35.jpg',1)"><img src="Bilder/design_35.jpg" name="Image61" width="193" height="17" border="0"></a><a href="index.php?site=newsletter" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image62','','Bilder/designh_37.jpg',1)"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=contact" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image63','','Bilder/designh_43.jpg',1)"><img src="Bilder/design_43.jpg" name="Image63" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=imprint" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image64','','Bilder/designh_44.jpg',1)"><img src="Bilder/design_44.jpg" name="Image64" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173">
<IMG SRC="Bilder/design_45.jpg" WIDTH=193 HEIGHT=40 ALT=""></td>
</tr>
<tr>
<td width="173"> <a href="index.php?site=squads" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image65','','Bilder/designh_46.jpg',1)"><img src="Bilder/design_46.jpg" name="Image65" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=clanwars" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image67','','Bilder/designh_52.jpg',1)"><img src="Bilder/design_52.jpg" name="Image67" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=server" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image68','','Bilder/designh_53.jpg',1)"><img src="Bilder/design_53.jpg" name="Image68" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=challenge" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image69','','Bilder/designh_54.jpg',1)"><img src="Bilder/design_54.jpg" name="Image69" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=joinus" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image66','','Bilder/designh_47.jpg',1)"><img src="Bilder/design_47.jpg" name="Image66" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=about" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image71','','Bilder/designh_56.jpg',1)"><img src="Bilder/design_56.jpg" name="Image71" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td><a href="index.php?site=history" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image70','','Bilder/designh_55.jpg',1)"><img src="Bilder/design_55.jpg" name="Image70" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td><a href="index.php?site=awards" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image77','','Bilder/designh_69.jpg',1)"><img src="Bilder/design_69.jpg" name="Image77" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173">
<IMG SRC="Bilder/design_60.jpg" WIDTH=193 HEIGHT=40 ALT=""></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=forum" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image74','','Bilder/designh_66.jpg',1)"><img src="Bilder/design_66.jpg" name="Image74" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=guestbook" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image78','','Bilder/designh_70.jpg',1)"><img src="Bilder/design_70.jpg" name="Image78" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=registered_users" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image72','','Bilder/designh_63.jpg',1)"><img src="Bilder/design_63.jpg" name="Image72" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=whoisonline"><img src="Bilder/whoisonline.jpg" onMouseOver="this.src = 'Bilder/whoisonline_over.jpg'" onMouseOut="this.src = 'Bilder/whoisonline.jpg'" width="193" height="17" border="0" /></a></td>
</tr>
<tr>
<td width="173"><a href="index.php?site=ts2"><img src="Bilder/teamspeak.jpg" onMouseOver="this.src = 'Bilder/teamspeak_over.jpg'" onMouseOut="this.src = 'Bilder/teamspeak.jpg'" width="193" height="17" border="0" /></a></td>
</tr>
<tr>
<td><img src="Bilder/mediaarena.jpg" width="193" height="40"></td>
</tr>
<tr>
<td><a href="index.php?site=files" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image76','','Bilder/designh_68.jpg',1)"><img src="Bilder/design_68.jpg" name="Image76" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td><a href="index.php?site=gallery" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image75','','Bilder/designh_67.jpg',1)"><img src="Bilder/design_67.jpg" name="Image75" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td><a href="index.php?site=linkus" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image73','','Bilder/designh_65.jpg',1)"><img src="Bilder/design_65.jpg" name="Image73" width="193" height="17" border="0"></a></td>
</tr>
<tr>
<td><a href="index.php?site=links"><img src="Bilder/links.jpg" onMouseOver="this.src = 'Bilder/links_over.jpg'" onMouseOut="this.src = 'Bilder/links.jpg'" width="193" height="17" border="0" /></a></td>
</tr>
<tr>
<td><a href="index.php?site=polls"><img src="Bilder/votes.jpg" onMouseOver="this.src = 'Bilder/votes_over.jpg'" onMouseOut="this.src = 'Bilder/votes.jpg'" width="193" height="17" border="0" /></a></td>
</tr>
<tr>
<td><img src="Bilder/design_61.jpg" width="193" height="40"></td>
</tr>
<tr>
<td><table border="0" width="193" cellspacing="0" cellpadding="0">
<tr>
<td width="2"></td>
<td width="192"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td width="10" height="19" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="213" align="center" valign="top"><? include("counter.php"); ?></td>
<td width="12" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
</table></td>
<td width="2"></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td width="173"> </td>
</tr>
<tr>
<td width="173"> </td>
</tr>
</table> </td>
<td width="479" valign="top" bgcolor="#171717"><table border="0" width="479" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/topmatches.jpg" width="250" height="30"><img src="Bilder/topnews.jpg" width="250" height="30"></td>
</tr>
<tr>
<td width="500" background="Bilder/war.jpg"><table width="100%" height="71" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="4" height="71" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="250" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td width="182" height="71" valign="top"><? include("sc_results.php"); ?></td>
</tr>
</table></td>
<td width="9" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="250" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td width="182" height="71" valign="top"><? include("sc_headlines.php"); ?></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td width="500" background="Bilder/design_19.jpg" height="66"><center>
<? include("sc_bannerrotation.php"); ?>
</center></td>
</tr>
<tr>
<td width="500">
<table border="0" width="500" cellspacing="0" cellpadding="0">
<tr>
<td width="54" HEIGHT=18>
<IMG SRC="Bilder/design_24.jpg" WIDTH=54 HEIGHT=18 ALT=""></td>
<td width="425" HEIGHT=18 background="Bilder/design_25.jpg"><? include("sc_scrolltext.php"); ?></td>
</tr>
</table> </td>
</tr>
<tr>
<td width="500"><img src="Bilder/content.jpg" width="500" height="15"></td>
</tr>
<tr>
<td width="500"><?
if(!isset($site)) $site="news";
//Sichheitslücke beheben
$invalide = array('/','/\/',':','.');
$site = str_replace($invalide,' ',$site);
if(!file_exists($site.".php")) $site = "news";
include($site.".php");
?></td>
</tr>
</table> </td>
<td width="196" valign="top" background="Bilder/lückerechts.jpg"><table border="0" width="196" cellspacing="0" cellpadding="0">
<tr>
<td width="196"><img src="Bilder/design_15.jpg" width=235 height=40 alt=""></td>
</tr>
<tr>
<td width="196"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5%"> </td>
<td width="95%"><span class="Stil9">
<? include("login.php"); ?>
</span></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="Bilder/design_17.jpg" width="235" height="30"></td>
</tr>
<tr>
<td width="196"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td width="10" height="19" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="213" align="center" valign="top"><? include("shoutbox.php"); ?></td>
<td width="12" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
</table></td>
</tr>
<tr>
<td width="196"><img src="Bilder/design_71.jpg" width=235 height=30 alt=""></td>
</tr>
<tr>
<td width="196"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5%"> </td>
<td width="95%"><? include("poll.php"); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td width="196"><img src="Bilder/design_34.jpg" width="235" height="30"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td width="10" height="19" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="213" align="center" valign="top"><? include("sc_randompic.php"); ?></td>
<td width="12" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="Bilder/design_79.jpg" width="235" height="30"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><div align="center"><a href="http://global-strike-clan.com"><img src="Bilder/gscbanner.gif" width="88" height="31" border="0"></a><br>
<?
include("partners.php");
?>
<br>
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="Bilder/design_76.jpg" width="235" height="30"></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table> </td>
<td width="7"></td>
</tr>
</table> </td>
</tr>
</table>
<table width="928" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="Bilder/design_57.jpg" alt="" width=928 height="20" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="482,1,593,19" href="http://global-strike-clan.com">
</map> </td>
</tr>
</table>
</center>
also es geht mir um diesen teil
Code: <tr>
<td><img src="Bilder/header.gif" width="928" height="300"></td>
</tr>
ich möchte gerne das man dieses Bild (http://741852963.74.funpic.de/xxx/Bilder/header.gif) ungefer 6 s lange angezeigt wird un dann ein anderes bleibt und sich nichtmerh endert aber ich kenne mich mit php noch net sooo gut aus ^^ denke da kann man auch java einbauen aber das kann ich genauso wenig xD
ich hoffe hier kennt sich jemand mit java und php haus
Danke schonmal für alle antworten ^^
Mfg
Dennis |