init
This commit is contained in:
16
index.php
Normal file
16
index.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
include_once 'View.php';
|
||||
|
||||
$sourceString = file_get_contents("mr.json");
|
||||
//echo $sourceString;
|
||||
$source = json_decode($sourceString, true);
|
||||
|
||||
foreach ($source as $key => $view) {
|
||||
if ($key != "-1") {
|
||||
$viewObj = new View($view, $key);
|
||||
echo $viewObj->toHTML();
|
||||
echo "<br>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user