Location: PHPKode > projects > WorkOrder TS > workorder-ts/setup_files/collect.php
<?PHP $_j0Jol='localhost';?> <!DOCTYPE html PUBLIC "-  <html xmlns="http:<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="md5.js" type="text/javascript"></script> <script src="validate.js" type="text/javascript"></script> <style type="text/css"> --> </style> <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script> <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" /> </head> <body class="twoColElsLt"> <SCRIPT TYPE="text/javascript" language="JavaScript1.2"> function popuphelpdbn() { window.open("popup_help.php?hlp=DatabaseName","mywindow","location=0,status=0,scrollbars=1,width=500,height=200");} function popuphelpsrva() { window.open("popup_help.php?hlp=ServerAddress","mywindow","location=0,status=0,scrollbars=1,width=500,height=200");} function popuphelplogfrm() { window.open("popup_help.php?hlp=ServerLoginFromAddress","mywindow","location=0,status=0,scrollbars=1,width=500,height=200");} function popuphelpdba() { window.open("popup_help.php?hlp=DatabaseAdmin","mywindow","location=0,status=0,scrollbars=1,width=500,height=200");} function popuphelpgstu() { window.open("popup_help.php?hlp=GuestUser","mywindow","location=0,status=0,scrollbars=1,width=500,height=200");} function popuphelpusrac() { window.open("popup_help.php?hlp=UserAccount","mywindow","location=0,status=0,scrollbars=1,width=500,height=200");} function popuphelptblpre() { window.open("popup_help.php?hlp=TablePrefix","mywindow","location=0,status=0,scrollbars=1,width=500,height=200");} function popuphelplik() { window.open("popup_help.php?hlp=LicenseKey","mywindow","location=0,status=0,scrollbars=1,width=500,height=200");} function popuphelpadmin() { window.open("popup_help.php?hlp=AdminPassword","mywindow","location=0,status=0,scrollbars=1,width=500,height=200");} function popuphelptech() { window.open("popup_help.php?hlp=TechPassword","mywindow","location=0,status=0,scrollbars=1,width=500,height=200");} function popuphelperrdeny() { window.open("popup_help.php?hlp=ErrorAccessDenied","mywindow","location=0,status=0,scrollbars=1,width=500,height=400");} function popuphelpmagic() { window.open("popup_help.php?hlp=MagicQWarning","mywindow","location=0,status=0,scrollbars=1,width=500,height=400");} function popuphelpdbex() { window.open("popup_help.php?hlp=DBExists","mywindow","location=0,status=0,scrollbars=1,width=500,height=400");} function popuphelpregglob() { window.open("popup_help.php?hlp=RegisterGlobals","mywindow","location=0,status=0,scrollbars=1,width=500,height=400");} </SCRIPT> <div id="container"> <div id="sidebar1"> <h3>Info Bar:</h3> <ol> <li class="SmallTableText">Click on the field label for a popup window explaining the setting in detail.</li> <li class="SmallTableText">Click on Test Settings to validate your settings before starting the installation.</li> </ol> </div> <div id="mainContent"> <?PHP if( !function_exists('mysql_connect') ) { die("<p>Your MySQL extension is not properly installed. Please check your installation or contact technical support. Setup aborted - <b>ERROR: mysql_connect</b>! </p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>");} if( !function_exists('mysql_query') ) { die("<p>Your MySQL extension is not properly installed. Please check your installation or contact technical support. Setup aborted - <b>ERROR: mysql_query</b>! </p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>");} ?> <p>Collecting Required information</p> <form action="install.php" method="post" name="myform" id="myform"> <table width="100%" border="1" cellspacing="0.5" cellpadding="0.5"> <tr> <td width="32%" class="SmallTableText"><a href="javascript: popuphelpdbn()" style="text-decoration: none">Database Name:</a></td> <td width="68%"> <input name="txtDatabaseName" type="text" id="txtDatabaseName" value="workorder" size="30" maxlength="30" /> </td> </tr> <tr> <td class="SmallTableText"><a href="javascript: popuphelpsrva()" style="text-decoration: none">Database Server Address:</a></td> <td> <input name="txtServerIP" type="text" id="txtServerIP" value="localhost" size="30" maxlength="60" /> </td> </tr> <tr> <td class="SmallTableText"><a href="javascript: popuphelplogfrm()" style="text-decoration: none">Dedicated Server Login From:</a></td> <td> <input name="txtServerLoginFromIP" type="text" id="txtServerLoginFromIP" value="<?PHP echo $_j0Jol; ?>" size="30" maxlength="60" /> </td> </tr> <tr> <td class="SmallTableText"><a href="javascript: popuphelpdba()" style="text-decoration: none">Database administrative user name:</a></td> <td> <input name="txtRootUser" type="text" id="txtRootUser" size="30" maxlength="30" /> </td> </tr> <tr> <td class="SmallTableText"><a href="javascript: popuphelpdba()" style="text-decoration: none">Database administrative password:</a></td> <td> <input name="txtRootPassword" type="text" id="txtRootPassword" size="30" maxlength="100" /> </td> </tr> <tr> <td class="SmallTableText"><a href="javascript: popuphelpgstu()" style="text-decoration: none">Guest User:</a></td> <td> <input name="txtGuestUser" type="text" id="txtGuestUser" value="work_guest" size="30" maxlength="16" /> </td> </tr> <tr> <td class="SmallTableText"><a href="javascript: popuphelpgstu()" style="text-decoration: none">Guest Password:</a></td> <td> <input name="txtGuestPassword" type="text" id="txtGuestPassword" size="30" maxlength="30" /> </td> </tr> <tr> <td class="SmallTableText"><a href="javascript: popuphelpusrac()" style="text-decoration: none">User Account:</a></td> <td> <input name="txtUserAccount" type="text" id="txtUserAccount" value="work_user" size="30" maxlength="16" /> </td> </tr> <tr> <td class="SmallTableText"><a href="javascript: popuphelpusrac()" style="text-decoration: none">User Password:</a></td> <td> <input name="txtUserPassword" type="text" id="txtUserPassword" size="30" maxlength="30" /> </td> </tr> <tr> <td class="SmallTableText"><a href="javascript: popuphelptblpre()" style="text-decoration: none">Table Name Prefix:</a></td> <td> <input name="txtTablePrefix" type="text" id="txtTablePrefix" value="workorder_" size="30" maxlength="10" /> </td> </tr> <tr> <td class="SmallTableText"><a href="javascript: popuphelplik()" style="text-decoration: none">License Key:</a></td> <td> <input name="txtLicenseKey" type="text" id="txtLicenseKey" size="30" maxlength="29" /> </td> </tr> <tr> <td class="SmallTableText"><a href="javascript: popuphelpadmin()" style="text-decoration: none">Admin Password:</a></td> <td><input name="txtAdminPassword" type="text" id="txtAdminPassword" size="30" /></td> </tr> <?PHP if( file_exists("../include/pro/calendar.php")==False ) { echo('   <tr>       <td class="SmallTableText"><a href="javascript: popuphelptech()" style="text-decoration: none">Tech Password:</a></td>       <td><input name="txtTechPassword" type="text" id="txtTechPassword" size="30" /></td>     </tr>');} else { echo('   <tr>      <td class="SmallTableText">Tech Password:</td>      <td class="SmallTableText">Not needed during professional install.<input name="txtTechPassword" type="hidden" id="txtTechPassword" size="30" /></td>    </tr>');} ?> </table> <p> <input type="button" name="button" value="Test Settings" onClick="javascript:showHint(this.value);"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="btnReset" id="btnReset" value="Clear Form" /> </p> <p>Test Results (might take upto <?PHP echo get_cfg_var("mysql.connect_timeout");?> seconds):<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="txtHint"></span></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