' . $lang['L_SQL_BEFEHLE'] . ' (' . count($SQL_ARRAY) . ')'; echo '' . $lang['L_SQL_BEFEHLNEU'] . '

'; if (isset($_POST['sqlnewupdate'])) { $ind=count($SQL_ARRAY); if (count($SQL_ARRAY) > 0) array_push($SQL_ARRAY,$_POST['sqlname' . $ind] . "|" . $_POST['sqlstring' . $ind]); else $SQL_ARRAY[0]=htmlspecialchars($_POST['sqlname0'],ENT_COMPAT ,'UTF-8') . '|' . $_POST['sqlstring0']; WriteSQL(); echo '

' . $lang['L_SQL_BEFEHLSAVED1'] . ' \'' . $_POST['sqlname' . $ind] . '\' ' . $lang['L_SQL_BEFEHLSAVED2'] . '

'; } echo '
'; echo ''; $i=0; if (count($SQL_ARRAY) > 0) { for ($i=0; $i < count($SQL_ARRAY); $i++) { if (isset($_POST['sqlupdate' . $i])) { echo ''; $SQL_ARRAY[$i]=$_POST['sqlname' . $i] . "|" . nl2null($_POST['sqlstring' . $i]); WriteSQL(); } if (isset($_POST['sqlmove' . $i])) { echo ''; $a[]=$SQL_ARRAY[$i]; array_splice($SQL_ARRAY,$i,1); $SQL_ARRAY=array_merge($a,$SQL_ARRAY); WriteSQL(); } if (isset($_POST['sqldelete' . $i])) { echo ''; array_splice($SQL_ARRAY,$i,1); WriteSQL(); } } for ($i=0; $i < count($SQL_ARRAY); $i++) { $cl=( $i % 2 ) ? "dbrow" : "dbrow1"; echo ''; echo ''; echo ''; } } if (isset($_GET['new'])) { $cl=( $i % 2 ) ? "dbrow" : "dbrow1"; echo ''; } echo '
#' . $lang['L_NAME'] . 'SQL' . $lang['L_COMMAND'] . '

' . $lang['L_SQL_BEFEHLSAVED1'] . ' \'' . htmlspecialchars($_POST['sqlname' . $i],ENT_COMPAT ,'UTF-8') . '\' ' . $lang['L_SQL_BEFEHLSAVED3'] . '

' . $lang['L_SQL_BEFEHLSAVED1'] . ' \'' . $_POST['sqlname' . $i] . '\' ' . $lang['L_SQL_BEFEHLSAVED4'] . '

' . $lang['L_SQL_BEFEHLSAVED1'] . ' \'' . $_POST['sqlname' . $i] . '\' ' . $lang['L_SQL_BEFEHLSAVED5'] . '

' . ( $i + 1 ) . '.'; echo '

' . ( $i + 1 ) . ''; echo '
' . $lang['L_SQL_LIBRARY'] . '
'; echo '
';