예제 #1
0
파일: stats.php 프로젝트: Naddiseo/WW2Game
		echo "[This is your commander]";
	} elseif ($def->commander == $attacker->ID) {
		echo "[This is your officer]";
	} else {
?>
                          <INPUT name="submit" type=submit value=Attack>
                          <?
	}
?>
                        </FORM>		
		</TD>
                    </TR>
			 <tr>
		    	<TD colspan="3" align="center">
			<?
	$officersC = getOfficersCount($cgi['id']);
	if ($attacker->commander == $cgi['id']) {
		echo "[This is your commander]";
	} elseif ($officersC >= $def->maxofficers) {
		echo "[This player has enough officers]";
	} else {
?>
				<form action="stats.php" method="get">
		   		 <input type="hidden" name="mkcomander" value="<?php 
echo $cgi['id'];
?>
" />
				   <INPUT type=hidden    value=<?php 
echo $cgi['id'];
?>
 name=id>
예제 #2
0
파일: base.php 프로젝트: Naddiseo/WW2Game
                                                    <td>
                                                        <?php 
echo $user->gclick;
?>
                                                   </td>                                                    
                                                </TR>
                                            </TBODY>
                                        </TABLE>
                                        <BR>
                                        <BR>
                                        <TABLE class=table_lines cellSpacing=0 cellPadding=6 width="100%" 
            border=0>
                                            <TBODY>
                                                <TR>
                                                    <TH class=subh align=middle colSpan=6>
                                                         Officers <? $officersC = getOfficersCount($user->ID); ?>
                                                    </TH>
                                                </TR>
                                                <? if ($officersC) { ?>
                                                <tr>
                                                    <TD>
                                                        <form action="writemail.php" method="POST">
                                                            <input type="hidden" name="to" value="msgoff">
                                                            <input type="submit" name="msgoff" value="Message All Officers">
                                                        </form>
                                                    </TD>
                                               </tr>
                                               <?
} ?>
                                                <TR>
                                                    <TH align=left>