Not Clickable

Started on the old forum in November 2008 · view the original in the archive · old links redirect here

9 replies · 498 views · started 18 years ago · 1 min read

5 participants
Leviathan73 Senior · 260 posts #1

hello world! Write as ever, Inbox, Pm and Refresh are not clickable? I tried several attempts, but we can not 😉

<? include("../tools/ipban.php"); ?>
<? include("../tools/admin.php"); ?>
<? include("../tools/ban.php"); ?>
<?php
header("Content-type: text/html; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">\n";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
echo "[size="1"]";
echo "<anchor>Write";
echo "<go method=\"post\" href=\"kirj.php?time=".time()."\">";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
echo "<setvar name=\"viesti\" value=\"\"/>";
echo "<setvar name=\"joo\" value=\"h000\"/>";
echo "</go>";
echo "</anchor>";
echo " ";

echo "<anchor>Inbox";
if ($katsos>=1){
echo "(".$katsos.")";}
echo "<go method=\"post\" href=\"prividis.php\">";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
echo "</go>";
echo "</anchor>";
echo " ";

echo "<anchor>Pm";
echo "<go method=\"post\" href=\"privkirj.php?viesti=\">";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
echo "<postfield name=\"kenelle\" value=\"$(kenelle)\"/>";
echo "<setvar name=\"viesti\" value=\"\"/>";
echo "</go>";
echo "</anchor>";
echo " ";

echo "<anchor>Refresh";
echo "<go method=\"post\" href=\"chat.php\">";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
echo "</go>";
echo "</anchor>
\n";

if ($katsos>=1){
echo "<anchor>*";
echo "<go method=\"post\" href=\"prividis.php\">";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
echo "</go>";
echo "</anchor>";
echo "(".$katsos.")New Message(s)
---
";}

echo "[/size]";
echo "</p>";
echo "

";
echo "</small>";
echo "</p>";
echo "</body>";
echo "<html>";

?>

🤔

GumSlone Administrator Principal · 1,690 posts #2

the footer and the header is wrong there is no

echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";

echo "</body>";
echo "<html>";

in wml

and if you want to use html you cant use the <anchor></anchor> tags, you have to replace this with <form> tags

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

djdevil89 Senior · 287 posts #3

lol try to understand the diference between wml and html for example

WML:echo "<card title="$stitle">\n";

HTML: echo "<title>$stitle</title>";

foreach ($_SERVER as $server => $value)
{
echo "$server is $value<br />";
}
Guest #4

Funny 😀

Leviathan73 Senior · 260 posts #5

Hi gumslone! it changed the tag <form> </form>, but is not clickable

echo "<small>";
echo "<form>Write";
echo "<go method=\"post\" href=\"kirj.php?time=".time()."\">";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
echo "<setvar name=\"viesti\" value=\"\"/>";
echo "<setvar name=\"joo\" value=\"h000\"/>";
echo "</go>";
echo "</form>";
echo " ";
opticalpigion Lead · 593 posts #6

replace echo "</body>"; echo "<html>";

with

echo "</card>";

or

convert wml to xhtml like this echo ""; echo "Write"; echo "<form action="kirj.php?time=".time()."" method="post">"; echo "<input name="nimi" value="$(nimi)"/>"; echo "<input name="salasana" value="$(salasana)"/>"; echo "<input name="viesti" value=""/>"; echo "<input name="joo" value="h000"/>"; echo "</form>"; echo " ";

goto w3schools.com

something else Fellow · 2,296 posts #7

QUOTE (opticalpigion @ Nov 14 2008, 08:28 PM) <{POST_SNAPBACK}>

convert wml to xhtml like this echo ""; echo "Write"; echo "<form action="kirj.php?time=".time()."" method="post">"; echo "<input name="nimi" value="$(nimi)"/>"; echo "<input name="salasana" value="$(salasana)"/>"; echo "<input name="viesti" value=""/>"; echo "<input name="joo" value="h000"/>"; echo "</form>"; echo " ";

Dont use small tags over inputs. It causes errors on some browsers

Leviathan73 Senior · 260 posts #8

It does not work, four boxes sprout.

something else Fellow · 2,296 posts #9

if you want them hidden:

echo "<input name="salasana" value="$salasana" type="hidden"/>";

you may want to put the proper strings name (not in brackets......more than likely)

Guest #10

its the mobile chat script, who changed it html? huh! even if you change all the anchors to forms it wont work completly. There are few bugs to be fixed (html). Here is the script in wml version http://chat.waparena.net/Mobile_Chat_2.0.1_WML1.1EN.zip . . . I wonder if Ghost is done with the html version of this script.

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