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
Started on the old forum in May 2012 · view the original in the archive · old links redirect here
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
function error or something
Fatal error: Call to undefined function getalert() in /home......../web/dating.php on line 190
does anybody have this?
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"
take the line out of dating.php it will still work its just so the pop ups appear on that page .