Ejemplo n.º 1
0
          <TBODY>
            <TR> 
              <TH>Name</TH>
              <?
$attacker = $user;
if ($attacker->supporter > 0) {
	echo "<th>Offensive Type</th>";
}
?>
              <TH colSpan=2>Army Size</TH>
              <TH>Treasury</TH>
              <TH>Rank</TH>
            </TR>
            <?
if (!$cgi['page'] AND !$cgi['search']) {
	$u = getUserRanks($_SESSION['isLogined']);
	$ur = $u->rank;
	$count = getActiveUsersCount();
	$cgi['page'] = floor(($ur) / ($conf["users_per_page"])) + 1;
} elseif (!is_numeric($cgi['page'])) {
	$cgi['page'] = 1;
}
if ($cgi['search']) {
	$strS = $cgi['search'];
	if ($cgi['search_type'] == 's') {
		$strS.= "%";
	} elseif ($cgi['search_type'] == 'c') {
		$strS = "%" . $strS . "%";
	} else {
		$strS = "%" . $strS;
	}
Ejemplo n.º 2
0
include "top.php";
?>

<TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
  <TBODY>
  <TR>
    <TD class=menu_cell_repeater style="PADDING-LEFT: 15px" vAlign=top width=140>
<?
include ("left.php");
?>
</TD>
      <TD style="PADDING-RIGHT: 15px; PADDING-LEFT: 15px; PADDING-TOP: 12px" 
    vAlign=top align=left> <BR>
        <?
//include "islogined.php";
$defR = getUserRanks($cgi['id']);
if ($strErr) {
	echo "<font color='red'>$strErr</font>";
}
?>
        <TABLE cellSpacing=15 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR> 
              <TD vAlign=top width="50%"> <TABLE class=table_lines cellSpacing=0 cellPadding=6 width="100%" 
            border=0>
                  <TBODY>
                    <TR> 
                      <TH colSpan=2>User Stats</TH>
                    </TR>
                    <TR> 
                      <TD><B>Name:</B></TD>