///////////////////////////////////////////POP UPS list.php

else if($action=="sendto"){

addonline(getuid_sid($sid),"Sending pop-up MSG","");


echo "<p align=\"center\">";
echo "$getbuttons <br/><br/>";
$whonick = getnick_uid($who);
$byuid = getuid_sid($sid);
echo "Sending to ".$whonick."<br/>";
echo "<form action=\"popus.php?action=send&amp;who=$who&amp;sid=$sid\"
method=\"post\">";
echo "<input name=\"msg\" maxlength=\"150\"/><br/>";

echo "<postfield name=\"msg\" value=\"$(msg)\"/>";
echo "<postfield name=\"who\" value=\"$(who)\"/>";
echo "<input type='submit' value='Send'/></form><br/>";

echo "
<br/>-
<br/><a href=\"index.php?action=main&amp;sid=$sid\">Home</a>
";
echo "</p>";


echo "</body>";

}