load->helper('form');
$this->load->helper('date');
$link_form = 'building/dospell';
$attr_submit = array(
'name' => 'submit',
'value' => 'Use',
'class' => 'submit');
?>
=form_open($link_form); ?>
F:
=$row['cost_food']; ?>
W:
=$row['cost_wood']; ?>
S:
=$row['cost_stone']; ?>
I:
=$row['cost_iron']; ?>
M:
=$row['cost_mana']; ?>
=$row['description']; ?>
=form_hidden('slotid', $slotid); ?>
=form_hidden('spellid', $row['id']); ?>
=form_submit($attr_submit); ?>
=timespan(time(), $row['cooldown_end']); ?>
=form_close(); ?>
This building doesn't have spells.