"Parse error: syntax error, unexpected $end in C:\xampp\htdocs\inhalt\meta_fordner.php on line 233"
Merhaba arkadaslar php bilgim zayıf bu hatayı nasıl düzelticem bulamdım gitti yardımınız beklıyorum. "{ }"
Merhaba arkadaslar php bilgim zayıf bu hatayı nasıl düzelticem bulamdım gitti yardımınız beklıyorum. "{ }"
PHP:
<?php
include ("../inc.conf.php");
if(!$_GET["sprache"]){$_GET["sprache"]=$language;}
include ("../lang/".$_GET["sprache"]."/lang.meta_fordner.php");
if ($_GET["fu"]==1) {
include ("inc.header.php");
?>
<body text="#000000" bgcolor="#444444" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div id="bodybody" class="flexcroll" onfocus="this.blur()">
<center><img src="../lang/<?php echo $_GET["sprache"]?>/topics/flottenordner.gif" border="0" width="242" height="52"></center>
<center>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="../bilder/empty.gif" border="0" width="30" height="1"></td>
<td style="color:#aaaaaa;"><center><?php echo $lang['metafordner']['erklaerung']?></center></td>
<td><img src="../bilder/empty.gif" border="0" width="30" height="1"></td>
</tr>
</table>
</center>
<br><br>
<center>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td><form name="formular" method="post" action="meta_fordner.php?fu=2&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>"></td>
<td colspan="2"><?php echo $lang['metafordner']['ordneranlegen']?></td>
<td></td>
</tr>
<tr>
<td></td>
<td><input type="text" name="ordnerneu" maxlength="10" style="width:90px;" class="eingabe"></td>
<td align="right"><input type="submit" value="<?php echo $lang['metafordner']['ok']?>" style="width:30px;" class="button"></td>
<td></form></td>
</tr>
</table>
</center>
<br><br>
<center>
<table border="0" cellspacing="0" cellpadding="3">
<?php
$total=0;
$zeiger5 = @mysql_query("SELECT count(*) as total FROM $skrupel_schiffe where besitzer=$spieler and spiel=$spiel and ordner=0");
$array5 = @mysql_fetch_array($zeiger5);
$total=$array5["total"];
?>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" background="<?php echo $bildpfad?>/menu/flotte_ordner.gif">
<tr>
<td><img src="../bilder/empty.gif" border="0" width="1" height="15"></td>
<td><img src="../bilder/empty.gif" border="0" width="98" height="1"></td>
<td><img src="../bilder/empty.gif" border="0" width="1" height="15"></td>
</tr>
<tr>
<td><img src="../bilder/empty.gif" border="0" width="1" height="58"></td>
<td style="filter:glow(color=#000000, strenght=#1);" valign="top"><center><?php echo $lang['metafordner']['rootordner']?><br><?php echo $total?></center></td>
<td><img src="../bilder/empty.gif" border="0" width="1" height="58"></td>
</tr>
</table>
</td>
<td colspan="2" style="color:#aaaaaa;"><center><?php echo $lang['metafordner']['rootnicht']?></center></td>
</tr>
<?php
$zeiger2 = @mysql_query("SELECT * FROM $skrupel_ordner where besitzer=$spieler and spiel=$spiel order by name");
$ordneranzahl = @mysql_num_rows($zeiger2);
if ($ordneranzahl>=1) {
for ($i2=0; $i2<$ordneranzahl;$i2++) {
$ok2 = @mysql_data_seek($zeiger2,$i2);
$array2 = @mysql_fetch_array($zeiger2);
$ooid=$array2["id"];
$name=$array2["name"];
$name=stripslashes($name);
$icon=$array2["icon"];
$total=0;
$zeiger5 = @mysql_query("SELECT count(*) as total FROM $skrupel_schiffe where besitzer=$spieler and spiel=$spiel and ordner=$ooid");
$array5 = @mysql_fetch_array($zeiger5);
$total=$array5["total"];
?>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" background="<?php echo $bildpfad?>/menu/flotte_ordner.gif">
<tr>
<td><img src="../bilder/empty.gif" border="0" width="1" height="15"></td>
<td><img src="../bilder/empty.gif" border="0" width="98" height="1"></td>
<td><img src="../bilder/empty.gif" border="0" width="1" height="15"></td>
</tr>
<tr>
<td><img src="../bilder/empty.gif" border="0" width="1" height="58"></td>
<td style="filter:glow(color=#000000, strenght=#1);" valign="top"><center><?php echo $name?><br><?php echo $total?></center></td>
<td><img src="../bilder/empty.gif" border="0" width="1" height="58"></td>
</tr>
</table>
</td>
<td>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td><form name="formular" method="post" action="meta_fordner.php?fu=3&ooid=<?php echo $ooid?>&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>"></td>
<td colspan="2"><?php echo $lang['metafordner']['ordnerumbenennen']?></td>
<td></td>
</tr>
<tr>
<td></td>
<td><input type="text" name="ordnerneu" maxlength="10" style="width:80px;" class="eingabe"></td>
<td align="right"><input type="submit" value="<?php echo $lang['metafordner']['ok']?>" style="width:30px;" class="button"></td>
<td></form></td>
</tr>
</table>
</td>
<td>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td><form name="formular" method="post" action="meta_fordner.php?fu=5&ooid=<?php echo $ooid?>&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>"></td>
<td colspan="2"><?php echo $lang['metafordner']['iconaendern']?></td>
<td></td>
</tr>
<tr>
<td></td>
<td><select name="icon" style="width:80px;">
<option value="0" <? if ($icon==0) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon0']?></option>
<option value="1" <? if ($icon==1) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon1']?></option>
<option value="2" <? if ($icon==2) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon2']?></option>
<option value="3" <? if ($icon==3) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon3']?></option>
<option value="4" <? if ($icon==4) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon4']?></option>
<option value="5" <? if ($icon==5) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon5']?></option>
<option value="6" <? if ($icon==6) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon6']?></option>
</select></td>
<td align="right"><input type="submit" value="<?php echo $lang['metafordner']['ok']?>" style="width:30px;" class="button"></td>
<td></form></td>
</tr>
</table>
</td>
<td>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td><form name="formular" method="post" action="meta_fordner.php?fu=4&ooid=<?php echo $ooid?>&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>" onSubmit="return confirm('<?php echo $lang['metafordner']['ordnerwirklichloeschen']?>');"></td>
<td><?php echo $lang['metafordner']['ordnerloeschen']?></td>
<td></td>
</tr>
<tr>
<td></td>
<td align="right"><input type="submit" value="<?php echo $lang['metafordner']['ok']?>" style="width:30px;" class="button"></td>
<td></form></td>
</tr>
</table>
</td>
</tr>
<?php
}
}
?>
</table>
</center>
</div>
<?php
include ("inc.footer.php");
}
if ($_GET["fu"]==2) {
include ("inc.header.php");
?>
<body text="#000000" bgcolor="#444444" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?php
$ordnerneu=$_POST["ordnerneu"];
$ordnerneu=addslashes($ordnerneu);
$zeiger_temp = @mysql_query("INSERT INTO $skrupel_ordner (name,besitzer,spiel) values ('$ordnerneu',$spieler,$spiel)");
?>
<script language=JavaScript>
window.location='meta_fordner.php?fu=1&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>';
</script>
<?php
include ("inc.footer.php");
}
if ($_GET["fu"]==3) {
include ("inc.header.php");
?>
<body text="#000000" bgcolor="#444444" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?php
$ooid=$_GET["ooid"];
$ordnerneu=$_POST["ordnerneu"];
$ordnerneu=addslashes($ordnerneu);
$zeiger_temp = @mysql_query("UPDATE $skrupel_ordner set name='$ordnerneu' where id =$ooid");
?>
<script language=JavaScript>
window.location='meta_fordner.php?fu=1&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>';
</script>
<?php
include ("inc.footer.php");
}
if ($_GET["fu"]==4) {
include ("inc.header.php");
?>
<body text="#000000" bgcolor="#444444" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?php
$ooid=$_GET["ooid"];
$zeiger_temp = @mysql_query("DELETE FROM $skrupel_ordner where id =$ooid");
$zeiger_temp = @mysql_query("UPDATE $skrupel_schiffe set ordner=0 where ordner=$ooid");
?>
<script language=JavaScript>
window.location='meta_fordner.php?fu=1&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>';
</script>
<?
include ("inc.footer.php");
}
if ($_GET["fu"]==5) {
include ("inc.header.php");
?>
<body text="#000000" bgcolor="#444444" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?
$ooid=$_GET["ooid"];
$icon=$_POST["icon"];
$zeiger_temp = @mysql_query("UPDATE $skrupel_ordner set icon='$icon' where id =$ooid");
?>
<script language=JavaScript>
window.location='meta_fordner.php?fu=1&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>';
</script>
<?
include ("inc.footer.php");
}
?>