?> <option value="<?php echo $i; ?> "><?php echo $i; ?> </option> <?php } } } else { if ($award->getAward() == 36 || $award->getAward() == 39) { for ($i = 1; $i <= 5; $i++) { $new = new Award($award->getAward(), $i); if (Award::hasAward($user, $new, true)) { ?> <option value="<?php echo $i; ?> " selected><?php echo $i; ?> </option> <?php } else { ?> <option value="<?php echo $i; ?> "><?php