{$_SESSION['modname']} Unique Items

Auto generated with D2Modder by Hash Casper

EOT; $htmlbottom = << EOT; $htmlFinal = ''; $htmlFinal .= $htmltop; echo $htmltop; ob_flush(); $dir = getcwd() . "/docs/{$_SESSION['modname']}"; mkdir($dir, 0777, true); /* START MAIN LOOP HERE * * For each unique item index, now grab item data * */ foreach ($uIndex as $u) { //$items[] = $idata->uniqueItems($u['index'], true); //var_dump($u['index']); $item = $idata->uniqueItems($u['index'], true); $itemBoxTop = <<

EOT; $itemBoxBottom = <<

EOT; echo $itemBoxTop; ob_flush(); $htmlFinal .= $itemBoxTop; //index $props = ""; // $itemFull .= $itemBoxTop . $props . $itemBoxBottom; // echo $itemFull; echo $props; echo $itemBoxBottom; ob_flush(); $htmlFinal .= $props.$itemBoxBottom; }// end loop echo $htmlbottom; $htmlFinal .= $htmlbottom; file_put_contents("$dir/uniqueitems.html", $htmlFinal); header("Location: /docs/{$_SESSION['modname']}/uniqueitems.html"); }