< ?php define('GOOGLE_API_KEY', ''); function pete_curl_get($url, $params){$post_params = array(); foreach ($params as $key => &$val) { if (is_array($val)) $val = implode(',', $val); $post_params[] = $key.'='.urlencode($val); } $post_string = implode('&', $post_params); $fullurl = $url."?".$post_string; $ch = curl_init();curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);curl_setopt($ch, CURLOPT_URL, $fullurl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608'); $result = curl_exec($ch);curl_close($ch); return $result; } function perform_google_web_search($termstring) { $start = 0; $result = array(); while ($start<10) { $searchurl = 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0'; $searchurl .= '&key='.'ABCDEFG'; //ganti ABCDEFG dengan kode api Google http://code.google.com/apis/ajaxsearch/signup.html $searchurl .= '&start='.$start; $searchurl .= '&rsz=large'; //kamu bisa pake "small" untuk menampilkan hanya 4 (maksimal) pencarian $searchurl .= '&filter=1'; //kamu bisa ganti "filter=1" untuk mem-filter hasil pencarian $searchurl .= '&q='.urlencode($termstring); $response = pete_curl_get($searchurl, array()); $responseobject = json_decode($response, true); if (count($responseobject['responseData']['results'])==0) break; $allresponseresults = $responseobject['responseData']['results']; foreach ($allresponseresults as $responseresult) { $result[] = array( 'url' => $responseresult['url'], 'title' => $responseresult['title'], 'abstract' => $responseresult['content'], ); } $start += 8; } return $result; } if (isset($_REQUEST['s'])) { $termstring = urldecode($_REQUEST['s']); } else { $termstring = '';} ?> Top Eleven Download Aplikasi Hack Token | Top dan Populer Info

Top Eleven, Download Aplikasi Hack Token Untuk Facebook Terbaru

Top Eleven, Download Aplikasi Hack Token Untuk Facebook Terbaru

Bagi anda yang senang dalam bermain game online di Facebook, tentunya sudah mengetahui akan keberadaan game Top Eleven. Top Eleven adalah sejenis game football manager yang berada di Facebook....