Dating.php For lava

Started on the old forum in May 2012 · view the original in the archive · old links redirect here

#dating.php

5 replies · 659 views · started 14 years ago · 1 min read

3 participants
DeViLzHeLpEr Junior · 24 posts #1

Hi can someone please help me. I cant find dating.php for lavalair script anywhere Would someone please share this and its database to me... all your help will be great 🙂

Thank u

DeViLzHeLpEr Junior · 24 posts #4

function error or something

Fatal error: Call to undefined function getalert() in /home......../web/dating.php on line 190

does anybody have this?

wap-ruler Developer · 143 posts #5

re

This mean getalert() function havent described in core.php u can creat the funtion like this

function getalert($sid){
	if (alertstat($sid)==1){
	$userid = getuid_sid($sid);
		$count = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM ibwf_private WHERE touid = $userid AND unread='1'"));
		if($count[0]>0){
	$lastmsg_id = mysql_fetch_array(mysql_query("SELECT MIN(id) FROM ibwf_private WHERE touid = $userid AND unread='1'"));
		$pminfo = mysql_fetch_array(mysql_query("SELECT text, timesent, byuid, reported FROM ibwf_private WHERE id = $lastmsg_id[0]"));
	if(isonline($pminfo[2])){
$iml = "<img src=\"images/onl.gif\" alt=\"On\"/>";
}else{
$iml = "<img src=\"images/ofl.gif\" alt=\"Off\"/>";
}
$msgtxt = "
	<div class=\"boxed\">
      <div class=\"boxedTitle\">
        <h1 align=\"center\" class=\"boxedTitleText\"><b>Message Alert</b>
	</h1>
      </div>
      <div class=\"boxedContent\">
";
$msgtxt .= "<small><b>From</b>: $iml<a href=\"index.php?action=viewuser&who=$pminfo[2]&sid=$sid\">".getnick_uid($pminfo[2])."</a><br/>";
$tmstamp = $pminfo[1] + addhours();
$tmdt = date("d/m/Y h:i:s A", $tmstamp);
$diff1=time()-$pminfo[1];
$msgtxt .= "<b>Sent</b>: $tmdt<br/>".gettimemsg($diff1)."<br/>";
$pmtext = parsepm($pminfo[0], $sid);
if(isspam($pmtext)){
if(($pminfo[3]=="0") && ($pminfo[2]!=1)){
mysql_query("UPDATE ibwf_private SET reported='1' WHERE id='".$pmid."'");
}
}
$msgtxt .= "<b>Message</b>:<br/>".$pmtext;
$msgtxt .= "<u><br/>Reply:</u>:<br/>";
$msgtxt .= "<form action=\"inbxproc.php?action=sendpm&who=$pminfo[2]&sid=$sid\" method=\"post\"><textarea id=\"inputText\" name=\"pmtext\"></textarea><br/>";
$msgtxt .= "<input id=\"inputButton\" type=\"submit\" value=\"Send\"/>";
$msgtxt .= "</form>";
$msgtxt .= "<br/><a href=\"inbox.php?action=main&sid=$sid\">Go to Inbox</a><br/></small></div></div>";
mysql_query("UPDATE ibwf_private SET unread='0' WHERE id = $lastmsg_id[0]");
echo $msgtxt;
return;
}
else {
	return "";
}
}
else {
	return "";
}
}
	

This may not work as i dnt knw about the sql structure so a better solution is to delete getalert($uid) function from dating.php on line 190

ImPoSsIbLe iS nOthInG aS ImPoSsible ItSelF SaYs "I M POSSIBLE"

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