Технологии

Решено

Может кто знает, как здесь в коде происходит голосование, как и куда отправляется запрос? ------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - вопрос №1869542

"www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html> <head> <title>Опросы: Лучшим мобифильмом я считаю</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link type="text/css" rel="stylesheet" href="css/style.css" /> <link type="text/css" rel="stylesheet" href="css/mbTabset.css" /> <link type="text/css" rel="stylesheet" href="css/jquery-ui-1.7.1.custom.css" /> <script src="js/jquery-1.4.3.js" type="text/javascript"></script> <script src="js/ui.core.min.js" type="text/javascript"></script> <script src="js/ui.sortable.min.js" type="text/javascript"></script> <script src="js/jquery.metadata.js" type="text/javascript"></script> <script src="js/jquery-ui.min.js" type="text/javascript"></script> <script src="js/mbTabset.min.js" type="text/javascript"></script> <script src="js/jquery.corner.js" type="text/javascript"></script> <script src="js/polls.max.js" type="text/javascript"></script> <style type="text/css"> body { background: transparent !important; margin: 0px; } .poll { margin: -20px auto 0px auto;} </style> <script type="text/javascript"> site_url = 'http://poll.ru/'; short_init = true; $(document).ready(function (){ app.ajaxError = function(data, msg){ var m = data.message.join('<br/>'); $('html').prepend(m); } $('#poll-preview').hide(); app.GoPoll('poll.php?poll_key=abwbv'); }); </script> <style type="text/css"> body { background: white; text-align: center;} </style> </head> <body> <div id="message"><span class="message">Тут какое-то сообщение</span><a href="" class="close" onclick="$(this).parent().animate({opacity: 'hide'}); return false;">Закрыть</a><div class="clearfix"></div></div><!-- <div id="vote-accepted"></div>--> <div> <div id="poll"> </div> </div> <div class="poll" id="poll-preview" style="display: hidden;"> <span class="poll-question">заголовок голосования</span> <div class="poll-contents"> <table class="poll-table"> <tbody> <tr><td class="choice-select"><input type="radio" name="dummy_choice" /></td><td> фото 1</td></tr> <tr><td class="choice-select"><input type="radio" name="dummy_choice" /></td><td> фото 2</td></tr> <tr><td class="choice-select"><input type="radio" name="dummy_choice" /></td><td>фото3</td></tr> <tr><td class="choice-select"><input type="radio" name="dummy_choice" /></td><td>фото 4</td></tr> <tr><td class="choice-select"><input type="radio" name="dummy_choice" /></td><td>фото 5</td></tr> <tr><td class="choice-select"><input type="radio" name="dummy_choice" /></td><td>фото 6</td></tr> <tr><td class="choice-select"><input type="radio" name="dummy_choice" /></td><td>фото 7</td></tr> <tr><td class="choice-select"><input type="radio" name="dummy_choice" /></td><td>фото 8</td></tr> <tr><td class="choice-select"><input type="radio" name="dummy_choice" /></td><td>фото 9</td></tr> <tr><td class="choice-select"><input type="radio" name="dummy_choice" /></td><td>фото 10</td></tr> <tr><td class="choice-select"><input type="radio" name="dummy_choice" /></td><td>фото 11</td></tr> </tbody> </table> </div> <div class="poll-results"> </div> <a class="see-results" href="#">Результаты</a><button class="submit" type="button">Проголосовать</button> </div> <noindex><div style="display: none"> <center><!--LiveInternet counter--><script type="text/javascript"><!-- document.write("<a href='http://www.liveinternet.ru/click' "+ "target=_blank><img src='//counter.yadro.ru/hit?t26.1;r"+ escape(document.referrer)+((typeof(screen)=="undefined")?"": ";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth? screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+ ";h"+escape(document.title.substring(0,80))+";"+Math.random()+ "' alt='' title='LiveInternet: показано число посетителей за"+ " сегодня' "+ "border='0' width='88' height='15'><\/a>") //--></script><!--/LiveInternet--> </center> </div></noindex> </body></html>

март 6, 2016 г.

  • Всего ответов: 1

  • Виталий - аватарка

    Виталий

    2-й в Технологиях

    Здравствуйте.
    Судя по коду, сам опрос вот тут, туда же и отправляются результаты. Используется Ajax. Внутренний скрипт голосовалки вот

    март 6, 2016 г.
    Ответ понравился автору
    Лучший ответ по мнению автора

Похожие вопросы