15.08.2020, 22:49
(Dieser Beitrag wurde zuletzt bearbeitet: 15.08.2020, 23:56 von Onkel_Unbekannt.
Bearbeitungsgrund: Den Code der GESAMTEN Datei in den passenden Container gepackt
)
Hey Leute ich bin gerade total überfordert. ich hab schon einiges ausprobiert aber egal was ich machen ich bekomme immer wieder die selbe Fehlermeldung
Fehlermeldung:
Parse error: syntax error, unexpected end of file, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) in /var/www/vhosts/radio-happystation.ch/httpdocs/chat/html/login.html.php on line 316
was muss ich dahinter setzen um diesen Fehler zu beheben... Zeile 316 ist die letzte Zeile der PHP Datei (</html>)
Fehlermeldung:
Parse error: syntax error, unexpected end of file, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) in /var/www/vhosts/radio-happystation.ch/httpdocs/chat/html/login.html.php on line 316
was muss ich dahinter setzen um diesen Fehler zu beheben... Zeile 316 ist die letzte Zeile der PHP Datei (</html>)
Code:
<!DOCTYPE html>
<?PHP
session_start();
?>
<html>
<head>
<!--
** This file is part of "ZE Chat v1.0".
**
** "ZE Chat v1.0" is free softwore. Feel free to use and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 3 of the License, or
** (at your option) any later version.
**
** "ZE Chat v1.0" is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see http://www.gnu.org/licenses/.
**
** Developed by Alexander Pakusch aka Zion, 2010-2015
** You are not allowed to sell this software or remove the Copyrights.
**
** http://www.zevolutions.de/
** admin@zevolutions.de
-->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title><?php if(isset($_GET["loginevent"]) && $_GET["loginevent"] == 13) { echo 'Ausgeloggt! - '.$ZE_SETT->chat_name; } else { echo $ZE_SETT->chat_name; } ?></title>
<meta name="description" content="Diesen Chat muss man einfach gesehen haben! ZE Chat ZEChat Free Kostenlos">
<link rel="stylesheet" type="text/css" href="./styles/<?=$ZE_SETT->default_design?>/css/stylesheet.css" />
<!--<link rel="stylesheet" type="text/css" href="./styles/evo/css/stylesheet.css" />-->
<?php //if($ZE_GEN_COLORS == true) {
require_once './inc/gencolors.inc.php';
//}
?>
<link rel="stylesheet" href="../player/style.css" type="text/css">
<script src="./js/jquery.js"></script>
<script src="./js/jquery-ui.js"></script>
<script src="./js/jscolor.js"></script>
<script src="./js/minibox.js"></script>
<script src="./js/swfobject.js"></script>
<script src="./js/global.js"></script>
</head>
<!-- BEGIN BODY -->
<body>
<!-- Begin Page -->
<div id="colwrapper">
<?=$log_announce?>
<!-- Header | Logo GO -->
<header class="pgheader">
<img width="90%" height="100%" src="../styles/suntime/image/sys/logo.png">
</header>
<!-- Header | Logo END -->
<!-- Begin CONTENT -->
<main class="clearfix">
<?php if($countl > 0) { ?>
<!-- Side_Left GO -->
<aside id="ltcol">
<?php for($i=0;$i<$countl;$i++){if($ZE_BOX->ze_box_left[$i]["system"]==0){echo $ZE_BOX->ze_box_left[$i]["data"];}else{require_once $ZE_BOX->ze_box_left[$i]["data"];}}?>
</aside>
<!-- Side_Left END -->
<?php }
if($countr > 0) { ?>
<!-- Side_Right GO -->
<aside id="rtcol">
<?php for($i=0;$i<$countr;$i++){if($ZE_BOX->ze_box_right[$i]["system"]==0){echo $ZE_BOX->ze_box_right[$i]["data"];}else{require_once $ZE_BOX->ze_box_right[$i]["data"];}}?>
</aside>
<!-- Side_Right END -->
<?php } ?>
<!-- Center GO -->
<section id="ctcol" class="acenter<?php echo $modifier; ?>">
<!-- News GO -->
<?=$show_news?>
<!-- News END -->
<!-- Teamlist GO -->
<article id="teamlistdiv" class="ctout main_slide" style="display: none;">
<header class="ctheader">
<?=$LANG['main_teamlist']?> (<?=$ZE_TL->countTeam()?> User)
</header>
<div class="ctin">
<?=$show_tl?>
</div>
</article>
<!-- Teamlist END -->
<!-- Reset Passwort GO -->
<article id="newpwdiv" class="ctout main_slide" style="display: none;">
<header class="ctheader">
<?=$LANG['main_reset_pw_head']?>
</header>
<div class="ctin">
<form action="" method="get" name="register" id="register" onsubmit="return lostPass('./index.php', getFormData(this));" >
<input id="inc" name="inc" style="display: none;" maxlength="4" value="ajax" readonly="readonly" />
<input id="location" name="location" style="display: none;" maxlength="8" value="login" readonly="readonly" />
<input id="request" name="request" style="display: none;" maxlength="8" value="lostpass" readonly="readonly" />
<fieldset class="norm">
<p>
<label for="lplogin"><?=$LANG["main_login"]?>:
<span class="small"><?=$LANG['main_desc_lost_nick']?></span>
</label>
<input id="lplogin" name="lplogin" maxlength="<?=$ZE_SETT->max_name_length?>" onblur="if (this.value=='') this.value='<?=$LANG['main_username']?>'" onfocus="if (this.value=='<?=$LANG['main_username']?>') this.value='';" value="<?=$LANG['main_username']?>" />
</p>
<p>
<label for="lpmail"><?=$LANG["main_emailads"]?>:
<span class="small"><?=$LANG['main_desc_lost_mail']?></span>
</label>
<input id="lpmail" name="lpmail" type="email" maxlength="64" onblur="if (this.value=='') this.value='<?=$LANG['main_email']?>'" onfocus="if (this.value=='<?=$LANG['main_email']?>') this.value='';" value="<?=$LANG['main_email']?>" />
</p>
<p class="clearfix"></p>
<p class="info"><?=$LANG['main_desc_lost_instruction']?></p>
<input type="submit" value="<?=$LANG['main_regsm']?>" />
</fieldset>
</form>
</div>
</article>
<!-- Reset Passwort END -->
<!-- Registration GO -->
<?php if($ZE_SETT->chat_open!=0):?>
<article id="regdiv" class="ctout main_slide" style="display: none;">
<header class="ctheader">
<?=$LANG['main_register_head']?>
</header>
<div class="ctin ctcenter" align="center">
<form action="" method="get" name="register" id="register" onsubmit="return createAcc('./index.php', getFormData(this));" >
<input id="inc" name="inc" style="display: none;" maxlength="4" value="ajax" readonly="readonly" />
<input id="location" name="location" style="display: none;" maxlength="8" value="login" readonly="readonly" />
<input id="request" name="request" style="display: none;" maxlength="10" value="createacc" readonly="readonly" />
<input id="rbident" name="bident" style="display: none;" maxlength="32" value="None" readonly="readonly" />
<table class="form_con" style="margin: 0 auto;">
<tr>
<td class="form_tl"><label for="regacc">Accountname:<br /><span class="small"><b>Nicht</b> dein Nickname.</span></label></td>
<td class="form_tr">
<input id="regacc" name="regacc" maxlength="<?=$ZE_SETT->max_name_length?>" onblur="if (this.value=='') this.value='Accountname'" onfocus="if (this.value=='Accountname') this.value='';" value="Accountname" />
</td>
</tr>
<tr>
<td class="form_tl"><label for="reglogin"><?=$LANG["main_login"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_nick"]?></span></label></td>
<td class="form_tr">
<input id="reglogin" name="reglogin" maxlength="<?=$ZE_SETT->max_name_length?>" onblur="if (this.value=='') this.value='<?=$LANG['main_username']?>'" onfocus="if (this.value=='<?=$LANG['main_username']?>') this.value='';" value="<?=$LANG['main_username']?>" />
</td>
</tr>
<tr>
<td class="form_tl"><label for="regcolor"><?=$LANG["main_color"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_color"]?></span></label></td>
<td class="form_tr">
<input id="regcolor" name="regcolor" class="color" maxlength="6" value="<?=$ZE_SETT->chat_default_color?>" />
</td>
</tr>
<tr>
<td class="form_tl" align="right"><label for="regpass1"><?=$LANG["main_pword"]?>:</label><br /><div id="passwordStrengthDiv" class="is0"></div></td>
<td class="form_tr">
<input id="regpass1" name="regpass1" maxlength="32" type="password" />
</td>
</tr>
<tr>
<td class="form_tl"><label for="regpass2"><?=$LANG["main_pwrepeat"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_pass"]?></span></label></td>
<td class="form_tr">
<input id="regpass2" name="regpass2" maxlength="32" type="password" />
</td>
</tr>
<tr>
<td class="form_tl"><label for="regmail"><?=$LANG["main_emailads"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_mail"]?></span></label></td>
<td class="form_tr">
<input id="regmail" name="regmail" maxlength="64" onblur="if (this.value=='') this.value='<?=$LANG['main_email']?>'" onfocus="if (this.value=='<?=$LANG['main_email']?>') this.value='';" value="<?=$LANG['main_email']?>" />
</td>
</tr>
<tr>
<td class="form_tl"><?=$LANG['main_birthdate']?>:<br /><span class="small"><?=$LANG["main_desc_reg_bday"]?></span></td>
<td class="form_tr">
<select id="regday" name="regday">
<option onblur="if (this.value=='') this.value='<?=$LANG['main_regday']?>'" onfocus="if (this.value=='<?=$LANG['main_regday']?>') this.value='';" value="<?=$LANG['main_regday']?>"><?=$LANG["main_regday"]?></option>
<?=$reg_day?>
</select>
<select id="regmonth" name="regmonth">
<option onblur="if (this.value=='') this.value='<?=$LANG['main_regmonth']?>'" onfocus="if (this.value=='<?=$LANG['main_regmonth']?>') this.value='';" value="<?=$LANG['main_regmonth']?>"><?=$LANG["main_regmonth"]?></option>
<?=$reg_month?>
</select>
<select id="regyear" name="regyear">
<option onblur="if (this.value=='') this.value='<?=$LANG['main_regyear']?>'" onfocus="if (this.value=='<?=$LANG['main_regyear']?>') this.value='';" value="<?=$LANG['main_regyear']?>"><?=$LANG["main_regyear"]?></option>
<?=$reg_year?>
</select>
</td>
</tr>
<tr>
<td class="form_tl"><?=$LANG["main_gender"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_gender"]?></span></td>
<td class="form_tr">
<label><input id="reggender" name="reggender" maxlength="1" type="radio" value="1"/> <?=$LANG["main_gender_male"]?></label><br />
<label><input id="reggender" name="reggender" maxlength="1" type="radio" value="2"/> <?=$LANG["main_gender_female"]?></label><br />
<label><input id="reggender" name="reggender" maxlength="1" type="radio" value="0"/> <?=$LANG["main_gender_secret"]?></label>
</td>
</tr>
<tr>
<td class="form_tl">
<label for="regrules"><?=$LANG["main_gbt_confirm"]?><br /><span class="small"><?=$LANG["main_desc_reg_info"]?></span>
</td>
<td class="form_tr">
<input id="regrules" name="regrules" type="checkbox" value="1">
</td>
</tr>
<tr>
<td colspan="2" align="center">
<br />
<button type="submit" class="sebutton" title="<?=$LANG['main_regsm']?>"><?=$LANG["main_regsm"]?></button>
</td>
</tr>
</table>
</form>
</div>
</article>
<?endif;?>
<!-- Registration END -->
<!-- GuestLogin GO -->
<?php if($ZE_SETT->chat_guests==1&&$ZE_SETT->chat_open!=0):?>
<div id="guestlogin" class="minibox4 center_in" align="center" style="height: auto; width:auto; margin-left:-306px; margin-top:-175px; display:none; opacity: 1;">
<header class="minibox3head minibox_crop_top">
<?=$LANG["main_guest_head"]?>
</header>
<div class="main-body scroll_auto" style="border-bottom-right-radius: 7px; border-bottom-left-radius: 7px;">
<form action="./index.php" method="post" name="guestform" id="guestform">
<input id="inc" name="inc" style="display: none;" maxlength="7" value="doLogin" readonly="readonly" />
<input id="do" name="do" style="display: none;" maxlength="32" value="guest" readonly="readonly" />
<input id="lsid" name="lsid" style="display: none;" maxlength="32" value="<?=$ZE_lsession_id?>" readonly="readonly" />
<input id="gbident" name="bident" style="display: none;" maxlength="32" value="None" readonly="readonly" />
<table class="form_con">
<tr>
<td class="form_tl"><label for="glogin"><?=$LANG["main_login"]?>:<br /><span class="small"><?=$LANG["main_desc_guest_nick"]?></span></label></td>
<td class="form_tr">
<input id="glogin" name="login" maxlength="<?=$ZE_SETT->max_name_length?>" onblur="if (this.value=='') this.value='<?=$LANG['main_username']?>'" onfocus="if (this.value=='<?=$LANG['main_username']?>') this.value='';" value="<?=$LANG['main_username']?>" />
</td>
</tr>
<tr>
<td class="form_tl"><label for="gcolor"><?=$LANG["main_color"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_color"]?></span></label></td>
<td class="form_tr">
<input id="gcolor" name="gcolor" class="color" maxlength="6" value="<?=$ZE_SETT->chat_default_color?>" />
</td>
</tr>
<tr>
<td class="form_tl"><?=$LANG['main_birthdate']?>:<br /><span class="small"><?=$LANG["main_desc_reg_bday"]?></span></td>
<td class="form_tr">
<select id="gday" name="gday">
<option onblur="if (this.value=='') this.value='<?=$LANG['main_regday']?>'" onfocus="if (this.value=='<?=$LANG['main_regday']?>') this.value='';" value="<?=$LANG['main_regday']?>"><?=$LANG["main_regday"]?></option>
<?=$reg_day?>
</select>
<select id="gmonth" name="gmonth">
<option onblur="if (this.value=='') this.value='<?=$LANG['main_regmonth']?>'" onfocus="if (this.value=='<?=$LANG['main_regmonth']?>') this.value='';" value="<?=$LANG['main_regmonth']?>"><?=$LANG["main_regmonth"]?></option>
<?=$reg_month?>
</select>
<select id="gyear" name="gyear">
<option onblur="if (this.value=='') this.value='<?=$LANG['main_regyear']?>'" onfocus="if (this.value=='<?=$LANG['main_regyear']?>') this.value='';" value="<?=$LANG['main_regyear']?>"><?=$LANG["main_regyear"]?></option>
<?=$reg_year?>
</select>
</td>
</tr>
<tr>
<td class="form_tl"><?=$LANG["main_gender_quest"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_gender"]?></span></td>
<td class="form_tr">
<label><input id="ggender" name="ggender" maxlength="1" type="radio" value="1"/> <?=$LANG["main_gender_male"]?></label><br />
<label><input id="ggender" name="ggender" maxlength="1" type="radio" value="2"/> <?=$LANG["main_gender_female"]?></label><br />
<label><input id="ggender" name="ggender" maxlength="1" type="radio" value="0"/> <?=$LANG["main_gender_secret"]?></label>
</td>
</tr>
<tr>
<td class="form_tl">
<label for="grules"><?=$LANG["main_gbt_confirm"]?><br /><span class="small"><?=$LANG["main_desc_reg_info"]?></span>
</td>
<td class="form_tr">
<input id="grules" name="grules" type="checkbox" value="1">
</td>
</tr>
<tr>
<td class="form_tl">
<button type="button" class="sebutton" title="<?=$LANG['main_rules']?>" onclick="toggleGuest();"><?=$LANG["main_abort"]?></button>
</td>
<td class="form_tr">
<button type="submit" class="sebutton" title="<?=$LANG['main_regsm']?>"><?=$LANG["main_regsm"]?></button>
</td>
</tr>
</table>
</form>
</div>
</div>
<?endif;?>
<!-- GuestLogin END -->
<?=$ZE_LINKCON?>
</section>
<!-- Center END -->
</main>
<!-- END CONTENT -->
<!-- Footer GO-->
<?=$exfooter?>
<!-- Footer END-->
</div>
<!-- END Page -->
<script type="text/javascript" src="./js/global.js"></script>
<? require_once './js/login.js.php'; ?>
</body>
<!-- END BODY -->
</html>