Скрипт Опроса

Тема в разделе "HTML, CSS, XML, JavaScript", создана пользователем farm11, 18 фев 2014.

  1. farm11

    farm11 New Member

    Регистрация:
    18 фев 2014
    Сообщения:
    1
    Симпатии:
    0
    Здравствуйте. Подскажите пожалуйста. Я делаю опрос для своего сайта, суть опроса это тест по английскому. Опрос я написал, но не знаю как сделать вывод результатов и чтобы он подсчитывал ответы... вывод нужно сделать на этой странице или в новой. код в прикрепленной файле.


    Код (Text):
    <b>1. It … Sunday evening.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3576][]" value="1" />was<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3576][]" value="2" />were<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3576][]" value="3" />be<br>

    <b>2. Everybody looked tired and wanted to go … home. </b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3577][]" value="1" />-<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3577][]" value="2" />at<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3577][]" value="3" />to<br>

    <b>3. Mr. Candy locked the door and … outside.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3578][]" value="1" />went<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3578][]" value="2" />goed<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3578][]" value="3" />goes<br>

    <b>4. … sun was shining brightly in the cloudless sky.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3579][]" value="1" />A<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3579][]" value="2" />-<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3579][]" value="3" />The<br>

    <b>5. The house he lived in was not far …and soon he was there.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3580][]" value="1" />away<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3580][]" value="2" />off<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3580][]" value="3" />about<br>

    <b>6. No matter how… , he couldn’t get in.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3581][]" value="1" />he tried hard<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3581][]" value="2" />hard he tried<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3581][]" value="3" />tried he hard<br>

    <b>7. His father calmed him … .</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3582][]" value="1" />away<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3582][]" value="2" />down<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3582][]" value="3" />off<br>

    <b>8. Mr. Candy realized that everything that … wasn’t really important.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3583][]" value="1" />happened<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3583][]" value="2" />had happened<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3583][]" value="3" />happens<br>

    <b>9. He made up his mind to start a new… .</b>
    <input style="line-height: 1.5em;" type="radio" name="ID[3584][]" value="1" />leaf<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3584][]" value="2" />loaf<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3584][]" value="3" />life<br>

    <b>10. … painting disappeared from my friends’ house.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3585][]" value="1" />The<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3585][]" value="2" />A<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3585][]" value="3" />-<br>

    <b>11. Let me explain how the situation … .</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3586][]" value="1" />came about<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3586][]" value="2" />come about<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3586][]" value="3" />came on<br>

    <b>12. Somebody stole the picture, that ... in town the day before.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3587][]" value="1" />arrived<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3587][]" value="2" />did arrive<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3587][]" value="3" />had arrived<br>

    <b>13. … wanted to go to the restaurant, so all stayed to have dinner at home.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3588][]" value="1" />Nothing<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3588][]" value="2" />Nobody<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3588][]" value="3" />Everybody<br>

    <b>14. “What do you think … your new painting?” – asked Bob.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3589][]" value="1" />of<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3589][]" value="2" />at<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3589][]" value="3" />by<br>

    <b>15. “Oh, it is extremely expensive and beautiful”, … Jim.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3590][]" value="1" />said<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3590][]" value="2" />told<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3590][]" value="3" />spoke<br>

    <b>16. The sudden noise… .</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3591][]" value="1" />made everybody jump<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3591][]" value="2" />made everybody to jump<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3591][]" value="3" />made everybody jumped<br>

    <b>17. … at the fact that the painting had disappeared, Rachel couldn’t say a word.</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3592][]" value="1" />Feeling astonish<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3592][]" value="2" />Feel astonished<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3592][]" value="3" />Feeling astonished<br>

    <b>18. The next day I … to a woman outside the house. </b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3593][]" value="1" />heard a man talked<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3593][]" value="2" />heard a man to talk<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3593][]" value="3" />heard a man talking<br>

    <b>19. So stupid … we heard that we were shocked.</b>
    <input style="line-height: 1.5em;" type="radio" name="ID[3594][]" value="1" />the lie was<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3594][]" value="2" />was the lie<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3594][]" value="3" />be the lie<br>

    <b>20. By the time we got to Rachel’s hotel, she … .</b><br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3595][]" value="1" />booked away<br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3595][]" value="2" />had booked out <br>
    <input style="line-height: 1.5em;" type="radio" name="ID[3595][]" value="3" />booked out<br>

    <input type=reset value="Кнопка">

    •Результаты:
    1-4 ответа – 1 уровень
    5-6 - 2 уровень
    7-12 - 3 уровень
    13-16 - 4 уровень
    17-20 – 5 уровень


    •Ответы:
    1a, 2a, 3a, 4c, 5a, 6b, 7b, 8b, 9c, 10b, 11a, 12c, 13b, 14a, 15a, 16a, 17c, 18c, 19b, 20b

    Посмотреть вложение index.rar
     
Загрузка...
Похожие Темы - Скрипт Опроса
  1. amstrot
    Ответов:
    1
    Просмотров:
    69
  2. nml
    Ответов:
    2
    Просмотров:
    141
  3. anon
    Ответов:
    0
    Просмотров:
    387
  4. serauto79
    Ответов:
    1
    Просмотров:
    853
  5. deeeman
    Ответов:
    1
    Просмотров:
    740

Поделиться этой страницей