% ' ######## Check to make Sure they have logged in ########### if isnull(Session("adnumber")) or session("adnumber")="" then Response.Redirect "login.asp" %> <% If Request.QueryString("order") = "" then o_by = "mdate" Else o_by = Request.QueryString("order") End If %> <% ' ######## Delete message if delete query is detected ############ If Request.QueryString("delete") <> "" then sqry = "update message set fromdelete='Y' where mes_id in ( " & Request.QueryString("delete")&" ) and fromid='" & Session("adnumber") &"'" set RS = conn.Execute (sqry) sqry = "update message set todelete='Y' where mes_id in (" & Request.QueryString("delete")&") and toid='" & Session("adnumber") &"'" set RS = conn.Execute (sqry) delete_sqry = "delete from message where mes_id in (" & Request.QueryString("delete")&") and toid='" & Session("adnumber") &"' and todelete='Y' and fromdelete='Y'" set RS = conn.Execute (delete_sqry) End If %> <% ' ######### Count Messages count_sqry = "Select count(mes_id) as t_Count From message where ToId = '" & Session("adnumber") &"' and ( todelete <> 'Y' or todelete is null )" count_sqry_n = "Select count(mes_id) as n_count From message where ToId = '" & Session("adnumber") &"' and status = 'n' and ( todelete <> 'Y' or todelete is null )" set numin=conn.Execute (count_Sqry) set numin_n=conn.Execute (count_Sqry_n) inbox = numin("t_count") inbox_n = numin_n("n_count") numin_n.close set numin_n = nothing numin.close set numin = nothing ' ######## End Counting %> <%if inbox_n<>0 then %> Number of New messages <%= inbox_n %> <%end if%>
|
Please be
advised that 30 days after date of sending or receiving , messages will be deleted.
Muslim Marriage Link does
not monitor private email between members .All members are bound by our
Service Agreement.( Terms of Use )
In the event you receive an email that you find offensive or that advertises
a product or service other than Muslim
Marriage Link,
please forward the message immediately to admin@matrimony.org