RSS feed added to the Index
This commit is contained in:
parent
3455b93b6f
commit
6381967f93
|
@ -32,9 +32,9 @@ while($ao < count($posts)){
|
|||
</rss>
|
||||
<?php }else{
|
||||
header("Content-type: text/html");
|
||||
if($website!=False){$website="<a href='$website'>Website</a><br>";}else{$website="";}
|
||||
if($website!=False){$website="<a href='$website'>Website</a> - ";}else{$website="";}
|
||||
if($description!=False){$description="<p>$description</p>";}
|
||||
echo "<!DOCTYPE html><html><head><title>$title</title><style>$style</style>$custom_css</head><body><a id='logo' href='?'><h1>$title</h1></a>$description$website<div class='notlogo'>";
|
||||
echo "<!DOCTYPE html><html><head><title>$title</title><style>$style</style>$custom_css</head><body><a id='logo' href='?'><h1>$title</h1></a>$description$website<a href='?rss'>RSS Feed</a><br><div class='notlogo'>";
|
||||
$a=count($posts)-1;$ao=0;$next=$a+1;
|
||||
while($ao < count($posts)){
|
||||
echo "<p><b><a href='?p=$next'>".$posts[$a][1]."</a></b> ".$posts[$a][0]."</p>";
|
||||
|
|
Loading…
Reference in New Issue