Ekim 29, 2019

Her Seferde Başka Linke Atan Popup Kodu

<?php
 
header("Content-Type: text/html; charset=utf-8");
 
$siteler = array(
'https://www.site.com',
'https://www.site.com',
'https://www.site.com',
'https://www.site.com',
'https://www.site.com',
'https://www.site.com',
'https://www.site.com',
'https://www.site.com',
'https://www.site.com',
'https://www.site.com',
'https://www.site.com',
'https://www.site.com',
);
 
 
$sayilar = array(
'1',
'2',
'5',
'7',
'8',
'9',
'3',
'0',
'4',
'6',
'11',
'10',
);
 
 
$kac_site_var = count($siteler);
$kac_site_var--;
 
$rastgele = rand($kac_sayi_var,$kac_site_var);
 
$kac_sayi_var = count($sayilar);
 
$rastgele_site = $siteler[$rastgele];
 
?>
<script type="text/javascript">
window.location = "<?php echo $rastgele_site; ?>"
</script>

 

You may also like...

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir


Fatal error: Uncaught Error: Call to undefined method Ressio_HtmlOptimizer_Dom_Element::addChild() in /home/altiltoy/siteler/serdarakyol.com/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php:182 Stack trace: #0 /home/altiltoy/siteler/serdarakyol.com/wp-content/plugins/psn-pagespeed-ninja/ress/classes/plugin/widgets/widgets.php(66): Ressio_HtmlOptimizer_Dom->appendScriptDeclaration('!function(e,t,n...', Array, Object(Ressio_HtmlOptimizer_Dom_Element)) #1 /home/altiltoy/siteler/serdarakyol.com/wp-content/plugins/psn-pagespeed-ninja/ress/classes/plugin/widgets/widgets.php(151): Ressio_Plugin_Widgets->injectJsLoader(Object(Ressio_HtmlOptimizer_Dom), Object(Ressio_HtmlOptimizer_Dom_Element)) #2 /home/altiltoy/siteler/serdarakyol.com/wp-content/plugins/psn-pagespeed-ninja/ress/classes/dispatcher.php(117): Ressio_Plugin_Widgets->onHtmlIterateTagSCRIPTBefore(Object(Ressio_Event), Object(Ressio_HtmlOptimizer_Dom), Object(Ressio_HtmlOptimizer_Dom_Element)) #3 /home/altiltoy/siteler/serdarakyol.com/wp-content in /home/altiltoy/siteler/serdarakyol.com/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php on line 182