0){ if($arrvalue['delete'] == 'y'){ $ch_query = 'DELETE FROM '.PMA_backquote($cfg['Server']['table_coords']) . ' WHERE table_name = \''.$arrvalue['name'] . '\'' . ' AND pdf_page_number = '.$chpage; }else{ $ch_query = 'UPDATE '.PMA_backquote($cfg['Server']['table_coords']) . ' SET x='.$arrvalue['x'] . ', y= '. $arrvalue['y'] . ' WHERE table_name = \''.$arrvalue['name'] . '\'' . ' AND pdf_page_number = '.$chpage; } }else{ $ch_query = 'INSERT INTO '.PMA_backquote($cfg['Server']['table_coords']) . ' VALUES (\''.$arrvalue['name'].'\','.$chpage.','. $arrvalue['x'].','.$arrvalue['y'].')'; } mysql_query($ch_query) or PMA_mysqlDie('', $ch_query, '', $err_url_0); } } break; } } // now first show some possibility to choose a page for the pdf $page_query = 'SELECT * FROM ' .PMA_backquote($cfg['Server']['pdf_pages']); $page_rs = mysql_query($page_query) or PMA_mysqlDie('', $page_query, '', $err_url_0); if(mysql_num_rows($page_rs)>0){ ?>
0){ ?>

'; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; $i++; } // do one more empty row echo ''; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo '
XY
'.$strDelete.'
'.$strDelete.'
'."\n"; } } /** * Displays the footer */ echo "\n"; require('./footer.inc.php3'); ?>