diff options
author | Alexander NeonXP Kiryukhin <alexander@kiryukhin.su> | 2016-08-26 19:30:48 +0300 |
---|---|---|
committer | Alexander NeonXP Kiryukhin <alexander@kiryukhin.su> | 2016-08-26 19:30:48 +0300 |
commit | dafe86edd1d3067599b716dd31bac6522bb85696 (patch) | |
tree | 75282422a97d9f35ac18e776823a3cc1fd11c9b6 | |
parent | 0c49b1861205a57551f48d88011ae194a06e061d (diff) |
-rwxr-xr-x | log.1.html | 85 | ||||
-rw-r--r-- | src/NeonXP/BotScript.php | 1 |
2 files changed, 1 insertions, 85 deletions
diff --git a/log.1.html b/log.1.html deleted file mode 100755 index 91ba1a7..0000000 --- a/log.1.html +++ /dev/null @@ -1,85 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> - -<html> -<head> - <META http-equiv="Content-Type" Content="text/html; charset=windows-1251"> - <meta http-equiv="Cache-Control" content="max-age=0" /> - <script src="timer.js" type="text/javascript"></script> - <title>DozoR.Lite / Joker`s revenge. </title> - - -<style> -body { - background-color : #FFFFFF; - color : #000000; - - -} - - -</style> - -</head> - -<body> - -<!--errorText--><p><strong> . . .</strong></p><!--errorTextEnd--><p> 22:18:26<br /></p><!--contentBegin--> - -<!--gameType Through--> - - -<p><strong> <!--levelNumberBegin-->1<!--levelNumberEnd-->. ( 22:00:00):</strong><!--levelTextBegin--><p><img src="http://s018.radikal.ru/i506/1606/44/9fdc5107f40e.jpg" alt="" /></p><div class=spoiler><strong> </strong>: <!--taskNotes--><p>, . .</p><!--taskNotesEnd--></div><br/><!--levelTextEnd--><!--bonusCodeCount 0--><!--mainCodeCount 7--><!--difficultyCods 1,1+,1,1+,1,1,1,--><div class='dcodes'><strong> </strong><br> : <span style='color:red'>1</span>, <span style='color:red'>1+</span>, 1, <span style='color:red'>1+</span>, <span style='color:red'>1</span>, <span style='color:red'>1</span>, 1<br> ( - 7 , 6 , - 5) <br /></p></div><p> : : 1939, 7721, 385, 4218, 3</p><p> </p> <form data-ajax="false" method=post> - <input type=hidden name="nomessage" value=""> - <input type=hidden name=action value=entcod> - <input type=hidden name=pin value=373293> - <input type=hidden name=lev value=0> - <input type=text id="levelCodeInput" placeholder=" " name=cod size=25 value=""><br> - <input id="sendCode" type=submit value=" "> - </form> - -<!--contentEnd--> : <span id=clock2></span><br> - : <span id=clock> </span> - <script> - window.setTimeout('countDown(695,1106)',1000); - </script> - <!--timeOnLevelBegin 1106 timeOnLevelEnd--> - <!--timeToFinishBegin 695 timeToFinishEnd--> - <div class=title> </div><table cellpadding=3 cellspacing=0 border=1><tr><th></th><th></th><th></th></tr><tr bgcolor=><td nowrap>22:17:10</td><td> </td><td>8331 </td></tr><tr bgcolor=><td nowrap>22:16:17</td><td> </td><td>562 </td></tr><tr bgcolor=><td nowrap>22:15:40</td><td> </td><td>4218 </td></tr></table><br> - <form method=get data-ajax="false"> - <input type=hidden name="pin" value="373293"> - <input type=hidden name="q" value="80534361QWYOMRBD"/> - <input type=hidden name="zone" value=""/> - <input type=hidden name="nomessage" value=""/> - <input type=submit value=" "> - </form> - <form method=get name=refr data-ajax="false"> - <input type=hidden name="pin" value="373293"> - <input type=hidden name="q" value="80534361QWYOMRBD"/> - <input type=hidden name="nomessage" value=""/> - <input type=submit value=" "> <input type=text name=refresh size=3 value="0"> . - </form> -<p> ! - . -<style> -.teamstat td, .teamstat th { - font-family : Arial; - font-size : 12px; -} - -.teamstat table, .teamstat table td, .teamstat table th { - border: 1px solid gray; - border-collapse: collapse; -} - -.teamstat table td, .teamstat table th { - padding : 2px 2px 2px 2px; -} -</style> -<hr/><p><b> </b><br/><form method=post> - <input type=hidden name=action value=message> - <input type=hidden name=gameData[id] value=319> - <input type=hidden name=pin value=373293> - <textarea name=content rows=5 cols=30></textarea><br> - <input type=submit value=' '> - </form><p>: <strong> 2.0</strong><!--<br>: <strong></strong>--><br>: <strong>Joker`s revenge. . 2016-06-17 22:00:00. </strong><br> :<strong> 11</strong>. : <strong>0</strong><br><br> : <strong>20 .</strong><br>: <strong> </strong>. ICQ: <strong>332831243</strong>. tel: <strong>+79047650935</strong></p> -</body> -</html>
\ No newline at end of file diff --git a/src/NeonXP/BotScript.php b/src/NeonXP/BotScript.php index 12313d2..54a6c90 100644 --- a/src/NeonXP/BotScript.php +++ b/src/NeonXP/BotScript.php @@ -34,6 +34,7 @@ class BotScript }; $sendCode = function (Message $message, Telegram $telegram) use ($dozorApi) { $code = trim(substr($message->getText(), 1)); + $code = iconv('utf8', 'cp1251', $code); $result = false; try { $result = $dozorApi->sendCode($message->getChat(), $code); |