|
|
@ -68,12 +68,11 @@ foreach ($chars as $row) {
|
|
|
|
echo "<a href=index.php?as=$as&char_id=$row[id]>$row[name]</a> | Status: ";
|
|
|
|
echo "<a href=index.php?as=$as&char_id=$row[id]>$row[name]</a> | Status: ";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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>
|
|
|
|