Esempio n. 1
0
<?php

require_once '../../../php/EPCharacterCreator.php';
//BMD stand for : Bonus Malus Description
include '../other/bonusMalusLayer.php';
include '../other/bookPageLayer.php';
session_start();
$currentFaction = $_SESSION['cc']->getCurrentFaction();
?>
<label class="descriptionTitle"><?php 
echo $currentFaction->name;
?>
</label>
<ul class="mainlist" id="bmdList">
	<?php 
getBPHtml($currentFaction->name);
echo "<li>";
echo "\t\t<label class='listSection'>Description</label>";
echo "</li>";
echo "<li>";
echo "\t\t<label class='bmDesc'>" . $currentFaction->description . "</label>";
echo "</li>";
getBMHtml($currentFaction->bonusMalus, $currentFaction->name, 'faction');
?>
</ul>
include '../other/bonusMalusLayer.php';
include '../other/bookPageLayer.php';
session_start();
$currentBck = $_SESSION['cc']->getCurrentBackground();
?>
<label class="descriptionTitle"><?php 
echo $currentBck->name;
?>
</label>
<ul class="mainlist" id="bmdList">
	<?php 
getBPHtml($currentBck->name);
echo "<li>";
echo "\t\t<label class='listSection'>Description</label>";
echo "</li>";
echo "<li>";
echo "\t\t<label class='bmDesc'>" . $currentBck->description . "</label>";
echo "</li>";
getBMHtml($currentBck->bonusMalus, $currentBck->name, 'origine');
if (!empty($currentBck->traits)) {
    echo "<li>";
    echo "\t\t<label class='listSection'>Traits</label>";
    echo "</li>";
    foreach ($currentBck->traits as $t) {
        echo "<li>";
        echo "\t\t<label class='bmGranted'>" . $t->name . "</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>
Esempio n. 4
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>
Esempio n. 5
0
<?php

require_once '../../../php/EPCharacterCreator.php';
//BMD stand for : Bonus Malus Description
include '../other/bonusMalusLayer.php';
include '../other/bookPageLayer.php';
session_start();
$currentTraitsList = $_SESSION['cc']->getCurrentTraits();
$currentTrait = $_SESSION['cc']->getAtomByName($currentTraitsList, $_SESSION['currentTraitName']);
if ($currentTrait == null) {
    $currentTrait = $_SESSION['cc']->getTraitByName($_SESSION['currentTraitName']);
}
?>
<label class="descriptionTitle"><?php 
echo $currentTrait->name;
?>
</label>
<ul class="mainlist" id="bmdList">
	<?php 
getBPHtml($currentTrait->name);
getBMHtml($currentTrait->bonusMalus, $currentTrait->name, 'trait');
echo "<li>";
echo "\t\t<label class='listSection'>Description</label>";
echo "</li>";
echo "<li>";
echo "\t\t<label class='bmDesc'>" . $currentTrait->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>
Esempio n. 7
0
include '../other/bookPageLayer.php';
session_start();
$currentMorphsList = $_SESSION['cc']->getCurrentMorphs();
$currentMorph = $_SESSION['cc']->getAtomByName($currentMorphsList, $_SESSION['currentMorph']);
if ($currentMorph == null) {
    $currentMorph = $_SESSION['cc']->getMorphByName($_SESSION['currentMorph']);
}
?>
<label class="descriptionTitle"><?php 
echo $currentMorph->name;
?>
</label>
<ul class="mainlist" id="bmdList">
	<?php 
getBPHtml($currentMorph->name);
getBMHtml($currentMorph->bonusMalus, $currentMorph->name, 'morph');
echo "<li>";
echo "\t\t<label class='listSection'>Description</label>";
echo "</li>";
echo "<li>";
echo "\t\t<label class='bmDesc'>" . $currentMorph->description . "</label>";
echo "</li>";
$traits = $_SESSION['cc']->getCurrentMorphTraits($currentMorph->name);
if (!empty($traits)) {
    echo "<li>";
    echo "\t\t<label class='listSection'>Traits</label>";
    echo "</li>";
    foreach ($traits as $t) {
        echo "<li>";
        echo "\t\t<label class='bmGranted'>" . $t->name . "</label>";
        echo "</li>";
<?php

require_once '../../../php/EPCharacterCreator.php';
//BMD stand for : Bonus Malus Description
include '../other/bonusMalusLayer.php';
include '../other/bookPageLayer.php';
session_start();
?>
<label class="descriptionTitle"><?php 
echo $_SESSION['currentPsiSName'];
?>
</label>
<ul class="mainlist" id="bmdList">
	<?php 
$currentPsiS = $_SESSION['cc']->getPsySleightsByName($_SESSION['currentPsiSName']);
getBPHtml($currentPsiS->name);
getBMHtml($currentPsiS->bonusMalus, $currentPsiS->name, 'psi');
echo "<li>";
echo "\t\t<label class='listSection'>Description</label>";
echo "</li>";
echo "<li>";
echo "\t\t<label class='bmDesc'>" . $currentPsiS->description . "</label>";
echo "</li>";
?>
</ul>