Changeset 19


Ignore:
Timestamp:
Oct 2, 2008, 6:05:50 PM (16 years ago)
Author:
maron
Message:

zobrazení počtu verzí překladu

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • form.php

    r16 r19  
    5555        echo 'Ji¾ byla zkontrolována adminem jiná verze questu: <a href="form.php?ID='.$check['ID'].'">'.$check['ID'].'</a><br />';
    5656    }
     57      $number_version = mysql_fetch_array($Database->SQLCommand("SELECT count(*) FROM quests Where entry = ".$Line['entry']." AND Language <> 0"));
     58      echo 'Poèet verzí: <b>'.$number_version['count(*)'].'</b> ';
    5759    echo '<a href="ListQuests.php?searchentry='.$Line['entry'].'">Zobrazit v¹echny verze tohoto questu</a>';
    5860   
  • npc_form.php

    r16 r19  
    4444        echo 'Ji¾ byla zkontrolován adminem jiná verze textu: <a href="form.php?ID='.$check['ID'].'">'.$check['ID'].'</a><br />';
    4545    }
     46      $number_version = mysql_fetch_array($Database->SQLCommand("SELECT count(*) FROM npc_text Where entry = ".$Line['entry']." AND Language <> 0"));
     47      echo 'Poèet verzí: <b>'.$number_version['count(*)'].'</b> ';
    4648    echo '<a href="npc_list.php?searchentry='.$Line['entry'].'">Zobrazit v¹echny verze tohoto npc_text</a><br>';
    4749
  • page_form.php

    r16 r19  
    4444        echo 'Ji¾ byla zkontrolován adminem jiná verze textu: <a href="form.php?ID='.$check['ID'].'">'.$check['ID'].'</a><br />';
    4545    }
     46      $number_version = mysql_fetch_array($Database->SQLCommand("SELECT count(*) FROM page_text Where entry = ".$Line['entry']." AND Language <> 0"));
     47      echo 'Poèet verzí: <b>'.$number_version['count(*)'].'</b> ';
    4648    echo '<a href="page_list.php?searchentry='.$Line['entry'].'">Zobrazit v¹echny verze tohoto page_text</a>';
    4749
Note: See TracChangeset for help on using the changeset viewer.