der kommer mere i koden det hele kommer til at se sådan ud ::
<%
Option Explicit
Dim sql,intPage,rs,strSQL,strDSN,intRecCount,intNum,intPageCount,usercount,rsusername,username,sex,rsUser,rsUsers,rsMessages,newcount
username = Request.Cookies(\"username\")
if username <> \"\" then
%>
<!--#include file=\"conn.asp\"-->
<%
sql = \"SELECT icon FROM Users WHERE username = \'\" & username & \"\'\"
Set rsUser = Server.CreateObject(\"ADODB.Recordset\")
rsUser.Open sql, conn, 3, 3
sql = \"SELECT messageread FROM messages WHERE sendto = \'\" & username & \"\'\"
Set rsMessages = Server.CreateObject(\"ADODB.Recordset\")
rsMessages.Open sql, conn, 3, 3
newcount = 0
if not rsMessages.EOF then
rsMessages.Movefirst
do until rsMessages.EOF
if rsMessages(\"messageread\") = False then
newcount = newcount + 1
end if
rsMessages.Movenext
loop
rsMessages.Movefirst
end if
end if
\'Count the amount of users
%>
<html>
<head>
<script language=\"JavaScript\">
<!-- hide on
function popup(popupfile,winheight,winwidth)
{
open(popupfile,\"PopupWindow\",\"resizable=no,height=\" + winheight + \",width=\" + winwidth + \",scrollbars=yes\");
}
// hide off -->
</script>
<title>Arkadas hatti</title>
</head>
<body bgcolor=\"#FFFFFF\" alink=\"#FFFFFF\" >
<table align=\"center\" border=\"0\" width=\"923\">
<tr>
<td width=\"122\" valign=\"top\" height=\"60\" style=\"border:1px none #FFFFFF; \" bgcolor=\"#FFFFFF\">
<p align=\"center\"> </p>
</td>
<td valign=\"top\" width=\"770\" height=\"60\" style=\"border-width:2; border-color:black; border-style:solid;\" bgcolor=\"#F8BC07\">
<p align=\"left\" style=\"line-height:100%; margin-top:0; margin-bottom:0;\"> </p>
<p align=\"left\" style=\"line-height:100%; margin-top:0; margin-bottom:0;\"><font color=\"white\"><span style=\"font-size:28pt;\"><i>
Arkadas Hatti
</i></span></font></p>
<p align=\"center\" style=\"line-height:100%; margin-top:0; margin-bottom:0;\"><font color=\"white\" size=\"1\"> </font><font color=\"white\" size=\"3\"><i><b>
www.ArkadasHatti.com ©</b></i></font></p>
</td>
</tr>
<tr>
<td width=\"124\" valign=\"top\" height=\"26\">
<p></p>
</td>
<td valign=\"top\" align=\"center\" width=\"789\" height=\"26\">
<p> </p>
</td>
</tr>
<tr>
<td width=\"120\" height=\"58\" valign=\"top\" bgcolor=\"#F8BC07\" style=\"border-width:2; border-color:black; border-style:solid;\">
<p>
<div align=\"center\">
<center>
<table cellspacing=0 bordercolordark=\"#FFFFFF\" bordercolorlight=\"#000000\" cellpadding=\"0\" bgcolor=\"#F8BC07\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" height=\"267\">
<%
if username = \"\" then%>
<tr>
<th bgcolor=\"#EF8F2B\" width=\"123\" height=\"16\">
<font face=\"Verdana\" color=\"white\">Login</font></th>
</tr>
<tr>
<form name=\"login\" action=\"signin.asp\" method=\"post\">
<input type=\"hidden\" name=\"page\" value=\"index.asp\">
<td align=\"center\" bgcolor=\"#F8BC07\" width=\"123\" height=\"152\">
<font face=\"Arial,helvetica\" size=\"2\" color=\"white\"><b>Kulanici Isim:</b></font><font face=\"Arial,helvetica\" size=\"3\" color=\"white\"><b> <input type=\"text\" name=\"username\" size=\"15\" style=\"font-size: 8pt; font-family: Tahoma, Verdana Arial, Helvetica, sans-serif;\"><br>
</b></font><font face=\"Arial,helvetica\" size=\"2\" color=\"white\"><b>Password :</b></font><font face=\"arial,helvetica\" size=\"3\"><b> <input type=\"password\" name=\"password\" size=\"14\" style=\"font-size: 8pt; font-family: Arial, Helvetica, sans-serif;\"><br>
</b></font><font face=\"Arial,helvetica\" size=\"2\" color=\"white\"><b>Hatirla beni :</b></font><font face=\"arial,helvetica\" size=\"3\"><b> <input type=\"checkbox\" name=\"stayloggedin\" value=\"yes\"><br>
<input type=\"submit\" value=\"Login\" style=\"font-size: 8pt; font-family: Arial, Helvetica, sans-serif;\"><br>
</b></font><a href=\"signupform.asp\"><b><font face=\"arial,helvetica\" size=\"2\" color=\"white\">
Üye Olmak istiyorum!!!!!</font></b></a><font face=\"arial,helvetica\" size=\"2\" color=\"white\"><b>
</b></font> </td>
</form>
</tr>
<%
else%>
<tr>
<td width=\"123\" height=\"1\"></td>
</tr>
<tr>
<td bgcolor=\"black\" width=\"123\" style=\"border-width:1; border-color:white; border-style:solid;\" height=\"21\">
<p align=\"center\"><font color=\"white\" size=\"3\"><b>
Kulanici:
<%=username%></b></font></p>
</td>
</tr>
<tr>
<td bgcolor=\"#F8BC07\" width=\"123\" bordercolor=\"#F8BC07\" height=\"78\">
<p style=\"line-height:100%; margin-top:0; margin-bottom:0;\"> </p>
<p style=\"line-height:100%; margin-top:0; margin-bottom:0;\"><font face=\"Arial,helvetica\" size=\"3\" color=\"white\"><b><img src=\"icons/<%=rsUser(\"icon\")%>.gif\" width=50 height=50 align=\"right\">
</b></font><font color=\"white\"><b> logonuz</b></font></p>
<p style=\"line-height:100%; margin-top:0; margin-bottom:0;\"><font color=\"white\"><b> --> </b></font></p>
<p style=\"line-height:100%; margin-top:0; margin-bottom:0;\"> </p>
<p><!--#include file=\"menutop.asp\"--></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
</td>
</tr>
<%
rsUser.close
set rsUser = nothing
rsMessages.close
set rsMessages = nothing
conn.close
set conn = nothing
end if
%>
</table>
</center>
</div>
</td>
<td height=\"58\" valign=\"top\" width=\"789\">
<table align=\"center\" border=\"0\" width=\"739\">
<tr>
<td bgcolor=\"#F8BC07\" width=\"355\" height=\"353\" style=\"border-color:black; border-top-style:solid; border-right-style:none; border-bottom-style:none; border-left-style:solid;\">
<p align=\"center\" style=\"line-height:100%; margin-top:0; margin-bottom:0;\">
<img border=\"0\" src=\"love.gif\"></p>
<p align=\"center\"> </p>
<p align=\"center\"> </p>
<%
ConnectString = \"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\" & Server.MapPath(\"db/uyeler.mdb\")
Set conn = Server.CreateObject(\"ADODB.Connection\")
conn.open ConnectString
%> <%
sql = \"SELECT username,sex,dob,lookfor,FILENAME FROM Users WHERE username Like \'\" & sex & \"%\' ORDER BY username\"
Set rsUser = Server.CreateObject(\"ADODB.Recordset\")
rsUser.Open sql, conn, 3, 3
sql = \"SELECT username FROM users\"
Set rsusername = Server.CreateObject(\"ADODB.Recordset\")
rsusername.Open sql, conn, 3, 3
usercount = 0
if not rsusername.EOF then
rsusername.Movefirst
do until rsusername.EOF
usercount = usercount + 1
rsusername.Movenext
loop
rsusername.Movefirst
end if
%>
</td>
<td bgcolor=\"#F8BC07\" width=\"374\" height=\"353\" style=\"border-color:black; border-top-style:solid; border-right-style:none; border-bottom-style:none; border-left-style:none;\" valign=\"top\">
<p style=\"line-height:100%; margin-top:0; margin-bottom:0;\"> </p>
<table border=\"1\" cellspacing=\"0\" width=\"416\" bordercolordark=\"white\" bordercolorlight=\"black\">
<tr>
<td width=\"410\" bgcolor=\"#EF8F2B\">
<p align=\"center\"> <font color=\"white\" size=\"3\"><b>Son
katilan Profiler!!!!!</b></font></p>
</td>
</tr>
<tr>
<td width=\"410\" bgcolor=\"#FFFFFF\" height=\"24\">
<%if not rsUser.EOF then%>
<table cellpadding=\"2\" cellspacing=\"0\" border=\"1\" bordercolor=\"#B4B4B4\" width=\"400\" align=\"center\">
<tr bgcolor=\"#B4B4B4\">
<th width=\"112\" height=\"25\" style=\"border-width:1; border-right-color:black; border-right-style:solid;\" bgcolor=\"#EF8F2B\">
<p align=\"center\">
<font face=\"Arial,helvetica\" size=\"2\" color=\"white\"><b>Kulanici Isim</b></font></th>
<th width=\"73\" height=\"25\" style=\"border-width:1; border-right-color:black; border-right-style:solid;\" bgcolor=\"#EF8F2B\">
<p align=\"center\"><font color=\"white\"><b>Cins</b></font></p>
</th>
<th width=\"53\" height=\"25\" style=\"border-width:1; border-right-color:black; border-right-style:solid;\" bgcolor=\"#EF8F2B\">
<p align=\"center\"><font color=\"white\"><b>Aramasir</b></font></p>
</th>
<th width=\"65\" height=\"25\" style=\"border-width:1; border-right-color:black; border-right-style:solid;\" bgcolor=\"#EF8F2B\">
<p align=\"center\"><font face=\"arial,helvetica\" size=\"2\" color=\"white\"><b>
Resim
</b></font></th>
<th width=\"65\" height=\"25\" bgcolor=\"#EF8F2B\">
<p><font color=\"white\">Dogum
Tarihi</font></p>
</th>
</tr>
<%rsUser.Movefirst
do until rsUser.EOF%>
<tr>
<td width=\"112\" height=\"36\" bgcolor=\"#F8BC07\"><font color=\"white\"><b> </b></font><a href=\"show_profil.asp?user=<%=rsUser(\"username\")%>\"><font face=\"arial,helvetica\" size=\"2\" color=\"white\"><b><%=rsUser(\"username\")%>
</b></font></a></td>
<td width=\"73\" height=\"36\" bgcolor=\"#F8BC07\">
<p align=\"center\"><font color=\"white\"><b><%=rsUser(\"sex\")%></b></font></p>
</td>
<td width=\"53\" height=\"36\" bgcolor=\"#F8BC07\">
<p align=\"center\"><font color=\"white\"><b><%=rsUser(\"lookfor\")%></b></font></p>
</td>
<td align=\"center\" width=\"65\" height=\"36\" bgcolor=\"#F8BC07\"><font color=\"white\"><b><img src=\"pictures/<%=rsUser(\"FILENAME\")%>\" width=\"37\" height=\"37\"></b></font></td>
<td align=\"center\" width=\"65\" height=\"36\" bgcolor=\"#F8BC07\">
<p><font color=\"white\"><b><%=year(rsUser(\"dob\"))%>
ér</b></font></p>
</td>
</tr>
<%rsUser.Movenext
loop%>
</table>
<p align=\"center\">
<%end if%>
</td>
</tr>
</table>
<p>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>