Gallery is updated with the new image url from imgland.net

This commit is contained in:
Stefan Brannfjell 2014-06-14 08:03:16 +02:00
parent 0c6f177d45
commit 459e5118f5
2 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ if ($images != false) {
</tr>
<tr>
<td>
<a href="<?php echo 'http://'. $pw[0] .'.imgland.net/'. $pw[1] .'.'. $pw[2]; ?>"><img src="<?php echo 'http://'. $pw[0] .'.imgland.net/'. $pw[1] .'.'. $pw[2]; ?>" width="650"/></a>
<a href="<?php echo 'http://'. $pw[0] .'.ii.gl/'. $pw[1] .'.'. $pw[2]; ?>"><img src="<?php echo 'http://'. $pw[0] .'.ii.gl/'. $pw[1] .'.'. $pw[2]; ?>" width="650"/></a>
</td>
</tr>
<tr>
@ -75,7 +75,7 @@ if ($images != false) {
</tr>
<tr>
<td>
<a href="<?php echo 'http://'. $pw[0] .'.imgland.net/'. $pw[1] .'.'. $pw[2]; ?>"><img src="<?php echo 'http://'. $pw[0] .'.imgland.net/'. $pw[1] .'.'. $pw[2]; ?>" width="650"/></a>
<a href="<?php echo 'http://'. $pw[0] .'.ii.gl/'. $pw[1] .'.'. $pw[2]; ?>"><img src="<?php echo 'http://'. $pw[0] .'.ii.gl/'. $pw[1] .'.'. $pw[2]; ?>" width="650"/></a>
</td>
</tr>
<tr>
@ -103,7 +103,7 @@ if ($images != false) {
</tr>
<tr>
<td>
<a href="<?php echo 'http://'. $pw[0] .'.imgland.net/'. $pw[1] .'.'. $pw[2]; ?>"><img src="<?php echo 'http://'. $pw[0] .'.imgland.net/'. $pw[1] .'.'. $pw[2]; ?>" width="650"/></a>
<a href="<?php echo 'http://'. $pw[0] .'.ii.gl/'. $pw[1] .'.'. $pw[2]; ?>"><img src="<?php echo 'http://'. $pw[0] .'.ii.gl/'. $pw[1] .'.'. $pw[2]; ?>" width="650"/></a>
</td>
</tr>
<tr>

View File

@ -16,7 +16,7 @@ if ($logged_in === true) {
}
if (!empty($_POST['image']) && !empty($_POST['title']) && !empty($_POST['desc'])) {
$image = sanitize($_POST['image']);
$image = str_replace("www", "", str_replace(":", "", str_replace("/", "", str_replace(".", "!", str_replace("imgland.net", "", str_replace("http", "", $image))))));
$image = str_replace("www", "", str_replace(":", "", str_replace("/", "", str_replace(".", "!", str_replace("ii.gl", "", str_replace("http", "", $image))))));
$title = sanitize($_POST['title']);
$desc = sanitize($_POST['desc']);
@ -35,7 +35,7 @@ if ($logged_in === true) {
</tr>
<tr>
<td>
<a href="<?php echo 'http://'. $pw[0] .'.imgland.net/'. $pw[1] .'.'. $pw[2]; ?>" target="_BLANK"><img class="galleryImage" src="<?php echo 'http://'. $pw[0] .'.imgland.net/'. $pw[1] .'.'. $pw[2]; ?>"/></a>
<a href="<?php echo 'http://'. $pw[0] .'.ii.gl/'. $pw[1] .'.'. $pw[2]; ?>" target="_BLANK"><img class="galleryImage" src="<?php echo 'http://'. $pw[0] .'.ii.gl/'. $pw[1] .'.'. $pw[2]; ?>"/></a>
</td>
</tr>
<tr>
@ -73,7 +73,7 @@ if (empty($_POST)) {
</tr>
<tr>
<td>
<a href="<?php echo 'http://'. $pw[0] .'.imgland.net/'. $pw[1] .'.'. $pw[2]; ?>" target="_BLANK"><img class="galleryImage" src="<?php echo 'http://'. $pw[0] .'.imgland.net/'. $pw[1] .'.'. $pw[2]; ?>"/></a>
<a href="<?php echo 'http://'. $pw[0] .'.ii.gl/'. $pw[1] .'.'. $pw[2]; ?>" target="_BLANK"><img class="galleryImage" src="<?php echo 'http://'. $pw[0] .'.ii.gl/'. $pw[1] .'.'. $pw[2]; ?>"/></a>
</td>
</tr>
<tr>