Actualizar 'index.php'

This commit is contained in:
Lucas 2021-04-09 17:30:18 +00:00
parent c238f887af
commit 4592317756
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ if(isset($_GET["p"])){
echo "<!DOCTYPE html><html><head><!--~weblogs v1--><title>".$posts[$post][1]." | $title</title><style>$style</style>$custom_css</head><body><a id='logo' href='?'><h1>$title</h1></a><div class='notlogo'>";
if(strpos($posts[$post][1],"\n")){$html_log=str_replace("\n","<br>",$posts[$post][2]);}else{$html_log=$posts[$post][1];}
echo "<h1>".$posts[$post][1]."</h1>".$posts[$post][0]."<br><br><div id='article'>$html_log</div>";
if($utterances!=False){echo "<br>$utterances";}
echo $footer;
}else{
header("Content-type: text/html");