Changeset 194
- Timestamp:
- 03/28/07 21:07:49 (16 years ago)
- Location:
- dev/common
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/includes/class.killboard.php
r190 r194 32 32 where ctr_campaign = 1 33 33 and ctr_site = '".$this->site_."'"; 34 if ($active) $sql .= " and ctr_ended is null";34 if ($active) $sql .= " and ( ctr_ended is null or now() <= ctr_ended )"; 35 35 $qry->execute($sql); 36 36 return ($qry->recordCount() > 0); -
dev/common/kill_related.php
r191 r194 420 420 $menubox->setIcon("menu-item.gif"); 421 421 $menubox->addOption("caption", "View"); 422 $menubox->addOption("link", "Back to Killmail", "?a=kill_detail&kll_id=".$_GET['kll_id']); 422 423 $menubox->addOption("link", "Kills & losses", "?a=kill_related&kll_id=".$_GET['kll_id']); 423 424 $page->addContext($menubox->generate());