Changeset 199 for trunk/includes
- Timestamp:
- Jun 5, 2009, 7:08:55 PM (16 years ago)
- Location:
- trunk/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r198 r199 93 93 $Config['Web']['BaseURL'].'index.php' => array(LICENCE_ANONYMOUS, 'Hlavní stránka', 'Domů'), 94 94 'http://wow.zdechov.net/forum/viewforum.php?f=22' => array(LICENCE_ANONYMOUS, 'Diskuze na téma překládání', 'Fórum projektu'), 95 $Config['Web']['BaseURL'].'dictionary.php' => array(LICENCE_ANONYMOUS, 'Slovník WoW výrazů', 'Slovní ček'),95 $Config['Web']['BaseURL'].'dictionary.php' => array(LICENCE_ANONYMOUS, 'Slovník WoW výrazů', 'Slovník'), 96 96 $Config['Web']['BaseURL'].'banners.php' => array(LICENCE_ANONYMOUS, 'Weby odkazující na tento projekt bennerem', 'Odkazují na nás'), 97 97 $Config['Web']['BaseURL'].'statistic.php' => array(LICENCE_ANONYMOUS, 'Stav dokončení překládů', 'Stav dokončení'), 98 $Config['Web']['BaseURL'].'userlist.php' => array(LICENCE_ANONYMOUS, 'Seznam registrovaných uživatelů', ' Uživatelé'),98 $Config['Web']['BaseURL'].'userlist.php' => array(LICENCE_ANONYMOUS, 'Seznam registrovaných uživatelů', 'Překladatelé'), 99 99 $Config['Web']['BaseURL'].'team.php' => array(LICENCE_ANONYMOUS, 'Seznam překladatelských týmů', 'Týmy'), 100 100 $Config['Web']['BaseURL'].'download.php' => array(LICENCE_ANONYMOUS, 'Zde si můžete stáhnout přeložené texty', 'Stahování'), -
trunk/includes/global_function.php
r198 r199 33 33 echo('<div style="text-align: center">'); 34 34 $Line = mysql_fetch_row($Database->SQLCommand('SELECT count(*) FROM '.$Table.' '.$Where)); 35 $ItemCount = floor($Line[0] / $ItemsPerPage); 35 $ItemCount = $Line[0]; 36 $PageCount = floor($ItemCount / $ItemsPerPage) + 1; 36 37 37 echo('Počet položek: <strong>'.$ Line[0].'</strong> Zobrazit stránku: ');38 39 if($CurrentPage > $ItemCount) $CurrentPage = ($ItemCount / $ItemsPerPage) - 1;40 for($Page = 1; $Page <= $ ItemCount+1; $Page++)38 echo('Počet položek: <strong>'.$ItemCount.'</strong> Zobrazit stránku: '); 39 40 //if($CurrentPage > $PageCount) $CurrentPage = $PageCount; 41 for($Page = 1; $Page <= $PageCount; $Page++) 41 42 { 42 43 if($CurrentPage == $Page) echo('<strong>'.$Page.'</strong> ');
Note:
See TracChangeset
for help on using the changeset viewer.