mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-21 12:06:10 +00:00
fix link to village in market + now when you delete report you can see it in alliance attack and in village view
This commit is contained in:
@@ -63,8 +63,10 @@ $noticeClass = array("Scout Report","Won as attacker without losses","Won as att
|
||||
}
|
||||
|
||||
$name = 1;
|
||||
$count = 0;
|
||||
for($i=(1+$s);$i<=(10+$s);$i++) {
|
||||
if(count($message->noticearray) >= $i) {
|
||||
if($message->noticearray[$i-1]['del'] == 0){
|
||||
echo "<tr><td class=\"sel\"><input class=\"check\" type=\"checkbox\" name=\"n".$name."\" value=\"".$message->noticearray[$i-1]['id']."\" /></td>
|
||||
<td class=\"sub\">";
|
||||
$type = (isset($_GET['t']) && $_GET['t'] == 5)? $message->noticearray[$i-1]['archive'] : $message->noticearray[$i-1]['ntype'];
|
||||
@@ -82,10 +84,12 @@ $noticeClass = array("Scout Report","Won as attacker without losses","Won as att
|
||||
}
|
||||
$date = $generator->procMtime($message->noticearray[$i-1]['time']);
|
||||
echo "</div></td><td class=\"dat\">".$date[0]." ".$date[1]."</td></tr>";
|
||||
}
|
||||
}else{
|
||||
$count =+ 1;
|
||||
}}
|
||||
$name++;
|
||||
}
|
||||
if(count($message->noticearray) == 0) {
|
||||
if(count($message->noticearray) == $count) {
|
||||
echo "<td colspan=\"3\" class=\"none\">There are no reports available.</td></tr>";
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user