You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ygdc/site/templates/default.php

24 lines
669 B

<?php snippet("header", ['title' => "???"]) ?>
<h1><?= $page->title() ?></h1>
<!-- <h2><?= $page->uuid() ?></h2> -->
<?=
var_dump($page->getStats($page->children()->first()->players()->toPages()->first()->uuid()->toString()));
?>
<?php
//
// foreach ($page->children() as $page) {
// echo json_decode($page->stats()->toString())->stats[0]->average[0];
// echo "/";
// echo json_decode($page->stats()->toString())->stats[0]->average[1];
// echo "<br>";
// echo json_decode($page->stats()->toString())->stats[1]->average[0];
// echo "/";
// echo json_decode($page->stats()->toString())->stats[1]->average[1];
// echo "<br>";
// };
?>