Location: PHPKode > projects > WorkOrder TS > workorder-ts/setup_files/setup_variable_values.inc.php
<?PHP $db=NULL;$db_un_guest=NULL;$db_pw_guest=NULL;$db_un_user=NULL;$db_pw_user=NULL;$db_server=NULL;$TableConfig=NULL;if (get_magic_quotes_gpc()) { if( isset($_POST['db']) ) { $db=$_POST['db'];} if( isset($_POST['db_un_guest']) ) { $db_un_guest=$_POST['db_un_guest'];} if( isset($_POST['db_pw_guest']) ) { $db_pw_guest=$_POST['db_pw_guest'];} if( isset($_POST['db_un_user']) ) { $db_un_user=$_POST['db_un_user'];} if( isset($_POST['db_pw_user']) ) { $db_pw_user=$_POST['db_pw_user'];} if( isset($_POST['db_server']) ) { $db_server=$_POST['db_server'];} if( isset($_POST['webserver_ip']) ) { $_j0Jol=$_POST['webserver_ip'];} if( isset($_POST['TableConfig']) ) { $TableConfig=$_POST['TableConfig'];} } else { if( isset($_POST['db']) ) { $db=$_POST['db'];} if( isset($_POST['db_un_guest']) ) { $db_un_guest=addslashes($_POST['db_un_guest']);} if( isset($_POST['db_pw_guest']) ) { $db_pw_guest=addslashes($_POST['db_pw_guest']);} if( isset($_POST['db_un_user']) ) { $db_un_user=addslashes($_POST['db_un_user']);} if( isset($_POST['db_pw_user']) ) { $db_pw_user=addslashes($_POST['db_pw_user']);} if( isset($_POST['db_server']) ) { $db_server=addslashes($_POST['db_server']);} if( isset($_POST['webserver_ip']) ) { $_j0Jol=addslashes($_POST['webserver_ip']);} if( isset($_POST['TableConfig']) ) { $TableConfig=addslashes($_POST['TableConfig']);} } $_jOC8O='<?php'."\n".'   //Configuration settings for public/guest user'."\n".'    $self = $_SERVER[\'PHP_SELF\'];'."\n".'    $url = $_SERVER[\'PHP_SELF\'];'."\n".'    $debug = 0; //Debug 0 or 1'."\n".'    $confLocalFormatTime = "%b-%d-%Y %h:%i %p"; //USA Format %m-%d-%Y %h:%i:%p'."\n".'    $confLocalFormatTimePHP = \'F-j-Y,g:i a\'; //Time Format for PHP, used when the tech adds the ticket'."\n".'    $ShowGenerationTime = 0; //Show Page Generation Time'."\n".'    $db = "'.$db.'";'."\n".'    $webserverip = "'.$_j0Jol.'";'."\n".'    $db_un_guest = "'.$db_un_guest.'";'."\n".'    $db_pw_guest = "'.$db_pw_guest.'";'."\n".'    $db_server = "'.$db_server.'";'."\n".'    if( isset($_GET[\'SSID\']) ) { $SSID_Ver = addslashes($_GET[\'SSID\']); }'."\n".'    $TableConfig = "'.$TableConfig.'"; //Define Config Table Name'."\n".'   ?>';$_jOC8O=str_replace("\'", "'",$_jOC8O);$_jOi60='<?php'."\n".'   //Configuration settings for admin user'."\n".'    $self = $_SERVER[\'PHP_SELF\'];'."\n".'    $url = $_SERVER[\'PHP_SELF\'];'."\n".'    $debug = 0; //Debug 0 or 1'."\n".'    $confLocalFormatTime = "%b-%d-%Y %h:%i %p"; //USA Format %m-%d-%Y %h:%i:%p'."\n".'    $confLocalFormatTimePHP = \'F-j-Y,g:i a\'; //Time Format for PHP, used when the tech adds the ticket'."\n".'    $db_user = "'.$db.'";'."\n".'    $webserverip = "'.$_j0Jol.'";'."\n".'    $db_un_user = "'.$db_un_user.'";'."\n".'    $db_pw_user = "'.$db_pw_user.'";'."\n".'    $db_server_user = "'.$db_server.'";'."\n".'    $Now = date("Y-m-d H:i:s"); //Holds time in proper format'."\n".'    $TableConfig = "'.$TableConfig.'";'."\n".'   ?>';$_jOi60=str_replace("\'", "'",$_jOi60);?>
Return current item: WorkOrder TS