diff --git a/index.php b/index.php
index f8aa817..fb1a650 100644
--- a/index.php
+++ b/index.php
@@ -3,6 +3,8 @@ $IIDX_Location = "192.168.1.80";
$IIDX_Port = 4500;
$SDVX_Location = "192.168.1.81";
$SDVX_Port = 4500;
+$POPN_Location = "192.168.1.82";
+$POPN_Port = 4500;
if (!file_exists('cards.json')) { fopen('cards.json','w'); }
// if cards.json does not exist, we create it
@@ -153,6 +155,20 @@ file_put_contents('settings.json',json_encode($settings));
width: 90%;
margin: auto;
}
+ #step_one p {
+ text-align: center;
+ width: 90%;
+ margin: auto;
+ font-weight: bold;
+ font-size: 150%;
+ }
+ #step_two p {
+ text-align: center;
+ width: 90%;
+ margin: auto;
+ font-weight: bold;
+ font-size: 165%;
+ }
.trigger {
display: block;
margin: auto;
@@ -474,11 +490,30 @@ if (isset($_POST['trigger']) && ($_POST['trigger'] == 'edit' || $_POST['trigger'
}
fclose($fp);
}
- }
+ }
+ if($slot == 'POPN') // edit p1
+ {
+ $fp = fsockopen($POPN_Location, $POPN_Port, $errno, $errstr, 5);
+ if (!$fp)
+ {
+ echo "$errstr ($errno)
\n";
+ }
+ else
+ {
+ fwrite($fp, "1:" . $_POST['id']);
+ while (!feof($fp))
+ {
+ echo fgets($fp, 128);
+ }
+ fclose($fp);
+ }
+ }
}
?>
Step One: Select Machine
+