Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="myform">
- <h3>Данные абитуриента</h3>
- <?php
- $this->displayAlerts($errors, $flashMessage);
- /*function checkRadioButton($buttonValue, $entityValue)
- {
- if ($buttonValue == $entityValue) {
- return "checked";
- }
- }*/
- ?>
- <form action="" method="post" enctype="multipart/form-data">
- <input type="text" placeholder="Имя" name="name" value="<?=htmlspecialchars($abiturient->name);?>" autofocus><br>
- <input type="text" placeholder="Фамилия" name="surname" value="<?=htmlspecialchars($abiturient->surname);?>"><br>
- <div class="check">
- <span>Пол:</span>
- <input id="male" type="radio" name="sex" value="male" <?=$abiturient->sex == 'male' ? "checked" : ""?>><label for="male">М</label>
- <input id="female" type="radio" name="sex" value="female" <?=$abiturient->sex == 'female' ? "checked" : ""?>><label for="female">Ж</label>
- </div>
- <input type="text" placeholder="Год рождения" name="birthyear" value="<?=htmlspecialchars($abiturient->birthyear);?>"><br>
- <input type="text" placeholder="Местный? ('yes', 'no')" name="local" value="<?=htmlspecialchars($abiturient->local);?>"><br>
- <input type="text" placeholder="Email" name="email" value="<?=htmlspecialchars($abiturient->email);?>"><br>
- <input type="text" placeholder="Баллы ЕГЭ" name="summaryExamMark" value="<?=htmlspecialchars($abiturient->summaryExamMark);?>"><br>
- <input type="text" placeholder="Номер группы" name="groupNumber" value="<?=htmlspecialchars($abiturient->groupNumber);?>"><br>
- <input class="button" type="submit">
- </form>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement