From 2ff7361ed9f844a7765d16dc8e153b82049c665c Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 30 Apr 2012 15:00:20 +0300 Subject: [PATCH] fix link to village in attack window + now you cannot see send resources reports in village view --- Templates/Map/vilview.tpl | 2 +- Templates/a2b/attack.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Templates/Map/vilview.tpl b/Templates/Map/vilview.tpl index 530047b4..7204dfd2 100644 --- a/Templates/Map/vilview.tpl +++ b/Templates/Map/vilview.tpl @@ -419,7 +419,7 @@ if($type==18 or $type==19 or $type==20 or $type==21){ uid." AND toWref = ".$toWref." ORDER BY time DESC Limit 5"); +$result = mysql_query("SELECT * FROM ".TB_PREFIX."ndata WHERE $limit AND uid = ".$session->uid." AND toWref = ".$toWref." ORDER BY time DESC Limit 5"); $query = mysql_num_rows($result); if($query != 0){ while($row = mysql_fetch_array($result)){ diff --git a/Templates/a2b/attack.tpl b/Templates/a2b/attack.tpl index ac2c6728..38d7ab9f 100644 --- a/Templates/a2b/attack.tpl +++ b/Templates/a2b/attack.tpl @@ -77,7 +77,7 @@ $end = ($tribe*10); Destination: - (|) + (|)