=$page*$linkspp && $id<($page+1)*$linkspp) $out .= ($am==1?"remove ":"")." $link
\n"; $pages[floor($id/$linkspp)] = floor($id/$linkspp); } sort($pages); foreach($pages as $i=>$val) if($i!=$page) $pages_out[] = "".($i+1).""; else $pages_out[] = "".($i+1).""; $pages = join('   ',$pages_out)."

"; } elseif($a=='admin'){ while($_SERVER['PHP_AUTH_USER']!='Admin'||$_SERVER['PHP_AUTH_PW']!=$adm_pass){ Header("WWW-Authenticate: Basic realm=\"Admin Zone\""); Header("HTTP/1.1 401 Unauthorized"); echo "HTTP/1.1 Error"; exit; } if($_POST || $remove>0 || isset($_GET[remove])){ $t = $_POST[t]; $data = file_get_contents($links_file); $links = explode("|||",$data); if(isset($_GET[remove])){ for($i=0;$i$max)$max=$idx; } $links = array_reverse($links); for($i=0;$i$max)$max=$idx; } if($max%$linkspp==0)echo ""; $out = "
"; for($i=0;$i<5;$i++) $out .= "link #$i: \n
"; $out .= "
"; } #include 'conf.php'; #include 'header.php'; ?> Resources
Home | How it works | Projects archive | Contact Us  
 

Pages: $pages

".$out."

Pages: $pages

"; #include 'footer.php'; ?>
Home | Projects archive | RSS | Resources | Contact Us © 2004-2007 ProjectsList.biz /0.152