mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 12:16:57 +00:00
issue #49: link with status 0.0 will not be shown and somepthere fixes for security
This commit is contained in:
parent
13d39dc5c2
commit
39d93838e5
2 changed files with 8 additions and 4 deletions
|
@ -76,7 +76,11 @@ if (!preg_match("~^(?:f|ht)tps?://~i", $data[3])) {
|
|||
echo $urllink . '"> '; // display the link
|
||||
echo $data[2] . ' </a></p></td><td class="description">'; // display the link title and close the a href and first cell, open the second cell
|
||||
echo $data[5] . " </td><td>"; // OPTIONAL: display the description column
|
||||
echo $data[7] . " </td><td>"; // display the score and close the second cell, open the third cell
|
||||
if ($data[7] == 0.0){
|
||||
continue;
|
||||
}else{
|
||||
echo $data[7] . " </td><td>"; // display the score and close the second cell, open the third cell
|
||||
}
|
||||
if($data[6] == "YES"){
|
||||
echo "✔️" ;
|
||||
}else{
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
<meta property="og:title" content="Darknet Lantern" />
|
||||
<meta property="og:type" content="website" />
|
||||
<!-- // Now displays the url of the instance -->
|
||||
<meta property="og:url" content="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?>" />
|
||||
<meta property="og:url" content="<?php echo htmlspecialchars($_SERVER['SERVER_NAME']); ?>" />
|
||||
<!-- // Default images for previews -->
|
||||
<meta property="og:image:url" content="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']) . "/img/logo-large.png"; ?>" />
|
||||
<meta property="og:image:url" content="<?php echo htmlspecialchars($_SERVER['SERVER_NAME']) . "/img/logo-large.png"; ?>" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<!-- // This tells search engines which URL should be considered the original source when multiple URLs contain the same content. -->
|
||||
<link rel="canonical" href="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?>" />
|
||||
<link rel="canonical" href="<?php echo htmlspecialchars($_SERVER['SERVER_NAME']); ?>" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
<link rel="icon" href="/img/logo-favicon.png">
|
||||
</head>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue