<?php
//The Trilinks system will automatically check this 
//page once a week.  You may place your header and 
//footer in the spaces provided.  Your website will be removed 
//from the network if you alter the code in any other way.
$siteid="";//advanced use only
//DONT EDIT THE FOLLOWING CODE
$queryString= $_GET["cid"];
$queryString1= $_GET["pageID"];
$requestingHead="http://www.trilinks.com/directories/head.php?cid=$queryString&sid=$siteid&ref=".$_SERVER[HTTP_HOST];
$requestingPage="http://www.trilinks.com/directories/f1/a.php?cid=$queryString&sid=$siteid&pageID=$queryString1&sort=1&ref=".$_SERVER[HTTP_HOST];
$fileh = fopen ($requestingHead, "r");
while (!feof ($fileh)) 
echo fgets ($fileh, 1024);
fclose($fileh);
?>
<body>
<!--You can place your header code below this line-->


<!--DONT EDIT THE FOLLOWING CODE-->
<?php
$file = fopen ($requestingPage, "r");
while (!feof ($file)) 
echo fgets ($file, 1024);
fclose($file);
?>

<!--You can add your footer code below this line-->

</body>
</html>
