diff options
-rw-r--r-- | config.php.example | 2 | ||||
-rw-r--r-- | order.php | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/config.php.example b/config.php.example index 7069536..39239a8 100644 --- a/config.php.example +++ b/config.php.example @@ -12,6 +12,8 @@ define('MAIL_PORT', 587); define('MAIL_USER', 'user'); define('MAIL_PASSWORD', 'password'); define('MAIL_FROM', 'system@example.com'); + +define('DOMAIN', 'dash.example.com'); /* Attempt to connect to MySQL database */ $link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME); @@ -92,8 +92,8 @@ function genoption($id, $name) { if (service["name"] == "vps") { document.getElementById("extraform").innerHTML = `<label><b>Options</b></label><br><label>Cores</label><br><select id=\"cpus\" onclick=\"calcprice()\"><option value=\"1\">1</option><option value=\"2\">2</option><option value=\"3\">3</option><option value=\"4\">4</option></select><br> - <label>Memory</label><br><select id=\"mem\" onclick=\"calcprice()\"><option value=\"1\">1GB</option><option value=\"2\">2GB</option><option value=\"3\">3GB</option><option value=\"4\">4GB</option></select><br> - <label>SSD</label><br><select id=\"ssd\" onclick=\"calcprice()\"><option value=\"5\">5GB</option><option value=\"10\">10GB</option><option value=\"20\">20GB</option><option value=\"30\">30GB</option></select><br> + <label>Memory</label><br><select id=\"mem\" onclick=\"calcprice()\"><option value=\"1\">1GB</option><option value=\"2\">2GB</option><option value=\"4\">4GB</option><option value=\"8\">8GB</option></select><br> + <label>SSD</label><br><select id=\"ssd\" onclick=\"calcprice()\"><option value=\"5\">5GB</option><option value=\"10\">10GB</option><option value=\"15\">15GB</option><option value=\"20\">20GB</option><option value=\"30\">30GB</option></select><br> <br><label id=\"calculated\">Calculated price: </label>`; } else document.getElementById("extraform").innerHTML = ""; updatecomment(); |