I'm trying to insert the boosted monster into gesior. Can anyone help me? I use TFS 1.5
I'm not able to make the monster image appear, I've already configured the database, I just can't make gesior show the monster.
I'm not able to make the monster image appear, I've already configured the database, I just can't make gesior show the monster.
PHP:
<div id="ThemeboxesColumn">
<?PHP
$monsterquery = $SQL->query("SELECT `value` FROM `server_config` WHERE `config` = 'boost_monster_name'")->fetch();
$monster = $monsterquery["value"];
$urlmonsterquery = $SQL->query("SELECT `value` FROM `server_config` WHERE `config` = 'boost_monster_url'")->fetch();
$urlmonster = $urlmonsterquery["value"];
?>
<div id="DeactivationContainerThemebox" onclick="DisableDeactivationContainer();"></div>
<?php if(Website::getWebsiteConfig()->getValue('info_bar_active')){?>
<div id="RightArtwork">
<img id="Monster" src="<?php echo $urlmonster; ?>" alt="Monster of the Day" title="Today's boosted creature: <?PHP echo ucwords(strtolower(trim($monster))); ?>" style="position: absolute;
height: 45px;
width: 50px;
top: -80px;
left: 23px;
z-index: 106;
cursor: pointer;">
<img id="Pedestal" src="<?php echo $layout_name; ?>/images/global/header/pedestal.png" alt="Monster Pedestal">
Last edited: