<?php /* Template Name: Gazeteler */ ?><?php include(TEMPLATEPATH . '/header.php'); ?><?php wp_reset_query(); ?>
<?php the_title(); ?>
<?php date_default_timezone_set("Europe/Istanbul"); $gazetetarih = date("Y/n/j"); $gazete=$_GET["gazete"]; $goster=$_GET["goster"]; $inj = array ('select', 'insert', 'delete', 'update', 'drop table', 'union', 'null', 'SELECT', 'INSERT', 'DELETE', 'UPDATE', 'DROP TABLE', 'UNION', 'NULL','order by','order by'); for ($i = 0; $i < sizeof ($_GET); ++$i){ for ($j = 0; $j < sizeof ($inj); ++$j){ foreach($_GET as $gets){ if(preg_match ('/' . $inj[$j] . '/', $gets)){ $temp = key ($_GET); $_GET[$temp] = ''; exit; continue; } } } } if($goster == "icsayfa") { echo ''; } else { echo ''; }; ?>
<?php while(have_posts()) : the_post(); ?><?php echo the_content(); ?><?php endwhile; ?><?php wp_reset_query(); ?>
<?php include(TEMPLATEPATH . '/footer.php'); ?>