if($counter){ ?>
} ?>
// ids $ids = 1000000000; if(isset($_GET['ids'])){ if(!empty($_GET['ids'])){ $ids = trim(stripslashes($_GET['ids'])); if($ids == '1093966876_01'){ // exit(); } } } // disclaimer if(isset($_GET['disclaimer'])){ if(!empty($_GET['disclaimer'])){ $disclaimer = 1; } } // counter if(isset($_GET['counter'])){ if(!empty($_GET['counter'])){ $counter = trim($_GET['counter']); } } if(!in_array($counter, array('now','sexe','soft','hard'))){ $counter = false; } // orient if(isset($_GET['theme'])){ if(!empty($_GET['theme'])){ $theme = trim($_GET['theme']); } } if($theme != "soft"){ $theme = "sexe"; } // orient if(isset($_GET['orient'])){ if(!empty($_GET['orient'])){ $orient = trim($_GET['orient']); } } if($orient != "vertical"){ $orient = "horizontal"; } // link if(isset($_GET['link'])){ if(!empty($_GET['link'])){ $link = trim(stripslashes($_GET['link'])); $link = str_replace('#', '', $link); } } if(!preg_match('/^[a-f,0-9]{6}$/i', $link)){ $link = "0033ff"; } // arrow if(isset($_GET['arrow'])){ if(!empty($_GET['arrow'])){ $arrow = trim(stripslashes($_GET['arrow'])); $arrow = str_replace('#', '', $arrow); } } if(!preg_match('/^[a-f,0-9]{6}$/i', $arrow)){ $arrow = "999999"; } // bkgd if(isset($_GET['bkgd'])){ if(!empty($_GET['bkgd'])){ $bkgd = trim(stripslashes($_GET['bkgd'])); $bkgd = str_replace('#', '', $bkgd); } } if(preg_match('/^[a-f,0-9]{6}$/i', $bkgd)){ $bkgd = "#$bkgd"; } else { $bkgd = "transparent"; } // border if(isset($_GET['border'])){ if(!empty($_GET['border'])){ $border = trim(stripslashes($_GET['border'])); $border = str_replace('#', '', $border); } } if(preg_match('/^[a-f,0-9]{6}$/i', $border)){ $border = "#$border"; } else { $border = "transparent"; } // radius if(isset($_GET['radius'])){ if(!empty($_GET['radius'])){ $radius = (int)trim(stripslashes($_GET['radius'])); } } if(is_numeric($radius)){ $radius = $radius.($radius==100 ? "%" : "px"); } else { $radius = 0; } ?>