About 27,964 results: "php trigger_error"
Page 7 of 50
Filter Results
Sources
Languages
Filter Results
Try Search On

  1. 		$rs = $this->DB->Execute("SELECT * FROM game".$this->game_id."_tb_event WHERE event_to='".$empire_data["id"]."' AND seen='0' ORDER BY id DESC LIMIT 0,30");
  2. 		if (!$rs) trigger_error($this->DB->ErrorMsg());
  3. 				if (($event_data["sticky"]==0) && ($event_data["seen"]==0)) {
  4. 					if (!$this->DB->Execute("UPDATE game".$this->game_id."_tb_event SET seen='1' WHERE id='".$event_data["id"]."'")) trigger_error($this->DB->ErrorMsg());
  5. 				$rs = $this->DB->Execute("SELECT * FROM game".$this->game_id."_tb_empire WHERE id='".addslashes($event_data["event_from"])."'");
  6. 				if (!$rs) trigger_error($this->DB->ErrorMsg());
  7. 				$this->TEMPLATE->assign("empire",$this->GAME_TPL->displayEmpireHTML($params["empire_id"],$params["empire_emperor"],$params["empire_name"],$empire_data["networth"]));
  8. 				if (!$this->DB->Execute("DELETE FROM game".$this->game_id."_tb_treaty WHERE empire_from='".$event_data["event_to"]."' AND empire_to='".$event_data["event_from"]."'")) trigger_error($this->DB->ErrorMsg());
  9. 				if (!$this->DB->Execute("DELETE FROM game".$this->game_id."_tb_treaty WHERE empire_to='".$event_data["event_to"]."' AND empire_from='".$event_data["event_from"]."'")) trigger_error($this->DB->ErrorMsg());
  10. 				if (($event_data["sticky"]==0) && ($event_data["seen"]==0)) {
  11. 					if (!$this->DB->Execute("UPDATE game".$this->game_id."_tb_event SET seen='1' WHERE id='".$event_data["id"]."'")) trigger_error($this->DB->ErrorMsg());
  12. 					$rs = $this->DB->Execute("SELECT emperor,name FROM game".$this->game_id."_tb_empire WHERE id='".intval($params["army_attack"][$i]["empire_from"])."'");
  13. 					if (!$rs) trigger_error($this->DB->ErrorMsg());					
  14. 		if (($event_data["sticky"]==0) && ($event_data["seen"]==0)) {
  15. 			if (!$this->DB->Execute("UPDATE game".$this->game_id."_tb_event SET seen='1' WHERE id='".$event_data["id"]."'")) trigger_error($this->DB->ErrorMsg());



















Back to Top