Please write me code for fast reply in lavalair script.This is my first post on this forum External image (may be gone)
Lava Fast Reply
Started on the old forum in January 2008 · view the original in the archive · old links redirect here
Please write me code for fast reply in lavalair script.This is my first post on this forum External image (may be gone)
And I am from Serbia, i dont now what flag is this,...
CODE ///////////////////////////////////////////////////////////////////////
echo "Fast answer: "; echo "<input name="reptxt" maxlength="500"/> "; echo "<anchor>post answer"; echo " <go href="genproc.php?action=post&sid=$sid" method="post"> <postfield name="tid" value="$tid"/> <postfield name="reptxt" value="$(reptxt)"/> <postfield name="qut" value="$qut"/> </go> "; echo "</anchor>"; /////////////////////////////////////////////////////////////////////// I know now to you have this code but this is for other users
add this on inbox.php
else if($action=="readpm")
{
$pminfo = mysql_fetch_array(mysql_query("SELECT byuid FROM ibwf_private
WHERE id='".$pmid."'"));
addonline(getuid_sid($sid),"Reading PM from
".getnick_uid($pminfo[0])."","");
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
echo "
";
$pminfo = mysql_fetch_array(mysql_query("SELECT text, byuid, timesent,touid, reported FROM ibwf_private WHERE id='".$pmid."'"));
if(getuid_sid($sid)==$pminfo[3])
{
$chread = mysql_query("UPDATE ibwf_private SET unread='0' WHERE id='".$pmid."'");
}
if(($pminfo[3]==getuid_sid($sid))||($pminfo[1]==getuid_sid($sid)))
{
if(getuid_sid($sid)==$pminfo[3])
{
if(isonline($pminfo[1]))
{
$iml = "<img src=\"images/onl.gif\" alt=\"+\"/>";
}else{
$iml = "<img src=\"images/ofl.gif\" alt=\"-\"/>";
}
$ptxt = "PM By: ";
$bylnk = "<a href=\"index.php?action=viewuser&who=$pminfo[1]&sid=$sid\">$iml".getnick_uid($pminfo[1])."</a>";
}else{
if(isonline($pminfo[3]))
{
$iml = "<img src=\"images/onl.gif\" alt=\"+\"/>";
}else{
$iml = "<img src=\"images/ofl.gif\" alt=\"-\"/>";
}
$ptxt = "PM To: ";
$bylnk = "<a href=\"index.php?action=viewuser&who=$pminfo[3]&sid=$sid\">$iml".getnick_uid($pminfo[3])."</a>";
}
echo "$ptxt $bylnk
";
$tmstamp = $pminfo[2];
$tremain = time()-$tmstamp;
//$tmdt = date("d m Y - H:i:s", $tmstamp);
$tmdt = gettimemsg($tremain)." ago"; ////////////////////this is the time thing
echo "[i]$tmdt[/i]
";
$pmtext = parsepm($pminfo[0], $sid);
$pmtext = str_replace("/faq","<a href=\"lists.php?action=faqs&sid=$sid\">Users Questions</a>", $pmtext);
$pmtext = str_replace("/help","<a href=\"help.php?sid=$sid\">Our help menu</a>", $pmtext);
$pmtext = str_replace("/credits","<a href=\"index.php?action=viewtpc&sid=$sid&tid=2040\">How to Earn Much Credits??</a>", $pmtext);
$pmtext = str_replace("/features","<a href=\"index.php?action=viewfrm&sid=$sid&fid=189\">New Features!</a>", $pmtext);
$pmtext = str_replace("/reader",getnick_uid($pminfo[3]), $pmtext);
if(isspam($pmtext))
{
if(($pminfo[4]=="0") && ($pminfo[1]!=1))
{
mysql_query("UPDATE ibwf_private SET reported='1' WHERE id='".$pmid."'");
}
}
echo $pmtext;
echo "</p>";
echo "<p align=\"center\">
";
$whonick = getnick_uid($who);
addonline(getuid_sid($sid),"Sending PM to $whonick","");
echo "<form action=\"inbxproc.php?action=sendpm&who=$who&sid=$sid\" method=\"post\">";
echo "<input name=\"pmtext\" maxlength=\"500\"/>
";
echo "<input type=\"submit\" value=\"SEND\"/>";
echo "</form>";
echo "<form action=\"inbxproc.php?action=proc&sid=$sid\" method=\"post\">";
echo "Action: <select name=\"pmact\">";
echo "<option value=\"rep-$pmid\">Reply</option>";
echo "<option value=\"del-$pmid\">Delete</option>";
if(isstarred($pmid))
{
echo "<option value=\"ust-$pmid\">Unstar</option>";
}else{
echo "<option value=\"str-$pmid\">Star</option>";
}
echo "<option value=\"rpt-$pmid\">Report</option>";
echo "</select>";
echo "<input type=\"submit\" value=\"GO\"/>";
echo "</form>
";
echo "<form action=\"inbox.php?action=movetofolder&sid=$sid\" method=\"post\">";
$uid = getuid_sid($sid);
echo "Move To: <select name=\"movetof\">";
$foldername = mysql_query("SELECT folderid, foldername FROM ibwf_private_folders WHERE uid='".$uid."'");
while ($items = mysql_fetch_array($foldername))
{
echo "<option value=\"$items[0]\">".htmlspecialchars($items[1])."</option>";
}
echo "</select>";
echo "<input type=\"hidden\" name=\"pmid\" value=\"$pmid\"/>";
echo "<input type=\"submit\" value=\"Move\"/>";
echo "</form>";
echo "</p>";
echo "<p align=\"center\">";
echo "
<a href=\"inbox.php?action=dialog&sid=$sid&who=$pminfo[1]\">Dialog</a>";
}else{
echo "<img src=\"images/notok.gif\" alt=\"X\"/>This PM ain't yours";
}
echo "
<a href=\"inbox.php?action=main&sid=$sid\">Back to inbox</a>
";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/themes/$themeimageset[0]/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
}
Please write me code for fast reply in lavalair script.This is my first post on this forum External image (may be gone)
Sta tacno trebas?
lol all "wapmasters" but neither of you dont know to code External image (may be gone)
lol all "wapmasters" but neither of you dont know to code External image (may be gone)
Agree with you bro! External image (may be gone)
$whonick = getnick_uid($who); echo "Sending PM Inbox
"; echo "<input name="pmtext" maxlength="500"/> "; echo "<anchor>Send it to $whonick<go href="inbxproc.php?action=sendpm&who=$who&sid=$sid" method="post">"; echo "<postfield name="pmtext" value="$(pmtext)"/>"; echo "</go></anchor>
";
thank you all for the help.....
External image (may be gone) WapCHAT Forum Currenltly changing over to xhtml External image (may be gone) My Dowloads Site External image (may be gone)