From fa8e8056ac85168dec4728c18e78e4f7ae33e038 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Tue, 21 Aug 2018 15:39:50 -1000 Subject: [PATCH] i don't rememebr what these changes were oops --- addaccounts.php | 4 ++-- adminlanding.php | 2 +- includes/del-account.php | 1 - includes/title-update.php | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/addaccounts.php b/addaccounts.php index d3692ca..715b164 100644 --- a/addaccounts.php +++ b/addaccounts.php @@ -31,13 +31,13 @@ if (isset($_SESSION['userid'])) { echo ''; echo '
'; echo '
'; - echo ''; + echo ''; $acclist = $con->prepare("SELECT accid, accemail FROM gwaccounts WHERE userid = ?"); $acclist->bind_param("i", $_SESSION['userid']); $acclist->execute(); $result = $acclist->get_result(); while ($row = $result->fetch_assoc()) { - echo '
Current Guild Wars accounts
Account namePreferred?Delete ?
accidAccount namePreferred?Delete ?
'; + echo '
'; echo '
Welcome to the admin area!

'; echo 'Title creator / editor here (work in progress)

'; echo 'User editor here (not working yet)

'; - echo 'testing gwamm and autofilled titles theories Legendary GWAMM

'; + echo 'testing autofilled title theories: Legendary title testGWAMM

'; include_once ('includes/session-dump.php'); } include_once ('footer.php'); diff --git a/includes/del-account.php b/includes/del-account.php index 52899b9..104a44a 100644 --- a/includes/del-account.php +++ b/includes/del-account.php @@ -13,7 +13,6 @@ if (isset($_SESSION['userid'])) { $delchar->execute(); $delchar->close(); // $dac = Delete Account Stats - echo 'the error from $gcirow-accid is: ' . $gcirow['accid'] . '
'; $dac = $con->prepare("DELETE FROM gwstats WHERE charid = 0 AND accid = ? AND userid = ?"); $dac->bind_param("ii", $gcirow['accid'], $_SESSION['userid']); $dac->execute(); diff --git a/includes/title-update.php b/includes/title-update.php index 7158458..e1dc9c4 100644 --- a/includes/title-update.php +++ b/includes/title-update.php @@ -2,7 +2,7 @@ if (isset($_SESSION['userid'])) { if (isset($_POST['deltitle'])) { if ($_POST['deltitle'] == "yes") { - // this title makes you verify that you want to delete this title + // this section makes you verify that you really want to delete this title echo 'Please check the box to verify you want to delete: ' . $_POST['titlename'] . ' '; echo '

'; } else if ($_POST['deltitle'] == "iamsure") {