Tryag File Manager
Home
-
Turbo Force
Current Path :
/
home
/
cluster1
/
data
/
bu01
/
1121861
/
html
/
scripts
/
jlex-addons
/
Upload File :
New :
File
Dir
/home/cluster1/data/bu01/1121861/html/scripts/jlex-addons/nahuatl_setup.php5
<? include_once("../../php5/db_loader.php5"); $function = $_POST["function"]; if($function == "") { $function = $_GET["function"]; } if($function == "create_mydictionary_db") { $dl = new db_loader(); $dl->xml_to_db_bulk("mydict","../../mydict/schema.xml","",$dl->CREATE_NEW_DATABASE); echo "<B>Thank you for creating a My Dictionary database! Please click <a href='../html_php5/login.html'>here</a> to login to your My Dictionary.</B><BR>"; echo "Please click <a href='../html_php5/nahuatl_setup.html'>here</a> to return Nahuatl Setup."; } else if($function == "create_user_db") { $dl = new db_loader(); $dl->xml_to_db_bulk("user","../../user/schema.xml","",$dl->CREATE_NEW_DATABASE); echo "<B>Thank you for creating a User database! Please click on <a href='../html_php5/login.html'>here</a> to create your first account.</B><BR>"; echo "Please click <a href='../html_php5/nahuatl_setup.html'>here</a> to return Nahuatl Setup."; } ?>