Wml To Xhtml Help

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

    Wml To Xhtml Help

    how do i convert dis to xhtml.

    //////////////////////////////////////////add vault

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


    if(!getplusses(getuid_sid($sid))>25)
    {
    echo "<card id=\"main\" title=\"Methos\">";
    echo "<p align=\"center\">";
    echo "At least you should have 25 Credits to add an item to your vault

    ";
    echo "<a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
    echo "</p>";
    echo "</card>";
    echo "</wml>";
    exit();
    }
    addonline(getuid_sid($sid),"Adding a vault item","");

    echo "<card id=\"main\" title=\"Add vault item\">";
    echo "<onevent type=\"onenterforward\">";
    echo "<refresh>
    <setvar name=\"viname\" value=\"\"/>
    <setvar name=\"vilink\" value=\"\"/>
    ";
    echo "</refresh></onevent>";

    echo "<p align=\"center\">";
    echo "The vault is used to store your downloadable links,like images, mp3&#39;s, games etc...
    WARNING: if you used it to wapsites links they will got deleted and you&#39;ll lose some Credits, if you used it for ranking sites links like 2wap, mradar, you&#39;ll be banned


    ";
    echo "Item Name:<input name=\"viname\" maxlength=\"50\"/>
    ";
    echo "Item Url:<input name=\"vilink\" maxlength=\"255\"/>
    ";
    echo "<anchor>Add";
    echo "
    <go href=\"genproc.php?action=addvlt&amp;sid=$sid\" method=\"post\">
    <postfield name=\"viname\" value=\"$(viname)\"/>
    <postfield name=\"vilink\" value=\"$(vilink)\"/>

    </go>
    ";
    echo "</anchor>";

    echo "

    <a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
    echo "</p>";
    echo "</card>";
    }[/b]
    <div align="center">My Web Community ......... http://pahasara.net



    </div>

    #2
    Code:
    echo "<anchor>Add";
    echo "
    <go href=\"genproc.php?action=addvlt&amp;sid=$sid\" method=\"post\">
    <postfield name=\"viname\" value=\"$(viname)\"/>
    <postfield name=\"vilink\" value=\"$(vilink)\"/>
    
    </go>
    ";
    echo "</anchor>";
    i wnt dis anchor conver to xhtml plz help me anyone .................
    <div align="center">My Web Community ......... http://pahasara.net



    </div>

    Comment


      #3
      hmmm
      Code:
      echo "<form name=\"input\" 
      action=\"genproc.php?action=addvlt&amp;sid=$sid\" method=\"post\"/>"; 
      echo "Item name: <input 
      type=\"text\" 
      name=\"viname\"/>";
      echo "Item Url: <input 
      type=\"text\" 
      name=\"vilink\"/>";
       echo "<input 
      type=\"submit\" 
      value=\"Submit\">";
       echo "</form>";
      try that

      R.M.C
      ----------
      PHP Adovocate B)

      Comment


        #4
        hmmm
        Code:
        echo "<form name=\"input\" 
        action=\"genproc.php?action=addvlt&amp;sid=$sid\" method=\"post\"/>"; 
        echo "Item name: <input 
        type=\"text\" 
        name=\"viname\"/>";
        echo "Item Url: <input 
        type=\"text\" 
        name=\"vilink\"/>";
         echo "<input 
        type=\"submit\" 
        value=\"Submit\">";
         echo "</form>";
        try that[/b]
        thanks a lot bro ............................

        <div align="center">My Web Community ......... http://pahasara.net



        </div>

        Comment


          #5
          Code:
          echo "<input name=\"tfgp\" format=\"*N\" maxlength=\"2\"/>";
            echo "
          <anchor>Give";
            echo "<go href=\"genproc.php?action=sharepl&amp;sid=$sid&amp;who=$who\" method=\"post\">";
            echo "<postfield name=\"ptg\" value=\"$(tfgp)\"/>";
            echo "</go></anchor>";

          can u convet dis too plz ...........
          <div align="center">My Web Community ......... http://pahasara.net



          </div>

          Comment


            #6
            Code:
            echo "<form 
            name=\"input\" 
            
            action=\"genproc.php 
            ?action=sharepl&amp;si 
            d=$sid&amp;who=$who\" 
            method=\"post\"/>"; 
            
            echo " <input 
            
            name=\"tfgp\" 
            
            format=\"*N\"
            maxlenght=\"2\"/>"; 
            
            
            echo "<input 
            
            type=\"submit\" 
            
            value=\"Submit\">"; 
            
            echo "</form>";

            R.M.C
            ----------
            PHP Adovocate B)

            Comment


              #7
              Code:
              echo "<form 
              name=\"input\" 
              
              action=\"genproc.php 
              ?action=sharepl&amp;si 
              d=$sid&amp;who=$who\" 
              method=\"post\"/>"; 
              
              echo " <input 
              
              name=\"tfgp\" 
              
              format=\"*N\"
              maxlenght=\"2\"/>"; 
              echo "<input 
              
              type=\"submit\" 
              
              value=\"Submit\">"; 
              
              echo "</form>";
              [/b]

              thankz a lot bro ....................
              <div align="center">My Web Community ......... http://pahasara.net



              </div>

              Comment

              Working...
              X