Wednesday, November 27, 2013

config php,login php

Posted by Info market on Wednesday, November 27, 2013

 <?  
    dbConnect();
    $result = mysql_query( "SELECT * FROM data ORDER BY user_id DESC" ) or error( mysql_error() );
    $jmlsemua = mysql_num_rows( $result );
    $status="nonaktif";
    $result1 = mysql_query( "SELECT * FROM data WHERE stat='$status' ORDER BY user_id DESC" ) or error( mysql_error() );
    $jmlnonaktif = mysql_num_rows( $result1 );
    $jmlaktif = $jmlsemua - $jmlnonaktif ;
?>  
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Home</title>
<style fprolloverstyle>A:hover {color: #FF0000; font-weight: bold}
</style>
</head>

<body topmargin="0" leftmargin="0">

<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="161" id="AutoNumber3">
    <tr>
      <td width="161">
      <p align="center" style="margin-top: 0; margin-bottom: 0"><b>
      <font face="Verdana" style="font-size: 8pt">IP Add Komputer anda :</font></b></p>
      <p align="center" style="margin-top: 0; margin-bottom: 0">
      <font face="Verdana" style="font-size: 8pt">&nbsp;<? echo "$session_ip" ?></font></p>
      <p align="center" style="margin-top: 0; margin-bottom: 0"></td>
    </tr>
  </table>
  </center>
</div>

<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="159" id="AutoNumber1">
    <tr>
      <td width="159" align="center">
      <p align="left" style="margin-top: 0; margin-bottom: 0">
      <font face="Bookman Old Style" size="2">::
      <a style="text-decoration: none" href="index.php">Home</a></font></td>
    </tr>
    <tr>
      <td width="159" align="center"><hr color="#000000" size="1"></td>
    </tr>
    <tr>
      <td width="159" align="left">
      <p style="margin-top: 0; margin-bottom: 0">
      <font face="Bookman Old Style" size="2">::
      <a style="text-decoration: none" href="produk.php">Produk</a></font></td>
    </tr>
    <tr>
      <td width="159" align="left"><hr color="#000000" size="1"></td>
    </tr>
    <tr>
      <td width="159" align="left">
      <p style="margin-top: 0; margin-bottom: 0">
      <font face="Bookman Old Style" size="2">:: </font>
      <font face="Bookman Old Style" size="2">
      <a style="text-decoration: none" href="sistem.php">Sistem</a></font></td>
    </tr>
    <tr>
      <td width="159" align="left"><hr color="#000000" size="1"></td>
    </tr>
    <tr>
      <td width="159" align="left">
      <p style="margin-top: 0; margin-bottom: 0">
      <font face="Bookman Old Style" size="2">::
      <a style="text-decoration: none" href="testimonial.php">Testimonial</a></font></td>
    </tr>
    <tr>
      <td width="159" align="left"><hr color="#000000" size="1"></td>
    </tr>
    <tr>
      <td width="159" align="left">
      <p style="margin-top: 0; margin-bottom: 0">
      <font face="Bookman Old Style" size="2">::
      <a style="text-decoration: none" href="bonus.php">Bonus</a></font></td>
    </tr>
    <tr>
      <td width="159" align="left"><hr color="#000000" size="1"></td>
    </tr>
    <tr>
      <td width="159" align="left">
      <p style="margin-top: 0; margin-bottom: 0">
      <font face="Bookman Old Style" size="2">::
      <a style="text-decoration: none" href="order.php">Join / Order</a></font></td>
    </tr>
    <tr>
      <td width="159" align="left"><hr color="#000000" size="1"></td>
    </tr>
    <tr>
      <td width="159" align="left">
      <p style="margin-top: 0; margin-bottom: 0">
      <font face="Bookman Old Style" size="2">::
      <a href="kontak.php" style="text-decoration: none">Kontak Kami</a></font></td>
    </tr>
    <tr>
      <td width="159" align="left"><hr color="#000000" size="1"></td>
    </tr>
    <tr>
      <td width="159" align="left">
      <p style="margin-top: 0; margin-bottom: 0">
      <font face="Bookman Old Style" size="2">::
      <a style="text-decoration: none" href="news.php">News/Berita</a></font></td>
    </tr>
    </table>
  </center>
</div>

<p style="margin-top: 0; margin-bottom: 0" align="center">&nbsp;</p>
<div align="center">
  <center>
  <table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="193" id="AutoNumber5" bgcolor="#FFFFCC">
    <tr>
      <td width="187">
      <p align="center" style="margin-top: 0; margin-bottom: 0"><u><b>
      <font face="Bookman Old Style" size="2" color="#FF0000">Statistik Web</font></b></u></p>
      <p align="center" style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
      <p align="left" style="margin-top: 0; margin-bottom: 0">
      <font face="Bookman Old Style" size="2">- Paid Member&nbsp; :
      <font color="#FF0000"><b><? echo "$jmlaktif" ?></b></font></font></p>
      <p align="left" style="margin-top: 0; margin-bottom: 0">
      <font face="Bookman Old Style" size="2">- Free Member&nbsp; :
      <font color="#FF0000"><b><? echo "$jmlnonaktif" ?></b></font></font></p>
      <p align="left" style="margin-top: 0; margin-bottom: 0">
      <font face="Bookman Old Style" size="2">- Total Member : <b>
      <font color="#FF0000"><? echo "$jmlsemua" ?></font></b></font></p>
      <p align="center" style="margin-top: 0; margin-bottom: 0"></td>
    </tr>
  </table>
  </center>
</div>

<p style="margin-top: 0; margin-bottom: 0" align="center">&nbsp;</p>
<div align="center">
  <center>
  <table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="179" id="AutoNumber4">
    <tr>
      <td width="179">
      <p style="margin-top: 0; margin-bottom: 0">
  <b>
                  <font face="Bookman Old Style" color="#CC3300">.:: MEMBER AREA ::.</font></b> </p>
    
      <form action="member/index.php" method="post">
                <table style="border-collapse: collapse" height="90" cellSpacing="0" cellPadding="0" width="108%" border="0" bordercolor="#3366CC" bordercolorlight="#3366CC" bordercolordark="#000080">
              <tr>
                <td width="43%" height="16" bgcolor="#FFFFFF" align="center" bordercolor="#FFFFFF">
                <p align="left" style="margin-top: 0; margin-bottom: 0"><b><i>
                <font face="Bookman Old Style" size="2" color="#FFFFFF">&nbsp;</font><font face="Bookman Old Style" size="2" color="#FF0000">Username
                :</font></i></b></td>
                <td width="57%" height="16" bgcolor="#FFFFFF" align="center" bordercolor="#FFFFFF">
                <p align="left" style="margin-top: 0; margin-bottom: 0">
                <font face="Bookman Old Style">&nbsp;<input maxLength="15" size="11" name="username"></font></td>
              </tr>
              <tr>
                <td width="43%" height="21" bgcolor="#FFFFFF" align="center" bordercolor="#FFFFFF">
                <p align="left" style="margin-top: 0; margin-bottom: 0"><b><i>
                <font face="Bookman Old Style" size="2" color="#FFFFFF">&nbsp;</font><font face="Bookman Old Style" size="2" color="#FF0000">Password
                :</font></i></b></td>
                <td width="57%" height="21" bgcolor="#FFFFFF" align="center" bordercolor="#FFFFFF">
                <p align="left" style="margin-top: 0; margin-bottom: 0">
                <font face="Bookman Old Style">&nbsp;<input type="password" maxLength="20" size="11" value name="password"> </font></td>
              </tr>
              <tr>
                <td width="100%" bgColor="#FFFFFF" colSpan="2" height="6" align="center" bordercolor="#FFFFFF">
                <p align="center" style="margin-top: 0; margin-bottom: 0">
                <font face="Bookman Old Style" color="#000080" size="2">
                <input type="submit" value="LOGIN" name="Submit" style="font-family: Arial; color: #000000; font-weight: bold; ">
                </font></td>
              </tr>
            </table>
        </form>

      </p>
      <p style="margin-top: 0; margin-bottom: 0" align="center">
          <b><font face="Bookman Old Style" color="#CC3300" size="2">LUPA PASSWORD ?</font></b></p>
      <p style="margin-top: 0; margin-bottom: 0" align="center">
      <font face="Bookman Old Style" size="2">&nbsp;Ambil dengan email anda</font>&nbsp;
    
      <form action="lupa_password2.php" method="post">
                <table style="border-collapse: collapse" height="78" cellSpacing="0" cellPadding="0" width="91%" border="0">
              <tr>
                <td width="1%" height="5">
                <p style="margin-top: 0; margin-bottom: 0">
                </td>
                <td width="100%" height="5">
                <p align="center" style="margin-top: 0; margin-bottom: 0">
                <font face="Bookman Old Style">&nbsp;<input maxLength="50" size="18" name="email"></font></td>
              </tr>
                </tr>
              <tr>
                <td width="100%" colSpan="2" height="1">
                <p align="center" style="margin-top: 0; margin-bottom: 0">
                <font face="Bookman Old Style" color="#000080" size="2">
                <input type="submit" value="AMBIL PASSWORD" name="Submit" style="color: #000000; font-family: Arial; font-weight: bold; ">
                </font></td>
              </tr>
            </table>
        </form>

      </td>
    </tr>
  </table>
  </center>
</div>

<p style="margin-top: 0; margin-bottom: 0" align="center">&nbsp;</p>

<p style="margin-top: 0; margin-bottom: 0" align="center">&nbsp;</p>

</body>

</html>

 Edit bagian html saja: detile: klik di sini

http://www.opendesigns.org/website-templates/26/

Previous
« Prev Post

No comments:

Post a Comment

sssst!!jgn brisiiik!!BOSS lg pipis..