Update 27_1.tpl

This commit is contained in:
Shadow
2013-11-27 15:24:45 +02:00
parent 97ac5ef50b
commit 131a546861
+1 -3
View File
@@ -1,7 +1,5 @@
<?php
$artefact1 = $database->getOwnArtefactInfo3($session->uid);
$result = mysql_num_rows(mysql_query("SELECT * FROM " . TB_PREFIX . "artefacts WHERE owner = " . $session->uid . ""));
$wref = $village->wid;
$coor = $database->getCoor($wref);
function getDistance($coorx1, $coory1, $coorx2, $coory2) {
@@ -34,7 +32,7 @@
<tbody>
<?php
if($result == 0) {
if (count($artefact1)==0){
echo '<tr><td colspan="4" class="none">You do not own any artefacts.</td></tr>';
} else {
foreach($artefact1 as $artefact){