Changeset 226 for trunk/import/index.php


Ignore:
Timestamp:
Jul 2, 2009, 11:18:27 AM (15 years ago)
Author:
maron
Message:

Oprava importu dbc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/import/index.php

    r223 r226  
    3232      foreach($TranslationTree as $Group)
    3333      {
    34         if(($Group['MangosTable'] != '') and ($Group['TablePrefix'] != ''))
     34        if(($Group['MangosTable'] != '') and ($Group['TablePrefix'] != '') and ($Group['MangosDatabase'] == 'mangos'))
    3535        {
    3636          $tables[] = $Group['Id'];
     
    8787        foreach($tables as $table)
    8888        {
    89                   echo('<a href="?source=sql_mangos&amp;group='.$table.'">'.$TranslationTree[$table]['Name'].'</a>');   
     89                  echo('<a href="?source=dbc&amp;group='.$table.'">'.$TranslationTree[$table]['Name'].'</a>'); 
    9090                  if ($table == $tables[0]) echo(' <strong>Pracuje</strong>');
    9191                  echo ('<br />');
     
    9696                {
    9797          echo('<script type="text/javascript" language="JavaScript" charset="utf-8">'.
    98           'setTimeout("parent.location.href=\''.htmlspecialchars_decode('?source=sql_mangos&amp;group='.$tables[1]).'\'", 3000)</script>');
     98          'setTimeout("parent.location.href=\''.htmlspecialchars_decode('?source=dbc&amp;group='.$tables[1]).'\'", 3000)</script>');
    9999                } else {
    100100          echo('<script type="text/javascript" language="JavaScript" charset="utf-8">'.
     
    104104        foreach($tables as $table)
    105105        {
    106                   echo('<a href="?source=sql_mangos&amp;group='.$table.'">'.$TranslationTree[$table]['Name'].'</a>');   
     106                  echo('<a href="?source=dbc&amp;group='.$table.'">'.$TranslationTree[$table]['Name'].'</a>'); 
    107107                  if ($table < $_GET['group']) echo (' <strong>Hotovo</strong>');
    108108                  if ($table == $_GET['group']) echo (' <strong>Pracuje</strong>');
     
    114114                {
    115115          echo('<script type="text/javascript" language="JavaScript" charset="utf-8">'.
    116           'setTimeout("parent.location.href=\''.htmlspecialchars_decode('?source=sql_mangos&amp;group='.$tables[array_search($_GET['group'],$tables)+1]).'\'", 3000)</script>');
     116          'setTimeout("parent.location.href=\''.htmlspecialchars_decode('?source=dbc&amp;group='.$tables[array_search($_GET['group'],$tables)+1]).'\'", 3000)</script>');
    117117                } else {
    118118          echo('<script type="text/javascript" language="JavaScript" charset="utf-8">'.
Note: See TracChangeset for help on using the changeset viewer.