View file moduls/blog/vig.php

File size: 432B
<?php
$prasd_file = @file('moduls/page/base/pages.txt');
$prasd_count = count($prasd_file);
    $pg_1 = 0;
    echo '<div class="ramka" align="center">Доступны '.$prasd_count.' страниц<br>';
    while ($prasd_file[$pg_1] != '')
    {
     $prasd_pr = explode('|',$prasd_file[$pg_1]);

     echo '<a href="/?page=moduls&id_m=pages&page_line='.$pg_1.'">'.$prasd_pr[0].'</a><br>';
     $pg_1++;
    }
    echo '</div>';
?>