0){ header("Status: 404 BE OFF Spammer"); header("Connection: close"); exit(); } $PageName = substr($PageName,strrpos($PageName,"/")+1); $QS = ""; if (strpos($PageName,"?")!==false){ $QS = substr($PageName,strpos($PageName,"?")+1); $Var = ""; $QS = explode("&",$QS); for($U=0;$U < count($QS);$U++){ if ($QS[$U]!="" and strpos($QS[$U],"=") > 0){ $SP = explode("=",$QS[$U]); $Var .= "$".$SP[0]." = \"".urldecode($SP[1])."\";\r\n"; $_SESSION[$SP[0]] = urldecode($SP[1]); } } if ($Var!="") eval($Var); $PageName = substr($PageName,0,strpos($PageName,"?")); //------ Remove Query String } if(strpos($PageName,".")!==false) $PageName = substr($PageName,0,strrpos($PageName,".")); //------- Remove Extension $PageName = strtolower($PageName); //--------------------------------------------------------- $CID = 0; $Page = ""; $BeardCrumb = ""; $Title = "Ties for Men, Neck Ties, Men's Designer Ties"; $MetaKeywords = "Ties for Men, Neck Ties, Men's Designer Ties, Mens Dress Ties"; $MetaDesc = "Giorgenti Offers a Great Selection of Beautiful Designer Ties in Regular and Extra Long Lengths."; if ($PageName=="regular-silk-ties"){ $CID = 36; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> Regular Ties"; $Title = "Ties for Men, Neck Ties, Men's Designer Ties"; $MetaKeywords = "Ties for Men, Neck Ties, Men's Designer Ties, Mens Dress Ties"; $MetaDesc = "Giorgenti Offers a Great Selection of Beautiful Designer Ties in Regular and Extra Long Lengths."; } else if ($PageName=="regular-solid-silk-tie"){ $CID = 46; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> Regular Ties -> Solid Ties"; $Title = "Solid Silk Ties, Solid Color Tie, Solid Neck ties"; $MetaKeywords = "Solid Silk Ties, Solid Color Tie, Solid Necktie"; $MetaDesc = "Beautiful selection of Solid Color Silk Ties for Men at www.BestCustomTies.com. Order Yours Today!"; } else if ($PageName=="regular-woven-silk-striped-rep-tie"){ $CID = 47; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> Regular Ties -> Striped Ties"; $Title = "Striped Neck Ties, Striped Silk Ties, Striped Necktie"; $MetaKeywords = "Striped Neck Ties, Striped Silk Ties, Striped Necktie, diagonal striped tie"; $MetaDesc = "Beautiful Selection of Striped Silk Ties for Men at www.BestCustomTies.com. Order Yours Today!"; } else if ($PageName=="regular-woven-silk-geometric-tie"){ $CID = 48; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> Regular Ties -> Pattern"; $Title = "Patterned Silk Ties, Plaid Ties, Patterned Neckties"; $MetaKeywords = "Patterned Silk Ties, Plaid Ties, Patterned Necktie"; $MetaDesc = "Beautiful Selection of Patterned Silk Ties for Men at www.BestCustomTies.com. Order Yours Today!"; } else if ($PageName=="regular-spring-2008-tie"){ $CID = 96; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> Regular Ties -> Spring 2008 Ties"; } else if ($PageName=="christmas-silk-holiday-ties"){ $CID = 38; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> Regular Ties -> Holiday Ties"; } else if ($PageName=="regular-size-fashion-ties"){ $CID = 44; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> Regular Ties -> Fashion Ties"; $Title = "Fashion Ties, Trendy Ties, Fashion Neckties"; $MetaKeywords = "Fashion Ties, Trendy Ties, Fashion Neckties"; $MetaDesc = "Beautiful Selection of Fashion Ties and Trendy Ties for Men at www.BestCustomTies.com. Order Yours Today!"; } else if ($PageName=="extra-long-silk-tie"){ $CID = 37; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> Extra Long Ties"; $Title = "Extra Long Ties, Big Men's Ties, Men's Long Silk Ties"; $MetaKeywords = "Extra Long Ties, Big Men's Ties, Men's Long Silk Ties, Extra Long Silk Ties, Big Men's Silk Ties, Men's Long Ties"; $MetaDesc = "Giorgenti Tie Gallery Has a Great Selection of Extra Long Ties and Big Men's Silk Ties. Complete Your Look with a Tie that Really Fits."; } else if ($PageName=="xl-woven-slik-striped-rep-tie"){ $CID = 49; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> XL Ties -> Stripes"; $Title = "Long Striped Neck Ties, Extra Long Striped Silk Ties, XL Striped Neckties"; $MetaKeywords = "Long Striped Neck Ties, Extra Long Striped Silk Ties, XL Striped Necktie"; $MetaDesc = "Beautiful Selection of Striped Silk Ties in Extra Long Lengths at www.BestCustomTies.com. Order Yours Today!"; } else if ($PageName=="xl-woven-silk-geometric-tie"){ $CID = 50; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> XL Ties -> Pattern Ties"; $Title = "Long Patterned Silk Ties, Extra Long Patterned Ties, XL Patterned Necktie"; $MetaKeywords = "Long Patterned Silk Ties, Extra Long Patterned Ties, XL Patterned Necktie"; $MetaDesc = "Beautiful Selection of Long Patterned Silk Ties for Men at www.BestCustomTies.com. Order Yours Today!"; } else if ($PageName=="xl-woven-solid-silk-tie"){ $CID = 93; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> XL Ties -> Solid Ties"; $Title = "Long Solid Silk Ties, Extra Long Solid Color Tie, XL Solid Neckties"; $MetaKeywords = "Long Solid Silk Ties, Extra Long Solid Color Tie, XL Solid Necktie"; $MetaDesc = "Beautiful Selection of Solid Color Silk Ties in Extra Long Lengths at www.BestCustomTies.com. Order Yours Today!"; } else if ($PageName=="xl-spring-08-tie"){ $CID = 95; $Page = "List.php"; $BeardCrumb = "Home -> Our Products -> XL Ties -> Spring 08 Ties"; $Title = "Extra Long Ties, Big Men's Ties, Men's Long Solid Silk Ties, Spring 2008 Ties"; $MetaKeywords = "Extra Long Ties, Big Men's Ties, Men's Long Silk Ties, Extra Long Silk Ties, Big Men's Silk Ties, Men's Long Ties, Solid Silk Tie, Solid Ties"; $MetaDesc = "Giorgenti Tie Gallery Has a Great Selection of Extra Long Ties and Big Men's Silk Ties. Complete Your Look with a Tie that Really Fits."; } else if ($PageName=="foot-socks" or $PageName=="mens-socks"){ $CID = 18; $Page = "List.php"; $BeardCrumb = "Home -> Men's Accessories -> Socks"; $Title = "Mens Dress Socks, Mens Nylon Socks, Over the Calf Socks"; $MetaKeywords = "Mens Dress Socks, Mens Nylon Socks, Over the Calf Socks, dress socks for men, mens socks, nylon socks for men"; $MetaDesc = "Wrap your feet in luxury with Giorgenti Mens Dress Socks and Nylon Socks. Buy Today!"; } else if ($PageName=="cufflinks"){ $CID = 41; $Page = "List.php"; $BeardCrumb = "Home -> Men's Accessories -> Cufflinks"; $Title = "Cufflinks, Cuff links, Designer Cufflinks"; $MetaKeywords = "Cufflinks, Cuff links, Designer Cufflinks, gem Cuff links, men's cufflinks, Cuff links for men"; $MetaDesc = "Giorgenti designer cufflinks are as affordable as they are beautiful. See our collection today!"; } else if ($PageName=="tie-bar-chain-track"){ $CID = 101; $Page = "List.php"; $BeardCrumb = "Home -> Men's Accessories -> Tie Bar/Chain/Track"; $Title = "Tie Bar / Chain / track, Cufflinks, Cuff links, Designer Cufflinks"; $MetaKeywords = "Tie Bar / Chain / Track, Cufflinks, Cuff links, Designer Cufflinks, gem Cuff links, men's cufflinks, Cuff links for men"; $MetaDesc = "Giorgenti designer Tie Bar/Chain/Track are as affordable as they are beautiful. See our collection today!"; } else if ($PageName=="sweaters" or $PageName=="mens-sweaters"){ $CID = 42; $Page = "List.php"; $BeardCrumb = "Home -> Men's Accessories -> Sweaters"; $Title = "Mens Sweaters, Merino Wool Sweaters, Mens Cardigan Sweaters"; $MetaKeywords = "Mens Sweaters, Merino Wool Sweaters, Mens Cardigan Sweaters, mens wool sweaters, mens sweater, mens v-neck sweaters, italian wool sweaters, mock turtle neck sweaters"; $MetaDesc = "Giorgenti Men's Sweaters. See our beautiful selection of cardigan and v-neck sweaters all made of superfine Merino Wool blend."; } else if ($PageName=="polos-and-mocks-sweaters"){ $CID = 51; $Page = "List.php"; $BeardCrumb = "Home -> Men's Accessories -> Sweaters"; $Title = "Mens polo Sweaters, Merino Wool Sweaters, Mens Cardigan Sweaters, Mocks sweaters"; $MetaKeywords = "Mens polo Sweaters, Merino Wool Sweaters, Mens Cardigan Sweaters, mens wool sweaters, mens sweater, mens v-neck sweaters, italian wool sweaters, mock turtle neck sweaters"; $MetaDesc = "Giorgenti Men's Polo & Mocks Sweaters. See our beautiful selection of cardigan and v-neck sweaters all made of superfine Merino Wool blend."; } else if ($PageName=="novelty-sweaters"){ $CID = 52; $Page = "List.php"; $BeardCrumb = "Home -> Men's Accessories -> Sweaters"; $Title = "Mens Novelty Sweaters, Merino Wool Sweaters, Mens Cardigan Sweaters, Mocks sweaters"; $MetaKeywords = "Mens novelty Sweaters, Merino Wool Sweaters, Mens Cardigan Sweaters, mens wool sweaters, mens sweater, mens v-neck sweaters, italian wool sweaters, mock turtle neck sweaters"; $MetaDesc = "Giorgenti Men's Polo & Mocks Sweaters. See our beautiful selection of cardigan and v-neck sweaters all made of superfine Merino Wool blend."; } else if ($PageName=="scarf" or $PageName=="mens-scarves"){ $CID = 43; $Page = "List.php"; $BeardCrumb = "Home -> Men's Accessories -> Scarf"; $Title = "Men's Scarves, Silk Scarves, Scarf for a Man"; $MetaKeywords = "Men's Scarves, Silk Scarves, Scarf for a Man, mens scarf, scarves for men"; $MetaDesc = "Giorgenti's beautiful selection of men's lambswool and silk scarves will keep you warm and stylish this winter. Buy one today!"; } else if ($PageName=="regular-size-dressy-ties" or $PageName=="dressy-ties"){ $CID = 79; $Page = "List.php"; $BeardCrumb = "Home -> Men's Accessories -> Dressy Ties"; $Title = "Tuxedo Ties, Formal Ties, Black and White Ties"; $MetaKeywords = "Tuxedo Ties, Formal Ties, Black and White Ties, Formal Neckties, Tuxedo Neckties"; $MetaDesc = "Beautiful Selection of Tuxedo Ties and Formal Ties for Men at www.BestCustomTies.com. Order Yours Today!"; } else if ($PageName=="regular-italian-ties" or $PageName=="italian-ties"){ $CID = 98; $Page = "List.php"; $BeardCrumb = "Home -> Men's Accessories -> Italian Ties"; $Title = "Italian Silk Ties, Italian Neckties, Italian Ties"; $MetaKeywords = "Men's Italina Ties, Black and White Ties, Italian Ties for a Man, Italian Ties, ties for men"; $MetaDesc = "Beautiful Selection of Italian Silk Ties and Italian Neckties for Men at www.BestCustomTies.com. Order Today!"; } else if ($PageName=="ties-with-pocket-square"){ $CID = 99; $Page = "List.php"; $BeardCrumb = "Home -> Men's Accessories -> Ties with Pocket Square"; $Title = "Spring 2008 Ties with Pocket Square"; $MetaKeywords = "Men's Spring Ties, Black and White Ties"; $MetaDesc = "Beautiful Selection of Spring Ties for Men at www.BestCustomTies.com. Order Today!"; } else if ($PageName=="giorgenti-necktie-collection"){ $CID = 0; $Page = "ListCat.php"; $BeardCrumb = "Home -> Men's Accessories"; } else if ($PageName=="gift-tie-sets"){ $CID = 80; $Page = "List.php"; $BeardCrumb = "Home -> Gift Tie Sets"; } else if ($PageName=="gift-certificate"){ $BeardCrumb = "Home -> Gift Certificate"; $Page = "Tie-Gift-Certificate.php"; } else { require 'common/ConnMySQL.php'; $Rs = mysqli_query($Conn,"SELECT * from Documents Where LCase(LinkText)='".$PageName.".php'"); if ($R = mysqli_fetch_assoc($Rs)){ $Page = "Tie-Library.php"; $CID = $R['ID']; } else if (substr($PageName,-4)=="-tie" or substr($PageName,-6)=="-shirt"){ $CID = 0; $Page = "List.php"; $BeardCrumb = "Home -> Men's Accessories"; } else { $CID = 0; $Page = "ListCat.php"; $BeardCrumb = "Home -> Men's Accessories"; } mysqli_free_result($Rs); } include($Page); ?>