$firstref = $_SERVER['HTTP_REFERER']; if (strpos($firstref,'sndrv') > 0 ) { } else { header("location:index.php"); } ?> include "../include2.php"; $url = array(); $label = array(); $label[] = "Google search for \"Sander Veenhof\" "; $url[] = "http://www.google.nl/search?q=%22sander+veenhof%22"; $label[] = "Blog about this project,"; $url[] = "http://www.annehelmond.nl/2009/03/24/publicityplant-needs-your-social-media-attention-to-grow/"; $label[] = " me "; $url[] = "http://sndrv.nl/?index=contact"; $label[] = "Twitter about the #publicityplant"; $url[] = "http://search.twitter.com/search?q=publicityplant"; $label[] = "Upload a Flickr picture"; $url[] = "http://www.flickr.com/search/?q=publicityplant"; $label[] = "Add a Delicious bookmark about the \"publicityplant\" project"; $url[] = "http://delicious.com/url/3b71ce00a9cf2b4348ffc9fc3b42cba1"; $q = "select * from nameval where name IN ('duration') "; $namevals = $db->get_results($q); foreach ($namevals as $nameval) { ${$nameval->name} = $nameval->val; } ?>