Chapel | Times

Started on the old forum in December 2008 · view the original in the archive · old links redirect here

2 replies · 678 views · started 17 years ago · 1 min read

2 participants
ionutxp Developer · 137 posts #1

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 😀

-- srry 4 my english

this is a part of the script 😀

$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]";
  }
  }

Hate romains that take codes from here and tell to all that they had made that External image (may be gone)

valentin2br Junior · 47 posts #2

QUOTE (ionutxp @ Dec 3 2008, 04:57 PM) <{POST_SNAPBACK}>

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 😀

-- srry 4 my english

this is a part of the script 😀

$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 "";
  echo "In acest moment esti casatorit cu <a href=\"profil.php?who=$mate&sid=$sid\">$mate1</a>!
";
  $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 "";
  }else if($nopl[0]=='F'){
  echo "";
  echo "In acest moment esti casatorita cu <a href=\"profil.php?who=$mate&sid=$sid\">$mate1</a>!
";
  $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 "";
  }
  }

i heave this code:P

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close