|
|
@ -69,11 +69,10 @@ foreach ($chars as $row) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ($row['status'] == 'Frei') {
|
|
|
|
if ($row['status'] == 'Frei') {
|
|
|
|
echo "<b>Frei</b> | ";
|
|
|
|
echo "<b>Frei</b> | ";
|
|
|
|
echo '<a href="javascript:if(confirm(\'' . $row['name'] . ' Wirklich löschen?\')==true) window.location.href=\'index.php?as=char_index&charm=3&char_id=' . $row['id'] . '\'">Charakter löschen</a>';
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
echo "<a href='index.php?as=abholen&ab=$row[status]&char_id=$row[id]'>$row[status]</a> | ";
|
|
|
|
echo "<a href='index.php?as=abholen&ab=$row[status]&char_id=$row[id]'>$row[status]</a> | ";
|
|
|
|
echo '<a href="javascript:if(confirm(\'' . $row['name'] . ' Wirklich löschen?\')==true) window.location.href=\'index.php?as=char_index&charm=3&char_id=' . $row['id'] . '\'">Charakter löschen</a>';
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
echo '<a href="javascript:if(prompt(\'Mit Namen des zu Löschenden Chars bestätigen (' . $row['name'] . ')\')==\''.$row['name'].'\') window.location.href=\'index.php?as=char_index&charm=3&char_id=' . $row['id'] . '\'">Charakter löschen</a>';
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
</b></td>
|
|
|
|
</b></td>
|
|
|
|