$val ) { $qs .= "$key=$val&"; } } else $qs = ""; $_SESSION["b"] = basename($_SERVER["PHP_SELF"].$qs); $_SESSION["r"] = $_SERVER["HTTP_REFERER"]; redirect1("turing.php"); } elseif ( !$_GET["t"] || preg_match("/[^a-z0-9]/i", $_GET["t"]) ) { redirect1(); } else { $template = $_GET["t"]; } //$_SESSION["b"] = basename($_SERVER["PHP_SELF"].$qs); $refr = $_SERVER["HTTP_REFERER"]; list($remove,$stuff) = split('//',$refr,2); list($home,$stuff) = split('/',$stuff,2); //echo ("$home"); if ( !in_array($home, $REFERRERS) ) { //if ($_GET["d"])die("isnt"); redirect1("."); } if ( $_GET["d"]=="1" ) { $f = FS_TEMPLATES . $template . ".zip"; if ( !is_file(FS_TEMPLATES.$template.".zip") ) { header("HTTP/1.0 404 Not Found"); exit; } $fp = fopen($f,"r"); if ( $fp ) { ini_set("memory_limit", "" . (8 + ceil(filesize($f)/1024)) . "M"); header("Content-type: application/octet-stream"); header("Content-disposition: attachment; filename=".$template.".zip"); while (!feof($fp)) { echo(fgets($fp, 4096)); } //end while fclose ($fp); exit; } else { header("HTTP/1.0 404 Not Found"); exit; } } ?> Free Website Templates, Free Logo Templates, Free Newsletter Templates ---> TemplateWorkz.com
Free Website Templates, Free Logo Templates, Free Newsletter Templates

 

 

Free Graphics

 - website templates

 - logo templates

 - newsletter templates

 

Premium Graphics

 - website templates

 - advanced logos

 - online site builder

 

Resources

 - template topsites

 - template directory

 - webmaster resources

 

Partners

  Free Image Hosting

  Premium Templates

  Top Template Sites

  Templates Box

  Templates Land

 

 

 

 

Template download

<< " >back
 

Your download will begin shortly.
If your download does not start in seconds, click here.

 

 

 

Professional Templates Starting from $5
High quality website templates, company logos and business cards available for immediate download and use.

 

Net's Largest Collection of Premium Templates
High end website templates, flash templates, logos, corporate identity kits. Exclusive downloads available.

 

 

Recommended resources

 Credit Card Processing

Charity Car Donation

Webmaster Solutions

 Quality Hosting

 Webmaster Resources

Animated Avatars

 Free Stock Photos

 Web Log Analyzer

Web Scripts Directory

 

 

 


Home  FAQ  Terms Of Use  Link To Us  Contact Us Privacy Policy Advertise
Free Graphics: Website Templates  Logo Templates  Newsletter Templates  Premium Graphics: Website Templates  Logos  Site Builder

Template Topsites  Template Directory  Webmaster Resources

copyright 2004 TemplateWorkz.com. All rights reserved