Submit your website
0)
{
$start=($page*$settings['max_per_page'])-$settings['max_per_page'];$end=$start+$settings['max_per_page']-1;
}
else
{
$page=1;$start=0;$end=$settings['max_per_page']-1;
}
/* Total number of links */
$total = count($lines);
if ($total > 0)
{
if ($end > $total) {$end=$total;}
$pages = ceil($total/$settings['max_per_page']);
$page_nav = '';
if ($pages > 1)
{
$page_nav = '';
$prev_page = ($page-1 <= ? 0 : $page-1;
$next_page = ($page+1 > $pages) ? 0 : $page+1;
if ($prev_page)
{
$page_nav .= '<< First | ';
if ($prev_page > 1)
{
$page_nav .= '< Prev | ';
}
}
for ($i=1; $i<=$pages; $i++)
{
if ($i <= ($page+5) && $i >= ($page-5))
{
if($i == $page) {$pe_nav .= ' '.$i.' ';}
else {$page_nav .= ' '.$i.' ';}
}
}
if ($next_page)
{
if ($next_page < $pages)
{
$page_nav .= ' | Next >';
}
$page_nav .= ' | Last >>';
}
$page_nav .= '
';
echo $page_na
}
}
$lines = array_slice($lines,$start,$settings['max_per_page']);
}
$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=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
';
}
$url = ($settings['clean'] != 1) ? $url : 'go.php?url='.rawurlencode($url);
$nofollow ($settings['use_nofollow']==1) ? 'rel="nofollow"' : '';
echo '
'.$thumb_code.'
'.$pr_code.'
'.$title.''.$show_url.' '.$description.' |
';
}
else
{
if ($settings['show_thumbshots']!=1)
{
$thumb_code = '';
}
if ($print_featured == 1)
{
$print_featured = 0;
$first = 1;
echo '
';
}
if ($first == 1)
{
$first = 0;
echo 'Reciprocal links
';
}
$url = ($settings['clean'] == 0) ? $url : 'go.php?url='.rawurlencode($url);
$nofollow = $settings['use_nofollow'] ? 'rel="nofollow"' '';
echo '
'.$thumb_code.'
'.$pr_code.'
'.$title.''.$show_url.' '.$description.' |
';
}
}
}
/* Close the table if at least one link is printed out */
if ($i)
{
echo '
';
/* Print bottom page navigation if at least 20 listings on the page */
if ($settings['allow_pages'] && $i 19)
{
echo $page_nav;
}
}
else
{
echo 'No links yet!
';
}
if ($settings['show_form'])
{
if ($i < $settings['max_links'])
{
?>
Submit your website
» Step 1: Add our link to your website
| Website URL: |
|
| Websi Title: |
|
| Description: |
|
» Step 2: Submit your link
All fields are required. Please finish Step 1 before submitting this form.
Submit your website
Unfortunately we are not accepting any new links at the moment.