.gif border= 0 gt; lt;/img gt; lt;/a gt; raquo ;; if (@ $ _GET [ orderby_column ] == $ tables_titles [$ T] [$ i]) {if (@ $ _GET [ orderby_column ] == asc ) {$ img1= raquo ;;} else {$ img2= raquo ;;}} echo lt; td align= center gt; raquo ;; echo $ tables_titles [$ T] [$ i]; echo $ img1. $ img2. lt;/td gt; raquo ;;} echo lt; td colspan=3 gt; amp; nbsp; lt;/td gt; lt;/tr gt; raquo ;; while ($ row= ibase_fetch_row ($ result)) {echo lt; tr height= 32 gt; raquo ;; for ($ i=0; $ i lt; $ table_cols_count [$ T]; $ i ++) {echo lt; td align= left gt; raquo ;; echo $ row [$ i]; echo lt;/td gt; raquo ;;} echo lt; td gt; lt; a href=laquo;index.php?table=raquo;.$table_name[$T].laquo;amp;action=showoneamp;raquo;.$tables_columns[$T][0].laquo;=raquo;.$row[0].laquo;raquo;gt;lt;img src= images/b_browse.png alt= border= 0 gt; lt;/img gt; lt;/a gt; lt;/td gt; lt; td gt; lt; a href=laquo;index.php?table=raquo;.$table_name[$T].laquo;amp;action=editformamp;raquo;.$tables_columns[$T][0].laquo;=raquo;.$row[0].laquo;raquo;gt;lt;img src= images/b_edit.png alt= border= 0 gt; lt;/img gt; lt;/a gt; lt;/td gt; lt; td gt; lt; a href=laquo;index.php?table=raquo;.$table_name[$T].laquo;amp;action=deleteamp;raquo;.$tables_columns[$T][0].laquo;=raquo;.$row[0].laquo;raquo;gt;lt;img src= images/b_drop.png alt= border= 0 gt; lt;/img gt; lt;/a gt; lt;/td gt; raquo ;; echo lt;/tr gt; raquo ;;} echo lt;/table gt; raquo ;; ibase_free_result ($ result);} f (@ $ _GET [ action ] == showone ) {$ connect=dbconnect ($ dbhost, $ dbuser, $ dbpass); $ internal_id=@ $ _GET [$ tables_columns [ $ T] [0]]; $ query= SELECT * FROM . $ table_name [$ T]. WHERE . $ Tables_columns [$ T] [0]. Laquo;= '. $ Internal_id. Laquo; '; raquo ;; $ result=ibase_query ($ query); echo lt; table width= 70% border= 2 align= center gt; raquo ;; while ($ row=ibase_fetch_row ($ result)) {for ($ i=0; $ i lt; $ table_cols_count [$ T]; $ i ++) {echo lt; tr height= 32 gt; lt; td align= left gt; raquo ;; echo $ tables_titles [$ T] [$ i]; echo lt;/td gt; lt; td align= left gt; raquo ;; echo $ row [$ i]; echo lt;/td gt; lt;/tr gt; raquo ;;}} echo lt;/table gt; lt; p align= center gt; lt; a href=laquo;index.php?table=raquo;.$table_name[$T].laquo;amp;action=editformamp;raquo;.$tables_columns[$T][0].laquo;=raquo;.$internal_id.laquo;raquo;gt;lt;img src= images/b_edit.png border= 0 gt; lt;/img gt; lt;/a gt; lt;/p gt; lt; p align= center gt; lt; a href=laquo;index.php?table=raquo;.$table_name[$T].laquo;amp;action=deleteamp;raquo;.$tables_columns[$T][0].laquo;=raquo;.$internal_id.laquo;raquo;gt;lt;img src= images/b_drop.png border= 0 gt; lt;/img gt; lt;/a gt; lt;/p gt; raquo ;; @ ibase_free_result ($ result);} (@ $ _GET [ action ] == addform ) {echo lt; form action= index.php method= GET gt; lt; table width= 70% border= 2 align= center gt; raquo ;; echo lt; input type= hidden name= table value= . $ table_name [$ T]. gt; lt; input type= hidden name= action value= add gt; raquo ;; for ($ i=1; $ i lt; $ table_cols_count [$ T]; $ i ++) {echo lt; tr height= 32 gt; lt; td align = left gt; raquo ;; echo $ tables_titles [$ T] [$ i]; echo lt;/td gt; lt; td align= left gt; lt; input type= text name= . $ tables_columns [$ T] [$ i]. value= lt;/td gt; lt;/tr gt; raquo ;;} echo lt; tr height= 32 gt; lt; td align= center gt; lt; a href= index.php? table=. $ table_name [$ T]. amp; action=showall gt; lt; input type= button value= / gt; lt;/a gt; lt;/td gt; lt; td align= center gt; lt; input type= submit value= / gt; lt;/td gt; lt;/tr gt; lt;/table gt; raquo ;; @ ibase_free_result ($ result);} if (@ $ _GET [ action ] == add ) {$ connect=dbconnect ($ dbhost, $ dbuser, $ dbpass); $ query_columns=$ tables_columns [$ T] [1]; $ query_values ??= '. @ $ _GET [$ tables_columns [$ T] [1]]. ' raquo ;; for ($ i=2; $ i lt; $ table_cols_count [$ T]; $ i ++) {$ query_columns.=, . $ tables_columns [$ T ] [$ i]; $ query_values.=, '. @ $ _GET [$ tables_columns [$ T] [$ i]]. ' raquo ;;} $ query= INSERT INTO raquo ;. $ table_name [$ T]. (. $ query_columns. ) VALUES (. $ query_values. ); raquo ;; $ result=ibase_query ($ query); if ($ result) $ result=. raquo ;; else $ result=. raquo ;; echo lt; table width= 100% border= 2 gt; lt; tr height= 32 gt; lt; td align=laquo;centerraquo;gt;lt;bgt;raquo;.$table_title[$T].laquo;lt;/bgt;lt;/tdgt;lt;/trgt;lt;tr height= 32 gt; lt; td align= center gt; . $ result. lt;/td gt; lt;/tr gt; lt;/table gt; raquo ;; @ ibase_free_result ($ result );} f (@ $ _GET [ action ] == editform ) {$ connect=dbconnect ($ dbhost, $ dbuser, $ dbpass); $ internal_id=@ $ _GET [$ tables_columns [$ T] [0]]; $ query= SELECT * FROM . $ table_name [$ T]. WHERE . $ Tables_columns [$ T] [0]. Laquo;= '...