load->helper('form'); $link_form = 'hero/create'; $attr_name = array( 'name' => 'name', 'size' => '17', 'maxlength' => 15, 'class' => 'input'); $attr_submit = array( 'name' => 'submit', 'value' => 'Create!', 'class' => 'submit'); $gender = set_value('gender'); $m = FALSE; $fm = FALSE; if ($gender == 1) $m = TRUE; elseif ($gender == 2) $fm = TRUE; $c1 = FALSE; $c2 = FAlSE; $c3 = FALSE; $c4 = FALSE; $c5 = FALSE; $c6 = FALSE; $cl = set_value('class'); switch ($cl) { case 1: $c1 = TRUE; break; case 2: $c2 = TRUE; break; case 3: $c3 = TRUE; break; case 4: $c4 = TRUE; break; case 5: $c5 = TRUE; break; case 6: $c6 = TRUE; break; } ?>
Create new hero!
name:
Gender:
Male:
Female:
Class:
Fighter Classes:
Warrior
cool description here
Rogue
cool description here
Archer
cool description here
Healer classes:
?
cool description here
Hybrid classes:
?
cool description here