while ($row = ba_db_fetch_assoc($result)) { echo "<tr><td><a href='admin_manageevent.php?EventID=" . $row['evEventID'] . "'>" . htmlentities(stripslashes($row['evEventName'])) . "</a></td><td>" . $row['evEventDate'] . "</td></tr>"; } echo "</table>"; } ?> <h3>Player Admin</h3> <p> The reports below are based on <i>all</i> the data in the database, not just those people that have booked for the upcoming event. </p> <p> <?php HelpLink('help_add_new_user.php'); echo " <a href = 'admin_adduser.php'>Add a new user</a> (use when players book with paper form)<br />\n"; ?> <a href = "admin_search.php">Search</a> - includes links to edit player's IC and/or OOC details or change their password<br> <a href = 'admin_disabled.php'>Disabled accounts</a> - includes links to reset the password and re-enable the account<br> Characters: <a href = "admin_chars_export.php?action=save">Save to csv</a> : <a href = "admin_chars_export.php?action=view">View online</a><br> Players: <a href = "admin_players_export.php?action=save">Save to csv</a> : <a href = "admin_players_export.php?action=view">View online</a><br> <a href = 'admin_notes.php'>Players with admin notes or illegal combinations of skills</a> </p> <h3>Site Admin etc</h3> <p> <a href = "admin_faq.php">Add/edit/delete FAQ items</a><br> <a href = 'admin_ancestors.php'>Add/edit/delete ancestors</a><br> <a href = 'admin_groups.php'>Add/edit/delete groups</a><br>
echo "<input type = 'hidden' name = 'txtGroup' value = ''>"; } ?> <tr> <td>Faction</td> <td><select name = "selFaction" class = "req_colour"> <?php if ($row['chFaction'] != '') { ListNames($link, DB_PREFIX . 'factions', 'faName', htmlentities(stripslashes($row['chFaction']))); } else { ListNames($link, DB_PREFIX . 'factions', 'faName', DEFAULT_FACTION); } ?> </select> <?php HelpLink('help_no_faction.php'); ?> </td> </tr><tr> <td>Ancestor:</td> <?php if (ANCESTOR_DROPDOWN) { echo "<td>"; echo "<select name = 'selAncestor'>"; if ($row['chAncestorSel'] != '') { ListNames($link, DB_PREFIX . 'ancestors', 'anName', stripslashes($row['chAncestorSel'])); } else { ListNames($link, DB_PREFIX . 'ancestors', 'anName', 'Other (enter name below)'); } echo "</select> </td></tr><tr><td></td>"; echo "<td>";
<tr><td><?php HelpLink('help_config_display.php'); ?> EVENT_CONTACT_MAIL:</td><td><input type="email" value="<?php echo htmlspecialchars($row['cnEVENT_CONTACT_MAIL']); ?> " name="txtEVENT_CONTACT_MAIL" tabindex="6" /></td></tr> <tr><td><?php HelpLink('help_config_display.php'); ?> TECH_CONTACT_NAME:</td><td><input type="text" value="<?php echo htmlspecialchars($row['cnTECH_CONTACT_NAME']); ?> " name="txtTECH_CONTACT_NAME" tabindex="7" /></td></tr> <tr><td><?php HelpLink('help_config_display.php'); ?> TECH_CONTACT_MAIL:</td><td><input type="email" value="<?php echo htmlspecialchars($row['cnTECH_CONTACT_MAIL']); ?> " name="txtTECH_CONTACT_MAIL" tabindex="8" /></td></tr> <tr><td>Value of CRYPT_KEY in configuration file:</td><td><input type="password" name="txtKey" tabindex="9" /></td></tr> <tr><td colspan="2" class="mid"><input type="submit" value="Update values" name="btnSubmit" tabindex="10"></td></tr> </table> </form> </p> <p><a href = "./">Installation Tests & Tools</a></p>
echo "<a href = '../eventdetails.php?EventID=" . $eventinfo['evEventID'] . "'>View event details</a> as a player will see them"; ?> </p> <p> The reports below are based on the people that have booked for the upcoming event <i>only</i>. People that have confirmed IC & OOC details, and been marked as paid are considered to have booked. The "Mark payments received" report obviously only includes people that haven't been marked as paid. </p> <p> <?php echo "<a href = 'admin_editeventdetails.php?EventID=" . $eventinfo['evEventID'] . "'>Edit event details</a><br />\n"; HelpLink('help_payments_received.php'); echo " <a href = 'admin_markpaid.php?EventID=" . $eventinfo['evEventID'] . "'>Mark payments received</a>, or to pay on the gate<br />\n"; HelpLink('help_assign_bunks.php'); echo " <a href = 'admin_bunks.php?EventID=" . $eventinfo['evEventID'] . "'>Assign bunks</a><br />\n"; HelpLink('help_request_meal_ticket.php'); echo " <a href = 'admin_mealticket.php?EventID=" . $eventinfo['evEventID'] . "'>Manage meal tickets</a><br />\n"; echo "<a href = 'admin_amount.php?EventID=" . $eventinfo['evEventID'] . "'>Manage amounts paid</a><br />\n"; echo "<a href = 'admin_cards.php?EventID=" . $eventinfo['evEventID'] . "'>Cards, Lore Sheets, Meal Tickets & bunks required</a><br />\n"; echo "<a href = 'admin_marshal.php?EventID=" . $eventinfo['evEventID'] . "'>Manage marshal status</a><br />\n"; ?> <a href = 'admin_booking_queue.php?EventID=<?php echo $eventinfo['evEventID']; ?> '>Manage booking queue</a><br /> <a href = 'admin_bookings_csv.php?EventID=<?php echo $eventinfo['evEventID']; ?> '>Save bookings to csv</a> (use as a mail merge source for creating character cards, etc)<br /> <a href = 'admin_items_csv.php?EventID=<?php
USE_PAY_PAL:</td><td><input type="checkbox" <?php if ($row['cnUSE_PAY_PAL']) { echo " checked"; } ?> name="chkUSE_PAY_PAL" /></td></tr> <tr><td><?php HelpLink('help_config_paypal.php'); ?> PAYPAL_EMAIL:</td><td><input type="text" class = "text" value="<?php echo htmlspecialchars(stripslashes($row['cnPAYPAL_EMAIL'])); ?> " name="txtPAYPAL_EMAIL" /></td></tr> <tr><td><?php HelpLink('help_config_paypal.php'); ?> PAYPAL_AUTO_MARK_PAID:</td><td><input type="checkbox" <?php if ($row['cnPAYPAL_AUTO_MARK_PAID']) { echo " checked"; } ?> name="chkPAYPAL_AUTO_MARK_PAID" /></td></tr> <tr><td colspan = "2" class = "mid"><input type = 'submit' value = 'Update values' name = 'btnSubmit'></td></tr> </table> </form> </p> <?php