Просмотр исходного кода

added javascript to make life easier

pull/16/head
mauirixxx 7 лет назад
Родитель
Сommit
0b07df8d8f
2 измененных файлов: 5 добавлений и 5 удалений
  1. +1
    -1
      index.php
  2. +4
    -4
      titlemanager.php

+ 1
- 1
index.php Просмотреть файл

@@ -10,4 +10,4 @@ if (isset($_SESSION['userid'])){
echo 'Add Guild Wars account <a href="addaccounts.php" class="navlink">here</a><br />';
}
include_once ('footer.php');
?>
?>

+ 4
- 4
titlemanager.php Просмотреть файл

@@ -35,12 +35,12 @@ if ($_SESSION['admin'] == 1) {
} else {
unset($_SESSION['tid']);
echo 'Add titles <form action="titlemanager.php" method="post"><input type="hidden" name="title" value="addtitle"><input type="submit" value="Add title"></form><br />';
echo 'Modify titles <form action="titlemanager.php" method="post"><input type="hidden" name="title" value="modtitle"><select name="tid">';
echo 'Modify titles <form action="titlemanager.php" method="post"><input type="hidden" name="title" value="modtitle"><select name="tid" onchange="this.form.submit()">';
include ('includes/title-select.php');
echo '</select><input type="submit" value="Modify Title"></form><br /><br />';
echo 'Add title ranks and points to <form action="titlemanager" method="post"><input type="hidden" name="title" value="addsubtitle"><select name="tid">';
echo '</select><noscript><input type="submit" value="Modify Title"></noscript></form><br /><br />';
echo 'Add title ranks and points to <form action="titlemanager" method="post"><input type="hidden" name="title" value="addsubtitle"><select name="tid" onchange="this.form.submit()">';
include ('includes/title-select.php');
echo '</select><input type="submit" value="Add title rank"></form><br />';
echo '</select><noscript><input type="submit" value="Add title rank"></noscript></form><br />';
echo 'Edit / Delete subtitle & points (code goes here)<br /><br />';
// now to view the last 5 title entries in the database
echo 'Here is the last 5 titles entered into the database, newest entry is on top:<br />';


Загрузка…
Отмена
Сохранить