rendered paste body<?include "vsys.dr";?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><TITLE>Devil's Reign :: Intel Log</TITLE><META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><!-- ZoneLabs Privacy Insertion --><LINK href="css/common.css" type=text/css rel=stylesheet><META content="devil's reign, devilsreign, assassins, angels, demons, trolls, rpg, mmorpg, role playing, game, online game, text based game, armory, mercenaries, spy, attack, army, battle, recruit, spies, spy skill, weapons, messaging, sabotage, recon, intelligence, pnp, mud, games, stockade, free, browser game" name=keywords /><META content="Devil's Reign is a Massively Multiplayer Online Role Playing Game with over 5,000 players. Players can choose one of four races: Angels, Demons, Assassins and Trolls, and build armies, recruit friends as officers, buy weapons, and spy and attack on each other." name=description /><META content="Devil's Reign" name=author><SCRIPT language=javascript type=text/javascript> <!-- function checkCR(evt) { var evt = (evt) ? evt : ((event) ? event : null); var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); if ((evt.keyCode == 13) && (node.type=="text")) {return false;} } document.onkeypress = checkCR; //--> </SCRIPT><META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD><BODY text=#ffffff bgColor=#000000 leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"><?global $conf; $user=getUserDetails($_SESSION['isLogined']," * "); $racenr=$user->race; $race=$conf["race"][$user->race]["name"]; echo "<link href=css/"; if($_SESSION['isLogined']){ if ($racenr>0){ echo "$race"; }else{ echo "Angels"; } }else{ echo"main"; } echo ".css type=text/css rel=stylesheet />"; ?><TABLE cellSpacing=0 cellPadding=5 width="100%" border=0> <TBODY> <TR> <TD class=menu_cell style="PADDING-LEFT: 15px" vAlign=top width=140></TD> <TD style="PADDING-RIGHT: 15px; PADDING-LEFT: 15px; PADDING-TOP: 12px" vAlign=top align=left> <p><BR> <? include "islogined.dr"; $user=getUserDetails($_SESSION['isLogined']); //$userR=getUserRanks($_SESSION['isLogined']); $spyL=getSpy(mysql_real_escape_string($cgi['id'])); $tus=getUserDetails($spyL->toUserID," userName "); if($spyL->userID != $user->ID && !is_numeric($cgi['id'])) { $cgi["strErr"]="Invalid spylog!"; ?> <P><strong><center><font color=red><? echo $cgi["strErr"];?></font></center></strong></p> <? }else{ ?> </p> </p> <p> <table width="100%" class="table_lines" border="0" cellspacing="0" cellpadding="6"> <tr> <th colspan="4" align="center">Army Size:</th> </tr> <tr> <th class="subh">Unit Type</th> <th class="subh">Attack Specialist</th> <th class="subh">Defense Specialist</th> <th class="subh">Untrained</th> </tr> <tr> <td>Mercenaries</td> <td><? numecho ($spyL->trainedAttackMerc) ?></td> <td> <? numecho ($spyL->trainedDefMerc) ?> </td> <td> <? numecho ($spyL->untrainedMerc) ?> </td> </tr> <tr> <td>Soldiers</td> <td> <? numecho ($spyL->trainedAttackSold) ?> </td> <td> <? numecho ($spyL->trainedDefSold) ?> </td> <td> <? numecho ($spyL->untrainedSold) ?> </td> </tr> </table> <p> <table width="50%" class="table_lines" border="0" cellspacing="0" cellpadding="6"> <tr> <th colspan="2">Military Stats</th> </tr> <tr> <td>Strike Action:</td> <td> <? if ($spyL->strikeAction=='???')echo $spyL->strikeAction; else numecho ($spyL->strikeAction) ?> </td> </tr> <tr> <td>Defensive Action</td> <td> <? if ($spyL->defenceAction=='???')echo $spyL->defenceAction; else numecho ($spyL->defenceAction) ?> </td> </tr> <tr> <td>Covert Action</td> <td> <? if ($spyL->covert=='???')echo $spyL->covert; else numecho ($spyL->covert) ?> </td> </tr> <tr> <td>Sentry Action</td> <td> <? if ($spyL->sentry=='???')echo $spyL->sentry; else numecho ($spyL->sentry) ?> </td> </tr> <tr> <td>Covert Skill:</td> <td> <? if ($spyL->covertSkill=='???')echo $spyL->covertSkill; else numecho ($spyL->covertSkill) ?> </td> </tr> <tr> <td>Covert Operatives:</td> <td> <? if ($spyL->covertOperatives=='???')echo $spyL->covertOperatives; else numecho ($spyL->covertOperatives) ?> </td> </tr> <tr> <td>Siege Technology:</td> <td> <? if($conf["race"][$spyL->race]["siege"][$spyL->siegeLevel]["name"]){ echo $conf["race"][$spyL->race]["siege"][$spyL->siegeLevel]["name"]; }else{ echo "None"; } ?> </td> </tr> <tr> <td>Attack Turns:</td> <td> <? if ($spyL->atackTurns=='???')echo $spyL->atackTurns; else numecho ($spyL->atackTurns) ?> </td> </tr> <tr> <td>Unit Production:</td> <td> <? if ($spyL->unitProduction=='???')echo $spyL->unitProduction; else numecho ($spyL->unitProduction) ?> </td> </tr> </table> <p> <table width="100%" class="table_lines" border="0" cellspacing="0" cellpadding="6"> <tr> <th colspan="4">Weapons</th> </tr> <tr> <th class="subh">Name</th> <th class="subh">Type</th> <th class="subh">Quantity</th> <th class="subh">Strength</th> </tr> <? $weaponA=split(";",$spyL->weapons); $typesA=split(";",$spyL->types); $types2A=split(";",$spyL->types2); $quantitiesA=split(";",$spyL->quantities ); $strengthsA=split(";",$spyL->strengths); $allStrengthsA=split(";",$spyL->allStrengths); if ($spyL->weapons) for ($i=0; $i<count($weaponA);$i++){ ?> <tr> <td><? if ($weaponA[$i]=='???')echo $weaponA[$i]; else echo $conf["race"][$spyL->race][(($types2A[$i])?"weapon":"defenseweapon")][$weaponA[$i]]["name"]; ?></td> <td><? if ($typesA[$i]=='???')echo $typesA[$i]; else echo (($typesA[$i])?"Attack":"Defense"); ?></td> <td><? echo $quantitiesA[$i]; ?></td> <td><? numecho($strengthsA[$i]);?>/<? numecho($allStrengthsA[$i]); ?></td> </tr> <?} ?> </table> <? } else{ ?> <P>As they approach the enemy armory, an alarm is cried out by an alert sentinel. Your spies are quickly rounded up and executed. <?=$tus->userName?> is now aware of your actions. Your Chief of Intelligence recommends preparing your defenses against a retalitory assault by <?=$tus->userName?> .<BR> <BR> <? }?> <br> <? if (!$cgi['isview']){?> <form method="get" action="attack.dr"> <input type="hidden" name="id" value="<?=$spyL->toUserID?>"> <input name="submit" type="submit" value="Attack / Spy Again"> </form> <?} }?> <p> </p> </TD></TR></TBODY></TABLE></BODY></HTML>