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...
Body parts when you add a new line like links etc always do thisCode:<?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";
";[/quote]Originally posted by SHOW SIMPLE
echo "<div><a href=\"http://domain.tld\">YOUR-LINK-NAME</a>
Here a simple none edited body frame!
When adding text or any other like images also can be placed in the link zoneCode:echo "<div style=\"text-align: center\">\n"; Place your link here as shown! echo "</div>";
";[/quote]Originally posted by SHOW SIMPLE
echo "<div><img src=\"images/demo.jpg\" alt=\"LOGO DEMO\"/>
You can edit the body like:
Also always make sure you have <div>TEXT</div> on ech line or your page wont pass vaild!!Code:echo "<div style=\"text-align: center\">\n"; IMAGE HERE echo "</div>"; echo "<div style=\"text-align: left\">\n"; LINK HERE! echo "</div>";
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: [Only registered and activated users can see links. Click Here To Register...]
Visit: [Only registered and activated users can see links. Click Here To Register...]
_______
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
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 '<div> <a href='page.php'>Next</a></div>'; this will not pass you also " to ' 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 !!
Name it style.css in the same folder root with this pages!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; }
Visit: [Only registered and activated users can see links. Click Here To Register...]
Visit: [Only registered and activated users can see links. Click Here To Register...]
_______
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks