Problem beim includen
lima-city → Forum → Programmiersprachen → PHP, MySQL & .htaccess
action
benutzername
break
clan
counter
fight
folgender fehler
main
member
multiplayer
opening
pawort
ranking
schaff
show
tiger
transitional
-
Jo ich bins mal wieder der Ruff-G, die Probleme h?ren einfach nicht auf.
Ich habe ein paar probleme folgendes script richtig zu includen:
ftp://ftp.planet-multiplayer.de/sites/csexpert/phpscripte/CS_Expert_Wars_Script.rar
die war?bersicht funktioniert wunderbar doch ich schaff es nicht die wardetails zu includen.
ich hab versucht ?ber phpswitch es zu includen.
hier der index code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>White Tigers | The Female Clan | #wT.clan im Qnet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" src="images/fade.js"></script>
<script language="JavaScript">
function imgfade(e,mode)
{
if( mode == 0 )
{
e.filters.alpha.opacity = 80
}
else
{
e.filters.alpha.opacity = 15
}
}
</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)&&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.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
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[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.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))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<!-- Fade Script -->
<script language="JavaScript1.2">
//Gradual-Highlight image script- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.3
else if (which2.filters)
which2.filters.alpha.opacity=30
}
function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}
</script>
<link href="blooinferno.css" rel="stylesheet" type="text/css">
</head>
<body background="images/background.gif" text="#8E8C8D" topmargin="0" onLoad="MM_preloadImages('images/darkinfernoover_03.gif','images/darkinfernoover_05.gif','images/darkinfernoover_07.gif','images/darkinfernoover_09.gif','images/darkinfernoover_11.gif','images/darkinfernoover_13.gif','images/darkinfernoover_15.gif')">
<div align="center"></div>
<div align="center"></div>
<div align="center">
<table width="762" border="0" cellpadding="0" cellspacing="0" class="border">
<!--DWLayoutTable-->
<tr>
<td width="762"><IMG SRC="images/blooinferno_01.jpg" WIDTH=760 HEIGHT=150 ALT=""></td>
</tr>
<tr>
<td valign="top"><table width="760" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td width="151" rowspan="2" valign="top" class="leftbackground"><table width="150" border="0" cellpadding="0" cellspacing="0" class="leftbackground">
<!--DWLayoutTable-->
<tr>
<td width="151"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><IMG SRC="images/blooinferno_02.jpg" WIDTH=150 HEIGHT=34 ALT=""></font></td>
</tr>
<tr>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><IMG SRC="images/war.JPG" WIDTH=150 HEIGHT=18 ALT=""></font></td>
</tr>
<tr>
<td><table width="130" border="0" cellspacing="0" cellpadding="0">
<TR class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
? <a href="?action=members">Members</a></font></td>
</tr>
<tr class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
? <a href="?action=wars">ClanWars</a></font></td>
</tr>
<tr class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
? <a href="?action=rankings">Rankings</a></font></td>
</tr>
<TR class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
? <a href="?action=clanrules">ClanRules</a></font></td>
</tr>
<tr class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
? <a href="?action=join">Join Us</a></font></td>
</tr>
<tr class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
? <a href="?action=fight">Fight Us</a></font></td>
</tr>
<TR class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
?</font></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td height=22><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><IMG SRC="images/blooinferno_35.jpg" WIDTH=150 HEIGHT=18 ALT=""></font></td>
</tr>
<tr>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><div align="center">
<?php
include 'counter.php';
?>
</td>
</tr>
<tr>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><IMG SRC="images/server.jpg" WIDTH=150 HEIGHT=18 ALT=""></font></td>
</tr>
<tr>
<td><table width="130" border="0" cellspacing="0" cellpadding="0">
<TR class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
? <a href="?action=ts2">TS2 - Server</a></font></td>
</tr>
<TR class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
?</font></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<tr>
<td height=22><IMG SRC="images/blooinferno_34.jpg" WIDTH=150 HEIGHT=18 ALT=""></td>
</tr>
<tr>
<td><br><div align="center">
<a href="http://www.zockerweibchen.de" target="_blank"><img border="0" src="images/zockerweibchen.jpg" width="88" height="31" style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)" onMouseout="low(this)"></a><br><br>
<a href="http://www.esl-europe.net/" target="_blank"><img src="http://www.esl-europe.net/gfx/button_espl_01.gif" width=88 height=31 border=0 alt="Electronic Sports League" style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)" onMouseout="low(this)"></a><br><br>
<a href="http://www.leaguez.de" target="_black"><img border="0" src="images/lgz.gif" width="88" height="31" style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)" onMouseout="low(this)"></a><br><br>
<a href="http://www.quakenet.org" target="_blank"><img border="0" src="images/qnet.gif" width="88" height="31" style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)" onMouseout="low(this)"></a><br><br>
<a href="http://www.clantemplates.com" target="_blank"><img border="0" src="images/bbct.gif" width="88" height="31" style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)" onMouseout="low(this)"></a><br></div></td>
</tr>
<TR class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
?</font></td>
</tr>
<tr>
<td height=22><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><IMG SRC="images/login.jpg" WIDTH=150 HEIGHT=18 ALT=""></font></td>
</tr>
<tr valign="middle">
<td><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Benutzername:</td>
</tr>
<tr valign="middle">
<td> <div align="center"><form name="login" method="post" action="action.php">
<input type="text" name="username" size="17" class="input">
</td>
</tr>
<tr valign="middle">
<td><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Passwort:</td>
</tr>
<tr valign="middle">
<td> <div align="center">
<input type="password" name="kennwort" size="17" class="input">
</td>
</tr>
<tr valign="middle">
<td> <div align="center">
<div align="center">
<input type="submit" value="Login" class="input">??<input type="reset" value="Reset" class="input">
<input type="hidden" name="action" value="login">
<input type="hidden" name="boardid" value="0">
<INPUT TYPE="HIDDEN" NAME="sid" VALUE="7d46afb6f6e2cfa21c4ad85f22502227">
</div></form>
</td>
</tr>
<tr valign="middle">
<td><div align="center"> <font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<div align="center">? <a href="?action=reg">Registrieren</a></div>
</td>
</tr>
<TR class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
?</font></td>
</tr>
</table>
</td>
<td width="465" rowspan="2" valign="top"><table width="460" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="?action=news" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Home','','images/darkinfernoover_03.gif',1)"><img src="images/blooinferno_03.jpg" alt="Home" name="Home" width="34" height="33" border="0"></a><br>
<img src="images/blooinferno_17.jpg" width="34" height="6"></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="images/blooinferno_04.jpg" width=16 height=39 alt=""></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="?action=links" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Links','','images/darkinfernoover_05.gif',1)"><img src="images/blooinferno_05.jpg" alt="Links" name="Links" width="42" height="33" border="0"></a><br>
<img src="images/blooinferno_18.jpg" width="42" height="6"></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="images/blooinferno_06.jpg" width="21" height="39"></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="?action=downloads" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Downloads','','images/darkinfernoover_07.gif',1)"><img src="images/blooinferno_07.jpg" alt="Downloads" name="Downloads" width="72" height="33" border="0"></a><br>
<img src="images/blooinferno_19.jpg" width="72" height="6"></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="images/blooinferno_08.jpg" width="18" height="39"></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="?action=forum" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Forum','','images/darkinfernoover_09.gif',1)"><img src="images/blooinferno_09.jpg" alt="Forum" name="Forum" width="46" height="33" border="0"></a><br>
<img src="images/blooinferno_20.jpg" width="46" height="6"></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="images/blooinferno_10.jpg" width="16" height="39"></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="?action=members" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Members','','images/darkinfernoover_11.gif',1)"><img src="images/blooinferno_11.jpg" alt="Members" name="Members" width="55" height="33" border="0"></a><br>
<img src="images/blooinferno_21.jpg" width="55" height="6"></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="images/blooinferno_12.jpg" width="16" height="39"></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="?action=join" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Join','','images/darkinfernoover_13.gif',1)"><img src="images/blooinferno_13.jpg" alt="Join" name="Join" width="35" height="33" border="0"></a><br>
<img src="images/blooinferno_22.jpg" width="35" height="6"></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="images/blooinferno_14.jpg" width="13" height="39"><br>
</font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="?action=screen" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Screenshots','','images/darkinfernoover_15.gif',1)"><img src="images/blooinferno_15.jpg" alt="Screenshots" name="Screenshots" width="76" height="33" border="0"></a><br>
<img src="images/blooinferno_23.jpg" width="76" height="6"></font></td>
</tr>
<tr bgcolor="#535353">
<td colspan="13"><div align="center">
<?
switch($action){
case "news": include("shownews.php"); break;
case "links": include("links.php"); break;
case "forum": include("main.php"); break;
case "downloads": include("index_dl.php"); break;
case "members": include("member.php"); break;
case "join": include("join.php"); break;
case "wars": include("showwars.php"); break;
case "rankings": include("rankings.php"); break;
case "clanrules": include("clanrules.php"); break;
case "fight": include("fight.php"); break;
case "ts2": include("TS_start.php"); break;
case "wardetail": include("showwars.php?zeit=$row[ZEIT]#show"); break;
case "ts2auto": include("TS_auto.php"); break;
default: include("shownews.php"); break;
}
?> </td>
</tr>
</table>
</td>
<td width="151" height="274" valign="top" class="rightbackground"><table width="150" border="0" cellpadding="0" cellspacing="0" class="rightbackground">
<!--DWLayoutTable-->
<tr>
<td width="151"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="images/blooinferno_16.jpg" width=150 height=34 alt=""></font></td>
</tr>
<tr>
<td><IMG SRC="images/lastwar.jpg" WIDTH=150 HEIGHT=18 ALT=""></td>
</tr>
<tr>
<td><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<?php
include 'lastwars.php';
?>
</font></div></td>
</tr>
<TR class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
?</font></td>
</tr>
<tr>
<td><IMG SRC="images/blooinferno_24.jpg" WIDTH=150 HEIGHT=18 ALT=""></td>
</tr>
<tr>
<td><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<?php
include 'poll.php';
?>
</font></div></td>
<tr>
<td><IMG SRC="images/nextwar.jpg" WIDTH=150 HEIGHT=18 ALT=""></td>
</tr>
<tr>
<td><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<?php
include 'demonexwwar.php';
?>
</font></div></td>
</tr>
<TR class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
?</font></td>
</tr>
<tr>
<td height=22><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><IMG SRC="images/shoutbox.jpg" WIDTH=150 HEIGHT=18 ALT=""></font></td>
</tr>
<TR class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
?</font></td>
</tr>
<TR class="formstyle">
<td align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<?php
include 'shout.php';
?>
</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="29" class="rightbackground"></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<br>
</body>
</html>
hier der link zu den wardetails: http://pussy.milten.lima-city.de/wt/index.php?action=wardetail
und wenn ich diesen link ?ffne erscheint folgender fehler:
Warning: main(showwars.php?zeit=#show): failed to open stream: No such file or directory in /home/webpages/lima-city/pussy/html/wt/index.php on line 258
Warning: main(): Failed opening 'showwars.php?zeit=#show' for inclusion (include_path='.:/home/webpages/include') in /home/webpages/lima-city/pussy/html/wt/index.php on line 258
so was m?sst ihr noch wissen? im mom f?llt es mir nicht ein, ansonsten wenn noch was ist, schreibt mir ne pn. -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage