Esempio n. 1
0
						<th>Leader2</th>
						<th>Leader3</th>
					<? } ?>
				</tr>
				<? foreach ($this->allianceMembers as $member) { ?>
					<tr>
						<td><?php 
echo $member->getNameLink();
?>
</td>
						<td><?php 
echo $member->getAreaName();
?>
</td>
						<td><?php 
echo numecho($member->rank);
?>
</td>
						<? if ($this->alliance->isLeader($user)) { ?>
							<td>
								<? if ($member->aaccepted) { ?>
									Kick: <input type="checkbox" name="kick[]" value="<?php 
echo $member->id;
?>
" />
								<? }
									else { ?>
									Accept: <input type="checkbox" name="accept[]" value="<?php 
echo $member->id;
?>
" />
Esempio n. 2
0
				<td>
					<? if ($this->apage < $this->totalPages) { ?>
						&nbsp;<a href="?defense-page=<?php 
echo $this->dpage;
?>
&amp;attack-page=<?php 
echo $this->apage + 1;
?>
">&gt;&gt;</a>&nbsp;
					<? } else { echo ">>"; } ?>
				</td>
			</tr>
			<tr>
				<td colspan="4">Page <?php 
echo numecho($this->apage);
?>
 of <?php 
echo numecho($this->totalPages);
?>
</td>
			</tr>
			<tr><td colspan="4"><?php 
echo numecho($this->totalAttacks);
?>
 Total Attacks</td></tr>
		</table>
	</div>
	
</div>
<!-- End Attack Logs -->
Esempio n. 3
0
	echo "&nbsp;";
}
?>
            </td>
            <td colspan="8" align="center"> 
              <?
$atacks2C = getAttackByAttackerCount($user->ID);
$pCount2 = $atacks2C / $conf["users_per_page_on_attack_log"];
$pCountF2 = floor($pCount2);
$pCountF2+= (($pCount2 > $pCountF2) ? 1 : 0);
numecho($atacks2C);
?>
              attacks total | page 
              <? numecho($cgi['page2']); ?>
              of 
              <? numecho($pCountF2); ?>
            </td>
            <td>
              <? if ($cgi['page2'] < $pCountF2) {
	echo "<nobr><A href='attacklog.php?page2=" . ($cgi['page2'] + 1) . "'>Next &gt;&gt;</A></nobr>";
} else {
	echo "&nbsp;";
}
?>
            </td>
          </tr>
        </table>

<?
include ("bottom.php");
?>	
Esempio n. 4
0
                                                                 Buy
                                                            </Th> 
                                                            <TH class=subh>
                                                                 Max
                                                            </Th>
                                                        </TR>
                                                        <? for ($i = - 1;$i < $user->dalevel;$i++) {
	if ($i < 8) {
		printf("<TR><TD>%s</TD>", $conf["race"][$user->race]["defenseweapon"][$i + 1]["name"]);
?>
                                                        <TD align=right>
                                                            <? numecho($conf["weapon" . ($i + 1) . "strength"]);
?>
                                                        </TD>
                                                        <TD align=right>
                                                            <? numecho($conf["weapon" . ($i + 1) . "price"] * (($user->dalevel / 2) + 1));
?>
                                                             Gold
                                                        </TD>
                                                        <? echo "<TD align=middle><INPUT size=3 value=0 id=buy_dw" . ($i + 1) . " name=buy_dw" . ($i + 1) . "></TD>";
?>
                                                        <td>
                                                            <input type=button value='Max'  onclick="document.getElementById('<? echo "buy_dw" . ($i + 1); ?>').value='<?php 
echo floor($user->gold / ($conf["weapon" . ($i + 1) . "price"] * ($user->dalevel / 2 + 1)));
?>
'">
                                                        </td>
                                                        <?
	}
}
?>
Esempio n. 5
0
echo $user->canSpyOn($this->target) ? numecho2($this->target->gold) : '?????';
?>
</span>
			</div>
			<? if ($user->id) { ?>
				<? if ($this->target->id != $user->id) { ?>
					<? if ($this->target->area == $user->area and IP::canAttack($user, $this->target)) { ?>
						<div class="line">
							<label>Spy</label>
							<form action="spy.php" method="post" class="right-section">
								<input type="hidden" name="uid" value="<?php 
echo $this->target->id;
?>
" />
								<input type="submit" name="spy" value="<?php 
echo numecho($conf['spying-cost']);
?>
 gold to Spy!" />
							</form>
						</div>
						<div class="line">
							<label>Thieve</label>
							<form action="theft.php" method="post" class="right-section">
								<input type="hidden" name="id" value="<?php 
echo $this->target->id;
?>
" />
						
								<input type="hidden" name="uid" value="<?php 
echo $this->target->id;
?>
Esempio n. 6
0
">&lt;&lt; prev</a>
				<? }
					else {
						echo '&nbsp;';
					}
				?>
			</td>
			<td colspan="<?php 
echo $col2;
?>
">
				<?php 
echo numecho($count);
?>
 / <?php 
echo numecho($user->maxofficers);
?>
 officers | page <?php 
echo $page;
?>
 of <?php 
echo $totalPages;
?>
			</td>
			<td>
				<? if ($next > 0) { ?>
					<a href="?officer-list-page=<?php 
echo $next;
?>
&<?php 
echo $this->offargs;
Esempio n. 7
0
				<span><?php 
echo $this->target->getAreaName();
?>
</span>
			</div>
			<div class="line">
				<label>Rank</label>
				<span><?php 
echo numecho($this->target->rank);
?>
</span>
			</div>
			<div class="line">
				<label>Army Size</label>
				<span><?php 
echo numecho($this->target->getTFF());
?>
</span>
			</div>
			<div class="clear flat"></div>
		</div>
	</div>

	<?
		$tmp = $user;
		$this->offargs = 'uid=' . $this->target->id;
		$this->user = $this->target;
		$this->load('officers-list');
		$this->user = $tmp;
	?>
Esempio n. 8
0
			  <TR>
			    <TD><B>Trained Defense Mercenaries</B></TD>
			    <TD align=right><? numecho($user->damercs) ?></TD></TR>
			  <TR>
			    <TD><B>Untrained Soldiers</B></TD>
			    <TD align=right><? numecho($user->uu) ?></TD></TR>			  
			  <TR>
			    <TD class=subh><B>Spies</B></TD>
			    <TD class=subh align=right><? numecho($user->spies) ?></TD></TR>
			    <TR>
			    <TD class=subh><B>Special Forces</B></TD>
			    <TD class=subh align=right><? numecho($user->specialforces) ?></TD></TR>
			    <TR>
			   <TR>
			    <TD><B>Total Fighting Force</B></TD>
				<TD align=right><? numecho(getTotalFightingForce($user)) ?></TD></TR>
				</TBODY>
			</TABLE><BR></TD> 
          <TD rowspan="2" vAlign=top width="50%">
            <FORM action=train.php method=post>
            <TABLE class=table_lines cellSpacing=0 cellPadding=6 width="100%" 
            border=0>
              <TBODY>
              <TR>
                <TH align=middle colSpan=4>Train Your Troops</TH></TR>
              <TR>
                <TH class=subh align=left>Training Program</TH>
                <TH class=subh align=right>Cost Per Unit</TH>
                <TH class=subh>Quantity</TH><TH class=subh></TH></TR>
              <TR>
                <TD>Attack Specialist</TD>
Esempio n. 9
0
} else echo "#unranked";
?>
                                                        </TD>
                                                    </TR>
                                                    <TR>
                                                        <TD>
                                                            <B>Retaliation Action</B>
                                                        </TD>
                                                        <TD align=right>
                                                            <? numecho(getRetaliationAction($user))
?>
                                                        </TD>
                                                        <TD align=right>
                                                             Ranked<?
if ($userR->rarank) {
	numecho($userR->rarank);
} else echo "#unranked";
?>
                                                        </TD>
                                                    </TR>
                                                </TBODY>
                                            </TABLE>
                                        </TD>
                                    </TR>
                                </TBODY>
                            </TABLE>
                            <?
include ("bottom.php");
?>
                    </TD>
                </TR>
Esempio n. 10
0
				</tr>
				<? if ($user->getSupport('upgrades')) { ?>
					<tr>
						<td>Upgrade Officer Limit</td>
						<td><?php 
echo $user->maxofficers;
?>
</td>
						<td><input type="submit" name="upgrade-of" value="<?php 
echo numecho(Upgrades::ofCost($user));
?>
 Gold" /></td>
					</tr>
					<tr>
						<td>Upgrade Bank Deposit Percentage</td>
						<td><?php 
echo $user->bankper;
?>
%</td>
						<td><input type="submit" name="upgrade-bk" value="<?php 
echo numecho(Upgrades::bkCost($user));
?>
 Gold" /></td>
					</tr>
				<? } ?>
			</table>
		</form>
	</div>
</div>
<!-- End upgrades page -->
Esempio n. 11
0
                      <TD style="FONT-SIZE: 11px; COLOR: white" align=left>
                         <a href="bank.php" style="color: white; font-size: 11px; font-weight: normal;">Treasury:</a>
                      </TD>
                      <TD style="FONT-SIZE: 11px">
                        <FONT color=white size="small"><a href="bank.php" style="color: white; font-size: 11px;font-weight: normal;">
                <? numecho($user->bank) ?></a>
                        </FONT>
                      </TD>
                    </TR>
                    <TR>
                      <TD style="FONT-SIZE: 11px; COLOR: white" align=left>
                         Experience:
                      </TD>
                      <TD style="FONT-SIZE: 11px">
                        <FONT color=white>
                <? numecho($user->exp) ?>
                        </FONT>
                      </TD>
                    </TR>
                    <TR>
                      <TD style="FONT-SIZE: 11px; COLOR: white" align=left>
                         Next Turn:
                      </TD>
                      <TD style="FONT-SIZE: 11px">
                        <div id="idTimer" style="color: white;">
                          <span id="idMin" style="font-weight: bold; font-size: 11px;">Getting Time</span>:<span id="idSec" style="font-weight: bold; font-size: 8pt;"></span>
                        </div>
                        <script language="JavaScript" src="javafunctions.js">
								 
				
				</script><script language="JavaScript">
Esempio n. 12
0
                        <?
if ($cgi['page'] > 1) {
	echo "<A href='stats.php?page=" . ($cgi['page'] - 1) . "&id=" . $cgi['id'] . "'>&lt;&lt; Prev</A>";
} else {
	echo "&nbsp;";
}
?>
                      </TD>
                      <TD align=middle colSpan=2> 
                        <? numecho($officersC) ?>
                        officers total | page 
                        <?php 
echo $cgi['page'];
?>
                        of 
                        <? numecho($pCountF); ?>
                      </TD>
                      <TD>
                        <?
if ($cgi['page'] < $pCountF) {
	echo '<A href="stats.php?page=' . ($cgi['page'] + 1) . '&id=' . $cgi["id"] . '">Next &gt;&gt;</A>';
} else {
	echo "&nbsp;";
}
?>
                      </TD>
                    </TR>
                  </TBODY>
                </TABLE>
                
                </TD>
Esempio n. 13
0
					<small>Please read <a href="changenation.php" target="_blank">About Changing Nations</a> before changing!</small>
				<? }
					else { ?>
					<input type="hidden" name="prefs-nation" value="<?php 
echo $user->nation;
?>
" />
					<span>[ You cannot change nation this late into the age ]</span>	
				<? } ?>
			</div>
			
			<? if ($user->getSupport('minhit')) { ?>
				<div class="line">
					<label for="prefs-minhit">Minimum Hit:</label>
					<input type="text" name="prefs-minhit" value="<?php 
echo numecho($user->minattack);
?>
" />
				</div>
			<? } ?>
			
			<? if ($this->allow_vacation) { ?>
				<div class="line">
					<label for="prefs-vacation">Vacation Mode:</label>
					<input type="checkbox" name="prefs-vacation" value="yes">&nbsp;Enter Vacation Mode</input>
					<small>You will remain in vacation mode for at least 2 days</small>
				</div>
			<? } ?>
			
			<div class="line">
				<input type="submit" name="prefs-submit" class="submit" value="Save!" />
Esempio n. 14
0
                                                </TR>
                                                <TR>
                                                    <TD class=subh>
                                                        <B>Special Forces</B>
                                                    </TD>
                                                    <TD class=subh align=right>
                                                        <? numecho($user->specialforces)
?>
                                                    </TD>
                                                </TR>
                                                <TR>
                                                    <TD>
                                                        <B>Total Fighting Force</B>
                                                    </TD>
                                                    <TD align=right>
                                                        <? numecho(getTotalFightingForce($user))
?>
                                                    </TD>
                                                </TR>
                                            </TBODY>
                                        </TABLE>
                                        <BR>
                                        <BR>
                                        <TABLE class=table_lines cellSpacing=0 cellPadding=6 width="100%" 
            border=0>
                                            <TBODY>
                                                <TR>
                                                    <TH class=subh>
                                                         Preferences
                                                    </TH>
                                                </TR>
Esempio n. 15
0
	
	 <BR>
	 
	 <? $q = mysql_query("SELECT * FROM Mercenaries") or die(mysql_error());
$qa = mysql_fetch_array($q, MYSQL_ASSOC);
$t = time() - (60 * 60 * 23 * 3);
$q2 = mysql_query("SELECT (sum(exp)/count(*)) as e,(sum(bank)/count(*)) as b  FROM UserDetails WHERE lastturntime>$t") or die(mysql_error());
$q3 = mysql_query("SELECT sum(gold) as g FROM UserDetails WHERE active=1") or die(mysql_error());
$qb = mysql_fetch_array($q2, MYSQL_ASSOC);
$qc = mysql_fetch_array($q3, MYSQL_ASSOC);
?>
	<center><table class='table_lines' width="85%"><TR><TD colspan="2"><b>Average Stats for previous turn</b></TD></TR>
	<tr><TD>Average Strike Action</TD><td><? numecho($qa[avgsa]); ?></td></tr>
	<tr><TD>Average Defence Action</TD><td><? numecho($qa[avgda]); ?></td></tr>
	<tr><TD>Average Covert Action</td><td><? numecho($qa[avgca]); ?></td></tr>
	<tr><TD>Average Retaliation Action</TD><td><? numecho($qa[avgra]); ?></td></tr>
	<tr><TD>Average Unit Production</TD><td><? numecho($qa[avgup]); ?></td></tr>
	<tr><TD>Average Army Size</TD><td><? numecho($qa[avgarmy]); ?></td></tr>
	<tr><TD>Average Gold Income</TD><td><? numecho($qa[avgtbg]); ?></td></tr>
	<tr><TD>Average Gold Hit</TD><td><? numecho($qa[avghit]); ?></td></tr>
	<tr><TD>Average Bank size</TD><td><? numecho($qb['b']); ?></td></tr>
	<tr><TD>Average Experience</TD><td><? numecho($qb['e']); ?></td></tr>
	<tr><TD>Total Gold in Battlefield</TD><td><? numecho($qc['g']); ?></td></tr>
	</table>  </center>
	 
	 <?
include ("bottom.php");
?>	

	  </TD></TR></TBODY></TABLE></BODY></HTML>
<? include "gzfooter.php"; ?>
Esempio n. 16
0
echo $this->attacker->getNameLink();
?>
 did <?php 
echo numecho($this->RADamage);
?>
 damage to <?php 
echo $this->target->getNameLink();
?>
's attack weapons.<br />
		<? }
			else { ?>
			<?php 
echo $this->target->getNameLink();
?>
 did <?php 
echo numecho($this->RADamage);
?>
 damage to <?php 
echo $this->attacker->getNameLink();
?>
's defense weapons.<br />
		<? } ?>
	</p>
	<br />
	<? if ($user->getSupport('quick-attack')) { ?>
		<? if ($this->attacker->id == $user->id) {
			$target = $this->target;
		}
		else {
			$target = $this->attacker;
		} ?>
Esempio n. 17
0
			<div class="panel-title">
				<?php 
echo $v;
?>
 Top 10 Hits
			</div>
			<table class="large">
				<tr>
					<th>Amount</th>
					<th>Attacker</th>
					<th>Defender</th>
				</tr>
			<? foreach ($this->stats[$k]['hits']['top10'] as $k => $v) { ?>
				<tr>
					<td><?php 
echo numecho($v['goldStolen']);
?>
</td>
					<td><?php 
echo getCachedUser($v['attackerId'])->getNameLink();
?>
</td>
					<td><?php 
echo getCachedUser($v['targetId'])->getNameLink();
?>
</td>
				</tr>
			<? } ?>
			</table>
		</div>
	<? } ?>
Esempio n. 18
0
}
$pCount = $activeUsersC / $conf["users_per_page"];
//echo $pCount;
$pCountF = floor($pCount);
$pCountF+= (($pCount > $pCountF) ? 1 : 0);
if ($cgi['page'] > 1) {
	echo "<A href='battlefield.php?page=" . ($cgi['page'] - 1) . "&search=" . $cgi['search'] . "&search_type=" . $cgi['search_type'] . "'>&lt;&lt; Previous</A>";
} else {
	echo "&nbsp;";
}
?>
			  </TD>
              <TD align=middle colSpan=3><? numecho($activeUsersC) ?> players total | page <?php 
echo $cgi['page'];
?>
 of <? numecho($pCountF); ?></TD>
              <TD align=right><?
if ($cgi['page'] < $pCountF) {
	echo '<A href="battlefield.php?page=' . ($cgi['page'] + 1) . '&search=' . $cgi["search"] . '&search_type=' . $cgi["search_type"] . '">Next &gt;&gt;</A>';
} else {
	echo "&nbsp;";
}
?>
			</TD>
            </TR>
          </TBODY>
        </TABLE>
      <P>
      <FORM action=battlefield.php method=get>
      <TABLE class=table_lines cellSpacing=0 cellPadding=6 width=550 
      align=center border=0>
Esempio n. 19
0
echo $this->s->weaponamount > 0 ? 'green' : 'red';
?>
">
						<?
						numecho($this->s->weaponamount); echo ' ';
						$w = new Weapon();
						$w->weaponId = $this->s->weapontype2;
						$w->isAttack = $this->s->weapontype;
						echo $w->getName(); 
						?></p>
					<? } ?>
					<p>While on this mission, the <?php 
echo $pngt;
?>
 had to take 
						<span style="color:<?php 
echo $this->s->hostages > 0 ? 'green' : 'red';
?>
"><? numecho($this->s->hostages) ?></span>
						<?php 
echo ngt('hostage', 'hostages', $this->s->hostages);
?>
					</p>

				</div> 
			<? } ?>
		<? } ?>
	</div>
</div>
<!-- End Spy log page -->
Esempio n. 20
0
							<td><?php 
echo numecho($user->up);
?>
 (+ <? numecho($user->getOfficerUP());echo ' +';numecho($user->getAllianceUP()); ?>)</td>
						</tr>
						<tr><td>Gold</td><td><?php 
echo numecho($user->gold);
?>
 </td></tr>
						<tr><td>Income</td><td><?php 
echo numecho($user->getIncome());
?>
 gold / turn</td></tr>
						<tr><td>Commander Bonus</td><td><? numecho($user->commandergold) ?> gold / turn</td></tr>
						<tr><td>Attack Turns</td><td><?php 
echo numecho($user->attackturns);
?>
</td></tr>
						<tr><td>Click Credits</td><td><?php 
echo $user->gclick;
?>
</td></tr>
						
					</table>
				</div>
			</td>
			<td id="right-pane">
				<? $this->load('user-stats') ?>
				<? $this->load('personnel') ?>
			</td>
		</tr>
Esempio n. 21
0
</td>
		</tr>
		<tr>
			<td>Covert</td>
			<td><?php 
echo numecho($user->CA);
?>
</td>
			<td><?php 
echo $user->carank ? numecho($user->carank) : 'Unranked';
?>
</td>
		</tr>
		<tr>
			<td>Retaliation</td>
			<td><?php 
echo numecho($user->RA);
?>
</td>
			<td><?php 
echo $user->rarank ? numecho($user->rarank) : 'Unranked';
?>
</td>
		</tr>



	</table>
</div>
<!-- End user stats -->
Esempio n. 22
0
echo numecho($conf['cost']['sasoldier'] * 0.5);
?>
</td>
					<td><input type="button" onclick="javascript:return untrainMax('samercs', <?php 
echo $user->samercs;
?>
)" value="Max" /></td>
				</tr>
				<tr>
					<td>Defense Mercenary</td>
					<td><?php 
echo numecho($user->damercs);
?>
</td>
					<td><input style="width:50%;" type="text" id="untrain-damercs" name="untrain-damercs" value="0" /> for <?php 
echo numecho($conf['cost']['sasoldier'] * 0.5);
?>
</td>
					<td><input type="button" onclick="javascript:return untrainMax('damercs', <?php 
echo $user->damercs;
?>
)" value="Max" /></td>
				</tr>
-->
				<tr>
					<td colspan="3">&nbsp;</td>
					<td><input type="submit" name="train-untrain" value="Reassign" /></td>
				</tr>
				
			</table>
		</div>
Esempio n. 23
0
        </TR>
        <TR>
          <TH class=subh align=left>Mercenary Training</TH>
          <TH class=subh align=right>Cost Per Unit</TH>
          <TH class=subh align=right>Quantity Available</TH>
          <TH class=subh align=middle>Quantity to Sell</TH></TR>
        <TR>
          <TD>Portuguese Attack Specialist</TD>
          <TD align=right><? numecho(5000) ?> Gold</TD>
          <TD align=right><? numecho($user->samercs); ?></TD>
          <TD align=middle><INPUT size=3 value=0 name=mercs_attacks></TD></TR>
        <TR>
          <TD>Portuguese Defense Specialist</TD>
                <TD align=right>
                  <? numecho(5000) ?>
                  Gold</TD>
                <TD align=right>
                  <? numecho($user->damercs); ?>
                </TD>
          <TD align=middle><INPUT size=3 value=0 name=mercs_defends></TD></TR>
             
          <TD align=middle colSpan=4><INPUT type=submit value=Sell> 
        </TD></TR></TBODY></TABLE>
	  <INPUT type=hidden value=1 name=buy_merc></FORM>
      <?
include ("bottom.php");
?>	
	  </TD></TR></TBODY></TABLE>
</BODY></HTML>
<? include "gzfooter.php"; ?>
Esempio n. 24
0
echo $r->username;
?>
</a></td>
					<td><?php 
echo numecho($r->sarank);
?>
</td>
					<td><?php 
echo numecho($r->darank);
?>
</td>
					<td><?php 
echo numecho($r->carank);
?>
</td>
					<td><?php 
echo numecho($r->rarank);
?>
</td>
					<td><?php 
echo number_format($r->rave * 0.25, 2);
?>
</td>
				</tr>
				<? $lastR = $r->rave; if ($rank == 100) { break; }?>
			<? } ?>
		</table>
	</div>
</div>
<!-- End HOF -->
Esempio n. 25
0
?>
" title="Switch Your Primary Gold Source">Switch Primary</a></li>
							<? } ?>
							
							<li <?php 
echo $user->primary == 0 ? 'class="primary"' : '';
?>
>Gold: <?php 
echo numecho($user->gold);
?>
</li>
							<li <?php 
echo $user->primary == 1 ? 'class="primary"' : '';
?>
>Bank: <?php 
echo numecho($user->bank);
?>
</li>
							<li><a <?php 
echo $user->unreadMsg > 0 ? 'class="unread"' : '';
?>
 href="messages.php" title="Read Your Messages">Messages <?php 
echo $user->unreadMsg;
?>
 (<?php 
echo $user->msgCount;
?>
)</a></li>
						</ul>
					</div>
					<!-- End left menu -->
Esempio n. 26
0
		echo "</td><td>";
		echo "</td></tr>";
		$i++;
	}
	echo "</table>";
	echo "<center><b>Top 10 {$conf['race'][4]['name']}</b></center>";
	echo "<table width=\"100%\" class=\"lines\"><TR><Th >Rank</Th><TH class=subh>UserName</TH><TH >Army Size</TH></TR>";
	$query = mysql_query("SELECT ((sarank+darank+carank+rarank)/4) AS rf,hof" . $cgi['age'] . ".* FROM hof" . $cgi['age'] . " WHERE race='4' ORDER BY rf ASC limit 0,10") or die(mysql_error());
	$i = 1;
	while ($row = mysql_fetch_array($query, MYSQL_ASSOC)) {
		echo "<Tr><td>";
		echo $i;
		echo "</td><td>";
		echo $row['username'];
		echo "</td><td>";
		echo numecho($row['untrained'] + $row['trainedsa'] + $row['trainedda'] + $row['spies'] + $row['sf'] + $row['samerc'] + $row['damerc']);
		echo "</td><td>";
		echo "</td></tr>";
		$i++;
	}
	echo "</table>";
}
echo "</center>";
include ("bottom.php");
?>
                    </TD>
                </TR>
            </TBODY>
        </TABLE>
    </BODY>
</HTML>
Esempio n. 27
0
echo $target->getNation();
?>
" alt="<?php 
echo $target->getNation();
?>
" src="<?php 
echo $this->image($target->getNationFlag());
?>
" /></td>
						<td style="text-align:left;">
							<?php 
echo $target->getNameLink('', true);
?>
							<? if ($target->alliance) { echo $target->getAlliance()->getTag(); } ?>
						</td>
						<td><?php 
echo numecho($target->getTFF());
?>
</td>
					<? } ?>
				</tr>
			<? } ?>
			<tr><td colspan="4"><?php 
echo numecho($this->usersCount);
?>
 online players</td></tr>
		</table>
	</div>
</div>
<!-- End online page -->
Esempio n. 28
0
?>
</span>
				</div>
				<div class="line">
					<label>For User ID</label>
					<span><?php 
echo $this->ppVerify->forId;
?>
 (<?php 
echo $this->forName;
?>
)</span>
				</div>
				<div class="line">
					<label>Amount</label>
					<span>$<?php 
echo numecho(round($this->ppVerify->amount, 2));
?>
 USD</span>
				</div>
				<div class="line">
					<input type="submit" class="submit" name="paypal-verify-txn" value="This is correct, continue" />
					<a href="support.php">Cancel</a>
				</div>
				<div class="clear flat"></div>
			</form>
		<? } ?>
	</div>
</div>
<!-- End supporter stuff -->
Esempio n. 29
0
					<th>Cost</th>
					<th>Amount</th>
					<th>&nbsp;</th>
				</tr>
				<? for ($i = 0; $i <= $user->dalevel; $i++) { ?>
					<tr>
						<td><?php 
echo $conf['names']['weapons'][0][$i];
?>
</td>
						<td><?php 
echo numecho($conf['weapon' . $i . 'strength']);
?>
</td>
						<td><?php 
echo numecho($conf['weapon' . $i . 'price']);
?>
</td>
						<td><input type="text" name="defenseweapon[]" value="0" id="defense-weapon-<?php 
echo $i;
?>
" /></td>
						<td><input type="button" onclick="javascript:return defenseWMax(<?php 
echo $i;
?>
, <?php 
echo $conf['weapon' . $i . 'price'];
?>
);" value="Max" /></td>
					</tr>
				<? } ?>
Esempio n. 30
0
                        </TR>
                        <TR>
                          <TD>
                            <? echo $user->up
?>
                             per turn 
                          </TD>
                          <? if ($user->race == 4) {
	$pris = $user->up * 8500 + 10000;
} else {
	$pris = $user->up * 10000 + 10000;
}
?>
                          <TD align=middle>
                           
                            <INPUT type=submit size=5 value="<? numecho($pris) ?> Gold" name=<? $_SESSION[unitupgrade] = genUniqueTxt(10);
echo $_SESSION[unitupgrade]; ?>>
                            <INPUT type=hidden value=yes name=upgrade_prod>
                          </TD>
                        </TR>
                        <tr>
                          <TD>
                           
                            <INPUT type=submit size=5 value="Max" name=<? $_SESSION[maxupgrade] = genUniqueTxt(10);
echo $_SESSION[maxupgrade]; ?>>
                          </TD>
                        </tr>
                      </TBODY>
                    </TABLE>
                  </FORM>
                </td>