Сихронизация с актуальной версией.
This commit is contained in:
22
err.php
Normal file
22
err.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
$str = '';
|
||||
foreach (file(1) as $line) {
|
||||
$class = strstr($line, 'Insallah')? 'i' : '';
|
||||
$class .= strstr($line, 'Notice')? 'n' : '';
|
||||
if (!strstr($line, 'Insallah') && isset($_GET['my'])) continue;
|
||||
$str .= "<li><span class='$class'>$line</span></li>";
|
||||
}
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang=ru>
|
||||
|
||||
<meta charset=UTF-8/>
|
||||
<style>
|
||||
li {font-family: "Fira Code Light", Consolas, monospace; margin: 5px 0;}
|
||||
li:hover {background-color: lavender;}
|
||||
.i {font-style: italic; background-color: lightgoldenrodyellow}
|
||||
.n {color: silver;}
|
||||
</style>
|
||||
<title></title>
|
||||
<ol><?= $str ?></ol>
|
||||
Reference in New Issue
Block a user