<?php
include("../classes/dbfile.inc");
$GLOBALS['dbf'] = new database_file("../database");
//// check the user here
if($dbf->check_user($User,$Password) == -1){
$dbf->error("Permission denied to access this database");
}
$conn = '$connection';
$fd = fopen("common.inc", "w");
$fout = fwrite($fd,"<?php\n\r");
$fout = fwrite($fd,"include(\"../classes/dbfile.inc\");\n\r");
$fout = fwrite($fd,"\$dbf = new database_file(\"../database\");\n\r");
$fout = fwrite($fd,"?>");
?>
<html>
<head>
<title>dbfSql Admin version 1.00</title>
</head>
<!-- frames -->
<frameset rows="100,*" frameborder="yes" border="1" framespacing="no" noresize>
<frame name="up" src="up.php?User=<?php print("$User"); ?>" marginwidth="0" marginheight="0" scrolling="no" frameborder="no" border="0" framespacing="no" noresize>
<frameset rows="*,100" frameborder="yes" border="1" framespacing="no" noresize>
<frameset cols="25%,*,35%" frameborder="yes" border="1" framespacing="no" noresize>
<frame name="leftup" src="leftup.php" marginwidth="0" marginheight="0" scrolling="no" frameborder="no" border="0" framespacing="no" noresize>
<frame name="middleup" src="middleup.php" marginwidth="10" marginheight="0" scrolling="no" frameborder="no" border="0" framespacing="no" noresize>
<frame name="rightup" src="rightup.php" marginwidth="0" marginheight="0" scrolling="no" frameborder="no" border="0" framespacing="no" noresize>
</frameset>
<frame name="down" src="down.php" marginwidth="0" marginheight="0" scrolling="no" frameborder="no" border="0" framespacing="no" noresize>
</frameset>
</frameset>
</html>
|