Hallo liebe Retrotowner,
und zwar, wenn ich auf Anfrage erstellen klicke, tut sich nichts, ich weiß nicht woran es liegt bitte um hilfe, danke im vorraus.
PHP Script: <?php
if(!defined("ITS_OK")) { header("Location: ../"); }
if(!isUserLoggedIn()) { header("Location: ".cmsSettings("site_url")."home"); }
?>
<div class="col-lg-12">
<div id="contentBox">
<div class="left" style="width:310px;">
<div class="Box">
<div class="title_box mebo">
Was bringt das Support-System?
</div>
<div class="a_info left" style="height:auto;padding:10px">
<div style="height:99px;width:182px;margin:0 auto;background:url('<?php echo cmsSettings("site_url")."templates/".cmsSettings("site_template")."/img/frank_26.gif"; ?>');"></div>
Du kannst das Support-System dafür nutzen, um Störungen und sonstige
Fehlermeldungen wie zum Beispiel ein Möbelbug oder Raumbug zu melden.<br /><br />
Für Probleme mit anderen <?php echo cmsSettings("site_name"); ?>'s, nutze bitte
den Hilferuf im Client.
</div>
<div class="clear"></div>
</div>
</div>
<div class="right">
<div class="Box">
<div class="title_box mebor">Eine Hilf anfrage erstellen</div>
<div class="article_info" style="height:auto;padding:10px">
<div id="ticketmsg"></div>
<textarea style="width:100%;min-width:100%;max-width:100%;min-height:40px;max-height:120px;" class="textbox" id="tickettext" placeholder="Gebe deine Nachricht ein..."></textarea>
<button class="whiteBtn" id="ticketButton" onClick="postTicket();">Anfrage erstellen</button>
</div>
</div>
<div class="Box" style="margin-top:10px;">
<div class="title_box mebor">Meine Tickets</div>
<div class="article_info" style="height:auto;padding:10px;padding-bottom:0;">
<?php
$sql = mysql_query("SELECT * FROM cms_support WHERE userid = '".userInfo(protect($_SESSION["login_username"]), "id")."' AND parid = '0' ORDER BY id DESC LIMIT 3");
while($row = mysql_fetch_object($sql)) {
?>
<div id="ticket_<?php echo $row->id; ?>" class="ticketbox">
<div class="right">
<a href="javascript:void(0);" onClick="delTicket(<?php echo $row->id; ?>);" rel="tooltip" title="Löschen"><span class="fa fa-times"></span></a>
</div>
<div class="left" style="height:70px;width:60px;background:url('http://www.habbo.de/habbo-imaging/avatarimage?figure=<?php echo userInfo(protect($_SESSION[" rel="height:70px;width:60px;background:url('http://www.habbo.de/habbo-imaging/avatarimage?figure=<?php echo userInfo(protect($_SESSION["login_username"]), "look"); ?>&head_direction=2');"></div>
<div class="left" style="width:350px;margin-left:10px;">
<?php echo htmlentities($row->text); ?>
<hr style="margin:5px 0;padding:0;border-color:rgba(0,0,0,0.08);" />
</div>
<div class="clear"></div>
<?php
$xxx = mysql_query("SELECT * FROM cms_support WHERE status = '0' AND parid = '".$row->id."' LIMIT 1");
if(mysql_num_rows($xxx) == 0) {
$msgx = "Dein Ticket wurde noch nicht bearbeitet.";
} else {
$xxx = mysql_fetch_object($xxx);
$msgx = "<b>".userName($xxx->userid)."</b><br />".$xxx->text;
?>
<div class="left" style="height:70px;width:60px;background:url('http://www.habbo.de/habbo-imaging/avatarimage?figure=<?php echo userInfo(userName($xxx->userid), "look"); ?>&head_direction=2');"></div>
<?php } ?>
<div class="left" style="width:350px;margin-left:10px;">
<?php echo $msgx; ?>
</div>
<div class="clear"></div>
</div>
<?php } ?>
</div>
</div>
</div>
<div class="clear"></div>
</div>
</div>
Screen:Screenshot (12).png