Example #1
0
File: news.php Project: anodyne/sms
                extract($catFetch, EXTR_OVERWRITE);
                if ($newsCat == $catid) {
                    echo "<option value='{$newsCat}' selected>" . stripslashes($catName) . "</option>";
                } else {
                    echo "<option value='{$catid}'>" . stripslashes($catName) . "</option>";
                }
            }
            ?>
					</select>
				</td>
			</tr>
			<tr>
				<td>
					<b>Author</b><br />
					<?php 
            print_active_crew_select_menu("news", $newsAuthor, "", "", "");
            ?>
				</td>
				<td>
					<b>Status</b><br />
					<select name="newsStatus">
						<option value="pending"<?php 
            if ($newsStatus == "pending") {
                echo " selected";
            }
            ?>
>Pending</option>
						<option value="saved"<?php 
            if ($newsStatus == "saved") {
                echo " selected";
            }
Example #2
0
				</div>
			
				<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>&nbsp;</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>&nbsp;</td>
							<td>
								<?php 
Example #3
0
File: jp.php Project: anodyne/sms
        while ($postFetch = mysql_fetch_assoc($postsResult)) {
            extract($postFetch, EXTR_OVERWRITE);
            ?>
			<form method="post" action="<?php 
            echo $webLocation;
            ?>
admin.php?page=post&sub=jp&id=<?php 
            echo $id;
            ?>
">
			<tr>
				<td class="narrowLabel tableCellLabel">Authors</td>
				<td>&nbsp;</td>
				<td>
					<?php 
            $authorCount = print_active_crew_select_menu("post", $postAuthor, $postid, "post", "jp");
            ?>
					<input type="hidden" name="authorCount" value="<?php 
            echo $authorCount;
            ?>
" />
				</td>
			</tr>
			<tr>
				<td colspan="3" height="10">&nbsp;</td>
			</tr>
			<tr>
				<td class="narrowLabel tableCellLabel">Mission</td>
				<td>&nbsp;</td>
				<td class="fontNormal">
					<?php 
Example #4
0
File: logs.php Project: anodyne/sms
" />
					<input type="hidden" name="logid" value="<?php 
            echo $logid;
            ?>
" />
				</td>
			</tr>
			
			<?php 
            if (in_array("m_logs2", $sessionAccess)) {
                ?>
			<tr>
				<td valign="middle">
					<b>Author</b><br />
					<?php 
                print_active_crew_select_menu("log", $logAuthor, $logid, "", "");
                ?>
				</td>
				<td valign="middle">
					<span class="fontNormal"><b>Status</b></span><br />
					<select name="logStatus">
						<option value="pending"<?php 
                if ($logStatus == "pending") {
                    echo " selected";
                }
                ?>
>Pending</option>
						<option value="saved"<?php 
                if ($logStatus == "saved") {
                    echo " selected";
                }