From f2faa1ce41e39feab8f4912f1dc342bea3643da2 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 26 Nov 2012 02:25:42 -0500 Subject: [PATCH] Update form with new control --- d3hog_driver.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/d3hog_driver.php b/d3hog_driver.php index 8e01e67..ddb76a5 100644 --- a/d3hog_driver.php +++ b/d3hog_driver.php @@ -6,6 +6,7 @@ include_once(__DIR__ . '/libs/dpclass.php'); if($_POST['submit']) { $diabloProgressUrl = trim($_POST['url']); + $elementalOnWeapon = isset($_POST['elemental']['elemental']) ? true : false; if(preg_match('{^http://www.diabloprogress.com/hero/[\w]+\-[\d]+/[\w]+/[\d]+$}', $diabloProgressUrl) != 1) { die('Bad URL. Please enter the entire diablo progress URL.

Example: http://www.diabloprogress.com/hero/celanian-1548/HsuMing/21706367'); } @@ -38,5 +39,6 @@ Paragon Score: paragonScore(), 2, '.', ',') ?>
D3 Progress URL:
+ Elemental Damage on Weapon: />
\ No newline at end of file