Funmobile Popup Help

Started on the old forum in July 2007 · view the original in the archive · old links redirect here

7 replies · 708 views · started 19 years ago · 1 min read

Guest #1

hello can anyone help me plese i got a problem amusing funmobile xhtml and wml in one scipt i codded the popup inmy script after finished the siye works but the popup doent because i cnt view it in list .php i keep seeing this errorParse error:

Parse error: syntax error, unexpected $end in /home/micro/public_html/lists.php on line 8399

and this is the code is used in list.php

if($action=="sendto") { addonline(getuid_ses($ses),"sending popup",""); if($mime== WEB) { echo webhead($uthm,$stitle); echo " "; echo "$getbuttons

"; $whonick = getnick_uid($who); $byuid = getuid_ses($ses); echo "Sending to ".$whonick." "; echo "<input name="msg" maxlength="150"/> "; echo "<anchor>SEND<go href="popus.php?action=send&who=$who&ses=$ses" method="post">"; echo "<postfield name="msg" value="$(msg)"/>"; echo "<postfield name="who" value="$(who)"/>"; echo "</go></anchor>

<a href="index.php?action=main&ses=$ses">Home</a>"; echo " "; echo webfoot(); }else{ echo waphead($stitle); echo "<card id="main" title="popups">"; echo " "; echo "$getbuttons

"; $whonick = getnick_uid($who); $byuid = getuid_sid($ses); echo "Sending to ".$whonick." "; echo "<input name="msg" maxlength="150"/> "; echo "<anchor>SEND<go href="popus.php?action=send&who=$who&ses=$ses" method="post">"; echo "<postfield name="msg" value="$(msg)"/>"; echo "<postfield name="who" value="$(who)"/>"; echo "</go></anchor> "; echo "

<a href="index.php?action=main&sid=$sid">Home</a>"; echo " "; echo "</card>"; echo wapfoot(); }

FlareX #2

make it

else if($action=="sendto") { addonline(getuid_ses($ses),"sending popup",""); if($mime== WEB) { echo webhead($uthm,$stitle); echo " "; echo "$getbuttons

"; $whonick = getnick_uid($who); $byuid = getuid_ses($ses); echo "Sending to ".$whonick." "; echo "<input name="msg" maxlength="150"/> "; echo "<anchor>SEND<go href="popus.php?action=send&who=$who&ses=$ses" method="post">"; echo "<postfield name="msg" value="$(msg)"/>"; echo "<postfield name="who" value="$(who)"/>"; echo "</go></anchor>

<a href="index.php?action=main&ses=$ses">Home</a>"; echo " "; echo webfoot(); }else{ echo waphead($stitle); echo "<card id="main" title="popups">"; echo " "; echo "$getbuttons

"; $whonick = getnick_uid($who); $byuid = getuid_sid($ses); echo "Sending to ".$whonick." "; echo "<input name="msg" maxlength="150"/> "; echo "<anchor>SEND<go href="popus.php?action=send&who=$who&ses=$ses" method="post">"; echo "<postfield name="msg" value="$(msg)"/>"; echo "<postfield name="who" value="$(who)"/>"; echo "</go></anchor> "; echo "

<a href="index.php?action=main&sid=$sid">Home</a>"; echo " "; echo "</card>"; echo wapfoot(); }

Guest #3

make it

else if($action=="sendto") { addonline(getuid_ses($ses),"sending popup",""); if($mime== WEB) { echo webhead($uthm,$stitle); echo " "; echo "$getbuttons

"; $whonick = getnick_uid($who); $byuid = getuid_ses($ses); echo "Sending to ".$whonick." "; echo "<input name="msg" maxlength="150"/> "; echo "<anchor>SEND<go href="popus.php?action=send&who=$who&ses=$ses" method="post">"; echo "<postfield name="msg" value="$(msg)"/>"; echo "<postfield name="who" value="$(who)"/>"; echo "</go></anchor>

<a href="index.php?action=main&ses=$ses">Home</a>"; echo " "; echo webfoot(); }else{ echo waphead($stitle); echo "<card id="main" title="popups">"; echo " "; echo "$getbuttons

"; $whonick = getnick_uid($who); $byuid = getuid_sid($ses); echo "Sending to ".$whonick." "; echo "<input name="msg" maxlength="150"/> "; echo "<anchor>SEND<go href="popus.php?action=send&who=$who&ses=$ses" method="post">"; echo "<postfield name="msg" value="$(msg)"/>"; echo "<postfield name="who" value="$(who)"/>"; echo "</go></anchor> "; echo "

<a href="index.php?action=main&sid=$sid">Home</a>"; echo " "; echo "</card>"; echo wapfoot(); }

that does nothing

that dosent help all you did was change the

CODE if($action=="sendto")

to

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

i tired that already

linkrx7 #4

its so simple u 4got 2 put a } at the end add 1 more to end nd ur error should b gone

Guest #5

its so simple u 4got 2 put a } at the end add 1 more to end nd ur error should b gone

ok i will try

Guest #6

ok i will try

fixed now i got a nother prob when you go on the user name and click popup there is a msg box to send the popup but the send link is there like a word and it should be able to click whats wrong anyone can help heres the code

CODEelse if($action=="sendto") { addonline(getuid_ses($ses),"sending popup",""); if($mime== WEB) { echo webhead($uthm,$stitle); echo " "; echo "$getbuttons

"; $whonick = getnick_uid($who); $byuid = getuid_ses($ses); echo "Sending to ".$whonick." "; echo "<input name="msg" maxlength="150"/> "; echo "<anchor>SEND<go href="popus.php?action=send&who=$who&sid=$sid" method="post">"; echo "<postfield name="msg" value="$(msg)"/>"; echo "<postfield name="who" value="$(who)"/>"; echo "</go></anchor>

<a href="index.php?action=main&ses=$ses">Home</a>"; echo " "; echo webfoot(); }else{ echo waphead($stitle); echo "<card id="main" title="popups">"; echo " "; echo "$getbuttons

"; $whonick = getnick_uid($who); $byuid = getuid_sid($ses); echo "Sending to ".$whonick." "; echo "<input name="msg" maxlength="150"/> "; echo "<anchor>SEND<go href="popus.php?action=send&who=$who&ses=$ses" method="post">"; echo "<postfield name="msg" value="$(msg)"/>"; echo "<postfield name="who" value="$(who)"/>"; echo "</go></anchor> "; echo "

<a href="index.php?action=main&sid=$sid">Home</a>"; echo " "; echo "</card>"; echo wapfoot(); }

}

linkrx7 #7

this should fix ur prob

else if($action=="sendto")
{
addonline(getuid_ses($ses),"sending popup","");
if($mime== WEB)
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
echo "$getbuttons 

";
$whonick = getnick_uid($who);
$byuid = getuid_ses($ses);
echo "Sending to ".$whonick."
";
echo "<form action=\"popus.php?action=send&who=$who&sid=$sid\" method=\"post\">";
echo "<input name=\"msg\" maxlength=\"150\"/>
";
echo "<input type=\"hidden\" name=\"who\" value=\"$who\">";
echo "<input type=\"Submit\" Value=\"Send\"></form>";

<a href=\"index.php?action=main&ses=$ses\">Home</a>";
echo "</p>";
echo webfoot();
}else{
echo waphead($stitle);
echo "<card id=\"main\" title=\"popups\">";
echo "<p align=\"center\">";
echo "$getbuttons 

";
$whonick = getnick_uid($who);
$byuid = getuid_sid($ses);
echo "Sending to ".$whonick."
";
echo "<input name=\"msg\" maxlength=\"150\"/>
";
echo "<anchor>SEND<go href=\"popus.php?action=send&who=$who&ses=$ses\" method=\"post\">";
echo "<postfield name=\"msg\" value=\"$(msg)\"/>";
echo "<postfield name=\"who\" value=\"$(who)\"/>";
echo "</go></anchor>
";
echo "

<a href=\"index.php?action=main&sid=$sid\">Home</a>";
echo "</p>";
echo "</card>";
echo wapfoot();
}
}
Guest #8

nope that dosent work i get 2 send buttons and they click bt it dosent send to the user why i dont know

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