home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <HEAD>
- <TITLE>Sambar Server DBMS Control Panel</TITLE>
- <SCRIPT language="JavaScript">
- <!--
- function Form_Validator(theForm)
- {
- if (theForm.sql.value == "")
- {
- alert("Please enter a value for the \"SQL\" field.");
- theForm.sql.focus();
- return (false);
- }
- }
- //-->
- </SCRIPT>
- </HEAD>
- <%
- #include "../header.asp"
- #include "../menu.asp"
- area = "isql";
- #include "submenu.asp"
- %>
- <BR>
- <CENTER>
- <%
- if (strcasecmp(envt("usedbms"), "true") != 0)
- {
- printf("The DBMS subsystem is currently disabled.");
- }
- else
- {
- %>
- <FORM METHOD=POST ACTION="/sysadmin/control/dbms/data.asp" TARGET=data onsubmit="return Form_Validator(this)">
- <TABLE border=0>
- <TR><TD>
- <FONT SIZE=+1 COLOR=#000080>DBMS Cache:</FONT>
- <SELECT NAME="dbcache">
- <%
- list = dbcachelist();
- for (i = 0; i < sizeof(list); i++)
- printf("<OPTION>%s\n", list[i]);
- %>
- </SELECT>
- <BR>
- <TEXTAREA NAME="sql" ROWS=4 COLS=60></TEXTAREA><BR>
- <INPUT TYPE=submit VALUE="Execute SQL">
- </TD></TR>
- </TABLE>
- <%
- }
- %>
- </FORM>
- </CENTER>
- </BODY></HTML>
-