Chapel | Times

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Chapel | Times

    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

    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&amp;sid=$sid\">$mate1</a>![/b]
    ";
      $data = mysql_fetch_array(mysql_query("SELECT joined FROM couple WHERE who=&#39;".$who."&#39;"));
      $impreuna = date("d m y H:i:s",$data[0]);
      echo "Esti impreuna cu ea din $impreuna
    ";
      echo "<a href=\"posta.php?action=sendpm&amp;who=$mate&amp;sid=$sid\">Trimite-i PM!</a>
    ";
      echo "<a href=\"index.php?action=sharepl&amp;who=$mate&amp;sid=$sid\">Ofera-i plusuri</a>
    
    ";
      echo "<a href=\"stare_civila.php?action=div&amp;sid=$sid\">Divorteaza de ea!</a>
    ";
      echo "[/size]";
      }else if($nopl[0]==&#39;F&#39;){
      echo "[size="1"]";
      echo "[b]In acest moment esti casatorita cu <a href=\"profil.php?who=$mate&amp;sid=$sid\">$mate1</a>![/b]
    ";
      $data = mysql_fetch_array(mysql_query("SELECT joined FROM couple WHERE who=&#39;".$who."&#39;"));
      $impreuna = date("d m y-H:i:s",$data[0]);
      echo "Esti impreuna cu el din $impreuna
    ";
      echo "<a href=\"posta.php?action=sendpm&amp;who=$mate&amp;sid=$sid\">Trimite-i PM!</a>
    ";
      echo "<a href=\"index.php?action=sharepl&amp;who=$mate&amp;sid=$sid\">Ofera-i plusuri</a>
    
    ";
      echo "<a href=\"stare_civila.php?action=div&amp;sid=$sid\">Divorteaza de el!</a>
    ";
      echo "[/size]";
      }
      }
    Hate romains that take codes from here and tell to all that they had made that

    #2
    <div class='quotetop'>QUOTE (ionutxp @ Dec 3 2008, 04:57 PM) <{POST_SNAPBACK}></div>
    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

    Code:
    $nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location FROM lib3rtymrc_users WHERE id=&#39;".$who."&#39;"));
    $couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who=&#39;".$who."&#39;"));
    $couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE partner=&#39;".$who."&#39;"));
      if($couple[0]==&#39;1&#39;)
      {
      $mate = $couple[2];
      $mate1 = getnick_uid($mate);
      
      if($nopl[0]==&#39;M&#39;)
      {
      echo "[size="1"]";
      echo "[b]In acest moment esti casatorit cu <a href=\"profil.php?who=$mate&amp;sid=$sid\">$mate1</a>![/b]
    ";
      $data = mysql_fetch_array(mysql_query("SELECT joined FROM couple WHERE who=&#39;".$who."&#39;"));
      $impreuna = date("d m y H:i:s",$data[0]);
      echo "Esti impreuna cu ea din $impreuna
    ";
      echo "<a href=\"posta.php?action=sendpm&amp;who=$mate&amp;sid=$sid\">Trimite-i PM!</a>
    ";
      echo "<a href=\"index.php?action=sharepl&amp;who=$mate&amp;sid=$sid\">Ofera-i plusuri</a>
    
    ";
      echo "<a href=\"stare_civila.php?action=div&amp;sid=$sid\">Divorteaza de ea!</a>
    ";
      echo "[/size]";
      }else if($nopl[0]==&#39;F&#39;){
      echo "[size="1"]";
      echo "[b]In acest moment esti casatorita cu <a href=\"profil.php?who=$mate&amp;sid=$sid\">$mate1</a>![/b]
    ";
      $data = mysql_fetch_array(mysql_query("SELECT joined FROM couple WHERE who=&#39;".$who."&#39;"));
      $impreuna = date("d m y-H:i:s",$data[0]);
      echo "Esti impreuna cu el din $impreuna
    ";
      echo "<a href=\"posta.php?action=sendpm&amp;who=$mate&amp;sid=$sid\">Trimite-i PM!</a>
    ";
      echo "<a href=\"index.php?action=sharepl&amp;who=$mate&amp;sid=$sid\">Ofera-i plusuri</a>
    
    ";
      echo "<a href=\"stare_civila.php?action=div&amp;sid=$sid\">Divorteaza de el!</a>
    ";
      echo "[/size]";
      }
      }
    [/b]
    i heave this code:P

    Comment


      #3
      what code ? :o
      Hate romains that take codes from here and tell to all that they had made that

      Comment

      Working...
      X