Update index.php
This commit is contained in:
parent
0777230c53
commit
803fd99a6a
@ -62,7 +62,8 @@
|
||||
|
||||
<div class="rantlist-bg">
|
||||
<ul class="rantlist">
|
||||
<?php $url = './content/test.json'; $content = file_get_contents($url); $json = json_decode($content, true); 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 $url = './content/test.json'; $content = file_get_contents($url); $json = json_decode($content, true); foreach($json as $i){echo $i['src'];} ?>
|
||||
<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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user