1

Update index.php

This commit is contained in:
Evan Pratten 2017-09-10 11:27:07 -04:00 committed by GitHub
parent 0e0e818c59
commit d65e3bd178

View File

@ -62,7 +62,14 @@
<div class="rantlist-bg">
<ul class="rantlist">
<?php echo '<li class="rant-comment-row-widget" data-id="829770" data-type="rant"><div class="rantlist-title-text">${title}</div><${type} src="${src}" href="${href}" width=100%'></ul></div>?>
<?php
$string = file_get_contents("./content/test.json");
$json_a = json_decode($string, true);
echo $json_a[src];
echo '<li class="rant-comment-row-widget" data-id="829770" data-type="rant"><div class="rantlist-title-text">${title}</div><${type} src="${src}" href="${href}" width=100%'></ul></div>;
?>
<li class="rant-comment-row-widget" data-id="829770" data-type="rant">