Not Clickable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Not Clickable

    hello world! Write as ever, Inbox, Pm and Refresh are not clickable? I tried several attempts, but we can not
    Code:
    <? 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>";
    
    ?>

    #2
    the footer and the header is wrong there is no
    Code:
    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

    Comment


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

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

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

      PHP Code:
      foreach ($_SERVER as $server => $value)
      {
      echo "$server is $value<br />";
      } 
      

      Comment


        #4
        Funny :D

        Comment


          #5
          Hi gumslone! it changed the tag <form> </form>, but is not clickable
          Code:
          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 " ";

          Comment


            #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
            sigpic

            Comment


              #7
              <div class='quotetop'>QUOTE (opticalpigion @ Nov 14 2008, 08:28 PM) <{POST_SNAPBACK}></div>
              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 "
              ";[/b]
              Dont use small tags over inputs. It causes errors on some browsers

              Comment


                #8
                It does not work, four boxes sprout.

                Comment


                  #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)

                  Comment


                    #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.

                    Comment

                    Working...
                    X