Wap And Xhtml

Started on the old forum in March 2009 · view the original in the archive · old links redirect here

1 reply · 1,736 views · started 17 years ago · 1 min read

subzero Super moderator Fellow · 3,954 posts #1

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

<?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 "<a href="http://domain.tld">YOUR-LINK-NAME</a> ";

Here a simple none edited body frame!

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 "<img src="images/demo.jpg" alt="LOGO DEMO"/> ";

You can edit the body like:

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 TEXT on ech line or your page wont pass vaild!!

Lets do the footer end this with this!

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... _______…

subzero Super moderator Fellow · 3,954 posts #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.

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 ' Next'; 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 !!

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... _______…

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