Wap And Xhtml

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

    Wap And Xhtml

    Here today we will show you simple coding the new style!


    The header info with style.css is need in the root folder where this is...
    Code:
    <?php
    
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Cache-Control: no-cache");
    header("Pragma: no-cache");
    
    echo "<!DOCTYPE html PUBLIC \"-//WAPMASTERZ//DTD XHTML Mobile 1.2//EN\" \"http://wapmasterz.net/dtd/xhtml-mobile12.dtd\">\n";
    echo "<html xmlns=\"http://www.w3.org/1999/xhtml\"> \n";
    
    echo "<head>\n";
    echo "<title>WapMasterz.net Demo</title>\n";
    echo "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"images/favicon.ico\" />\n";
    echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />\n";
    echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n";
    echo "<meta name=\"robots\" content=\"index,follow\" />";
    echo "<meta name=\"description\" content=\"WapMasterz.net\" />\n";
    echo "<meta name=\"keywords\" content=\"wapmaster\" />\n";
    echo "<meta name=\"copyright\" content=\"(c) WapMasterz.net\" />\n";
    echo "</head>\n";
    echo "<body>\n";
    Body parts when you add a new line like links etc always do this

    Originally posted by SHOW SIMPLE
    echo "<div><a href=\"http://domain.tld\">YOUR-LINK-NAME</a>
    ";[/quote]

    Here a simple none edited body frame!
    Code:
    echo "<div style=\"text-align: center\">\n";
    
    Place your link here as shown!
    
    echo "</div>";
    When adding text or any other like images also can be placed in the link zone

    Originally posted by SHOW SIMPLE
    echo "<div><img src=\"images/demo.jpg\" alt=\"LOGO DEMO\"/>
    ";[/quote]


    You can edit the body like:

    Code:
    echo "<div style=\"text-align: center\">\n";
    
    IMAGE HERE
    
    echo "</div>";
    
    
    echo "<div style=\"text-align: left\">\n";
    
    LINK HERE!
    
    echo "</div>";
    Also always make sure you have <div>TEXT</div> on ech line or your page wont pass vaild!!


    Lets do the footer end this with this!


    Code:
    echo "<p class=\"sub\">© WapMasterz.net DEMO PAGE</p>\n";
    echo "</body></html>\n";
    exit;
    ?>
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    #2
    Now the fun part of this trick is

    How can we place marquee to be vaild ?? and also none vaild page !!!! HELP HELP well here you got a code will pass vaild also phones can view them.



    Code:
    echo "
    <div class=\"we\"  style=\"display: -wap-marquee; -wap-marquee-loop: 10; font-size: 9pt;\">
    WapMaster.net did good for me :)
    </div>
    ";

    did you notice that i put in \ in links and images and with images at end i placed / but why ? to close and echo big


    Yeah you can simple echo &#39;<div> <a href=&#39;page.php&#39;>Next</a></div>&#39;; this will not pass you also " to &#39; when info sent to your sid or url it will not show..

    Also save time in echo and "; closing the echo you can do it all in one like

    echo "

    BLAH
    BLAH
    BLAH
    BLAH
    BLAH
    BLAH
    BLAH

    ";

    Save time for faster editing..

    This part what can we do about closing the script where it meant to end at ?> right ??

    simple

    pick one of this to end a script sql or text

    die();
    exit;
    exit();


    just one will be good if you pick die !

    this is fun part about die you can place messages in die!!

    die(" I KILLED YOU AND YOU STILL THINK YA ALIFE ????? PMPL");

    it will show but it will end that line...


    simple style sheet !!

    Code:
    body { 
    font-family : arial, sans-serif; 
    font-size : 12px; 
    color : #ffffff; 
    max-width : 550px; 
    background-color : #000000; 
    margin : 3px auto; 
    } 
    a:link, a:visited { 
    text-decoration : underline; 
    color : #0000ff; 
    } 
    a:active { 
    text-decoration : underline; 
    color : #1e90ff; 
    } 
    a:hover { 
    text-decoration : none; 
    font-size : 14px; 
    color : #a52a2a; 
    position : relative; 
    top : 1px; 
    left : 1px; 
    } 
    .we { 
    background-color : #222; 
    text-decoration : underline; 
    font-weight : bold; 
    color : #ffd700; 
    } 
    .sub { 
    font-weight : bold; 
    color : #ffffff; 
    background-color : #222; 
    text-align : center; 
    }
    Name it style.css in the same folder root with this pages!
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment

    Working...
    X