Actualizar 'index.php'

This commit is contained in:
Lucas 2021-04-10 22:28:33 +00:00
parent 6381967f93
commit ed88a4952b
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ if(isset($_GET["p"])){
set_error_handler("notfound");
header("Content-type: text/html");
$post=$_GET["p"]-1;
echo "<!DOCTYPE html><html><head><!--~weblogs v1.1--><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 "<!DOCTYPE html><html><head><!--~weblogs v1.1 [Fixed]--><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][2];}
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;