PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- <?PHP
- include 'config.php';
- include 'functions.php';
- $count_statti = get_count_statti();
- $number_pages = number_pages($count_statti,COUNT_PER_PAGE);
- if($_GET['page']){
- $page = (int)$_GET['page'];
- if(!page){
- $page = 1;
- }
- }else{$page = 1;}
- $result = get_posts($count_statti,$page,COUNT_PER_PAGE);
- if($_GET['move'] == 1){
- foreach($result as $row){
- }
- for($i = 1; $i <= $number_pages; $i++){
- if ($i < $page+8 and $i > $page-0){
- }}
- }
- ?>