• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

PHP Myaccount.php

muriloclv

New Member
Joined
Apr 28, 2010
Messages
7
Reaction score
0
Hello bros.

Im with a problem. In ma website, in "My Account", i have that error.
1738025883762.webp

I dont know what i need change to resolve that, anyone can help me?

if ($char_array) {
?>
<div class="desc-changelog__block flex-ss" style="text-align:center">
<table id="myaccountTable" class="table table-striped table-hover">
<tr class="yellow">
<th><div class="donate-page__bonuses-title flex-cc">NAME</div></th>
<th><div class="donate-page__bonuses-title flex-cc" style="padding-left:30px">LEVEL</div></th>
<th><div class="donate-page__bonuses-title flex-cc" style="padding-left:20px">VOCATION</div></th>
<th><div class="donate-page__bonuses-title flex-cc" style="padding-left:20px">TOWN</div></th>
<th><div class="donate-page__bonuses-title flex-cc" style="padding-left:30px">LAST LOGIN</div></th>
<th><div class="donate-page__bonuses-title flex-cc" style="padding-left:25px">STATUS</div></th>
<th><div class="donate-page__bonuses-title flex-cc" style="padding-left:25px">HIDE</div></th>
</tr>
<?php
foreach ($char_array as $value): ?>
<tr>
<td><div class="donate-page__bonuses-title flex-cc"><a href="characterprofile.php?name=<?php echo $value['name']; ?>"><?php echo $value['name']; ?></a></div></td>
<td><div class="donate-page__bonuses-title flex-cc" style="padding-left:30px"><?php echo $value['level']; ?></div></td>
<td><div class="donate-page__bonuses-title flex-cc" style="padding-left:20px"><?php echo $value['vocation']; ?></div></td>
<td><div class="donate-page__bonuses-title flex-cc" style="padding-left:20px"><?php echo $value['town_id']; ?></div></td>
<td><div class="donate-page__bonuses-title flex-cc" style="padding-left:30px"><?php echo $value['lastlogin']; ?></div></td>
<td><div class="donate-page__bonuses-title flex-cc" style="padding-left:25px"><?php echo $value['online']; ?></div></td>
<td><div class="donate-page__bonuses-title flex-cc" style="padding-left:25px"><?php echo hide_char_to_name($value['hide_char']); ?></div></td>
</tr>
<?php
endforeach;
?>
</table></div>
<!-- FORMS TO EDIT CHARACTER-->
<div class="global-desc__content" style="width:100%;margin-top:3px;margin-bottom:3px;padding-top:3px;padding-bottom:3px;padding-left:3px;padding-right:3px"><div class="desc-changelog__block flex-ss">
<div style="margin-left:auto;margin-right:auto">
<form action="" method="post">
<table class="table">
<tr>
<td><center>
<select id="selected_character" name="selected_character" class="form-control" style="font-size:18px;color:white;background: rgba(14, 9, 8, 0.9);border: 1px solid #2d1f1e;">
<?php foreach ($char_array as $character): ?>
<option value="<?php echo $character['name']; ?>"><?php echo $character['name']; ?></option>
<?php endforeach; ?>
</select></center>
</td>
<tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><td><center>
<select id="action" name="action" class="form-control" onChange="changedOption(this)" style="font-size:18px;color:white;background: rgba(14, 9, 8, 0.9);border: 1px solid #2d1f1e;">
<option value="none" selected>Select action</option>
<option value="toggle_hide">Toggle hide</option>
<option value="delete_character" class="needconfirmation">Delete character</option>
</select></center>
</td></tr><tr>
<td id="submit_form">
<?php
/* Form file */
Token::create();
?>
<button id="submit_button" type="submit" class="btn yellow flex-cc header__info-button" onclick="window.location.reload();">Submit</button>
</td></tr>
</tr>
</table>
</form></div></div></div>
<div class="global-desc__content" style="width:100%;margin-top:3px;margin-bottom:3px;padding-top:3px;padding-bottom:3px;padding-left:3px;padding-right:3px"><div class="desc-changelog__block flex-ss">
<div style="margin-left:auto;margin-right:auto">
<table>
<td><a href="createcharacter.php"><button type="submit" value="Submit" class="btn yellow flex-cc header__info-button"><b>Create Character</b></button></a></td>
<td><a href="settings.php"><button type="submit" value="Submit" class="btn yellow flex-cc header__info-button"><b>Settings</b></button></a></td>
<td><a href="changepassword.php"><button type="submit" value="Submit" class="btn yellow flex-cc header__info-button"><b>Change Password</b></button></a></td>
<td><a href="logout.php"><button type="submit" value="Submit" class="btn yellow flex-cc header__info-button"><b>Logout</b></button></a></td>
</table></div> </div></div>
<?php
}
 
Back
Top