PHP . SU
Программирование на PHP, MySQL и другие веб-технологии
Страниц (9): [1] 2 3 4 5 6 7 8 9 »
Найдено сообщений: 131
fireXXX
Отправлено: 06 Августа, 2011 - 18:51:07 • Тема: Как перевести эту регулярку на php? • Форум: Регулярные выражения
Ответов: 2 Просмотров: 1753
в конструкторе у меня работает такая регулярка
парсит она вот такой код
CODE (
htmlphp ):
скопировать код в буфер обмена
<! doctype html>< head>< title> lol - Google Search</ title> important}.weight:bold}.csb,.ss,.play_icon,.mini_play_icon,.micon,.licon,.close_btn,#tbp,.mbi,.inline_close_btn{background:url(/images/srpr/nav_logo80.png) no-repeat;overflow:hidden}.csb,.ss{background-position:0 0;height:40px;display:block}.ss{background-position:0 -91px;position:absolute;left:0;top:0}.cps{height:18px;overflow:hidden;width:114px}.mbi{background-position:-153px -70px;display:inline-block;float:left;height:13px;margin-right:3px;margin-top:1px;width:13px}#nav td{padding:0;text-align:center}#logo span,.lsb{background:url(/images/srpr/nav_logo80.png) no-repeat;overflow:hidden}#logo{color:#fff;display:block;height:49px;margin:9px 0 0;overflow:hidden;position:relative;width:137px}#logo img{border:0;left:-0px;position:absolute;top:-41px}#logo span{cursor:pointer}.lst-b,.lst{border:1px solid #ccc;border-bottom:none;height:26px;padding:4px 0 0}.lst{-moz-box-sizing:content-box;background:#fff;color:#000;float:left;padding-left:6px;padding-right:10px;vertical-align:top;width:100%}.lst-b{border-right:none}.lst-td{border-bottom:1px solid #999;padding-right:16px}.lst:focus{outline:none}.gsfi,.lst{font:18px arial,sans-serif}.gsfs{font:17px arial,sans-serif}.ds{border-right:1px solid #e7e7e7;position:relative;height:32px;z-index:100}.lsbb{background:#eee;border:1px solid #999;border-top-color:#ccc;border-left-color:#ccc;height:30px}.lsb{font:15px arial,sans-serif;background-position:bottom;border:0;color:#000;cursor:pointer;height:30px;margin:0;vertical-align:top}.lsb:active{background:#ccc}form{display:inline}input{-moz-box-sizing:content-box;-moz-padding-start:0;-moz-padding-end:0}.tia input{border-right:none;padding-right:0}.lsd{font-size:11px;position:absolute;top:3px;left:16px}.ch{cursor:pointer}h3,.med{font-size:medium;font-weight:normal;padding:0;margin:0}.e{margin:2px 0 .75em}.slk div{padding-left:12px;text-indent:-10px}.fc{margin-top:.5em;padding-left:16px}#mbEnd cite{text-align:left}#rhs_block{margin-bottom:-20px}#bsf,.blk{border-top:1px solid #6b90da;background:#f0f7f9}#bsf{border-bottom:1px solid #6b90da}#cnt{clear:both}#res{padding-right:1em;margin:0 16px}.c{background:#fff8e7;margin:0 8px}.c li{padding:0 3px 0 8px;margin:0}#mbEnd li{margin:1em 0;padding:0}.xsm{font-size:x-small}ol li{list-style:none}#ncm ul li{list-style-type:disc}.sm li{margin:0}.gl,#foot a,.nobr{white-space:nowrap}#mbEnd .med{white-space:normal}.sl,.r{display:inline;font-weight:normal;margin:0}.r{font-size:medium}h4.r{font-size:small}.mr{margin-top:6px}h3.tbpr{margin-top:.4em;margin-bottom:1.2em}img.tbpr{border:0px;width:15px;height:15px;margin-right:3px}.jsb{display:block}.nojsb{display:none}.nwd{font-size:10px;padding:16px;text-align:center}#sc-block .sc{background:#fff;float:left;font-size:2px;margin:0}#sc-block .sc.selected{background:#000}#sc-block .sc a{border:1px solid #00c;cursor:pointer;display:block;margin:3px;height:16px;width:16px}#sc-block .sc.selected a{border-color:#fff;cursor:default}#sc-icon{background:#fff;float:left;font-size:1px;margin:0 5px}#sc-icon div{background:#c33;float:left;height:6px;margin:1px 0 0 1px;width:6px}#sc-dropdown{background:#fff;border:1px solid;border-color:#c9d7f1 #36c #36c #a2bae7;margin-top:7px;padding:3px;position:absolute;visibility:hidden;width:96px;z-index:1}.sc-show{border:0;height:15px;width:15px}.sc-hide{border:1px solid #00c;height:13px;width:13px}.sc-show div{display:block}.sc-hide div{display:none}#nf{background-position:-26px 0;margin:0 0 0 52px;width:18px}#np{background-position:0 0;margin:0 0 0 26px;width:44px}#nn{background-position:-76px 0;margin:0 34px 0 0;width:66px}#nl{background-position:-76px 0;margin:0 58px 0 0;width:42px}.crumbs{font-size:82%}.crumbs i{padding:0 .5em 0 .5em;font-style:normal;font-weight:bold;top:-.12em}#ImgContent{padding-top:1em;}#ImgContent td{padding-left:18px}#tcell{left:-9999px;position:absolute}html{overflow-y:scroll}.crumbs{font-size:100%;margin-left:0}.crumbs i{padding:0 0.5em 0 0}#rptgl{font-size:100%;padding:0}#rpsp.rpop{margin-top:0}#rpsp .tl-sect,#rpro{font-size:100%}#imgtbbc{margin-right:7px}#cnt{max-width:none}#sfcnt{max-width:1144px}#tads td.std{font-size:11px}.tbo #tads{margin:0 0 16px;margin-left:0;margin-right:8px}#tads{padding:6px 8px}#sp-link-lbl{float:right;margin-left:8px;font-size:11px}#ImgCont.rpop{margin-left:0}#center_col #res{padding-top:0}#res p.std {margin:0 0 16px}#ImgContent {padding:0}#sc-block .sc a{height:16px;width:16px}#ImgCont.rpop{margin-left:0}#ImgContent td{padding-left:0;padding-right:16px}#tbd td.u{padding-left:.385em}#tbd div.sc{padding:0}#sc-block .sc a {height:14px;margin:2px;width:14px}#iszlt_sel.tbcontrol,#iszex.tbcontrol{display:none}#iszlt_sel.tbcontrol_vis,#iszex.tbcontrol_vis{display:block}#iszlt_sel{margin-left:1em;margin-top:2px}#tbd select{margin:2px 0 4px;width:125px}#iszex{text-indent:0}#iszex{width:130px}#iszex table.ts input{width:40px}#iszex td{font-size:82%;padding:4px 0 0}#iszex td.l{padding-left:1em;padding-right:.385em}#isz_ex a,#isz_lt a{text-decoration:none !important}div ul li ul.tbt #ic_specific{color:#FFF;font-size:0;line-height:0}#tbd li ul.tbt li.tbou{margin-right:0}#ss-box{margin-top:4px;border-color:#A2BFF0 #558BE3 #558BE3 #A2BFF0}#ss-box a:hover{background-color:#558BE3}#ss-box a:link{color:#36c}.shrnkhck{font-size:100%}#prs #imgtbbc a, #prs #imgtbbc b{position:static}#ss-box{background:#fff;border:1px solid;border-color:#c9d7f1 #36c #36c #a2bae7;left:0;margin-top:.1em;position:absolute;visibility:hidden;z-index:101}#ss-box a{display:block;padding:.2em .31em;text-decoration:none}#ss-box a:hover{background:#558be3;color:#fff!important}a.ss-selected{color:#000!important;font-weight:bold}a.ss-unselected{color:#4273db!important}.ss-selected .mark{display:inline}.ss-
function ab(){function a(){for(var k;k=g[h++];)if(k[0]=="m"||k[1].auto)break;if(k){v(2,k[0]);u(k[1].url)}h< g. length&& setTimeout( a, 0 ) } function b( ) { f-- > 0?setTimeout(b,0):a()}var c=_tvb("true",e),d=_tvb("false",j),f=3,g=p,h=0,l=window.gbarOnReady;if(l)try{l()}catch(i){z(i)}if(d)n("ldb",a);else if(c)window.addEventListener?window.addEventListener("load",b,j):window.attachEvent("onload",b);else b()}n("rdl",ab);}catch(e){window.gbar&&gbar.logger&&gbar.logger.ml(e); }})();
(function(){try{window.gbar.rdl();}catch(e){window.gbar&&gbar.logger&&gbar.logger.ml(e); }})();
</ script></ head>< body id= gsr class= tbo topmargin= 3 marginheight= 3 >< div id= mngb>< div id= gb>< div id= gbw>< div id= gbz>< span class= gbtcb></ span>< ol class= gbtc>< li class= gbt>< a class= gbzt id= gb_1 onclick= "gbar.logger.il(1,{t:1})" href= "http://www.google.com/search?hl=en&q=lol&ie=UTF-8&sa=N&tab=iw" >< span class= gbtb2></ span>< span class= gbts> Web</ span></ a></ li>< li class= gbt>< a onclick= gbar. qs( this) class= "gbzt gbz0l gbp1" id= gb_2 onclick= "gbar.logger.il(1,{t:2})" href= "http://www.google.com/imghp?hl=en&tab=ii" >< span class= gbtb2></ span>< span class= gbts> Images</ span></ a></ li>< li class= gbt>< a onclick= gbar. qs( this) class= gbzt id= gb_12 onclick= "gbar.logger.il(1,{t:12})" href= "http://www.google.com/search?hl=en&q=lol&ie=UTF-8&tbo=u&tbm=vid&source=og&sa=N&tab=iv" >< span class= gbtb2></ span>< span class= gbts> Videos</ span></ a></ li>< li class= gbt>< a onclick= gbar. qs( this) class= gbzt id= gb_8 onclick= "gbar.logger.il(1,{t:8})" href= "http://maps.google.com/maps?hl=en&q=lol&ie=UTF-8&sa=N&tab=il" >< span class= gbtb2></ span>< span class= gbts> Maps</ span></ a></ li>< li class= gbt>< a onclick= gbar. qs( this) class= gbzt id= gb_5 onclick= "gbar.logger.il(1,{t:5})" href= "http://www.google.com/search?hl=en&q=lol&ie=UTF-8&tbo=u&tbm=nws&source=og&sa=N&tab=in" >< span class= gbtb2></ span>< span class= gbts> News</ span></ a></ li>< li class= gbt>< a onclick= gbar. qs( this) class= gbzt id= gb_6 onclick= "gbar.logger.il(1,{t:6})" href= "http://www.google.com/search?hl=en&q=lol&ie=UTF-8&tbo=u&tbm=shop&source=og&sa=N&tab=if" >< span class= gbtb2></ span>< span class= gbts> Shopping</ span></ a></ li>< li class= gbt>< a class= gbzt id= gb_23 onclick= "gbar.logger.il(1,{t:23})" href= "http://mail.google.com/mail/?hl=en&tab=im" >< span class= gbtb2></ span>< span class= gbts> Gmail</ span></ a></ li>< li class= gbt>< a id= gbztm class= gbgt href= "http://www.google.com/intl/en/options/" onclick= "gbar.tg(event,this)" aria- haspopup= true aria- owns= gbd>< span class= gbtb2></ span>< span id= gbztms class= "gbts gbtsa" >< span id= gbztms1> more</ span>< span class= gbma></ span></ span></ a>< div class= gbm id= gbd aria- owner= gbztm>< div class= gbmc>< ol class= gbmcc>< li class= gbmtc>< a onclick= gbar. qs( this) class= gbmt id= gb_51 onclick= "gbar.logger.il(1,{t:51})" href= "http://translate.google.com/translate_t?hl=en&q=lol&ie=UTF-8&sa=N&tab=iT" > Translate</ a></ li>< li class= gbmtc>< a onclick= gbar. qs( this) class= gbmt id= gb_10 onclick= "gbar.logger.il(1,{t:10})" href= "http://www.google.com/search?hl=en&q=lol&ie=UTF-8&tbo=u&tbm=bks&source=og&sa=N&tab=ip" > Books</ a></ li>< li class= gbmtc>< a onclick= gbar. qs( this) class= gbmt id= gb_27 onclick= "gbar.logger.il(1,{t:27})" href= "http://www.google.com/finance?hl=en&q=lol&ie=UTF-8&sa=N&tab=ie" > Finance</ a></ li>< li class= gbmtc>< a onclick= gbar. qs( this) class= gbmt id= gb_9 onclick= "gbar.logger.il(1,{t:9})" href= "http://scholar.google.com/scholar?hl=en&q=lol&ie=UTF-8&sa=N&tab=is" > Scholar</ a></ li>< li class= gbmtc>< a onclick= gbar. qs( this) class= gbmt id= gb_13 onclick= "gbar.logger.il(1,{t:13})" href= "http://www.google.com/search?hl=en&q=lol&ie=UTF-8&tbo=u&tbm=blg&source=og&sa=N&tab=ib" > Blogs</ a></ li>< li class= gbmtc>< div class= "gbmt gbmh" ></ div></ li>< li class= gbmtc>< a onclick= gbar. qs( this) class= gbmt id= gb_36 onclick= "gbar.logger.il(1,{t:36})" href= "http://www.youtube.com/results?hl=en&q=lol&ie=UTF-8&sa=N&tab=i1" > YouTube</ a></ li>< li class= gbmtc>< a onclick= gbar. qs( this) class= gbmt id= gb_24 onclick= "gbar.logger.il(1,{t:24})" href= "http://www.google.com/calendar?hl=en&q=lol&ie=UTF-8&sa=N&tab=ic" > Calendar</ a></ li>< li class= gbmtc>< a onclick= gbar. qs( this) class= gbmt id= gb_31 onclick= "gbar.logger.il(1,{t:31})" href= "http://picasaweb.google.com/lh/view?hl=en&q=lol&ie=UTF-8&sa=N&tab=iq" > Photos</ a></ li>< li class= gbmtc>< a class= gbmt id= gb_25 onclick= "gbar.logger.il(1,{t:25})" href= "http://docs.google.com/?hl=en&tab=io" > Documents</ a></ li>< li class= gbmtc>< a class= gbmt id= gb_32 onclick= "gbar.logger.il(1,{t:32})" href= "http://www.google.com/reader/view/?hl=en&tab=iy" > Reader</ a></ li>< li class= gbmtc>< a class= gbmt id= gb_38 onclick= "gbar.logger.il(1,{t:38})" href= "http://sites.google.com/?hl=en&tab=i3" > Sites</ a></ li>< li class= gbmtc>< a onclick= gbar. qs( this) class= gbmt id= gb_3 onclick= "gbar.logger.il(1,{t:3})" href= "http://groups.google.com/groups?hl=en&q=lol&ie=UTF-8&sa=N&tab=ig" > Groups</ a></ li>< li class= gbmtc>< div class= "gbmt gbmh" ></ div></ li>< li class= gbmtc>< a class= gbmt onclick= "gbar.logger.il(1,{t:66})" href= "http://www.google.com/intl/en/options/" > even more » </ a></ li></ ol></ div></ div></ li></ ol></ div>< div id= gbg>< h2 class= gbxx> Account Options</ h2>< span class= gbtcb></ span>< ol class= gbtc>< li class= gbt>< a class= gbgt id= gb_70 href= "https://www.google.com/accounts/ServiceLogin?hl=en&continue=http://images.google.com/images%3F hl%3Den%26q%3Dlol%26s tart%3D306" onclick= "gbar.logger.il(9,{l:'i'})" >< span class= gbtb2></ span>< span id= gbgs4 class= gbts>< span id= gbi4s1> Sign in</ span></ span></ a></ li>< li class= "gbt gbtb" >< span class= gbts></ span></ li>< li class= gbt>< a class= gbgt id= gbg5 href= "http://www.google.com/preferences?hl=en" title= "Options" onclick= "gbar.tg(event,this)" aria- haspopup= true aria- owns= gbd5>< span class= gbtb2></ span>< span id= gbgs5 class= gbts>< span id= gbi5></ span></ span></ a>< div class= gbm id= gbd5 aria- owner= gbg5>< div class= gbmc>< ol class= gbmcc>< li class= "gbkc gbmtc" >< a class= gbmt href= "/preferences?hl=en" > Search settings</ a></ li>< li class= gbmtc>< div class= "gbmt gbmh" ></ div></ li>< li class= "gbkp gbmtc" >< a class= gbmt href= "http://www.google.com/history/optout?hl=en" > Web History</ a></ li></ ol></ div></ div></ li></ ol></ div></ div>< div id= gbx3></ div>< div id= gbx4></ div></ div></ div>< textarea id= csi style= display: none></ textarea>< textarea id= wwcache style= display: none></ textarea>< noscript>< meta HTTP- EQUIV= "refresh" content= "0;url=http://images.google.com/images?hl=en&q=lol&start=306&gbv=1&ei=iFs9TrX3DI2YOpGb8PEC" > < style><!--
body{ display: none}
--></ style>
</ noscript>< div id= cnt>< div id= sfcnt>< form action= "/images" id= tsf method= GET name= gs onsubmit= "return q.value!=''" role= search style= "display:block;margin:0;background:none" >< input type= hidden name= hl value= "en" >< input type= hidden name= site value= "images" >< input type= hidden name= ie value= "ISO-8859-1" >< input type= hidden name= tbm value= "isch" >< input type= hidden name= sa value= "1" >< div>< div style= "float:left;margin-top:-7px;padding:0 18px 0 12px" >< h1>< a id= logo href= "http://www.google.com/webhp?hl=en" title= "Go to Google Home" > Google< img width= 167 height= 288 src= "/images/srpr/nav_logo80.png" alt= "" ></ a></ h1></ div>< div class= tsf- p style= "padding-bottom:2px" >< table border= 0 cellpadding= 0 cellspacing= 0 style= "position:relative;z-index:2;padding:8px 0 0;border-bottom:solid 1px #e7e7e7" >< tr>< td class= "lst-td" width= 100 %> < div style= "position:relative;zoom:1" >< input autocomplete= off class= lst type= text name= q maxlength= 2048 value= "lol" title= "Search" >< span id= tsf- oq style= "display:none" > lol</ span></ div> < td>< div class= ds id= sbds>< div class= lsbb id= sblsbb>< input type= submit name= "btnG" class= lsb value= "Search" ></ div></ div>< td>< div style= "position:relative;height:30px;z-index:2" >< div class= lsd>< div id= ss- bar style= white- space: nowrap; z- index: 98>< div id= ss- status style= float: left; position: relative>< a class= flt href= "/preferences?q=lol&start=306&hl=en&ie=UTF-8&tbm=isch&sa=F" style= "cursor:pointer;padding-bottom:0;text-decoration:none" onclick= "this.blur();window.google.safeSearchBar&&window.google.safeSearchBar.toggle(event);return false" >< u> SafeSearch moderate</ u> < small> ▼ </ small></ a>< div id= ss- box>< a href= "/setprefs?sig=0_oq7PBmdIHQ7iTIaeFHCiIMapp5s=&safeui=off&prev=http://images.google.com/images%3F hl%3Den%26q%3Dlol%26s tart%3D0%26u ss%3D1" class= "ss-link ss-unselected" id= ss- off>< span class= mark> › </ span> Off</ a>< a href= "/setprefs?sig=0_oq7PBmdIHQ7iTIaeFHCiIMapp5s=&safeui=images&prev=http://images.google.com/images%3F hl%3Den%26q%3Dlol%26s tart%3D0%26u ss%3D1" class= "ss-link ss-selected" id= ss- moderate>< span class= mark> › </ span> Moderate (recommended)</ a>< a href= "/setprefs?sig=0_oq7PBmdIHQ7iTIaeFHCiIMapp5s=&safeui=on&prev=http://images.google.com/images%3F hl%3Den%26q%3Dlol%26s tart%3D0%26u ss%3D1" class= "ss-link ss-unselected" id= ss- strict>< span class= mark> › </ span> Strict</ a>< div class= gb2>< div class= gbd></ div></ div>< a href= # class="ss-link ss-unselected" id=repha onclick="google.reportImages.render();return false" style="padding-left:12px"> Report offensive images</ a>< a href= "http://images.google.com/support/bin/answer.py?hl=en&answer=510" class= "ss-link ss-unselected" style= "padding-left:12px" > More about SafeSearch</ a></ div></ div></ div></ div></ div></ table></ div></ div></ form></ div> < style> #center_col{min-width:562px}</style> < div style= "display:none" >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t1.gstatic.com/images?q=tbn:ANd9GcQ_3QfByI0qdV3D9PUHHZhokzNne87h_LpZVKqvy_wev7U1y_oH-0bGDt0hRQ" id= ipf_uCNRxUTMLdXAM: width= 150 height= 143 >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t0.gstatic.com/images?q=tbn:ANd9GcSoCunk-mOZXKcYPOX3yuSaNvpsgtbnOg-rY7AmuNelgWJQBxip05w_SkM" id= ipfpd_ggwhuPKlwmM: width= 150 height= 89 >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t3.gstatic.com/images?q=tbn:ANd9GcRtdvEYTOI5tA0LXnhAPIdXbuNQLNDd-L6xhhRjFQkk5Mr4_KpSihtSLv8" id= ipfzJWvfTReULcGAM: width= 104 height= 135 >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t3.gstatic.com/images?q=tbn:ANd9GcT2TgFwAkGAm7fyWQGc08dCFb_FCe-Vn8FdsMJkf-MWq_GZxXomIAw2taQ" id= ipff3enTGBk6mBTPM: width= 113 height= 135 >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t0.gstatic.com/images?q=tbn:ANd9GcTrVBnrFR6r8vVugiieWXdVQe08ey9md7LMw7v4zJliocNQvKES-9DzKcw" id= ipfGXa4RZPvHNovBM: width= 130 height= 94 >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t3.gstatic.com/images?q=tbn:ANd9GcT6OvdxGa2yDGgAH3VAKCi08ygwpFw9EN1_88bDyX6ViSXXKcGzWj7Du9c" id= ipflnArOYD- BNc4YM: width= 125 height= 87 >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t3.gstatic.com/images?q=tbn:ANd9GcSj_nHo39ggyDtFziNGvJ2P8HllphB2KD_SxUNrlmkBDipe72mrprtU64U" id= ipf8RdnGU8ezRUVBM: width= 150 height= 47 >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t1.gstatic.com/images?q=tbn:ANd9GcQbbUgK1QrvfmohqwrYb00ydhPVVuLu5m3pXX8HidNS8FJ4-3ZkyiIRJB8" id= ipfoIb5MlmgiZqIjM: width= 130 height= 95 >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t3.gstatic.com/images?q=tbn:ANd9GcTtp-Ke5aoHaDnR_66c3Texr6gE6qSQG64Cbacq7xJYNgOohACYxsJQnho" id= ipfaYVX- FQhXXw2IM: width= 109 height= 135 >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t1.gstatic.com/images?q=tbn:ANd9GcSm6Vnvt2tCN75vw61nlJLQxwLTLLW4b99_ySDLWJwRSHH81-GCXhl17VR_" id= ipfw5llfUFsi49tBM: width= 100 height= 130 >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t0.gstatic.com/images?q=tbn:ANd9GcSNY0xH2A5vvLWK-eg03LfD4J4bpcCScd1rA591GKlQjSNreJQoQExKYh8" id= ipfHsJcx- Jqmms7BM: width= 150 height= 94 >< img style= "border:1px solid #ccc;padding:1px;vertical-align:bottom" src= "http://t2.gstatic.com/images?q=tbn:ANd9GcSMiL7Ux9yqTpEj59ffucByB1fBbXK4TECw0vc52m6Ur1BX657svj1nMpg" id= ipfePnGlwb7o6EaNM: width= 150 height= 94 ></ div> < script> google. isr|| ( google. isr= { } ) ; google. isr. ipf = { 'ipf_uCNRxUTMLdXAM:' : 1 , 'ipfpd_ggwhuPKlwmM:' : 1 , 'ipfzJWvfTReULcGAM:' : 1 , 'ipff3enTGBk6mBTPM:' : 1 , 'ipfGXa4RZPvHNovBM:' : 1 , 'ipflnArOYD-BNc4YM:' : 1 , 'ipf8RdnGU8ezRUVBM:' : 1 , 'ipfoIb5MlmgiZqIjM:' : 1 , 'ipfaYVX-FQhXXw2IM:' : 1 , 'ipfw5llfUFsi49tBM:' : 1 , 'ipfHsJcx-Jqmms7BM:' : 1 , 'ipfePnGlwb7o6EaNM:' : 1} ;</ script> < div id= subform_ctrl>< div style= "float:right" >< a href= "http://www.google.com/advanced_image_search?hl=en&q=lol" class= "gl nobr" id= "sflas" > Advanced search</ a></ div>< div>< div id= resultStats> Page < span id= "lowerLimit" > 16</ span> of about 223,000,000 results< nobr> (0.10 seconds) </ nobr></ div></ div></ div>< div id= rcnt style= "position:relative;zoom:1" >< div id= leftnav role= navigation style= "padding-top:3px;padding-left:4px;position:absolute;top:0;width:151px" onclick= "google.srp&&google.srp.qs(event)" >< div id= ms>< ul>< li class= "mitem" >< a href= "http://www.google.com/search?q=lol&hl=en&ie=UTF-8&source=lnms&ei=iFs9TrX3DI2YOpGb8PEC&sa=X&oi=mode_link&ct=mode&cd=1&ved=0CCkQ_AUoADiyAg" class= "q qs" >< span class= micon style= "background-position:0 -132px" ></ span> Everything</ a>< li class= "mitem msel" >< span class= micon style= "background-position:-60px -132px" ></ span> Images< li class= "mitem" >< a href= "http://www.google.com/search?q=lol&hl=en&ie=UTF-8&tbm=vid&source=lnms&ei=iFs9TrX3DI2YOpGb8PEC&sa=X&oi=mode_link&ct=mode&cd=3&ved=0CCsQ_AUoAjiyAg" class= "q qs" >< span class= micon style= "background-position:-80px -132px" ></ span> Videos</ a>< li class= "mitem" >< a href= "http://www.google.com/search?q=lol&hl=en&ie=UTF-8&tbm=nws&source=lnms&ei=iFs9TrX3DI2YOpGb8PEC&sa=X&oi=mode_link&ct=mode&cd=4&ved=0CCwQ_AUoAziyAg" class= "q qs" >< span class= micon style= "background-position:-120px -132px" ></ span> News</ a>< li class= "mitem" >< a href= "http://www.google.com/search?q=lol&hl=en&ie=UTF-8&tbm=shop&source=lnms&ei=iFs9TrX3DI2YOpGb8PEC&sa=X&oi=mode_link&ct=mode&cd=5&ved=0CC0Q_AUoBDiyAg" class= "q qs" >< span class= micon style= "background-position:-120px -152px" ></ span> Shopping</ a></ ul>< ul class= nojsb id= "hidden_modes" >< li class= "mitem" >< a href= "http://www.google.com/search?q=lol&hl=en&ie=UTF-8&tbm=bks&source=lnms&ei=iFs9TrX3DI2YOpGb8PEC&sa=X&oi=mode_link&ct=mode&cd=6&ved=0CC4Q_AUoBTiyAg" class= "q qs" >< span class= micon style= "background-position:-40px -152px" ></ span> Books</ a>< li class= "mitem" >< a href= "http://www.google.com/search?q=lol&hl=en&ie=UTF-8&tbm=plcs&source=lnms&ei=iFs9TrX3DI2YOpGb8PEC&sa=X&oi=mode_link&ct=mode&cd=7&ved=0CC8Q_AUoBjiyAg" class= "q qs" >< span class= micon style= "background-position:-80px -152px" ></ span> Places</ a>< li class= "mitem" >< a href= "http://www.google.com/search?q=lol&hl=en&ie=UTF-8&tbm=blg&source=lnms&ei=iFs9TrX3DI2YOpGb8PEC&sa=X&oi=mode_link&ct=mode&cd=8&ved=0CDAQ_AUoBziyAg" q= lol& hl= en& ie= UTF- 8 & tbm= isch& tbas= 0 & sa= X& ei= iFs9TrX3DI2YOpGb8PEC& ved= 0CAUQuAs4sgI" class=" resetTools" id=tbtro> Reset tools</ a></ ul></ ul></ div></ div>< div id= center_col>< div id= tbbcc>< div id= tbbc style= "background:#ebeff9;margin-bottom:4px;padding:8px;display:none" ></ div></ div>< div id= res class= med role= main>< div id= topstuff>< p class= "rs std" style= "padding-top:6px" >< span> Related searches:</ span> < a href= "/images?hl=en&ie=UTF-8&tbm=isch&q=lol+face&revid=548496610&sa=X&ei=iFs9TrX3DI2YOpGb8PEC&ved=0CDUQ1QIoADiyAg" style= "margin-right:10px" > lol < b> face</ b></ a>< a href= "/images?hl=en&ie=UTF-8&tbm=isch&q=lol+cats&revid=548496610&sa=X&ei=iFs9TrX3DI2YOpGb8PEC&ved=0CDYQ1QIoATiyAg" style= "margin-right:10px" > lol < b> cats</ b></ a></ div>< h2 class= hd> Search Results</ h2>< div id= ires>< ol>< textarea id= rpst style= display: none></ textarea>< div id= ImgCont>< div id= ImgContent></ div>< div id= rw></ div>< span class= std id= tcell></ span> < script> ( function( ) { google. bind= function( a, b, c) { google. listen( a, b, c) } ; google. listen= function( a, b, c) { var d= "on" + b; if( a. addEventListener) a. addEventListener( b, c, false ) ; else if ( a. attachEvent) a. attachEvent( d, c) ; else{ var e= a[ d] ; a[ d] = function( ) { var g= e. apply( this, arguments) , f= c. apply( this, arguments) ; return g== undefined?f: f== undefined?g: f&& g} } } ; google. unbind= function( a, b, c) { google. unlisten( a, b, c) } ; google. unlisten= function( a, b, c) { a. removeEventListener?a. removeEventListener( b, c, false ) : a. detachEvent( "on" + b, c) } ; var h= 0, i= false ; google. listen( window, "resize" , j) ; function j( ) { var a= false ; if( ! k. isCorrectDimensions( ) ) { a= true ; l( ) } m. postCheckCanvasSize( a) } function l( ) { k. create( ) ; m. renderResults( ) ; n. update( ) ; dyn. onr&& dyn. onr( { } ) } function o( a) { return a?a. replace( /</ g, "%3C" ) . replace( />/ g, "%3E" ) . replace( / "/g," % 22 ").replace(/'/g," % 27 ").replace(/{/g," % 7B").replace(/}/g," % 7D").replace(/ /g," % 20 "):a}
window.dyn={initialize:function(a,b,c){this.updateCommonParams(a);h=b;i=c},updateCommonParams:function(a){m.updateCommonParams(a)},getCommonParams:function(){return m.getCommonParams()},updateBaseUrl:function(a){n.injectedBaseUrl=o(a);if(a){if(a=a.match(/[?&]start=(\d+)/))h=+a[1]}else h=0},updateStartUrlParam:function(a){h=a},updateNavbar:function(){n.updateNavbar()},setIsLast:function(a){i=a},getIsLast:function(){return i},checkCanvasSize:function(){j()},setResults:function(a){m.setResults(a);l()},
getResults:function(){return m.getResults()},injectRenderers:function(a,b){m.injectRenderers(a,b);l()},restoreRenderers:function(){m.restoreRenderers();l()},setImgSrc:function(a,b){m.setImgSrc(a,b)}};dyn.onr=function(){};
var k={G:[18,20,20,18,21],b:3,k:0,j:" left",i:function(){return document.getElementById(" rw").offsetWidth},v:function(){return document.body&&document.body.clientHeight?document.body.clientHeight:window.innerHeight},getNumberOfImagesToShow:function(){return i?21:this.G[this.b-3]},o:function(){var a=Math.floor(this.i()/this.B());return Math.max(3,Math.min(7,a))},B:function(){return 180},getHorizontalCellPadding:function(){return 16},getCurrentNumColumns:function(){return this.b},getCurrentNumRows:function(){return this.k},
C:function(a){return Math.ceil(this.getNumberOfImagesToShow()/a)},getColumnWidth:function(){return this.i()/this.b},isCorrectDimensions:function(){return this.b==this.o()},z:function(a,b,c){return[" < td id= tDataImage",a," style= padding- top: ",b?" 0px":" 16px"," align= ",this.j," nowrap valign= bottom width= ",c," %> "].join(" ")},D:function(a,b){return[" < td id= tDataText",a," align= ",this.j," valign= top width= ",b," %> "].join(" ")},create:function(){for(var a=0,b=this.b=this.o(),c=this.k=this.C(b),d=100/b,e=[" < table width= 100 % class= ts id= imgtb> "],
g=0;g<c;g++){for(var f=[" < tr> "],r=[" < tr> "],s=0;s<b;s++){f.push(this.z(a,g==0,d));r.push(this.D(a,d));a++}e.push(f.join(" "),r.join(" "))}e.push(" </ table> ");document.getElementById(" ImgContent").innerHTML=e.join(" ");this.H()},H:function(){if(Math.random()<=0.01)(new Image).src=[" / gen_204?bw= ",this.i()," & bh= ",this.v()," & ncols= ",this.b," & nimg= ",this.getNumberOfImagesToShow()," & atyp= i"].join(" ")}},m={d:[],h:" ",g:document.getElementById(" tcell"),f:0,s:0,e:0,l:0,postCheckCanvasSize:function(){},updateCommonParams:function(a){this.h=
a},getCommonParams:function(){return this.h},setResults:function(a){this.d=a;a=[];for(var b=[],c=0,d;d=this.d[c++];){a.push(d[6]);b.push(d[11])}this.s=this.m(a);this.l=this.m(b)},getResults:function(){return this.d},renderResults:function(){this.J();for(var a=k.getNumberOfImagesToShow(),b=0,c;b<a&&(c=this.d[b++]);)this.I(c,b-1)},J:function(){var a=k.getColumnWidth()-k.getHorizontalCellPadding();this.f=this.p(a,this.s);this.e=this.p(a,this.l)},p:function(a,b){return Math.floor(0.9*a/b)},getNumImages:function(){return this.d.length},
m:function(a){this.g.innerHTML=a.join(" ").replace(/<\/?b>/g," ");a=this.g.clientWidth/this.g.innerHTML.length;this.g.innerHTML=" ";return a},I:function(a,b){var c=" ipf"+a[2],d=google.isr&&google.isr.ipf&&google.isr.ipf[c];document.getElementById(" tDataImage"+b).innerHTML=this.a(a,b,d);if(d){document.getElementById(" apf"+b).appendChild(document.getElementById(c));delete google.isr.ipf[c]}document.getElementById(" tDataText"+b).innerHTML=this.c(a,b)},a:function(a,b,c){var d=this.A(a),e=['<a href=" ',a[0],
"&tbnid=",a[2],"&tbnh=",a[5],"&tbnw=",a[4],this.h,' " ',a[1]];if(c)e.push(" id= apf",b);else{e.push(" >< img id= ",a[2],' style=" border: 1px solid #ccc;padding:1px;vertical-align:bottom');e.push('"');d&&e.push(" src=",d);a[4]&&
a[ 5 ] && e. push( " width=" , a[ 4 ] , " height=" , a[ 5 ] ) } e. push( "></a>" ) ; return e. join ( "" ) } , c: function( a, b) { var c= [ "<div class=std>" , this. L( a[ 6] ) ] , d= this. K( a[ 11] ) ; c. push( "<div class=f>" , a[ 9 ] , a[ 10 ] ?" - " + a[ 10 ] : "" , '</div><div class=a><cite style="font-style:normal"' , d!= a[ 11 ] ?' title="' + a[ 11 ] + '">' : ">" , d, "</cite></div>" , this. t( a, b) ) ; c. push( "</div>" ) ; return c. join ( "" ) } , L: function( a) { var b= a. replace( /< \/ ?b>/ g, "" ) ; if( b. length> this. f) { for ( ; b. length> this. f; ) { var c= a. lastIndexOf( " " ) ; if( c>= 0) { a= a. slice( 0, c) ; b= b. slice( 0 , b. lastIndexOf( " " ) ) } else { a= a. slice( 0, this. f) ; break} } a= a. replace( /< $|< \/ ?b?> ?$/, "" ) ; b= a. lastIndexOf( "<b>" ) ; if( b>- 1 && a. indexOf( "</b>" , b) ==- 1 ) a+= "</b>" } return a} , K: function( a) { if ( a. length> this. e) { a= this. e> 3 ?a. slice( 0 , this. e- 3) : "" ; var b= a. lastIndexOf( "." ) ; if( b>= 0) a= a. slice( 0, b) ; a= a. replace( / [ -. ] \w?$/, "" ) + "..." } return a} , injectRenderers: function( a, b) { this. q= this. q|| this. a; this. r= this. r|| this. c; this. a= a|| this. a; this. c= b|| this. c} , restoreRenderers: function( ) { this. a= this. q|| this. a; this. c= this. r||
this. c} , t: function( a, b) { if ( a[ 18] ) { var c= n. injectedBaseUrl|| o( document. location. href) ; c= c. replace( / #.*/,"");var d=c.match(/[?&]start=(\d+)/);d&&parseInt(d[1],10);c=p(c,"i_similar");c=q(c,"start");c=q(c,"cd");c=q(c,"cad");c=q(c,"as_st");c=t(c,"sa","X");c=t(c,"ei",google.kEI);c=t(c,"ct","img-sim-l");c=t(c,"oi","image_sil");c=t(c,"resnum",b+1+"");c=t(c,"tbnid",""+a[2]);return['<div class=eft><a class=fl href="',
c, "\" >Find similar images</a></div>" ] . join ( "" ) } return "" } , setImgSrc: function( a, b) { for ( var c= 0, d; d= this. d[ c] ;++ c) if ( d[ 2] == a) { d[ 19] = b; if( a= document. getElementById( "tDataImage" + c) ) a. innerHTML= this. a( d, c) ; break} } , F: function( a) { return a[ 21] || [ a[ 14 ] , "?q=tbn:" , a[ 2] ] . join ( "" ) } , A: function( a) { return a[ 19 ] == "#" ?"" : a[ 19] || this. F( a) } } , n= { injectedBaseUrl: "" , n: function( ) { return document. getElementById( "navbar" ) || document. getElementById( "nav" ) } , update: function( ) { this. updateNavbar( ) ; this. M( ) } , updateNavbar: function( ) { var a= this. n( ) ; if( a) { var b= k. getNumberOfImagesToShow( ) ; a= a. getElementsByTagName( "a" ) ; for( var c= this. u( ) , d= 0, e; e= a[ d++ ] ; ) { var g= this. injectedBaseUrl|| e. href, f= e. href. match( / [ ?& ] start= ( \d+ ) / ) ; f= f?+ f[ 1] : 0 ; f= Math. round ( f/ c) ; f= f* b; g= t( g, "start" , f+ "" ) ; e. href= t( g, "ndsp" , b+ "" ) } } } , u: function( ) { var a= this. n( ) , b= a. getElementsByTagName( "a" ) [ 0] ; a=/ [ ?& ] ndsp= ( \d+ ) /; if( b) if ( ( b= b. href. match( a) ) && b[ 1] > 0) return parseInt( b[ 1] , 10) ; if( ( a= this. w( ) . match( a) ) && a[ 1] > 0) return parseInt( a[ 1] , 10) ; return 21 } , M: function( ) { var a= document. getElementById( "upperLimit" ) ; if( a) { var b= h; if( ! ( b< 0) ) { var c= parseInt( a. innerHTML, 10) ; if( ! ( ! isNaN( c) && b>= c) ) { c= m. getNumImages( ) ; var d= i?c: k. getNumberOfImagesToShow( ) ; if( c< d) d= c; d= b+ d; document. getElementById( "lowerLimit" ) . innerHTML= b+ 1 ; a. innerHTML= d} } } } , w: function( ) { return location. href} } ; function t( a, b, c) { return [ a. replace( new RegExp( "([?&])" + b+ "=([^&]*)&?" , "i" ) , "$1 " ) . replace( /& $/ i, "" ) , "&" , b, "=" , c] . join ( "" ) } function q( a, b) { b= new RegExp( "[?&]" + b+ "=[^&]*" , "gi" ) ; a= a. replace( b, "" ) ; return a= a. replace( / ^( [ ^?& ] * ) & ( .* ) /, "$1 ?$2 " ) } function u( a, b) { if ( ! a) return b; return( new RegExp( "(,|^)" + b+ "(,|$)" ) ) . test( a) ?a: b+ "," + a} function p( a, b) { for ( var c=/ [ ?& ] imgtype= ( [ ^& ] * ) / g, d= null , e= "" ; d= c. exec ( a) ; ) e= d[ 1] ; return t( a, "imgtype" , u( e, b) ) } } ) ( ) ; dyn. initialize( '\x26prev\x3d/images%3Fq%3Dlol%26start%3D306%26hl%3Den%26ie%3DUTF-8%26tbm%3Disch\x26ei\x3diFs9TrX3DI2YOpGb8PEC' , 306, 0) ; dyn. setResults( [ [ "/imgres?imgurl\x3d http://upload.wikimedia.org/wikipedia/commons/f/f5/Lol_Creme.jpg\x26 imgrefurl\x3d http://uriverse.com/dbp/thing/Lol_Creme\x26 usg\x3d __FO8MnwXpCRYzPq7csmr5AM_xoos\x3d \x26 h\x3d 3176\x26 w\x3d 3322\x26 sz\x3d 4328\x26 hl\x3d en\x26 start\x3d 307\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "_uCNRxUTMLdXAM:" , "" , "150" , "143" , "\x3c b\x3e Lol\x3c /b\x3e Creme is an English" , "" , "" , "3322 × 3176 - 4328k" , "jpg" , "uriverse.com" , "" , "" , "http://t1.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t1.gstatic.com/images?q\x3d tbn:ANd9GcQ_3QfByI0qdV3D9PUHHZhokzNne87h_LpZVKqvy_wev7U1y_oH-0bGDt0hRQ" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEgn-4I1HFRMwtyGN2et2LGYWug" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://www.deviantart.com/download/193932604/lol__ezreal_v_4_by_myyyth-d37gncs.jpg\x26 imgrefurl\x3d http://clients.ingenious-web.com/saharaserum/wp-admin/ezreal-lol\x26 usg\x3d __DJzuDqRgn3OXprCnaZjYmq3cfaU\x3d \x26 h\x3d 717\x26 w\x3d 1215\x26 sz\x3d 156\x26 hl\x3d en\x26 start\x3d 308\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "pd_ggwhuPKlwmM:" , "" , "150" , "89" , "or \x3c b\x3e lol\x3c /b\x3e is prodigal v" , "" , "" , "1215 × 717 - 156k" , "jpg" , "clients.ingenious-web.com" , "" , "" , "http://t0.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t0.gstatic.com/images?q\x3d tbn:ANd9GcSoCunk-mOZXKcYPOX3yuSaNvpsgtbnOg-rY7AmuNelgWJQBxip05w_SkM" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEgml3-CDCG48qSGUA3iGZ4ir6w" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://djsaeed.ca/wp-content/uploads/2009/11/LOL-Lounge-Nov-13.jpg\x26 imgrefurl\x3d http://djsaeed.ca/%3F p%3D48\x26 usg\x3d __ljja1gfml0W0niVxO5oeNpcYoU8\x3d \x26 h\x3d 604\x26 w\x3d 467\x26 sz\x3d 56\x26 hl\x3d en\x26 start\x3d 309\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "zJWvfTReULcGAM:" , "" , "104" , "135" , "Nov 13 – \x3c b\x3e LOL\x3c /b\x3e Lounge" , "" , "" , "467 × 604 - 56k" , "jpg" , "djsaeed.ca" , "" , "" , "http://t3.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t3.gstatic.com/images?q\x3d tbn:ANd9GcRtdvEYTOI5tA0LXnhAPIdXbuNQLNDd-L6xhhRjFQkk5Mr4_KpSihtSLv8" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEgnMla99NF5QtyEXtWKA_1g--Bw" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://lolblog.co.uk/wp-content/uploads/2008/06/jesus_lol.jpg\x26 imgrefurl\x3d http://www.lolblog.co.uk/2008/06/jesus-owns-eric/\x26 usg\x3d __7uHXhmzG57_rf36Kzj8MC_ncw3E\x3d \x26 h\x3d 599\x26 w\x3d 500\x26 sz\x3d 88\x26 hl\x3d en\x26 start\x3d 310\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "f3enTGBk6mBTPM:" , "" , "113" , "135" , "services" , "" , "" , "500 × 599 - 88k" , "jpg" , "lolblog.co.uk" , "" , "" , "http://t3.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t3.gstatic.com/images?q\x3d tbn:ANd9GcT2TgFwAkGAm7fyWQGc08dCFb_FCe-Vn8FdsMJkf-MWq_GZxXomIAw2taQ" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEgl_1d6dMYGTqYCGuPg_1T_1kB79A" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://dobrochan.ru/src/jpg/1009/LolCat7.jpg\x26 imgrefurl\x3d http://alisonmilne.com/images/index.php%3F q%3Dlol%2Bcat\x26 usg\x3d __OOzfHqpgOQE-dmso1nuM9TqPBMk\x3d \x26 h\x3d 363\x26 w\x3d 500\x26 sz\x3d 37\x26 hl\x3d en\x26 start\x3d 311\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "GXa4RZPvHNovBM:" , "" , "130" , "94" , "\x3c b\x3e lol\x3c /b\x3e cat" , "" , "" , "500 × 363 - 37k" , "jpg" , "alisonmilne.com" , "" , "" , "http://t0.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t0.gstatic.com/images?q\x3d tbn:ANd9GcTrVBnrFR6r8vVugiieWXdVQe08ey9md7LMw7v4zJliocNQvKES-9DzKcw" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEgkZdrhFk-8c2iGXPUPKil79BQ" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://tomatogreetings.com/wp-content/uploads/2010/01/LOL-logo.jpg\x26 imgrefurl\x3d http://tomatogreetings.com/our-cards/lol-catz-cards/\x26 usg\x3d __NEq8H6qlm8WgU5nJ6WZpXbHgE7o\x3d \x26 h\x3d 289\x26 w\x3d 414\x26 sz\x3d 60\x26 hl\x3d en\x26 start\x3d 312\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "lnArOYD-BNc4YM:" , "" , "125" , "87" , "\x3c b\x3e LOL\x3c /b\x3e Catz cards are a recent" , "" , "" , "414 × 289 - 60k" , "jpg" , "tomatogreetings.com" , "" , "" , "http://t3.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t3.gstatic.com/images?q\x3d tbn:ANd9GcT6OvdxGa2yDGgAH3VAKCi08ygwpFw9EN1_88bDyX6ViSXXKcGzWj7Du9c" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEgmWcCs5gP4E1yEWEjD9qu73Vw" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://img18.imageshack.us/img18/8481/uisidebyside.jpg\x26 imgrefurl\x3d http://neogaf.net/forum/showthread.php%3F t%3D377836\x26 usg\x3d __9ZnrtBzWazVH91n-Ju7fOp8xf9U\x3d \x26 h\x3d 1050\x26 w\x3d 3360\x26 sz\x3d 3053\x26 hl\x3d en\x26 start\x3d 313\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "8RdnGU8ezRUVBM:" , "" , "150" , "47" , "edit: i found this on the \x3c b\x3e lol\x3c /b\x3e " , "" , "" , "3360 × 1050 - 3053k" , "jpg" , "neogaf.net" , "" , "" , "http://t3.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t3.gstatic.com/images?q\x3d tbn:ANd9GcSj_nHo39ggyDtFziNGvJ2P8HllphB2KD_SxUNrlmkBDipe72mrprtU64U" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEgnxF2cZTx7NFSF3OaRHOgDByw" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://www.quotergal.com/goners/qg-lol-buffy-1.jpg\x26 imgrefurl\x3d http://whedonesque.com/comments/13761\x26 usg\x3d __4WMk1DUISEJortZCmphWJRiDiro\x3d \x26 h\x3d 364\x26 w\x3d 498\x26 sz\x3d 163\x26 hl\x3d en\x26 start\x3d 314\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "oIb5MlmgiZqIjM:" , "" , "130" , "95" , "(I love the \x3c b\x3e lol\x3c /b\x3e -fireflies." , "" , "" , "498 × 364 - 163k" , "jpg" , "whedonesque.com" , "" , "" , "http://t1.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t1.gstatic.com/images?q\x3d tbn:ANd9GcQbbUgK1QrvfmohqwrYb00ydhPVVuLu5m3pXX8HidNS8FJ4-3ZkyiIRJB8" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEgmghvkyWaCJmiFsAEYgeZ8DtA" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://images2.fanpop.com/images/photos/6700000/LOL-inuyasha-6794036-483-600.jpg\x26 imgrefurl\x3d http://www.fanpop.com/spots/inuyasha/images/6794036/title/lol\x26 usg\x3d __CPPJ_BQbqUpisoBAI-pmE2b1nBY\x3d \x26 h\x3d 600\x26 w\x3d 483\x26 sz\x3d 72\x26 hl\x3d en\x26 start\x3d 315\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "aYVX-FQhXXw2IM:" , "" , "109" , "135" , "\x3c b\x3e LOL\x3c /b\x3e !" , "" , "" , "483 × 600 - 72k" , "jpg" , "fanpop.com" , "" , "" , "http://t3.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t3.gstatic.com/images?q\x3d tbn:ANd9GcTtp-Ke5aoHaDnR_66c3Texr6gE6qSQG64Cbacq7xJYNgOohACYxsJQnho" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEglphVf4VCFdfCEmBqDpN-uITw" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://iworld4you.com/wp-content/uploads/2009/06/denise10.jpg\x26 imgrefurl\x3d http://www.1up.com/features/clash-dotas-league-legends-heroes\x26 usg\x3d __QjnzjmhDEAlT4zdL6ydEAm1hwt4\x3d \x26 h\x3d 490\x26 w\x3d 376\x26 sz\x3d 53\x26 hl\x3d en\x26 start\x3d 316\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "w5llfUFsi49tBM:" , "" , "100" , "130" , "Consumating, both, \x3c b\x3e LoL\x3c /b\x3e \x26 amp; HoN" , "" , "" , "376 × 490 - 53k" , "jpg" , "1up.com" , "" , "" , "http://t1.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t1.gstatic.com/images?q\x3d tbn:ANd9GcSm6Vnvt2tCN75vw61nlJLQxwLTLLW4b99_ySDLWJwRSHH81-GCXhl17VR_" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEgnDmWV9QWyLjyGkNw_1R6tsffw" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://riot-web-static.s3.amazonaws.com/images/getting_started/ChampionSelect.jpg\x26 imgrefurl\x3d http://www.fearlessgamer.com/2010/02/26/lol-my-first-experience-with-the-queue-dodge-penalty/\x26 usg\x3d __brj4uoh-oZ14XzSI28tDSZiEHaM\x3d \x26 h\x3d 799\x26 w\x3d 1278\x26 sz\x3d 212\x26 hl\x3d en\x26 start\x3d 317\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "HsJcx-Jqmms7BM:" , "" , "150" , "94" , "seen in \x3c b\x3e League of Legends\x3c /b\x3e :" , "" , "" , "1278 × 799 - 212k" , "jpg" , "fearlessgamer.com" , "" , "" , "http://t0.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t0.gstatic.com/images?q\x3d tbn:ANd9GcSNY0xH2A5vvLWK-eg03LfD4J4bpcCScd1rA591GKlQjSNreJQoQExKYh8" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEgkewlzH4mqaayGSEAYbBx83ww" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://screens.latestscreens.com/pc/screenshots/leagueoflegends/LOL_SS6.jpg\x26 imgrefurl\x3d http://www.supercheats.com/pc/leagueoflegendsscreenshots.htm\x26 usg\x3d ___ILYgZMiznCP7kV6_aV2ts7euag\x3d \x26 h\x3d 640\x26 w\x3d 1024\x26 sz\x3d 120\x26 hl\x3d en\x26 start\x3d 318\x26 zoom\x3d 1\x26 itbs\x3d 1" , "" , "ePnGlwb7o6EaNM:" , "" , "150" , "94" , "\x3c b\x3e League of Legends\x3c /b\x3e Screenshots" , "" , "" , "1024 × 640 - 120k" , "jpg" , "supercheats.com" , "" , "" , "http://t2.gstatic.com/images" , "0" , [ ] , "" , 1 , "" , [ ] , "http://t2.gstatic.com/images?q\x3d tbn:ANd9GcSMiL7Ux9yqTpEj59ffucByB1fBbXK4TECw0vc52m6Ur1BX657svj1nMpg" , "" , "" , "" , "" , "" , "" , "/search?q\x3d lol\x26 hl\x3d en\x26 ie\x3d UTF-8\x26 tbm\x3d isch\x26 tbs\x3d simg:CAQSEgl4-caXBvujoSGoL2loN4EKxA" , "More sizes" , "" , [ ] ] , [ "/imgres?imgurl\x3d http://bostonist.com/attachments/austinist_kerry/hear-lunch-lol.jpg\x26 imgrefurl\x3d http://bostonist.com/2009/03/12/packin_a_lunch_ur_doin_it_wrong.php\x26 usg\x3d __XOPxHkOzEdZhuYsxfgjw_medESw\x3d \x26 h\x3d 375\x26 w\x3d 500\x26 sz\x3d 48\x26 hl
вот так это выглядит в php
проблема в том, что в пхп ничего не ищет, хотя в конструкторе всё нормально, я как понимаю синтаксис именно для пхп нужен немного другой, никто не в курсе?
fireXXX
Отправлено: 08 Ноября, 2010 - 06:35:11 • Тема: Зазиповать без дополнительной папки • Форум: Программирование на PHP
Ответов: 0 Просмотров: 180
Привет, такой код
PHP:
скопировать код в буфер обмена
//папка в которой будет размещен архив
$archive_dir = "zip/" ;
//папка с исходными файлами
$src_dir = "shablon/" ;
//создание zip архива
$zip = new ZipArchive( ) ;
//имя файла архива
$fileName = $archive_dir . "$newFile " . date ( "d-m-Y-h-i-s" ) . ".zip" ; if ( $zip -> open ( $fileName , ZIPARCHIVE:: CREATE ) !== true ) {
fwrite ( STDERR
, "Error while creating archive file" ) ; }
//добавляем файлы в архив все файлы из папки src_dir
while ( false !== ( $file = readdir ( $dirHandle ) ) ) {
$zip -> addFile ( $src_dir . $file , $file ) ;
}
//закрываем архив
$zip -> close ( ) ;
fwrite ( STDOUT
, "Archive created\n " )
Проблема в том, что он создает архив, но в этом архиве папка(а в ней файлы)! А мне надо, чтобы папки не было в нем, чтобы я зашел в public_html и выгрузил это 2мя щелчками мышки, не знаете, что тут поправить?
fireXXX
Отправлено: 03 Ноября, 2010 - 04:13:25 • Тема: Зачем используют двойной подчеркивание? • Форум: Программирование на PHP
Ответов: 3 Просмотров: 473
Достался проект, в нем куча переменных с двойным подчеркиванием, какой в это вкладывают смысл?
Например
PHP:
скопировать код в буфер обмена
require_once $__dROOT . 'common.php' ;
require_once $__dROOT . 'admin/common.php' ;
$__ID_ZDROJE = 7 ;
$__PS = new PageState( 'admin/' . $_GET [ '___page' ] ) ;
////////////////////////////////////////////////////////////////////////////
// uzivatel
require_once $__dROOT . 'admin/classes/cUzivatel.php' ;
if ( isset ( $_GET [ '__logout' ] ) )
{
cUzivatel:: Logout ( ) ;
}
fireXXX
Отправлено: 27 Сентября, 2010 - 18:03:49 • Тема: как "поднять монитор" ? • Форум: JavaScript & VBScript
Ответов: 3 Просмотров: 1749
У меня есть по длине большая страница, юзер находится внизу, жмет кнопку "Далее", этот длинный див перегружается аяксом и основной текст уже находится вверху, надо поскролить наверх, чтобы его почитать. Это не очень удобно.
Я делаю так
После релоада нужного дива, иду по этой ссылке, монитор из-за этого поднимается
Но тогда в адресной строке прописывается в конце #, что мне не очень нравится.
Как вы эту проблему решаете?
fireXXX
Отправлено: 21 Сентября, 2010 - 15:21:08 • Тема: Подгрузка js через аякс и выполнение скриптов • Форум: JavaScript & VBScript
Ответов: 6 Просмотров: 4080
JustUserR пишет: возможно использовать дополнительную оболочку для внутреннего кода и ее исполнение при полной AJAX-загрузке
а можно чуть более пояснить в данном фрагменте?
Что есть дополнительная оболочка?
AdMeen, да там просто кода много
(Добавление)
опять решил все через .live и переписывания click(), писал тут недавно на форуме про это
а вот как вы делаете такое, очень интересно узнать
fireXXX
Отправлено: 21 Сентября, 2010 - 12:08:23 • Тема: Подгрузка js через аякс и выполнение скриптов • Форум: JavaScript & VBScript
Ответов: 6 Просмотров: 4080
Что тут непонятного, если не можете понять, не надо говорить, что это непонятный набор слов.
Зачем обработчик форм? Просто логика, как делаете, если вам надо аяксом подгрузить другую страницу, у которой есть js скрипты свои(валидация например), т.е. сам хтмл код + скрипты.
Подгружаете скрипты аяксом тоже или изначально эти скрипты подключаете на первую страницу?
fireXXX
Отправлено: 20 Сентября, 2010 - 18:27:45 • Тема: Подгрузка js через аякс и выполнение скриптов • Форум: JavaScript & VBScript
Ответов: 6 Просмотров: 4080
Столкнулся с проблемой, есть страница, кнопка далее, жму ее, в этот же самый див через аякс заливается другое содержимое, в этом содержимом форма.
Так вот, у этой формы есть валидация в Js, вопрос, куда пихнуть эти скрипты?
Залил их в див(между тегами скрипт), который подгружался в исконный див - не работают.
Оставил их на самой первой странице, чтобы они работали с подключенным дивом, тоже не работают.
Получается как это решают?
Вот надо вам подгрузить форму через аякс, форма то подгрузится, а ее Js обработчики как подгружаете, чтобы это еще все работало?
fireXXX
Отправлено: 07 Сентября, 2010 - 11:35:51 • Тема: Отправить 2 формы за 1 клик • Форум: Программирование на PHP
Ответов: 8 Просмотров: 982
Да там навешано в коде миллион всего, врядли кто-то будет бесплатно разбираться. Поэтому не запостил код.
"вешать click на кнопку формы бесполезно т.к. по нажатию enter отравится вся форма."
можно пояснить? клик выполняет имитирование кнопки ентер на странице или что?
fireXXX
Отправлено: 06 Сентября, 2010 - 18:25:06 • Тема: Отправить 2 формы за 1 клик • Форум: Программирование на PHP
Ответов: 8 Просмотров: 982
Добрый день
есть у меня форма покупки товара. Большая кнопка купить.
Я хочу, чтобы при нажатии на большую кнопку купить, сначала отправлялась маленькая аякс форма с сайта, а потом уже был переход по этой форме главной.
В итоге я на кнопку купить повешал в onClick функцию jquery которая кликает по сабмиту маленькой формы.
Итого:
жму большую кнопку , кликается сначала кнопка в маленькой форме, видно что пошел виз. эффект, далее идет переход на страницу товаров. Все вроде нормально. Но там видно, что там хоть и виз. эффект был, но маленькая форма не сработала(инфа в бд не добавилась).
Уверен, что проблема распространненая, мб кто подскажет?
Как отправить 2 формы одной кнопкой?
спасибо за внимание
fireXXX
Отправлено: 01 Сентября, 2010 - 11:23:17 • Тема: Ajax, выполнение формы и снова аякс • Форум: JavaScript & VBScript
Ответов: 4 Просмотров: 1940
Да код вроде идентичный,
попробовал врубиться в live ,
за место
написал следующее
Заработало! Но не работает в ИЕ, есть решения?
(Добавление)
может кому пригодится, нашел решение, у кого такие проблемы вот хак
CODE (
javascript ):
скопировать код в буфер обмена
var originalLive = jQuery.fn .live ;
jQuery.fn .live = function ( types) {
var self = this ;
var args = arguments;
if ( types == 'click' ) {
setTimeout( function ( ) {
originalLive.apply ( self, args) ;
} , 0) ;
} else {
originalLive.apply ( self, args) ;
}
} ;
Чтоб заработало - теперь надо просто sumbit поменять на click (без этого хака просто клик не работал, так как надо)
fireXXX
Отправлено: 31 Августа, 2010 - 18:02:46 • Тема: Ajax, выполнение формы и снова аякс • Форум: JavaScript & VBScript
Ответов: 4 Просмотров: 1940
Добрый день,
у меня есть страница с формами jquery form plugin.
Жму самбит -> обновляю аяксом тот же самый ДИВ в котором нажал сабмит -> нажимаю еще раз самбит -> аякс не работает, форма уходит на другой урл
Это что? Это какая-то проблема видимости с ДОМ элементами после перегруза или?
Или просто в коде ошибка и такая логика должна работать?
Если кто врубился - спасибо.
Страниц (9): [1] 2 3 4 5 6 7 8 9 »
Powered by ExBB FM 1.0 RC1. InvisionExBB