# HG changeset patch # User Matti Hamalainen # Date 1294611396 -7200 # Node ID 332b25bb4e36070c99bd5d3a4e5cd51c4d05bfed Initial import. diff -r 000000000000 -r 332b25bb4e36 index.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/index.php Mon Jan 10 00:16:36 2011 +0200 @@ -0,0 +1,447 @@ +".htmlentities($label)."\n". + "\n"; +} + + +printPageHeader($pageTitle); +echo "

".$pageTitle."

\n"; + +if ($formMode == 0) { +?> + +

+First, you should provide a list of equipments you wish to manage. +Just plain copy & paste of an inventory listing is enough. +

+

+Stacks of items are not supported, and few other things may cause problems too. +

+
+

+ +
+ +
+
+|\(\d+\/\d+\))$/", $str, $m)) + $str = $m[1]; + + // Discard multi-item lines + if (preg_match("/^(two|three|four|five|six|seven|eight|nine)\s+/", $str)) { + $ignored[$str] = "multi"; + } else { + $data["items"][] = $str; + } + } + } + + if (count($ignored) > 0) { +?> +

Item data processed. Following lines were not accepted:

+ + + $reason) { + echo " \n"; + } +?> +
ItemReason
".htmlentities($name)."".htmlentities($reason)."
+ +
+ + + +
+ +
+ +

+ When you are ready, hit to go to command creation step. +

+ + + + + + + + + +
+

Items pool

+ +
+ + + + +
+
+

Editing chest ""

+ +
+ +
+

Create / edit a chest

+ + +
+

Chests

+ +
+ + +
+
+
 
+ +An error occured\n". + "

".$errorMsg."

"; +} + +printPageFooter(); +?>