Example #1
0
File: main.php Project: anodyne/sms
?>
/<?php 
echo $rankImage;
?>
" alt="<?php 
echo $rankName;
?>
" /><br />
	<span class="fontMedium">
		<?php 
/* spit out the player position for position #1 */
printPlayerPosition($sessionCrewid, $positionid, "");
/* if there's a second position, spit that out as well */
if (!empty($positionid2)) {
    echo " &amp; ";
    printPlayerPosition($sessionCrewid, $positionid2, "2");
}
/* finally, print the ship name */
printText(", " . $shipPrefix . " " . $shipName);
if ($loa == "1" || $loa == "2") {
    echo "<br />";
    switch ($loa) {
        case "1":
            echo "<b class='yellow'>[ On Leave of Absence ]</b>";
            break;
        case "2":
            echo "<b class='orange'>[ On Extended Leave of Absence ]</b>";
            break;
    }
}
?>
Example #2
0
File: bio.php Project: anodyne/sms
					</select>
					<input type="hidden" name="oldPosition2" value="<?php 
            echo $fetchCrew['positionid2'];
            ?>
" />
				</td>
			</tr>
			<?php 
        } elseif (!empty($positionid2)) {
            ?>
			<tr>
				<td class="tableCellLabel">Second Position</td>
				<td>&nbsp;</td>
				<td>
					<?php 
            printPlayerPosition($fetchCrew['crewid'], $positionid2, "2");
            ?>
					<input type="hidden" name="position2" value="<?php 
            echo $positionid2;
            ?>
" />
				</td>
			</tr>
			<?php 
        }
        ?>
			
			<tr>
				<td class="tableCellLabel">Gender</td>
				<td>&nbsp;</td>
				<td>