Location: PHPKode > projects > WorkOrder TS > workorder-ts/setup_files/install.php
<?PHP error_reporting(E_ALL);$inc_dir='../include/';require_once $inc_dir.'magic_quotes.php';require_once 'tables_values.php';if( isset($_POST['txtDatabaseName']) ) { $_jI08i=htmlentities($_POST['txtDatabaseName']);} else { $_jI08i=Null;} if( isset($_POST['txtServerIP']) ) { $_jI1JI=htmlentities($_POST['txtServerIP']);} else { $_jI1JI=Null;} if( isset($_POST['txtServerLoginFromIP']) ) { $_jI1l6=htmlentities($_POST['txtServerLoginFromIP']);} else { $_jI1l6=Null;} if( isset($_POST['txtRootUser']) ) { $_jIIiC=htmlentities($_POST['txtRootUser']);} else { $_jIIiC=Null;} if( isset($_POST['txtRootPassword']) ) { $_jIji0=htmlentities($_POST['txtRootPassword']);} else { $_jIji0=Null;} if( isset($_POST['txtGuestUser']) ) { $_jI6t0=htmlentities($_POST['txtGuestUser']);} else { $_jIfQl=Null;} if( isset($_POST['txtGuestPassword']) ) { $_jIfOC=htmlentities($_POST['txtGuestPassword']);} else { $_jIfOC=Null;} if( isset($_POST['txtUserAccount']) ) { $_jIt66=htmlentities($_POST['txtUserAccount']);} else { $_jIt66=Null;} if( isset($_POST['txtUserPassword']) ) { $_jIOtO=htmlentities($_POST['txtUserPassword']);} else { $_jIOtO=Null;} if( isset($_POST['txtTablePrefix']) ) { $_jIOL6=htmlentities($_POST['txtTablePrefix']);} else { $_jIOL6=Null;} if( isset($_POST['txtAdminPassword']) ) { $_jIoOt=htmlentities($_POST['txtAdminPassword']);} else { $_jIoOt=Null;} if( isset($_POST['txtTechPassword']) ) { $_jIC60=htmlentities($_POST['txtTechPassword']);} else { $_jIC60=Null;} if( isset($_POST['txtLicenseKey']) ) { $_jICL1=htmlentities($_POST['txtLicenseKey']);} else { $_jICL1=Null;} if( isset($_POST['StoreNum']) ) { $StoreNum=htmlentities($_POST['StoreNum']);} else { $StoreNum=Null;} if( isset($_POST['CanCreateDatabases']) ) { $_jIiOQ=htmlentities($_POST['CanCreateDatabases']);} else { $_jIiOQ=Null;} if( isset($_POST['CanDeleteDatabases']) ) { $_jIilQ=htmlentities($_POST['CanDeleteDatabases']);} else { $_jIilQ=Null;} if( isset($_POST['CanCreateTables']) ) { $_jQfL8=htmlentities($_POST['CanCreateTables']);} else { $_jQfL8=Null;} if( isset($_POST['CanDeleteTables']) ) { $_jILt8=htmlentities($_POST['CanDeleteTables']);} else { $_jILt8=Null;} ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>WorkOrder TS Setup</title> <link href="setup.css" rel="stylesheet" type="text/css" /> <script src="validate_config.js"></script> <script src="populate.js"></script> </head> <body class="twoColElsLt"> <div id="container"> <div id="sidebar1"> <h3>Info Bar:</h3> <p>This side bar is here to provide you with additional setup information.</p> </div> <div id="mainContent"> <p>Please download the configuration files below </p> <p class="SmallTableText">Download the config files by pressing the buttons below and save them into the <u>include directory</u>.The file names must be <br /> config-guest.inc.php and config-user.inc.php<br /> <a href="sample_overwrite.png" target="_blank" class="SmallTableText">See Screenshot Example</a></p> <p> <span class="SmallTableText"><strong>WARNING INTERNET EXPLORER 6 will rename the files to config-guest[1].inc.php and config-user[1].inc.php.Please remove the brackets and number [1] or the installation will fail!</strong></span><br /> </p> <table border="0" cellpadding="2" cellspacing="2"> <tbody> <tr> <td> <form method="POST" action="setup-old.php?AdminCmd=Download&amp;F=1"> <input name="db_un_guest" value="<?PHP echo $_jI6t0; ?>" type="hidden"> <input name="db_pw_guest" value="<?PHP echo $_jIfOC; ?>" type="hidden"> <input name="db_un_user" value="<?PHP echo $_jIt66; ?>" type="hidden"> <input name="db_pw_user" value="<?PHP echo $_jIOtO; ?>" type="hidden"> <input name="db" value="<?PHP echo $_jI08i; ?>" type="hidden"> <input name="db_user" value="<?PHP echo $_jI08i; ?>" type="hidden"> <input name="db_server" value="<?PHP echo $_jI1JI; ?>" type="hidden"> <input name="webserver_ip" value="<?PHP echo $_jI1l6; ?>" type="hidden"> <input name="db_server_user" value="<?PHP echo $_jI1JI; ?>" type="hidden"> <input name="TableConfig" value="<?PHP echo $_jIOL6.$_ILJ6l['Config']; ?>" type="hidden"> <input name="AdminCmd" value="Download" type="hidden"> <input name="Submit" value="Download config-guest.inc.php" type="submit"> </form> </td> <td > <form method="POST" action="setup-old.php?AdminCmd=Download&amp;F=3"> <input name="db_un_guest" value="<?PHP echo $_jI6t0; ?>" type="hidden"> <input name="db_pw_guest" value="<?PHP echo $_jIfOC; ?>" type="hidden"> <input name="db_un_user" value="<?PHP echo $_jIt66; ?>" type="hidden"> <input name="db_pw_user" value="<?PHP echo $_jIOtO; ?>" type="hidden"> <input name="db" value="<?PHP echo $_jI08i; ?>" type="hidden"> <input name="db_user" value="<?PHP echo $_jI08i; ?>" type="hidden"> <input name="db_server" value="<?PHP echo $_jI1JI; ?>" type="hidden"> <input name="webserver_ip" value="<?PHP echo $_jI1l6; ?>" type="hidden"> <input name="db_server_user" value="<?PHP echo $_jI1JI; ?>" type="hidden"> <input name="TableConfig" value="<?PHP echo $_jIOL6.$_ILJ6l['Config']; ?>" type="hidden"> <input name="AdminCmd" value="Download" type="hidden"> <input name="Submit" value="Download config-user.inc.php" type="submit"> </form> </td> </tr> </tbody> </table> <form method="get" name="frmCheckConf" id="frmCheckConf"> <br /> <input type="button" name="button" value="Test Config Files" onClick="javascript:testConfig(this.value);"/> <br /> Test Results:<br /> <span class="SmallTableText"><img src="grfx/check_ok.png" alt="OK" width="22" height="11" border="0" /> Test OK:<img src="grfx/check_warning.png" alt="Test Warning" width="22" height="11" /> Test Warning:<img src="grfx/check_error.png" alt="Test Error" width="22" height="11" />Test Error</span><br /><span class="SmallTableText" id="txtCon"></span> <input type="hidden" name="DbaseName" id="DbaseName" value="<?PHP echo $_jI08i; ?>" /> <input type="hidden" name="DbaseIP" id="DbaseIP" value="<?PHP echo $_jI1JI; ?>" /> <input type="hidden" name="wologip" id="wologip" value="<?PHP echo $_jI1l6; ?>" /> <input type="hidden" name="DbaseRootU" id="DbaseRootU" value="<?PHP echo $_jIIiC; ?>" /> <input type="hidden" name="DbaseRootP" id="DbaseRootP" value="<?PHP echo $_jIji0; ?>" /> <input type="hidden" name="GuestAccount" id="GuestAccount" value="<?PHP echo $_jI6t0; ?>" /> <input type="hidden" name="GuestPassword" id="GuestPassword" value="<?PHP echo $_jIfOC; ?>" /> <input type="hidden" name="UserAccount" id="UserAccount" value="<?PHP echo $_jIt66; ?>" /> <input type="hidden" name="UserPassword" id="UserPassword" value="<?PHP echo $_jIOtO; ?>" /> <input type="hidden" name="TablePrefix" id="TablePrefix" value="<?PHP echo $_jIOL6; ?>" /> <input type="hidden" name="AdminPassword" id="AdminPassword" value="<?PHP echo $_jIoOt; ?>" /> <input type="hidden" name="TechPassword" id="TechPassword" value="<?PHP echo $_jIC60; ?>" /> <input type="hidden" name="LicenseKey" id="LicenseKey" value="<?PHP echo $_jICL1; ?>" /> <input type="hidden" name="StoreNum" id="StoreNum" value="<?PHP echo $StoreNum; ?>" /> <input type="hidden" name="CanCreateDatabases" id="CanCreateDatabases" value="<?PHP echo $_jIiOQ; ?>" /> <input type="hidden" name="CanDeleteDatabases" id="CanDeleteDatabases" value="<?PHP echo $_jIilQ; ?>" /> <input type="hidden" name="CanCreateTables" id="CanCreateTables" value="<?PHP echo $_jQfL8; ?>" /> <input type="hidden" name="CanDeleteTables" id="CanDeleteTables" value="<?PHP echo $_jILt8; ?>" /> <?PHP ?> </form> <p>&nbsp;</p> <form> <span class="SmallTableText" id="txtPopulate"></span> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> </form> <p>&nbsp;</p> </div> <div class="footer"> <div align="center" class="SmallTableText"><a href="../setup.php">Back To Main Page</a></div> </div> <br class="clearfloat" /> </div> </body> </html>
Return current item: WorkOrder TS