alert('Pages not found!');history.go(-2);"); } $pmd_table = PMA_backquote($GLOBALS['cfgRelation']['db']) . '.' . PMA_backquote($GLOBALS['cfgRelation']['designer_coords']); $pma_table = PMA_backquote($GLOBALS['cfgRelation']['db']) . '.' . PMA_backquote($cfgRelation['table_coords']); if (isset($exp)) { $sql = "REPLACE INTO " . $pma_table . " (db_name, table_name, pdf_page_number, x, y) SELECT db_name, table_name, " . $pdf_page_number . ", ROUND(x/" . $scale . ") , ROUND(y/" . $scale . ") y FROM " . $pmd_table . " WHERE db_name = '" . $db . "'"; PMA_query_as_cu($sql,TRUE,PMA_DBI_QUERY_STORE); } if (isset($imp)) { PMA_query_as_cu( 'UPDATE ' . $pma_table . ',' . $pmd_table . ' SET ' . $pmd_table . '.`x`= ' . $pma_table . '.`x` * '. $scale . ', ' . $pmd_table . '.`y`= ' . $pma_table . '.`y` * '.$scale.' WHERE ' . $pmd_table . '.`db_name`=' . $pma_table . '.`db_name` AND ' . $pmd_table . '.`table_name` = ' . $pma_table . '.`table_name` AND ' . $pmd_table . '.`db_name`=\''.$db.'\' AND pdf_page_number = '.$pdf_page_number.';',TRUE,PMA_DBI_QUERY_STORE); } die(""); } if (isset($createpage)) { /* * @see pdf_pages.php */ $query_default_option = PMA_DBI_QUERY_STORE; $pdf_page_number = PMA_REL_create_page($newpage, $cfgRelation, $db, $query_default_option); } // no need to use pmd/styles require_once './libraries/header_meta_style.inc.php'; ?>

:

: