|
|
@ -52,7 +52,7 @@ function stelledar($char_id,$user_ida,$name) {
|
|
|
|
type="hidden" name="char_id" value="<?php echo $char_id; ?>" /> <input
|
|
|
|
type="hidden" name="char_id" value="<?php echo $char_id; ?>" /> <input
|
|
|
|
type="hidden" name="submit" value="1" />
|
|
|
|
type="hidden" name="submit" value="1" />
|
|
|
|
|
|
|
|
|
|
|
|
<table border="1" cellpadding="0" cellspacing="0"
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0"
|
|
|
|
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
|
|
|
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
|
|
|
height="25">
|
|
|
|
height="25">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
@ -322,16 +322,6 @@ function stelledar($char_id,$user_ida,$name) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function getAttackNamesFromAttackSet($attset) {
|
|
|
|
|
|
|
|
$qry = mysql_query('SELECT l.id,a.name FROM attacken a INNER JOIN lernen l ON a.id=l.at_id WHERE l.id in ('.implode(',', $attset).');');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
while ($result = mysql_fetch_assoc($qry)) {
|
|
|
|
|
|
|
|
$set[$result['id']] = $result['name'];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return $set;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function eintragen($char_id,$name,$user_ida) {
|
|
|
|
function eintragen($char_id,$name,$user_ida) {
|
|
|
|
$char = getChar($char_id);
|
|
|
|
$char = getChar($char_id);
|
|
|
|
if($char['besitzer'] != $user_ida['id']) {
|
|
|
|
if($char['besitzer'] != $user_ida['id']) {
|
|
|
@ -339,7 +329,7 @@ function eintragen($char_id,$name,$user_ida) {
|
|
|
|
exit;
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(!checkCharStatus($char, 'Frei')) {
|
|
|
|
if(!checkCharStatus($char_id, STATUS_FREI)) {
|
|
|
|
displayErrorMessage(NULL,'Der Charakter ist zur Zeit nicht frei!', displayHistoryBackLink());
|
|
|
|
displayErrorMessage(NULL,'Der Charakter ist zur Zeit nicht frei!', displayHistoryBackLink());
|
|
|
|
exit;
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|