Sign in to follow this  
Followers 0
HR78

how make simple script?

7 posts in this topic

how to make a script to search in HTML page numbers separated by , and arrange them?

Example:

HTML:

</a> </li> <li class="menu-seperator-child"><div></div></li> <li> <a href="/el/web/guest/demo-derby" > DASHING DERBY
                                                                    </a> </li> </ul> </li> </ul> </div> </div> </header> </div> <div id="wrapper-content"> <div id="content"> <div id="p_p_id_103_" class="portlet-boundary portlet-boundary_103_  portlet-static portlet-static-end  " > <a id="p_103"></a> </div> <div class="columns-1" id="main-content" role="main"> <div class="portlet-layout"> <div class="portlet-column portlet-column-only" id="column-1"> <div class="portlet-dropzone portlet-column-content portlet-column-content-only" id="layout-column_column-1"> <div id="p_p_id_118_INSTANCE_3mzC_" class="portlet-boundary portlet-boundary_118_  portlet-static portlet-static-end portlet-nested-portlets " > <a id="p_118_INSTANCE_3mzC"></a> <section class="portlet" id="portlet_118_INSTANCE_3mzC"> <header class="portlet-topper"> <h1 class="portlet-title"> <span  > <img class="icon" src="/html/icons/default.png"  alt="Ενσωματωμένα Portlets" title="Ενσωματωμένα Portlets" /> </span> <span class="portlet-title-text">Ενσωματωμένα Portlets</span> </h1> <menu class="portlet-topper-toolbar" id="portlet-topper-toolbar_118_INSTANCE_3mzC" type="toolbar"> </menu> </header> <div class="portlet-content"> <div class=" portlet-content-container" style=""> <div class="portlet-body"> <div class="opapGameTop" id="_118_INSTANCE_3mzC_main-content" role="main"> <div class="portlet-layout"> <div class="aui-w25 portlet-column portlet-column-first" id="_118_INSTANCE_3mzC_column-1"> <div class="portlet-dropzone portlet-column-content portlet-column-content-first" id="layout-column__118_INSTANCE_3mzC__column-1"> <div id="p_p_id_71_INSTANCE_Sx1G_" class="portlet-boundary portlet-boundary_71_  portlet-static portlet-static-end portlet-navigation " > <a id="p_71_INSTANCE_Sx1G"></a> <div class="portlet-borderless-container" style=""> <div class="portlet-body"> <div class="portlet-content-container"> <div class="nav-menu nav-menu-style-"> <div class="left-menu"> <div id="game-header-navigation"> <span class="game-logo"></span> </div> <h3 class="" ><a class="top " href="/el/web/guest/demo-kino" > Demo</a></h3><h3 class="" ><a class="" href="/el/web/guest/general-description" > Πως παίζεται</a></h3><h3 class="visited " ><a class="" href="/el/web/guest/kino-draw-results" > Κληρώσεις & Αποτελέσματα</a></h3><h3 class="" ><a class="" href="/el/web/guest/press-reports3" > Δελτία τύπου</a></h3><h3 class="" ><a class="" href="/el/web/guest/86" > Ταυτότητα & Όροι χρήσεως</a></h3><h3 class="" ><a class="" href="/el/web/guest/print-results5-v2" > Εκτύπωση Αποτελεσμάτων</a></h3><h3 class="lastChild " ><a class="bottom " href="/el/web/guest/find-winnings2" > Εύρεση Επιτυχιών</a></h3> <div id="game-footer-navigation"></div> </div> </div> </div> </div> </div> </div> <div id="p_p_id_kinonextdraw_WAR_NextDrawCountdownportlet_INSTANCE_Z9ys_" class="portlet-boundary portlet-boundary_kinonextdraw_WAR_NextDrawCountdownportlet_  portlet-static portlet-static-end kinonextdraw-portlet " > <a id="p_kinonextdraw_WAR_NextDrawCountdownportlet_INSTANCE_Z9ys"></a> <div class="portlet-borderless-container" style=""> <div class="portlet-body"> <div id="nextDrawFlashContent"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="194" height="125" id="NEXTDRAW" align="middle" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> <param name="movie" value="http://media.opap.gr/html/demo/next_draw/NEXTDRAW_V2.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="play" value="true" /> <param name="loop" value="true" /> <param name="wmode" value="transparent" /> <param name="scale" value="showall" /> <param name="menu" value="true" /> <param name="devicefont" value="false" /> <param name="salign" value="" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="FlashVars" value="load_url=http://media.opap.gr/html/demo/next_draw/NEXTDRAW_V2_Kino.xml&lang=el"> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="http://media.opap.gr/html/demo/next_draw/NEXTDRAW_V2.swf" width="194" height="125"> <param name="movie" value="http://media.opap.gr/html/demo/next_draw/NEXTDRAW_V2.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="play" value="true" /> <param name="loop" value="true" /> <param name="wmode" value="transparent" /> <param name="scale" value="showall" /> <param name="menu" value="true" /> <param name="devicefont" value="false" /> <param name="salign" value="" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="FlashVars" value="load_url=http://media.opap.gr/html/demo/next_draw/NEXTDRAW_V2_Kino.xml&lang=el"> <!--<![endif]--> <a href="http://www.adobe.com/go/getflash"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </div> </div> </div> </div> </div> </div> <div class="aui-w75 portlet-column portlet-column-last" id="_118_INSTANCE_3mzC_column-2"> <div class="portlet-dropzone portlet-column-content portlet-column-content-last" id="layout-column__118_INSTANCE_3mzC__column-2"> <div id="p_p_id_kinodrawresults_WAR_KinoDrawResultsportlet_INSTANCE_loF1_" class="portlet-boundary portlet-boundary_kinodrawresults_WAR_KinoDrawResultsportlet_  portlet-static portlet-static-end kinodrawresults-portlet " > <a id="p_kinodrawresults_WAR_KinoDrawResultsportlet_INSTANCE_loF1"></a> <div class="portlet-borderless-container" style=""> <div class="portlet-body"> <script type="text/javascript">/*<![CDATA[*/$(document).ready(function(){if(!$.browser.opera){$("select.select1").each(function(){var m=$(this).attr("title");if($("option:selected",this).val()!=""){m=$("option:selected",this).text()}$(this).css({"z-index":10,opacity:0,"-khtml-appearance":"none"}).after('<span id="nikos" class="select1">'+m+"</span>").change(function(){$(this).next().text($("option:selected",this).text())})})}var d=[{id:195471,drawNumber:289843,columnPrice:50,drawDate:1311866100000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:84216,totalColumns1:30221,results:"26,20,63,52,44,56,58,80,37,7,5,12,41,25,6,57,53,23,24,2"},{id:195469,drawNumber:289842,columnPrice:50,drawDate:1311865800000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:81899,totalColumns1:29359,results:"37,32,10,5,29,27,58,56,61,53,68,59,69,57,48,47,64,50,1,20"},{id:195467,drawNumber:289841,columnPrice:50,drawDate:1311865500000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:78231,totalColumns1:28270,results:"38,50,40,71,72,42,61,68,66,20,10,14,21,51,45,6,69,25,74,17"},{id:195465,drawNumber:289840,columnPrice:50,drawDate:1311865200000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:75887,totalColumns1:27617,results:"6,41,69,5,77,68,23,28,16,61,8,7,78,48,29,9,49,40,11,54"},{id:195463,drawNumber:289839,columnPrice:50,drawDate:1311864900000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:74717,totalColumns1:27012,results:"34,23,27,28,54,61,16,45,7,57,37,79,74,62,12,49,43,18,20,80"},{id:195461,drawNumber:289838,columnPrice:50,drawDate:1311864600000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:72611,totalColumns1:26061,results:"38,17,52,66,7,32,16,27,63,73,48,61,77,64,22,51,6,46,57,30"},{id:195459,drawNumber:289837,columnPrice:50,drawDate:1311864300000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:81563,totalColumns1:26580,results:"77,38,11,17,19,30,46,57,79,21,53,20,13,4,45,29,68,31,75,63"},{id:195457,drawNumber:289836,columnPrice:50,drawDate:1311864000000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:72381,totalColumns1:25029,results:"30,79,21,27,9,78,45,1,33,58,43,42,69,3,8,18,28,76,19,70"},{id:195455,drawNumber:289835,columnPrice:50,drawDate:1311863700000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:67512,totalColumns1:24387,results:"34,22,68,47,20,43,46,62,12,63,52,6,56,80,13,25,37,8,59,19"},{id:195453,drawNumber:289834,columnPrice:50,drawDate:1311863400000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:62702,totalColumns1:23217,results:"11,63,10,39,9,20,31,50,28,75,47,64,55,37,40,74,57,62,27,51"},{id:195451,drawNumber:289833,columnPrice:50,drawDate:1311863100000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:58618,totalColumns1:22305,results:"55,56,23,1,16,9,28,47,41,75,37,46,38,40,18,5,8,29,57,25"},{id:195449,drawNumber:289832,columnPrice:50,drawDate:1311862800000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:56071,totalColumns1:21632,results:"31,30,56,70,52,59,32,69,15,18,33,20,28,26,47,25,51,80,67,6"},{id:195447,drawNumber:289831,columnPrice:50,drawDate:1311862500000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:52562,totalColumns1:20747,results:"55,37,17,35,5,1,52,54,59,13,53,63,6,19,27,64,22,33,67,47"},{id:195445,drawNumber:289830,columnPrice:50,drawDate:1311862200000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:49026,totalColumns1:19767,results:"58,57,11,23,19,35,22,51,41,25,66,27,3,33,14,30,16,74,70,39"},{id:195443,drawNumber:289829,columnPrice:50,drawDate:1311861900000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:45454,totalColumns1:19102,results:"41,22,62,54,80,19,71,70,75,6,46,21,67,69,16,34,72,36,30,51"},{id:195441,drawNumber:289828,columnPrice:50,drawDate:1311861600000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:50248,totalColumns1:20725,results:"3,44,5,54,57,66,69,78,42,16,31,36,22,13,74,18,34,56,9,35"},{id:195439,drawNumber:289827,columnPrice:50,drawDate:1311854400000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:128498,totalColumns1:34122,results:"14,79,80,7,25,46,1,75,58,78,16,72,48,21,63,56,67,61,26,62"},{id:195437,drawNumber:289826,columnPrice:50,drawDate:1311854100000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:106951,totalColumns1:31672,results:"38,17,49,50,5,71,69,30,32,65,11,79,39,15,45,67,47,22,34,41"},{id:195435,drawNumber:289825,columnPrice:50,drawDate:1311853800000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:98663,totalColumns1:30684,results:"2,22,74,46,61,41,40,52,51,62,73,70,57,80,78,6,11,43,37,13"},{id:195433,drawNumber:289824,columnPrice:50,drawDate:1311853500000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:96603,totalColumns1:30459,results:"9,4,8,46,6,19,41,13,35,65,30,70,22,61,69,24,74,55,58,75"},{id:195431,drawNumber:289823,columnPrice:50,drawDate:1311853200000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:95141,totalColumns1:30776,results:"15,40,23,34,32,29,59,47,64,53,6,10,21,63,11,43,37,62,2,42"},{id:195429,drawNumber:289822,columnPrice:50,drawDate:1311852900000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:95627,totalColumns1:30751,results:"74,12,53,56,63,10,28,68,58,67,45,47,31,60,21,34,50,78,35,3"},{id:195427,drawNumber:289821,columnPrice:50,drawDate:1311852600000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:95548,totalColumns1:30958,results:"39,16,50,46,75,72,65,37,27,68,66,9,57,71,77,34,35,30,78,24"},{id:195425,drawNumber:289820,columnPrice:50,drawDate:1311852300000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:94357,totalColumns1:30854,results:"1,13,3,46,29,45,23,67,31,25,59,21,76,9,80,79,56,62,8,66"},{id:195423,drawNumber:289819,columnPrice:50,drawDate:1311852000000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:92379,totalColumns1:30375,results:"74,61,57,51,68,5,80,62,42,79,38,18,48,71,39,78,8,30,60,49"},{id:195421,drawNumber:289818,columnPrice:50,drawDate:1311851700000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:92232,totalColumns1:30865,results:"54,13,32,19,55,46,9,78,10,49,71,70,25,67,80,1,79,5,42,43"},{id:195419,drawNumber:289817,columnPrice:50,drawDate:1311851400000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:95472,totalColumns1:31413,results:"16,67,18,9,3,73,46,69,23,31,5,79,59,61,58,21,33,24,43,75"},{id:195417,drawNumber:289816,columnPrice:50,drawDate:1311851100000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:98488,totalColumns1:32391,results:"59,44,63,23,68,30,5,80,49,13,11,37,28,27,66,52,62,7,53,38"},{id:195415,drawNumber:289815,columnPrice:50,drawDate:1311850800000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:100626,totalColumns1:33389,results:"55,36,31,33,80,1,40,78,9,17,53,41,29,71,14,58,2,75,35,39"},{id:195413,drawNumber:289814,columnPrice:50,drawDate:1311850500000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:100517,totalColumns1:33599,results:"69,21,66,7,1,73,72,48,42,6,33,39,55,62,10,67,29,63,64,2"},{id:195411,drawNumber:289813,columnPrice:50,drawDate:1311850200000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:97919,totalColumns1:33301,results:"1,21,49,11,5,77,24,2,56,79,50,55,65,15,39,18,30,31,36,13"},{id:195409,drawNumber:289812,columnPrice:50,drawDate:1311849900000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:97370,totalColumns1:33758,results:"28,36,24,57,43,19,26,21,30,10,20,25,15,52,55,66,8,37,27,41"},{id:195407,drawNumber:289811,columnPrice:50,drawDate:1311849600000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:97344,totalColumns1:33896,results:"56,28,5,46,48,70,78,76,77,31,53,60,38,33,69,39,11,18,6,21"},{id:195405,drawNumber:289810,columnPrice:50,drawDate:1311849300000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:98953,totalColumns1:34531,results:"54,52,75,67,77,30,34,78,7,37,44,12,14,23,5,76,55,18,72,60"},{id:195403,drawNumber:289809,columnPrice:50,drawDate:1311849000000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:100872,totalColumns1:35271,results:"12,79,66,56,67,63,20,37,17,6,50,48,32,72,38,41,61,4,78,23"},{id:195401,drawNumber:289808,columnPrice:50,drawDate:1311848700000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:101371,totalColumns1:35914,results:"12,50,20,22,62,77,72,34,19,48,58,61,36,60,53,71,39,56,28,66"},{id:195399,drawNumber:289807,columnPrice:50,drawDate:1311848400000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:100829,totalColumns1:36350,results:"41,63,58,52,14,78,67,44,32,73,50,66,26,77,39,61,8,70,12,37"},{id:195397,drawNumber:289806,columnPrice:50,drawDate:1311848100000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:102806,totalColumns1:36825,results:"47,6,69,66,54,5,15,32,62,43,64,57,18,27,44,22,36,12,52,4"},{id:195395,drawNumber:289805,columnPrice:50,drawDate:1311847800000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:102329,totalColumns1:37197,results:"2,80,8,46,6,43,5,21,38,77,17,33,19,58,45,3,73,29,70,31"},{id:195393,drawNumber:289804,columnPrice:50,drawDate:1311847500000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:102356,totalColumns1:37060,results:"70,61,16,39,15,23,7,60,59,57,76,80,62,75,48,47,6,18,72,68"},{id:195391,drawNumber:289803,columnPrice:50,drawDate:1311847200000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:105108,totalColumns1:37869,results:"50,45,55,47,52,58,76,35,30,75,32,42,44,54,40,21,4,63,59,19"},{id:195389,drawNumber:289802,columnPrice:50,drawDate:1311846900000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:103225,totalColumns1:37735,results:"21,14,5,44,75,26,55,71,72,78,53,52,69,37,3,28,45,42,34,61"},{id:195387,drawNumber:289801,columnPrice:50,drawDate:1311846600000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:105922,totalColumns1:38491,results:"33,6,72,58,2,11,18,52,45,23,79,43,40,49,27,57,59,47,66,34"},{id:195385,drawNumber:289800,columnPrice:50,drawDate:1311846300000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:108140,totalColumns1:39256,results:"18,76,68,79,60,21,3,40,33,16,42,59,70,25,28,38,56,52,39,14"},{id:195383,drawNumber:289799,columnPrice:50,drawDate:1311846000000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:107605,totalColumns1:39569,results:"63,8,44,56,58,11,22,35,66,39,50,6,4,28,60,9,67,45,17,12"},{id:195381,drawNumber:289798,columnPrice:50,drawDate:1311845700000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:105968,totalColumns1:39275,results:"72,22,58,59,68,45,2,11,17,13,38,57,4,26,36,21,56,43,40,31"},{id:195379,drawNumber:289797,columnPrice:50,drawDate:1311845400000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:106228,totalColumns1:39558,results:"52,19,47,68,9,21,29,76,11,14,72,54,57,1,69,39,70,55,40,62"},{id:195377,drawNumber:289796,columnPrice:50,drawDate:1311845100000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:106329,totalColumns1:39910,results:"79,36,14,5,1,15,58,24,11,19,63,68,10,40,54,38,45,43,44,28"},{id:195375,drawNumber:289795,columnPrice:50,drawDate:1311844800000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:107782,totalColumns1:39810,results:"30,70,27,41,20,49,64,21,32,39,25,24,54,44,40,42,1,7,77,68"},{id:195373,drawNumber:289794,columnPrice:50,drawDate:1311844500000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:107096,totalColumns1:39894,results:"19,75,14,35,23,36,52,47,34,65,20,38,51,58,69,59,30,18,42,40"},{id:195371,drawNumber:289793,columnPrice:50,drawDate:1311844200000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:106838,totalColumns1:39743,results:"21,69,47,78,24,53,66,35,12,60,64,76,19,18,58,32,61,77,15,71"},{id:195369,drawNumber:289792,columnPrice:50,drawDate:1311843900000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:106214,totalColumns1:39868,results:"15,39,40,37,70,28,61,78,71,4,67,62,21,68,66,42,60,56,10,13"},{id:195367,drawNumber:289791,columnPrice:50,drawDate:1311843600000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:106415,totalColumns1:40119,results:"77,45,49,17,65,71,70,37,14,29,21,19,3,79,22,13,38,76,1,63"},{id:195365,drawNumber:289790,columnPrice:50,drawDate:1311843300000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:106442,totalColumns1:40155,results:"66,52,10,47,42,64,21,46,15,70,43,1,4,19,60,69,40,45,39,77"},{id:195363,drawNumber:289789,columnPrice:50,drawDate:1311843000000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:104143,totalColumns1:39666,results:"15,59,41,63,45,29,75,26,67,16,35,42,51,69,12,34,19,9,27,57"},{id:195361,drawNumber:289788,columnPrice:50,drawDate:1311842700000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:102858,totalColumns1:39249,results:"74,66,61,5,64,39,37,80,67,27,63,77,43,73,30,13,44,15,58,36"},{id:195359,drawNumber:289787,columnPrice:50,drawDate:1311842400000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:101017,totalColumns1:38748,results:"31,13,68,58,62,14,41,17,22,24,9,45,64,73,4,69,59,15,3,6"},{id:195357,drawNumber:289786,columnPrice:50,drawDate:1311842100000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:101760,totalColumns1:39060,results:"16,63,58,11,55,20,42,3,65,5,21,23,69,39,41,77,2,64,14,45"},{id:195355,drawNumber:289785,columnPrice:50,drawDate:1311841800000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:99353,totalColumns1:38857,results:"74,35,26,75,56,52,3,61,64,25,31,13,17,32,18,46,49,45,8,1"},{id:195353,drawNumber:289784,columnPrice:50,drawDate:1311841500000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:100968,totalColumns1:38346,results:"15,48,16,18,74,54,32,67,76,79,28,73,1,43,34,2,14,41,39,55"},{id:195351,drawNumber:289783,columnPrice:50,drawDate:1311841200000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:96729,totalColumns1:37232,results:"80,38,64,9,61,60,19,18,55,40,30,69,62,56,48,54,11,17,36,35"},{id:195349,drawNumber:289782,columnPrice:50,drawDate:1311840900000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:95153,totalColumns1:37148,results:"61,39,42,12,28,23,6,14,77,24,49,71,45,67,18,56,53,20,16,27"},{id:195347,drawNumber:289781,columnPrice:50,drawDate:1311840600000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:93790,totalColumns1:36289,results:"50,49,76,19,15,47,44,42,18,32,62,37,48,60,12,9,29,11,58,21"},{id:195345,drawNumber:289780,columnPrice:50,drawDate:1311840300000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:90944,totalColumns1:35408,results:"57,38,26,53,35,7,65,15,69,54,46,37,32,6,14,78,5,17,49,76"},{id:195343,drawNumber:289779,columnPrice:50,drawDate:1311840000000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:89331,totalColumns1:34903,results:"28,76,45,75,16,33,56,32,30,40,72,20,39,54,67,37,57,41,63,4"},{id:195341,drawNumber:289778,columnPrice:50,drawDate:1311839700000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:86913,totalColumns1:34239,results:"73,67,26,37,2,52,36,68,33,4,35,77,61,39,64,57,24,76,25,29"},{id:195339,drawNumber:289777,columnPrice:50,drawDate:1311839400000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:83582,totalColumns1:32963,results:"21,51,63,66,55,40,79,3,73,59,39,75,60,16,36,30,48,33,70,12"},{id:195337,drawNumber:289776,columnPrice:50,drawDate:1311839100000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:83925,totalColumns1:33560,results:"50,19,53,10,23,15,17,57,74,6,70,49,18,51,20,46,39,64,37,9"},{id:195335,drawNumber:289775,columnPrice:50,drawDate:1311838800000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:79267,totalColumns1:31655,results:"65,43,34,57,46,12,48,33,53,20,47,11,7,39,23,1,13,26,50,10"},{id:195333,drawNumber:289774,columnPrice:50,drawDate:1311838500000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:74814,totalColumns1:30000,results:"55,80,13,66,32,44,67,1,77,33,72,9,64,19,65,14,75,2,4,56"},{id:195331,drawNumber:289773,columnPrice:50,drawDate:1311838200000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:69640,totalColumns1:28483,results:"21,57,48,38,14,31,8,28,18,2,64,9,80,51,65,71,74,59,45,68"},{id:195329,drawNumber:289772,columnPrice:50,drawDate:1311837900000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:65632,totalColumns1:27276,results:"65,18,72,60,47,53,40,57,64,23,74,69,11,38,59,33,80,30,22,37"},{id:195327,drawNumber:289771,columnPrice:50,drawDate:1311837600000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:63690,totalColumns1:26629,results:"57,58,20,21,12,74,49,30,48,2,68,14,42,7,26,5,72,11,52,4"},{id:195325,drawNumber:289770,columnPrice:50,drawDate:1311837300000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:59566,totalColumns1:25584,results:"74,55,78,58,30,17,4,71,12,13,19,64,60,24,6,48,57,22,15,35"},{id:195323,drawNumber:289769,columnPrice:50,drawDate:1311837000000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:56786,totalColumns1:24420,results:"50,10,73,69,46,29,52,67,53,27,51,62,79,47,30,39,34,5,21,6"},{id:195321,drawNumber:289768,columnPrice:50,drawDate:1311836700000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:54253,totalColumns1:23863,results:"63,58,36,72,64,3,6,40,15,29,42,9,37,24,78,45,27,67,7,71"},{id:195319,drawNumber:289767,columnPrice:50,drawDate:1311836400000,status:6,salesStart:0,salesEnd:0,winnersLoaded:false,totalColumns:64108,totalColumns1:27279,results:"52,44,61,74,45,78,72,75,9,31,46,62,30,38,1,12,33,28,20,67"}];var f=[{year:"2003",folderId:30222},{year:"2004",folderId:30224},{year:"2005",folderId:30225},{year:"2006",folderId:30226},{year:"2007",folderId:30227},{year:"2008",folderId:30229},{year:"2009",folderId:30230},{year:"2010",folderId:30232},{year:"2011",folderId:30233}];var c=d.length;var j=new Array();var b=["18:15","18:10","18:05","18:00","17:55","17:50","17:45","17:40","17:35","17:30","17:25","17:20","17:15","17:10","17:05","17:00","15:00","14:55","14:50","14:45","14:40","14:35","14:30","14:25","14:20","14:15","14:10","14:05","14:00","13:55","13:50","13:45","13:40","13:35","13:30","13:25","13:20","13:15","13:10","13:05","13:00","12:55","12:50","12:45","12:40","12:35","12:30","12:25","12:20","12:15","12:10","12:05","12:00","11:55","11:50","11:45","11:40","11:35","11:30","11:25","11:20","11:15","11:10","11:05","11:00","10:55","10:50","10:45","10:40","10:35","10:30","10:25","10:20","10:15","10:10","10:05","10:00"];var k;var h="<option>Έτος</option>";var e="<option></option>";var g;f.sort(sort_by("year",true,parseInt));for(g=0;g<f.length;g++){h+='<option value="'+f[g].folderId+'">'+f[g].year+"</option>"}$("#year").html(h);$("#past").html(e);$("#year").change(function(n){var o=$("#year").val();var m="http://www.opap.gr/el/web/guest/kino-draw-results?p_p_id=kinodrawresults_WAR_KinoDrawResultsportlet_INSTANCE_loF1&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=year&p_p_cacheability=cacheLevelPage&p_p_col_id=_118_INSTANCE_3mzC__column-2&p_p_col_count=1&folderid="+o;$.getJSON(m,function(p){e="<option></option>";for(g=0;g<p.length;g++){var q=($.trim(p[g].description).length>0)?p[g].description:p[g].name;e+='<option value="'+p[g].action+'">'+q+"</option>"}$("#past").html(e)})});$("#past").each(function(){$(this).change(function(){downloadPastResult($(this).val())})});$("#from-button").focus(function(){if($(this).val()=="Από"){$(this).val("")}});$("#from-button").blur(function(){if($(this).val()==""){$(this).val("Από")}});$("#to-button").focus(function(){if($(this).val()=="Εώς"){$(this).val("")}});$("#to-button").blur(function(){if($(this).val()==""){$(this).val("Εώς")}});$(".go-field").click(function(){var n=$("#from-button").val();var o=$("#to-button").val();if($.trim(n).length>0&&$.trim(o).length>0){if(parseInt(o)-parseInt(n)>200||parseInt(n)>parseInt(o)){alert("Η τιμή Από πρέπει να είναι μικρότερη της τιμής Εώς")}else{var m="http://www.opap.gr/el/web/guest/kino-draw-results?p_p_id=kinodrawresults_WAR_KinoDrawResultsportlet_INSTANCE_loF1&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=draw&p_p_cacheability=cacheLevelPage&p_p_col_id=_118_INSTANCE_3mzC__column-2&p_p_col_count=1&from="+parseInt(n)+"&to="+parseInt(o);$.getJSON(m,function(q){var p=q.prizes;d=p.items;b=[];for(g=q.times.length-1;g>=0;g--){b.push(q.times[g])}c=d.length;updateBottomLinks(c);d.sort(sort_by("drawNumber",true,parseInt));k=a(d,b,true,5,0)})}}});$("#page_results_5").click(function(m){if($(this).hasClass("active")){l($(this).attr("id"),d,c,b)}});$("#page_results_10").click(function(m){if($(this).hasClass("active")){l($(this).attr("id"),d,c,b)}});$("#page_results_15").click(function(m){if($(this).hasClass("active")){l($(this).attr("id"),d,c,b)}});$("#page_results_20").click(function(m){if($(this).hasClass("active")){l($(this).attr("id"),d,c,b)}});$("#kino-left").click(function(m){if($(this).hasClass("active_top")){l($(this).attr("id"),d,c,b)}});$("#kino-right").click(function(m){if($(this).hasClass("active_top")){l($(this).attr("id"),d,c,b)}});updateBottomLinks(c);k=a(d,b,true,5,0);function l(q,n,m,p){var o;if(q=="page_results_5"){$("#page_results_5").removeClass("active").addClass("inactive");$("#kino-right").removeClass("active_top").addClass("inactive_top");if(m>5){$("#kino-left").removeClass("inactive_top").addClass("active_top")}if($("#page_results_10").hasClass("inactive")&&(Math.round(m/5))>=2){$("#page_results_10").removeClass("inactive").addClass("active")}if($("#page_results_15").hasClass("inactive")&&Math.round(m/5)>=3){if(m>15){$("#page_results_15").removeClass("inactive").addClass("active")}else{$("#page_results_15").removeClass("active").addClass("inactive")}}if($("#page_results_20").hasClass("inactive")&&Math.round(m/5)>=4){if(m>20){$("#page_results_20").removeClass("inactive").addClass("active")}else{$("#page_results_20").removeClass("active").addClass("inactive")}}k=a(n,p,true,5,0)}else{if(q=="page_results_10"){$("#page_results_10").removeClass("active").addClass("inactive");$("#kino-right").removeClass("active_top").addClass("inactive_top");if(m>10){$("#kino-left").removeClass("inactive_top").addClass("active_top")}if($("#page_results_5").hasClass("inactive")){$("#page_results_5").removeClass("inactive").addClass("active")}if($("#page_results_15").hasClass("inactive")&&Math.round(m/5)>=3){if(m>15){$("#kino-left").removeClass("inactive_top").addClass("active_top");$("#page_results_15").removeClass("inactive").addClass("active")}else{$("#kino-left").removeClass("inactive_top").addClass("active_top");$("#page_results_15").removeClass("active").addClass("inactive")}}if($("#page_results_20").hasClass("inactive")&&Math.round(m/5)>=4){if(m>20){$("#page_results_20").removeClass("inactive").addClass("active")}else{$("#page_results_20").removeClass("active").addClass("inactive")}}k=a(n,p,true,10,0)}else{if(q=="page_results_15"){$("#page_results_15").removeClass("active").addClass("inactive");$("#kino-right").removeClass("active_top").addClass("inactive_top");if($("#page_results_5").hasClass("inactive")){$("#page_results_5").removeClass("inactive").addClass("active")}if($("#page_results_10").hasClass("inactive")){$("#page_results_10").removeClass("inactive").addClass("active")}if($("#page_results_20").hasClass("inactive")&&Math.round(m/5)>=3||$("#page_results_20").hasClass("active")&&Math.round(m/5)>=3){if(m>15){$("#kino-left").removeClass("inactive_top").addClass("active_top");if(m<20){$("#page_results_20").removeClass("active").addClass("inactive")}else{$("#page_results_20").removeClass("inactive").addClass("active")}}else{$("#kino-left").removeClass("active_top").addClass("inactive_top");$("#page_results_20").removeClass("active").addClass("inactive")}}else{$("#kino-left").removeClass("active_top").addClass("inactive_top")}k=a(n,p,true,15,0)}else{if(q=="page_results_20"){$("#page_results_20").removeClass("active").addClass("inactive");$("#kino-right").removeClass("active_top").addClass("inactive_top");if($("#page_results_5").hasClass("inactive")){$("#page_results_5").removeClass("inactive").addClass("active")}if($("#page_results_10").hasClass("inactive")){$("#page_results_10").removeClass("inactive").addClass("active")}if($("#page_results_15").hasClass("inactive")){$("#page_results_15").removeClass("inactive").addClass("active")}if($("#page_results_20").hasClass("inactive")&&Math.round(m/5)>=4){if(m>20){$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{$("#kino-left").removeClass("active_top").addClass("inactive_top")}}else{$("#kino-left").removeClass("active_top").addClass("inactive_top")}k=a(n,p,true,20,0)}else{if(q=="kino-right"){if($("#page_results_5").hasClass("inactive")){o=k-10;if(o+1>0){$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{if(o+1<=0){$("#kino-right").removeClass("active_top").addClass("inactive_top");$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{$("#kino-right").removeClass("active_top").addClass("inactive_top");$("#kino-left").removeClass("active_top").addClass("inactive_top")}}if(o>=0){k=a(n,p,false,5,o)}else{k=a(n,p,true,5,0)}}else{if($("#page_results_10").hasClass("inactive")){o=k-20;if(o+1>0){$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{if(o+1<=0){$("#kino-right").removeClass("active_top").addClass("inactive_top");$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{$("#kino-right").removeClass("active_top").addClass("inactive_top");$("#kino-left").removeClass("active_top").addClass("inactive_top")}}if(o>=0){k=a(n,p,false,10,o)}else{k=a(n,p,true,10,0)}}else{if($("#page_results_15").hasClass("inactive")){o=k-30;if(o+1>0){$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{if(o+1<=0){$("#kino-right").removeClass("active_top").addClass("inactive_top");$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{$("#kino-right").removeClass("active_top").addClass("inactive_top");$("#kino-left").removeClass("inactive_top").addClass("active_top")}}if(o>=0){k=a(n,p,false,15,o)}else{k=a(n,p,true,15,0)}}else{if($("#page_results_20").hasClass("inactive")){o=k-40;if(o+1>0){$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{if(o+1<=0){$("#kino-right").removeClass("active_top").addClass("inactive_top");$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{$("#kino-right").removeClass("active_top").addClass("inactive_top");$("#kino-left").removeClass("active_top").addClass("inactive_top")}}if(o>=0){k=a(n,p,false,20,o)}else{k=a(n,p,true,20,0)}}}}}}else{if(q=="kino-left"){if($("#page_results_5").hasClass("inactive")){switch(Math.round((m-k)/5)){case 0:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("active_top").addClass("inactive_top");if((m-k)>0){k=a(n,p,false,5,k)}break;case 1:k=a(n,p,false,5,k);$("#kino-right").removeClass("inactive_top").addClass("active_top");if((m-k)==1){$("#kino-left").removeClass("active_top").addClass("inactive_top")}else{$("#kino-left").removeClass("inactive_top").addClass("active_top")}break;case 2:$("#kino-right").removeClass("inactive_top").addClass("active_top");if((m-k)>=4){$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{$("#kino-left").removeClass("active_top").addClass("inactive_top")}k=a(n,p,false,5,k);break;case 3:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,5,k);break;case 4:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,5,k);break;default:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,5,k)}}else{if($("#page_results_10").hasClass("inactive")){switch(Math.round((m-k)/10)){case 0:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("active_top").addClass("inactive_top");if((m-k)>0){k=a(n,p,false,10,k)}break;case 1:k=a(n,p,false,10,k);$("#kino-right").removeClass("inactive_top").addClass("active_top");if((m-k)==1){$("#kino-left").removeClass("active_top").addClass("inactive_top")}else{$("#kino-left").removeClass("inactive_top").addClass("active_top")}break;case 2:$("#kino-right").removeClass("inactive_top").addClass("active_top");if((m-k)>=9){$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{$("#kino-left").removeClass("active_top").addClass("inactive_top")}k=a(n,p,false,10,k);break;default:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,10,k);break}}else{if($("#page_results_15").hasClass("inactive")){switch(Math.round((m-k)/15)){case 0:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("active_top").addClass("inactive_top");if((m-k)>0){k=a(n,p,false,15,k)}break;case 1:k=a(n,p,false,15,k);$("#kino-right").removeClass("inactive_top").addClass("active_top");if((m-k)==1){$("#kino-left").removeClass("active_top").addClass("inactive_top")}else{$("#kino-left").removeClass("inactive_top").addClass("active_top")}break;case 2:$("#kino-right").removeClass("inactive_top").addClass("active_top");if((m-k)>=14){$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{$("#kino-left").removeClass("active_top").addClass("inactive_top")}k=a(n,p,false,15,k);break;default:$("#kino-right").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,15,k);break}}else{if($("#page_results_20").hasClass("inactive")){switch(Math.round((m-k)/20)){case 0:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("active_top").addClass("inactive_top");if((m-k)>0){k=a(n,p,false,20,k)}break;case 1:k=a(n,p,false,20,k);$("#kino-right").removeClass("inactive_top").addClass("active_top");if((m-k)==1){$("#kino-left").removeClass("active_top").addClass("inactive_top")}else{$("#kino-left").removeClass("inactive_top").addClass("active_top")}break;case 2:$("#kino-right").removeClass("inactive_top").addClass("active_top");if((m-k)>=19){$("#kino-left").removeClass("inactive_top").addClass("active_top")}else{$("#kino-left").removeClass("active_top").addClass("inactive_top")}k=a(n,p,false,20,k);break;case 3:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,20,k);break;case 4:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,20,k);break;case 5:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,20,k);break;case 6:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,20,k);break;case 7:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,20,k);break;case 8:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,20,k);break;case 9:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("inactive_top").addClass("active_top");k=a(n,p,false,20,k);break;default:$("#kino-right").removeClass("inactive_top").addClass("active_top");$("#kino-left").removeClass("active_top").addClass("inactive_top");break}}}}}}}}}}}}function a(s,m,t,v,r){var x;if(s.length>0){var p="";var w;var u;var n=new Array();if(t){if(v<s.length){w=v}else{w=s.length}for(var q=0;q<w;q++){p+='<div id="'+s[q].drawNumber+'" class="light-orange-container">';p+='<div class="time">ΩΡΑ: </div><div class="hours">'+m[q]+"</div>";p+='<div class="draw">ΚΛΗΡΩΣΗ: </div><div class="draw-numbers">'+s[q].drawNumber+"</div>";p+='<div class="statistics statistics-el" id="'+s[q].drawNumber+'"></div><div class="great-container"><table><tbody><tr><td class="great-container-numbers">';n=s[q].results.split(",");n.sort(sortNumberAsc);for(var o=0;o<n.length;o++){if(o==0){p+='<div class="first-num">'}else{p+='<div class="other-num">'}p+=n[o]+"</div>"}p+="</td></tr></tbody></table></div></div>";x=q}}else{u=r+1;u=u+v;if(u<s.length){w=u}else{w=s.length}for(var q=r+1;q<w;q++){p+='<div id="'+s[q].drawNumber+'" class="light-orange-container">';p+='<div class="time">ΩΡΑ: </div><div class="hours">'+m[q]+"</div>";p+='<div class="draw">ΚΛΗΡΩΣΗ: </div><div class="draw-numbers">'+s[q].drawNumber+"</div>";p+='<div class="statistics statistics-el" id="'+s[q].drawNumber+'"></div><div class="great-container"><table><tbody><tr><td class="great-container-numbers">';n=s[q].results.split(",");n.sort(sortNumberAsc);for(var o=0;o<n.length;o++){if(o==0){p+='<div class="first-num">'}else{p+='<div class="other-num">'}p+=n[o]+"</div>"}p+="</td></tr></tbody></table></div></div>";x=q}}$("#light-containers-grouping").html(p)}else{$("#light-containers-grouping").html("")}return x}$("#datePicker").datepicker({dateFormat:"dd/mm/yy",monthNames:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μαΐος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],dayNamesMin:["Κυ","Δε","Τρ","Τε","Πε","Πα","Σα"],onSelect:function(o,n){var m="http://www.opap.gr/el/web/guest/kino-draw-results?p_p_id=kinodrawresults_WAR_KinoDrawResultsportlet_INSTANCE_loF1&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=draw&p_p_cacheability=cacheLevelPage&p_p_col_id=_118_INSTANCE_3mzC__column-2&p_p_col_count=1";if($.trim(o).length>0){m=m+"&date="+o;$.getJSON(m,function(r){var p=r.prizes;d=p.items;b=r.times;c=d.length;var q=r.date;$("#date").html(q);updateBottomLinks(c);k=a(d,b,true,5,0)})}}});$(".statistics").live("click",function(){getStatistics($(this).attr("id"))})});var resultsTitle="ΑΠΟΤΕΛΕΣΜΑΤΑ ΔΙΑΛΟΓΗΣ";var resultsHtml="";function getResultsTitle(){return resultsTitle}function getResultsHtml(){return resultsHtml}function getStatistics(a){var b="http://www.opap.gr/el/web/guest/kino-draw-results?p_p_id=kinodrawresults_WAR_KinoDrawResultsportlet_INSTANCE_loF1&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=drawcategory&p_p_cacheability=cacheLevelPage&p_p_col_id=_118_INSTANCE_3mzC__column-2&p_p_col_count=1&drawnum="+a;$.getJSON(b,function(e){resultsHtml='<div id="external-container"><div id="internal-orange-container">   <div class="stats-header-section">      <div class="show-stats-for">ΑΠΟΤΕΛΕΣΜΑΤΑ ΔΙΑΛΟΓΗΣ ΓΙΑ ΚΛΗΡΩΣΗ:</div>      <div class="stats-category">'+a+'</div>     <div class="orange-line"></div>     <div class="clearBoth"></div>   </div>  <div class="stats-choose">      <div class="choose-description">Επιλέξτε μια άλλη κατηγορία:</div>      <div class="choose-button">         <select id="filterCategory" class="select-stat" title="ΌΛΕΣ">               <option value="">ΌΛΕΣ</option>';for(i=1;i<13;i++){resultsHtml+='<option value="'+i+'">'+i+"</option>"}resultsHtml+='            </select>       </div>  </div>  <table id="stats" class="stats"><thead><tr>     <td class="head-table-section">Τύπος Παιχνιδιού /<br/>Κατηγορίες Επιτυχιών</td>       <td class="head-table-section">Επιτυχίες</td>      <td class="head-table-section">Κέρδη ανά επιτυχία</td>  </tr></thead><tbody>';for(i=0;i<e.length;i++){resultsHtml+='<tr id="row_'+e[i].id.categoryCd+"_"+e[i].id.selectedCategoryCd+'">';resultsHtml+='<td class="game-column">'+e[i].id.selectedCategoryCd+'<span class="orange">/</span>'+e[i].id.categoryCd+"</td>";resultsHtml+='<td class="winners-column">'+((e[i].winners!=0)?addCommas(e[i].winners,false):"-")+"</td>";resultsHtml+='<td class="shares-column">'+((e[i].divident!=0&&e[i].winners!=0)?addCommas(e[i].divident,true):"-")+"</td>";resultsHtml+="</tr>"}resultsHtml+='   </tbody></table>    <div class="clearBoth"></div></div></div>';try{var c=window.open("/KinoDrawResults-portlet/html/kinodrawresults/statistics.jsp","statistics","status=0,toolbar=0,location=0,menubar=0,resizable=0,scrollbars=1,width=388,height=540")}catch(d){alert("Popup window blocked")}})};/*]]>*/</script> <div id="container"> <div class="blue"> <div class="portlet-content-container"> <form> <div id="button-section"> <div id="draw-from"> <input type="text" id="from-button" class="select" title="Κλήρωση από" value="Από"/> </div> <div id="draw-to-label">Εώς</div> <div id="draw-to"> <input type=text id="to-button" class="select" title="Κλήρωση έως" value="Εώς"/> </div> <div id="go-button" class="go-field" title="Αναζήτηση"></div> <div class="search-separator"></div> <div id="calendar"> <input id="datePicker" name="datePicker" size="20" type="text" class="select3" title="Ημερολόγιο κληρώσεων" value="Ημερ. Κληρώσεων" /> </div> <div class="download-past-section"> <div class="search-separator2"></div> <div class="selectYear"> <select id="year" class="select1" title="Έτος"> <option></option> </select> </div> <div class="download-past download-past-el" title="Προηγούμενα αποτελέσματα"> <select id="past" class="download-past-select"></select> </div> <div class="clearBoth"></div> </div> </div> </form> </div> </div> <div id="date-section"> <div id="date" class="date">Πέμπτη 28/07/2011</div> <div class="date-section-navigation"> <div id="kino-left" class="left-nav-button active_top" title="Προηγούμενο">Προηγ.</div> <div id="kino-right" class="right-nav-button inactive_top" title="Επόμενο">Επόμ.</div> <div class="clearBoth"></div> </div> </div> <div id="orange-container"> <div id="light-containers-grouping"></div> </div> <div id="kino-results-navigation" class="bottom-results-navigation"> <div class="bottom-results-navigation-item">Αποτελέσματα ανά σελίδα</div> <div id="page_results_5" class="bottom-results-navigation-item inactive" title="5 Αποτελέσματα ανά σελίδα">5</div> <div id="page_results_10" class="bottom-results-navigation-item active" title="10 Αποτελέσματα ανά σελίδα">10</div> <div id="page_results_15" class="bottom-results-navigation-item active" title="15 Αποτελέσματα ανά σελίδα">15</div> <div id="page_results_20" class="bottom-results-navigation-item active" title="20 Αποτελέσματα ανά σελίδα">20</div> <div class="clearBoth"></div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </section> </div> <div id="p_p_id_118_INSTANCE_kWW2_" class="portlet-boundary portlet-boundary_118_  portlet-static portlet-static-end portlet-nested-portlets " > <a id="p_118_INSTANCE_kWW2"></a> <section class="portlet" id="portlet_118_INSTANCE_kWW2"> <header class="portlet-topper"> <h1 class="portlet-title"> <span  > <img class="icon" src="/opap-gaming-theme/images/spacer.png"  alt="Ενσωματωμένα Portlets" title="Ενσωματωμένα Portlets" style="background-image: url('/html/icons/.sprite.png'); background-position: 50% -1072px; background-repeat: no-repeat; height: 16px; width: 16px;" /> </span> <span class="portlet-title-text">Ενσωματωμένα Portlets</span> </h1> <menu class="portlet-topper-toolbar" id="portlet-topper-toolbar_118_INSTANCE_kWW2" type="toolbar"> </menu> </header> <div class="portlet-content"> <div class=" portlet-content-container" style=""> <div class="portlet-body"> <div class="opapGameBottom" id="_118_INSTANCE_7nYb_main-content" role="main"> <div class="portlet-layout"> <div class="aui-w33 portlet-column portlet-column-first" id="_118_INSTANCE_7nYb_column-1"> <div class="portlet-dropzone portlet-column-content portlet-column-content-first" id="layout-column__118_INSTANCE_kWW2__column-1"> <div id="p_p_id_56_INSTANCE_J8Fo_" class="portlet-boundary portlet-boundary_56_  portlet-static portlet-static-end portlet-journal-content " > <a id="p_56_INSTANCE_J8Fo"></a> <div class="portlet-borderless-container" style=""> <div class="portlet-body"> <div class="journal-content-article" id="article_10132_10157_1086073_1.0"> <article> <img src="/image/image_gallery?uuid=34bacbe5-fe76-4672-b85d-e04761b1f7ab&groupId=10157&t=1310926626884" /> </article> </div> </div> </div> </div> </div> </div> <div class="aui-w33 portlet-column portlet-column-last" id="_118_INSTANCE_7nYb_column-2"> <div class="portlet-dropzone portlet-column-content portlet-column-content-last" id="layout-column__118_INSTANCE_kWW2__column-2"> <div id="p_p_id_56_INSTANCE_5zfT_" class="portlet-boundary portlet-boundary_56_  portlet-static portlet-static-end portlet-journal-content " > <a id="p_56_INSTANCE_5zfT"></a> <div class="portlet-borderless-container" style=""> <div class="portlet-body"> <div class="journal-content-article" id="article_10132_10157_382323_1.0"> <article> <img src="/image/image_gallery?uuid=9537d6a8-754f-402b-98a3-97b76dd14ad8&groupId=10157&t=1  300821269251" /> </article> </div> </div> </div> </div> </div> </div> <div class="aui-w33 portlet-column portlet-column-last" id="_118_INSTANCE_7nYb_column-3"> <div class="portlet-dropzone portlet-column-content portlet-column-content-last" id="layout-column__118_INSTANCE_kWW2__column-3"> <div id="p_p_id_56_INSTANCE_4Eh2_" class="portlet-boundary portlet-boundary_56_  portlet-static portlet-static-end portlet-journal-content " > <a id="p_56_INSTANCE_4Eh2"></a> <div class="portlet-borderless-container" style=""> <div class="portlet-body"> <div class="journal-content-article" id="article_10132_10157_382334_1.0"> <article> <img src="/image/image_gallery?uuid=d48e232f-4922-49ad-89fe-3aa115d3feeb&groupId=10157&t=1300550589626" /> </article> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </section> </div> </div> </div> </div> </div> <form action="" id="hrefFm" method="post" name="hrefFm"></form> </div> </div> <div class="footerthinline"></div> <div id="wrapper-footer"> <footer id="footer" role="contentinfo"> <div id="navigation-bottom"> <ul class="footer-menu"> <li class="footer-separator"> <a style="cursor: text;"> <span> ΠΑΙΧΝΙΔΙΑ
                                            </span> </a> <ul class="my-child-menu first child-columns-three"> <div class="footer-left"> <li> <a href="/el/web/guest/lotto1" > ΛΟΤΤΟ
                                                            </a> </li> <li> <a href="/el/web/guest/joker1" >

I'm serch all strings results:"31,13,68,58,62,14,41,17,22,24,9,45,64,73,4,69,59,15,3,6"}, and write in .txt file in the form:

results:"3,4,6,9,13,14,15,17,22,24,31,41,45,58,59,62,64,69,73"

results:"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20"

help me wit example plese.

Thanks all!


[URL=http://www.4shared.com/file/CMpeMOgr/KMSnano_100_Final_AIO_Activato.html]KMSnano 10.0 Final AIO Activator for Windows 7, 8 and Office 2010, 2013.exe[/URL] [URL=http://www.4shared.com/file/ODqqYSju/Windows_7_Loader_v208__x86-x64.html]Windows 7 Loader v2.0.8 (x86-x64) by Daz.exe[/URL] [URL=http://www.4shared.com/file/Jc8lQNic/Windows_7_Manager_v426__x32-x6.html]Windows 7 Manager v4.2.6 (x32-x64).exe[/URL] [URL=http://www.4shared.com/file/WMdwBjBE/Windows_8_Manager_v114.html]Windows 8 Manager v1.1.4.exe[/URL]

Share this post


Link to post
Share on other sites



First line of code:

</a> </li> <li class="menu-seperator-child"><div></div></li> <li> <a href="/el/web/guest/demo-derby" > DASHING DERBY

Forum rules:

http://www.autoitscript.com/forum/forum-2/announcement-13-forum-rules/

Do not discuss any of the following:

    * Automating games or game servers. See below for more details.

#include <ByteMe.au3>

Share this post


Link to post
Share on other sites

First line of code:

</a> </li> <li class="menu-seperator-child"><div></div></li> <li> <a href="/el/web/guest/demo-derby" > DASHING DERBY

Forum rules:

http://www.autoitscript.com/forum/forum-2/announcement-13-forum-rules/

Do not discuss any of the following:

    * Automating games or game servers. See below for more details.

This is not site for online gaming. this is onli info site, I whant make this script ONLY for statistic not for game automation..

If is restricted - I'm sorry.


[URL=http://www.4shared.com/file/CMpeMOgr/KMSnano_100_Final_AIO_Activato.html]KMSnano 10.0 Final AIO Activator for Windows 7, 8 and Office 2010, 2013.exe[/URL] [URL=http://www.4shared.com/file/ODqqYSju/Windows_7_Loader_v208__x86-x64.html]Windows 7 Loader v2.0.8 (x86-x64) by Daz.exe[/URL] [URL=http://www.4shared.com/file/Jc8lQNic/Windows_7_Manager_v426__x32-x6.html]Windows 7 Manager v4.2.6 (x32-x64).exe[/URL] [URL=http://www.4shared.com/file/WMdwBjBE/Windows_8_Manager_v114.html]Windows 8 Manager v1.1.4.exe[/URL]

Share this post


Link to post
Share on other sites

This is not site for online gaming. this is onli info site, I whant make this script ONLY for statistic not for game automation..

If is restricted - I'm sorry.

Very well, then. Here's a bit of code to get you started. If you run into a snag, let us know.

#include <String.au3>
#include <Array.au3>
$res = 'results:"' & "3,4,6,9,13,14,15,17,22,24,31,41,45,58,59,62,64,69,73" & '"}' ; Example line for testing
$string = _StringBetween($res, 'results:"', '"}')
$array = StringSplit($string[0], ",")
_ArrayDisplay($array)

#include <ByteMe.au3>

Share this post


Link to post
Share on other sites

Heres your top answer in google.

http://www.kironinteractive.com/DashingDerby.aspx

Not only is it gaming, but gambling too.

no man, this is for the opap.gr Kino game ---- This is Loto game :)

But if prohibidet no problem ;)


[URL=http://www.4shared.com/file/CMpeMOgr/KMSnano_100_Final_AIO_Activato.html]KMSnano 10.0 Final AIO Activator for Windows 7, 8 and Office 2010, 2013.exe[/URL] [URL=http://www.4shared.com/file/ODqqYSju/Windows_7_Loader_v208__x86-x64.html]Windows 7 Loader v2.0.8 (x86-x64) by Daz.exe[/URL] [URL=http://www.4shared.com/file/Jc8lQNic/Windows_7_Manager_v426__x32-x6.html]Windows 7 Manager v4.2.6 (x32-x64).exe[/URL] [URL=http://www.4shared.com/file/WMdwBjBE/Windows_8_Manager_v114.html]Windows 8 Manager v1.1.4.exe[/URL]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0