$new_disable_string = str_replace("show=1", "show=0", $installed_plugins); // Update String in Database mysql_query("UPDATE `options` SET `field_data` = '{$new_disable_string}' WHERE `options`.`field_name` LIKE 'installed_plugins%' AND `options`.`field_data` = '{$installed_plugins}' LIMIT 1"); } $cycle_counter++; // Next Plugin } $text_bar .= '<font color="blue"><strong>Plugin Tab Settings Updated</strong></font><br>'; } home_screen("Show/Hide Tabs", $text_bar, options_screen4(), "You can hide or show certain tabs at the top."); exit; } } if ($_GET["upgrade"] == "check" || $_GET["upgrade"] == "doupgrade") { $quick_info = 'This will check with the Timekoin website for any software updates that can be installed.'; home_screen("Upgrade Timekoin Software", options_screen3(), "", $quick_info); } else { if ($_GET["hashcode"] == "manage" || $_GET["hashcode"] == "save") { $quick_info = 'Manage which Hash Codes have access to desired external functions of the server API.<br><br> Hash Codes can only be letters and/or numbers with no spaces.'; home_screen("Manage Hash Code Access", $body_text, NULL, $quick_info); } else { $quick_info = 'You may change the username and password individually or at the same time. <br><br>Remember that usernames and passwords are Case Sensitive. <br><br><strong>Generate New Keys</strong> will create a new random key pair and save it in the database. <br><br><strong>Check for Updates</strong> will check for any program updates that can be downloaded directly into Timekoin. <br><br><strong>Hash Code</strong> is a private code you create for any external program or server that request access to more advanced features of your Timekoin server. <br><br><strong>Super Peer Limit</strong> controls how many transaction cycles other peers will download in bulk.'; home_screen("Options & Personal Settings", options_screen(), $body_text, $quick_info); } }
$body_text = options_screen2(); } } if ($_GET["newkeys"] == "confirm") { if (generate_new_keys() == TRUE) { $body_text .= '<font color="green"><strong>New Private & Public Key Pair Generated!</strong></font></br>'; } else { $body_text .= '<font color="red"><strong>New Key Creation Failed!</strong></font></br>'; } } $quick_info = 'You may change the username and password individually or at the same time. </br></br>Remember that usernames and passwords are Case Sensitive. </br></br><strong>Generate New Keys</strong> will create a new random key pair and save it in the database. </br></br><strong>Check for Updates</strong> will check for any program updates that can be downloaded directly into Timekoin.'; if ($_GET["upgrade"] == "check" || $_GET["upgrade"] == "doupgrade") { home_screen("Options & Personal Settings", options_screen3(), "", $quick_info); } else { home_screen("Options & Personal Settings", options_screen(), $body_text, $quick_info); } exit; } //**************************************************************************** //**************************************************************************** if ($_GET["menu"] == "send") { $my_public_key = my_public_key(); if ($_GET["check"] == "key") { $send_amount = $_POST["send_amount"]; $public_key_64 = $_POST["send_public_key"]; $public_key_to = base64_decode($public_key_64); $current_balance = db_cache_balance($my_public_key); if ($send_amount > $current_balance) {