Version 1.1b
This commit is contained in:
parent
6a19363758
commit
c4a18d4281
82 changed files with 2532 additions and 180 deletions
|
|
@ -34,6 +34,7 @@ class Rapport{
|
|||
elseif ($this->type == '4') $this->sendRecyclage();
|
||||
elseif ($this->type == '5') $this->sendEspionnage();
|
||||
elseif ($this->type == '6') $this->sendAlliance();
|
||||
elseif ($this->type == '7') $this->sendAlliance2();
|
||||
}
|
||||
|
||||
function sendEspionnage(){
|
||||
|
|
@ -110,5 +111,17 @@ class Rapport{
|
|||
|
||||
mysql_query("INSERT INTO mail VALUES('', '1', '".trouvNom($this->utilA)."', '', '$titreA', '$rapportA', '$temps')");
|
||||
}
|
||||
|
||||
function sendAlliance2(){
|
||||
include_once('includes/function.php');
|
||||
$titreA = 'Fondation de votre alliance !';
|
||||
$rapportA = 'Pour terminer la création de votre alliance, trouvez 4 joueurs de cette galaxie sans alliance pour leur faire signer votre traité de fondation d\'alliance.<br /><br />Lien de signature : <a href="?p=alliances&q=signer&i='.$this->var[0].'">http://battle.halo.fr/?p=alliances&q=signer&i='.$this->var[0].'</a>';
|
||||
|
||||
$titreA = mysql_real_escape_string($titreA);
|
||||
$rapportA = mysql_real_escape_string($rapportA);
|
||||
$temps = $this->timestamp;
|
||||
|
||||
mysql_query("INSERT INTO mail VALUES('', '1', '".trouvNom($this->utilA)."', '', '$titreA', '$rapportA', '$temps')");
|
||||
}
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue