hi i want 2 make something 2 my chapel script :
i want 2 add this thing ...
Time until ur can marry : 2 weeks
when the 2 weeks end u can clik 2 an option ..
----
and to show how much time is end from when i engaged whit she , and then marry :D
--
srry 4 my english
this is a part of the script :D
i want 2 add this thing ...
Time until ur can marry : 2 weeks
when the 2 weeks end u can clik 2 an option ..
----
and to show how much time is end from when i engaged whit she , and then marry :D
--
srry 4 my english
this is a part of the script :D
Code:
$nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location FROM lib3rtymrc_users WHERE id='".$who."'"));
$couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$who."'"));
$couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE partner='".$who."'"));
if($couple[0]=='1')
{
$mate = $couple[2];
$mate1 = getnick_uid($mate);
if($nopl[0]=='M')
{
echo "[size="1"]";
echo "[b]In acest moment esti casatorit cu <a href=\"profil.php?who=$mate&sid=$sid\">$mate1</a>![/b]
";
$data = mysql_fetch_array(mysql_query("SELECT joined FROM couple WHERE who='".$who."'"));
$impreuna = date("d m y H:i:s",$data[0]);
echo "Esti impreuna cu ea din $impreuna
";
echo "<a href=\"posta.php?action=sendpm&who=$mate&sid=$sid\">Trimite-i PM!</a>
";
echo "<a href=\"index.php?action=sharepl&who=$mate&sid=$sid\">Ofera-i plusuri</a>
";
echo "<a href=\"stare_civila.php?action=div&sid=$sid\">Divorteaza de ea!</a>
";
echo "[/size]";
}else if($nopl[0]=='F'){
echo "[size="1"]";
echo "[b]In acest moment esti casatorita cu <a href=\"profil.php?who=$mate&sid=$sid\">$mate1</a>![/b]
";
$data = mysql_fetch_array(mysql_query("SELECT joined FROM couple WHERE who='".$who."'"));
$impreuna = date("d m y-H:i:s",$data[0]);
echo "Esti impreuna cu el din $impreuna
";
echo "<a href=\"posta.php?action=sendpm&who=$mate&sid=$sid\">Trimite-i PM!</a>
";
echo "<a href=\"index.php?action=sharepl&who=$mate&sid=$sid\">Ofera-i plusuri</a>
";
echo "<a href=\"stare_civila.php?action=div&sid=$sid\">Divorteaza de el!</a>
";
echo "[/size]";
}
}

Comment