My Partners
< ?php
// ********************************************************************
// You may change the variables below to customize the look and feel of
// your links page
// ********************************************************************
// This option defines the number of columns used to display categories
$LPCatCol = "2";
// This option defines the number of links displayed per page
$LPLPP = "25";
// This option defines whether links are opened in a new web browser window
// (1 = Yes, 0 = No)
$LPNW = "1";
// This option determines whether the search function is enabled
// for your links page (1 = Yes, 0 = No)
$LPAS = "1";
$LPKey = "4331-0W3X-P2I0";
// ********************************************************************
// *****Please DO NOT make any edits or changes to the code below******
// ********************************************************************
$PageName = $_SERVER["PHP_SELF"];
$LPQS = "script=php&UserKey=".urlencode($LPKey)."&ScriptName=".urlencode($PageName)."&CatCols=" .urlencode($LPCatCol)."&LinksPerPage=".urlencode($LPLPP)."&OpenInNewWindow=" .urlencode($LPNW)."&AllowSearch=".urlencode($LPAS);
foreach ($_GET as $key => ) {
.= “&=”.urlencode(stripslashes());
}
if(intval(get_cfg_var(’allow_url_fopen’)) && function_exists(’readfile’)) {
if(!@readfile(”http://www.linkspanel.com/engine.php?”.)) {
print “Error processing request”;
}
}
elseif(intval(get_cfg_var(’allow_url_fopen’)) && function_exists(’file’)) {
if(!( = @file(”http://www.linkspanel.com/engine.php?”.))) {
print “Error processing request”;
}
else {
print @join(”, );
}
}
elseif(function_exists(’curl_init’)) {
= curl_init (”http://www.linkspanel.com/engine.php?”.);
curl_setopt (, CURLOPT_HEADER, 0);
curl_exec ();
if(curl_error())
print “Error processing request”;
curl_close ();
}
else {
print “It seems that your web host has disabled all functions for handling remote pages and as a result the LinksPanel software will not function on your web site. Please contact your web host and ask them to enable PHP curl or fopen.”;
}
?>

