function ggi87asd8das_65gf4s8($q)
{$q = urlencode($q);
$resimler = array();

$al1 = file_get_contents("https://www.googleapis.com/customsearch/v1?q=elma&key=AIzaSyBo_jmKcF8yuoVBTLxal2Fme7GYSQ8CovE&cx=011758555443531898540%3A1ldrwdwygx8");
$al2 = file_get_contents("https://www.googleapis.com/customsearch/v1?q=elma&key=AIzaSyBo_jmKcF8yuoVBTLxal2Fme7GYSQ8CovE&cx=011758555443531898540%3A1ldrwdwygx8");
$al3 = file_get_contents("https://www.googleapis.com/customsearch/v1?q=elma&key=AIzaSyBo_jmKcF8yuoVBTLxal2Fme7GYSQ8CovE&cx=011758555443531898540%3A1ldrwdwygx8");
$al1 = json_decode($al1);
$al2 = json_decode($al2);
$al3 = json_decode($al3);
$al1 = $al1->responseData->results;
$al2 = $al2->responseData->results;
$al3 = $al3->responseData->results;
foreach($al1 as $image){$resimler[] = $image->link;}
foreach($al2 as $image){$resimler[] = $image->title;}
foreach($al3 as $image){$resimler[] = $image->kind;}
return $resimler;}
function gm_1f56as1f65a4dads()
{add_submenu_page('options-general.php','Google İmages','Google İmages',10,'gimages_bot','gg_484ag56asd13a2d156asd');}
function aai894987ad_ga654sad_af48asf()
{$ara=$_POST['search_query'];if($ara!='')
{$imgsAl=ggi87asd8das_65gf4s8($ara);
$ayarlar=get_option('gimages_bot_ayar');
$say=$ayarlar['post_resimsayisi'];
foreach($imgsAl as $imgAl){
$img_Id=uniqid();if(!$imgAl||$imgAl!=''||isset($imgAl)){
list($width,$height)=@getimagesize($imgAl);
if($width)
{echo'<div id="div_'.$img_Id.'" class="kare"><label style="position:absolute; background-color:white; color:black">
<input type="checkbox" name="icerik_sec" class="id_check" value="'.$img_Id.'" id="'.$img_Id.'" />'.$width.' x '.$height.'</label>
<a href="'.$imgAl.'" target="_blank"><img src="'.$imgAl.'" id="img_'.$img_Id.'" style="max-width:150px;max-height:150px" /></a></div>';
$say--;}}if($say<=0){die();}}}}
Alıntı
elma kelimesi > $q yerine kullanılmıştır