require('../linkman/settings.php');
require_once('../linkman/header.txt');
if ($settings['show_form'])
{
?>
$lines = file($settings['linkfile']);
$print_featured = 0;
$first = 1;
$i = 0;
foreach ($lines as $thisline)
{
$thisline=trim($thisline);
if (!empty($thisline))
{
$i++;
list($name,$email,$title,$url,$recurl,$description,$featured,$pr)=explode($settings['delimiter'],$thisline);
$show_url = $settings['show_url'] ? ' - ’.$url.’‘ : ”;
if ($settings['show_pr'] == 1)
{
if (empty($pr)) {$pr=0;}
$pr_code = ‘
‘;
}
else
{
$pr_code = ”;
}
if ($settings['show_thumbshots'])
{
$thumb_code = ‘
‘;
}
else
{
$thumb_code = ”;
}
if ($featured == 1)
{
if ($print_featured == 0)
{
$print_featured = 1;
$first = 0;
echo ‘
Featured links
|
‘.$title.’‘.$show_url.’ |
‘;
}
if ($first == 1)
{
$first = 0;
echo ‘
Reciprocal links
|
‘.$title.’‘.$show_url.’ |
‘;
}
else
{
echo ‘
No links yet!
‘;
}
if ($settings['show_form'])
{
if ($i < $settings['max_links'])
{
?>
» Step 1: Add our link to your website










