X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=web%2Fout%2Fdist%2Ffunctions.php;fp=web%2Fout%2Fdist%2Ffunctions.php;h=0000000000000000000000000000000000000000;hb=36ed114046cbe3d72a3589230e9f306a54fcc79d;hp=a44889a5c0a5390915e40c05533b138a67a00b61;hpb=281c96e95451269f2614684b8de5be25862c8374;p=mtweb diff --git a/web/out/dist/functions.php b/web/out/dist/functions.php deleted file mode 100644 index a44889a..0000000 --- a/web/out/dist/functions.php +++ /dev/null @@ -1,56 +0,0 @@ - $max) - { if(isset($legende)) - { $navig .= - $legende." ".($current + 1)." à " - .(($current + $max) > $total ? $total : $current + $max) - ." sur ".$total." - aller à la "; - } - $get_params = array(); - if(($q = strpos($base_url, "?")) !== false) - { $v_query = explode("&", substr($base_url, $q + 1)); - $base_url = substr($base_url, 0, $q); - foreach($v_query as $query) - { if($query) - { $v = explode("=", $query); - $get_params[$v[0]] = $v[1]; - } - } - } - if(isset($get_params[$start_param])) unset($get_params[$start_param]); - $base_url .= "?"; - foreach($get_params as $key => $value) $base_url .= $key."=".$value."&"; - $nb_pages = ceil($total / $max); - $navig .= - "page : " - ."\n"; - if($current >= $max) - { $navig .= - "«\n"; - } - if($current < $total - $max) - { $navig .= - "»\n"; - } - } - return $navig; - } - endif; - -?> \ No newline at end of file