示例#1
0
<?php

require_once '../../../php/EPCharacterCreator.php';
//BMD stand for : Bonus Malus Description
include '../other/bonusMalusLayer.php';
include '../other/aILayer.php';
include '../other/bookPageLayer.php';
include '../other/occurencesLayer.php';
session_start();
$currentAi = $_SESSION['cc']->getAisByName($_SESSION['currentAiName']);
?>
<label class="descriptionTitle"><?php 
echo $currentAi->name;
?>
</label>
<ul class="mainlist" id="bmdList">
	<?php 
getBPHtml($currentAi->name);
getOccurenceHtml($currentAi, "AI");
getBMHtml($currentAi->bonusMalus, $currentAi->name, 'ai');
getAIHtml($currentAi);
echo "<li>";
echo "\t\t<label class='listSection'>Description</label>";
echo "</li>";
echo "<li>";
echo "\t\t<label class='bmDesc'>" . $currentAi->description . "</label>";
echo "</li>";
?>
</ul>
include '../other/bonusMalusLayer.php';
include '../other/armorDegatsLayer.php';
include '../other/bookPageLayer.php';
include '../other/occurencesLayer.php';
session_start();
// $hint = "--dubug:morph";
$morphGears = $_SESSION['cc']->getGearForMorphName($_SESSION['currentMorph']);
$currentGear = $_SESSION['cc']->getAtomByName($morphGears, $_SESSION['currentMorphGearName']);
if ($currentGear == null) {
    $currentGear = $_SESSION['cc']->getGearByName($_SESSION['currentMorphGearName']);
    // $hint = "--debug:general";
}
?>
<label class="descriptionTitle"><?php 
echo $currentGear->name;
?>
</label>
<ul class="mainlist" id="bmdList">
	<?php 
getBPHtml($currentGear->name);
getOccurenceHtml($currentGear, "MORPH");
getBMHtml($currentGear->bonusMalus, $currentGear->name, 'morphGear');
getADHtml($currentGear);
echo "<li>";
echo "\t\t<label class='listSection'>Description</label>";
echo "</li>";
echo "<li>";
echo "\t\t<label class='bmDesc'>" . $currentGear->description . "</label>";
echo "</li>";
?>
</ul>
<?php

require_once '../../../php/EPCharacterCreator.php';
//BMD stand for : Bonus Malus Description
include '../other/bonusMalusLayer.php';
include '../other/armorDegatsLayer.php';
include '../other/bookPageLayer.php';
include '../other/occurencesLayer.php';
session_start();
$currentGear = $_SESSION['cc']->getGearByName($_SESSION['currentSoftName']);
?>
<label class="descriptionTitle"><?php 
echo $currentGear->name;
?>
</label>
<ul class="mainlist" id="bmdList">
	<?php 
getBPHtml($currentGear->name);
getOccurenceHtml($currentGear, "SOFT");
getBMHtml($currentGear->bonusMalus, $currentGear->name, 'soft');
getADHtml($currentGear);
echo "<li>";
echo "\t\t<label class='listSection'>Description</label>";
echo "</li>";
echo "<li>";
echo "\t\t<label class='bmDesc'>" . $currentGear->description . "</label>";
echo "</li>";
?>
</ul>