<h4> <img src="<?php echo $image; ?> " alt="<?php echo $fetch['awardName']; ?> " border="0" style="float:left; padding-right:10px;" /> <?php printText($fetch['awardDesc']); ?> </h4> <div style="clear:both;"></div> <h3>Recipient: <?php printCrewName($crew, 'rank', 'noLink'); ?> </h3> <div class="overflow"><?php printText($awards_raw[$award][2]); ?> </div> <p></p> <div> <input type="hidden" name="action_award" value="<?php echo $award; ?> " /> <input type="hidden" name="action_crew" value="<?php
<th width="44%">Author</th> <th width="2%"></th> <th width="10%"></th> <th width="10%"></th> </tr> <?php foreach ($posts_array['pending'] as $value_p) { ?> <tr class="fontNormal"> <td><?php printText($value_p['title']); ?> </td> <td><?php printCrewName($value_p['author'], 'rank', 'link'); ?> </td> <td></td> <td align="center"><a href="<?php echo $webLocation; ?> index.php?page=news&id=<?php echo $value_p['id']; ?> "><strong>View News</strong></a></td> <td align="center"><a href="<?php echo $webLocation; ?> admin.php?page=manage&sub=news&id=<?php echo $value_p['id'];
$menu->main(); if (isset($sessionCrewid)) { $menu->user($sessionCrewid); } ?> </div><br /> </div> <div id="content" class="wrapper"> <div class="nav"> <div class="login"> <?php if (isset($sessionCrewid)) { ?> <i>Hello, <?php printCrewName($sessionCrewid, "noRank", "noLink"); ?> </i><br /> { <a href="<?php echo $webLocation; ?> login.php?action=logout">Log Out</a> } <?php } else { ?> <form method="post" action="<?php echo $webLocation; ?> login.php?action=checkLogin" class="login"> <b>Username</b><br /> <input type="text" name="username" size="12" class="text" /><br /><br />
?> </td> </tr> <tr> <td class="tableCellLabel">Category</td> <td> </td> <td><?php printText($catName); ?> </td> </tr> <tr> <td class="tableCellLabel">Author</td> <td> </td> <td><?php printCrewName($newsAuthor, "rank", "link"); ?> </td> </tr> <tr> <td class="tableCellLabel">Posted</td> <td> </td> <td><?php echo dateFormat("medium", $newsPosted); ?> </td> </tr> </table> <br /> <div align="center"> <b><a href="<?php
$get = "SELECT * FROM sms_news WHERE newsid = {$id} LIMIT 1"; $getR = mysql_query($get); $pendingArray = mysql_fetch_assoc($getR); ?> <h2>Activate Pending News Item?</h2> <p>Are you sure you want to activate this news item? Once activated this news item will be emailed to the crew.</p> <hr size="1" width="100%" /> <form method="post" action=""> <h3><?php printText($pendingArray['newsTitle']); ?> </h3> <h4>By <?php printCrewName($pendingArray['newsAuthor'], 'rank', 'noLink'); ?> </h4> <div class="overflow"><?php printText($pendingArray['newsContent']); ?> </div> <p></p> <div> <input type="hidden" name="action_id" value="<?php echo $pendingArray['newsid']; ?> " />
return false; }); $('a#toggleAwards').click(function() { $('#awards').toggle(75); return false; }); }); </script> <div class="body"> <span class="fontTitle"> <?php if (!empty($fetchCrew['rankid'])) { printCrewName($fetchCrew['crewid'], "rank", "noLink"); } else { printCrewName($fetchCrew['crewid'], "noRank", "noLink"); } ?> </span> <?php if ($fetchCrew['crewType'] == "pending") { ?> <b class="yellow">[ Activation Pending ]</b><?php } ?> <?php if ($loa == 1) { ?> <br /><b class="red">[ On Leave of Absence ]</b><?php
<h2>Deactivate Character?</h2> <p>Are you sure you want to deactivate <strong class="orange"><?php printCrewName($pendingArray['crewid'], 'rank', 'noLink'); ?> </strong>? Once deactivated, the player will not be able to login to SMS or participate in the game in any way until they are reactivated.</p> <hr size="1" width="100%" /> <form method="post" action=""> <table class="hud_guts"> <tr> <td class="hudLabel">Character</td> <td></td> <td><?php printCrewName($pendingArray['crewid'], 'rank', 'noLink'); ?> </td> </tr> <tr> <td colspan="3" height="10"></td> </tr> <tr> <td class="hudLabel">Position</td> <td></td> <td><?php printText($pendingArray['positionName']); ?> </td> </tr> <tr>
extract($pendingAwards, EXTR_OVERWRITE); $getA = "SELECT * FROM sms_awards WHERE awardid = {$pendingAwards['award']} LIMIT 1"; $getAResult = mysql_query($getA); $award = mysql_fetch_assoc($getAResult); ?> <tr class="fontNormal"> <td><?php printText($award['awardName']); ?> </td> <td><?php printCrewName($pendingAwards['nominated'], "rank", "noLink"); ?> </td> <td><?php printCrewName($pendingAwards['crew'], "rank", "noLink"); ?> </td> <td align="center"><a href="#" class="delete" rel="facebox" myID="<?php echo $pendingAwards['id']; ?> " myType="award" myAction="deny"><b>Deny</b></a></td> <td align="center"> <?php if (!empty($award)) { ?> <a href="#" class="add" rel="facebox" myID="<?php echo $pendingAwards['id']; ?> " myType="award" myAction="approve"><b>Approve</b></a> <?php
Moderated posts will require approval before being sent out to the crew. If a player is moderated and they attempted to post a joint post, the joint post will require approval before it is sent out to the crew, even if the other members are not moderated. Unmoderated posts will be sent out without any need for activation. These values can also be changed from each user’s account page.<br /><br /> <table class="zebra" cellpadding="3" cellspacing="0"> <tr class="fontMedium"> <th>Crew Member</td> <th>Mission Posts</td> <th>Personal Logs</td> <th>News Items</td> </tr> <?php foreach ($crew as $key => $value) { ?> <tr height="30"> <td><?php printCrewName($key, "rank", "noLink"); ?> </td> <td align="center" valign="middle"> <?php if ($value['posts'] == "y") { echo "<img src='images/message-unread-icon.png' border='0' alt='Moderated' />"; } else { echo " "; } ?> </td> <td align="center" valign="middle"> <?php if ($value['logs'] == "y") { echo "<img src='images/message-unread-icon.png' border='0' alt='Moderated' />";
<div id="three" class="ui-tabs-container ui-tabs-hide"> <br /> <form method="post" action="<?php echo $webLocation; ?> admin.php?page=user&sub=inbox&tab=3"> <table> <tr> <td class="narrowLabel tableCellLabel">To</td> <td> </td> <td> <?php if (!isset($id)) { print_active_crew_select_menu("pm", "", "", "", ""); } else { printCrewName($id, "rank", "noLink"); echo "<input type='hidden' name='pmRecipient' value='{$id}' />"; } ?> </td> </tr> <tr height="5"> <td colspan="3"></td> </tr> <tr> <td class="narrowLabel tableCellLabel">Subject</td> <td> </td> <td> <?php /* do some logic to figure out what should go in the value field */ if (isset($_GET['reply'])) {
echo "<b>There are no NPCs to moderate in this department! You can create one by using the link above.</b>"; echo "</td>"; echo "</tr>"; } else { while ($npc = mysql_fetch_assoc($npcsResult)) { extract($npc, EXTR_OVERWRITE); $rowColor = $rowCount % 2 ? $color1 : $color2; ?> <tr class="fontNormal <?php echo $rowColor; ?> " height="25"> <td width="40%"> <strong><?php printCrewName($npc['crewid'], 'rank', 'noLink'); ?> </strong> </td> <td width="40%"> <?php $key1 = array_key_exists($npc['positionid'], $pos_array); if ($key1 !== FALSE) { echo "<span style='color: #" . $pos_array[$npc['positionid']][1] . ";'>"; printText($pos_array[$npc['positionid']][0]); echo "</span>"; } else { echo "<strong class='red'>[ Invalid Position ]</strong>"; } ?> </td>
" /> </td> </tr> <tr> <td class="tableCellLabel">From</td> <td> </td> <td><?php printCrewName($pmAuthor, "rank", "noLink"); ?> </td> </tr> <tr> <td class="tableCellLabel">To</td> <td> </td> <td><?php printCrewName($pmRecipient, "rank", "noLink"); ?> </td> </tr> <tr> <td class="tableCellLabel">Sent</td> <td> </td> <td><?php echo dateFormat("medium", $pmDate); ?> </td> </tr> </table> <br /> <div align="center">
?> <form method="post" action="<?php echo $webLocation; ?> admin.php?page=user&sub=status"> <table> <tr> <td class="tableCellLabel">Crew Member</td> <td> </td> <td> <?php printCrewName($sessionCrewid, "rank", "noLink"); ?> <input type="hidden" name="crewMember" value="<?php printCrewName($sessionCrewid, 'rank', 'noLink'); ?> " /> </td> </tr> <tr> <td class="tableCellLabel">Status</td> <td> </td> <td> <input type="radio" name="status" value="0" <?php if ($info['loa'] == "0") { echo "checked"; } ?> /> Active<br /> <input type="radio" name="status" value="1" <?php
</div> <!-- close the centering div --> <table> <tr> <td class="tableCellLabel">Title</td> <td> </td> <td><?php printText($logTitle); ?> </td> </tr> <tr> <td class="tableCellLabel">Author</td> <td> </td> <td><?php printCrewName($logAuthor, "rank", "link"); ?> </td> </tr> <tr> <td class="tableCellLabel">Posted</td> <td> </td> <td><?php echo dateFormat("medium", $logPosted); ?> </td> </tr> </table> </span>
}); }); </script> <div class="body"> <?php $check = new QueryCheck(); $check->checkQuery($result, $query); if (!empty($check->query)) { $check->message("player award", "add"); $check->display(); } ?> <span class="fontTitle">Give Award To <?php printCrewName($crew, "rank", "noLink"); ?> </span><br /><br /> <b class="fontMedium"> <a href="<?php echo $webLocation; ?> admin.php?page=manage&sub=addaward">« Back to Crew List</a> </b><br /><br /> <table class="zebra" cellpadding="3" cellspacing="0"> <?php $getCrew = "SELECT crewType FROM sms_crew WHERE crewid = {$crew} LIMIT 1"; $getCrewResult = mysql_query($getCrew); $crewFetch = mysql_fetch_array($getCrewResult); if ($crewFetch[0] == "npc") {
<tr class="<?php echo $rowColor; ?> fontNormal"> <td align="center"><?php echo dateFormat("medium", $logPosted); ?> </td> <td align="center"><a href="<?php echo $webLocation; ?> index.php?page=log&id=<?php echo $logid; ?> "><?php printText($logTitle); ?> </a></td> <td align="center"><?php printCrewName($loginfo['logAuthor'], "rank", "link"); ?> </a></td> </tr> <?php $rowCount++; } ?> </table> </div>
echo $newsid; ?> " class="image"> <img src="<?php echo $webLocation; ?> images/edit.png" alt="[ Edit ]" border="0" /> </a> <?php } ?> </span><br /> <span class="fontSmall"> Posted by <?php printCrewName($newsItems['newsAuthor'], "rank", "link"); ?> on <?php echo dateFormat("long", $newsPosted); ?> <br /> Category: <?php printText($catName); ?> </span><br /> <div style="padding: .5em 0em 2em 1em;"> <?php printText($text); echo " ... <nobr>[ <a href='" . $webLocation . "index.php?page=news&id=" . $newsid . "'>Read More »</a> ]</nobr>"; ?> </div>
<div id="three" class="ui-tabs-container ui-tabs-hide"> <?php if (count($crew['pending']) == 0) { echo "<strong class='orange fontLarge'>No pending characters found</strong>"; } else { ?> <table class="zebra" cellpadding="3" cellspacing="0"> <?php foreach ($crew['pending'] as $key_p => $value_p) { ?> <tr height="40"> <td width="60%"> <b><?php printCrewName($value_p['id'], 'noRank', 'noLink', 'pending'); ?> </b><br /> <span class="fontNormal">Unassigned</span> </td> <td width="10%"></td> <td width="10%" align="center" class="fontNormal"> <a href="<?php echo $webLocation; ?> admin.php?page=user&sub=bio&crew=<?php echo $value_p['id']; ?> " class="edit"><b>Edit Bio</b></a> </td> <td width="10%" align="center" class="fontNormal">