tests
This commit is contained in:
parent
081f704592
commit
d6e8e92b2b
4
klan.php
4
klan.php
@ -92,7 +92,7 @@ if (isset($_POST['kr']) && ($_POST['kolv'] > 0)) {
|
||||
if ($klan['glava'] == $sok['id']) {
|
||||
$st = "<font color=#008080><b>Глава клана</b></font>";
|
||||
}
|
||||
if ($sok) { echo $_POST['option'];
|
||||
if ($sok) { echo $_POST['action'];
|
||||
if ($_POST['save']) {
|
||||
if ($_POST['vin'] == 'on') {
|
||||
$polno[$sok['id']][0] = 1;
|
||||
@ -257,7 +257,7 @@ if (isset($_POST['kr']) && ($_POST['kolv'] > 0)) {
|
||||
}
|
||||
|
||||
function use(option) {
|
||||
document.getElementById(option).innerHTML = "<form method='post'><input placeholder='Имя персонажа' name='login'><button name='"+option+"' type='submit'>Ок</button></form>";
|
||||
document.getElementById(option).innerHTML = "<form method='post'><input placeholder='Имя персонажа' name='login'><button name='action' value='"+option+"' type='submit'>Ок</button></form>";
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user