Update index.php
This commit is contained in:
parent
0e0e818c59
commit
d65e3bd178
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user