|
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!";
?>
echo $cgi["strErr"];?>
}else{ ?>
| Army Size: |
| Unit Type |
Attack Specialist |
Defense Specialist |
Untrained |
| Mercenaries |
numecho ($spyL->trainedAttackMerc) ?> |
numecho ($spyL->trainedDefMerc) ?>
|
numecho ($spyL->untrainedMerc) ?>
|
| Soldiers |
numecho ($spyL->trainedAttackSold) ?>
|
numecho ($spyL->trainedDefSold) ?>
|
numecho ($spyL->untrainedSold) ?>
|
| Military Stats |
| Strike Action: |
if ($spyL->strikeAction=='???')echo $spyL->strikeAction;
else numecho ($spyL->strikeAction) ?>
|
| Defensive Action |
if ($spyL->defenceAction=='???')echo $spyL->defenceAction;
else numecho ($spyL->defenceAction) ?>
|
| Covert Action |
if ($spyL->covert=='???')echo $spyL->covert;
else numecho ($spyL->covert) ?>
|
| Sentry Action |
if ($spyL->sentry=='???')echo $spyL->sentry;
else numecho ($spyL->sentry) ?>
|
| Covert Skill: |
if ($spyL->covertSkill=='???')echo $spyL->covertSkill;
else numecho ($spyL->covertSkill) ?>
|
| Covert Operatives: |
if ($spyL->covertOperatives=='???')echo $spyL->covertOperatives;
else numecho ($spyL->covertOperatives) ?>
|
| Siege Technology: |
if($conf["race"][$spyL->race]["siege"][$spyL->siegeLevel]["name"]){
echo $conf["race"][$spyL->race]["siege"][$spyL->siegeLevel]["name"];
}else{
echo "None";
}
?>
|
| Attack Turns: |
if ($spyL->atackTurns=='???')echo $spyL->atackTurns;
else numecho ($spyL->atackTurns) ?>
|
| Unit Production: |
if ($spyL->unitProduction=='???')echo $spyL->unitProduction;
else numecho ($spyL->unitProduction) ?>
|
| Weapons |
| Name |
Type |
Quantity |
Strength |
$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
|
if ($weaponA[$i]=='???')echo $weaponA[$i];
else echo $conf["race"][$spyL->race][(($types2A[$i])?"weapon":"defenseweapon")][$weaponA[$i]]["name"];
?> |
if ($typesA[$i]=='???')echo $typesA[$i];
else echo (($typesA[$i])?"Attack":"Defense");
?> |
echo $quantitiesA[$i]; ?> |
numecho($strengthsA[$i]);?>/ numecho($allStrengthsA[$i]); ?> |
} ?>
}
else{ ?>
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?>
.
}?>
if (!$cgi['isview']){?>
} }?>
|