witam!
#1. Posiadam skrypt wymiany linkow....
Potrzebuje go przerobic aby pod wyswietlanymi linkami pokazywala sie ich suma
czyli np.
onet.pl - portal
o2.pl - konta pocztowe
W bazie znajduja sie
2 linki.
#2. Chcialbym tez aby skrypt wyswietlal na stronie np 50 linkow a pod spodem adresy do daleszej czesci...
Np.
1 php.pl
2 o2.pl
3 onet.pl
..
50 wp.pl
W bazie znajduje sie
200 linkow. |
0-50 |
100-150 |
150 |
wszystkie |
3 # Jak dodatkowo wyswietlac same adresy URL zapisane z tego skryptu.
OTO TEN SKRYPT, BARDZO PROSZE O POMOC. WSZYSTKO WYKONUJE SIE NA PLIKACH TEKSTOWYCH.
<?php
require "settings.php";
require_once("header.txt");
// Different systems use different line endings
if($settings['system'] == 2) {$newline="rn";}
elseif($settings['system'] == 3) {$newline="r";}
else {$newline="n";}
$lines=file($settings['linkfile']);
echo "<p class="linkman
">";
foreach ($lines as $thisline)
{
if (strlen($thisline)<10
) {continue
;} list
($name,$email,$title,$url,$recurl,$description)=explode($settings['delimiter'],$thisline); if ($settings['clean'] != 1) {$url="go.php?url=".$url;}
echo "<a href="$url" target="_new
" class="linkman
">$title</a> - $description<br>n"; }
<hr size=1 noshade>
<!--
Changing the "Powered by" credit sentence without purchasing a licence is illegal!
Please visit <a href="http://www.phpjunkyard.com/copyright-removal.php" target="_blank">http://www.phpjunkyard.com/copyright-removal.php</a> for more information.
-->
<p align
="center" class="linkman">Powered by
<a href
="http://www.phpjunkyard.com/php-link-manager.php" target
="_new" class="linkman">php
link manager
</a
> $settings[verzija
] from <a href="http://www.phpjunkyard.com/" target="_new" class="linkman">PHPJunkYard - free php scripts</a></p>";
require_once("footer.txt");
?>