|
|
|
|
|
|
Mobile Commerce
We provide you with free modules to help you getting started with your mobile shop via WAP.
The code is kept simple, yet functional.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Free modules (wml/php) to help you getting started with your mobile shop via WAP. The code is kept simple, yet functional.
Customers may...
|
- browse your catalogue
- choose items
- send an email order with their shopping list
- read news about your business
|
- request catalogues
- sign in for email offers / newsletters and
- browse the glossary
|
|
Click for Quick Navigation... (and jump to source code)
|
|
| Main |
Catalogue (Section 1) |
Catalogue (Section 2) |
| Glossary |
Definition A |
Definition B |
| Send Email with Shopping List |
Enter Billing Information |
Place Order |
| Sign up for Email Offers |
Enter your Email Address |
Request Email Offers |
| Request a Catalogue |
Enter Shipping Information |
Catalogue Request |
| Contact Us |
Send Email |
|
| About Us |
News |
Terms & Conditions |
|
|
To make things simple and smooth for mobile phone users, online time via WAP is limited to download small parts of your catalogue (depending on interest) and sending emails with shopping lists or requests. There are no subroutines checking input data as they would increase traffic time and costs aswell.
Your webmaster will assist you to elaborate and adjust the modules for your specific purposes (PHP, MySQL). Due to limited resources we regret for not being able to give you any personal advice.
- Shopping via WAP with mobile devices (Smart Phone, PDA etc.) is reality. Spread the word and link to us if you like it.
- The free modules presented here have been tested in real life and they worked out fine.
- Please feel free to report bugs or improvements (Contact Us).
|
|
|
http://www.waparound-your-car.de/mobile_commerce/index.wml |
last update: January 18, 2006
|
| Use an online browser (WAP Emulators & Browsers) like OPERA or Wapsilon to explore this dummy WAPsite or the real thing: a mobile phone.
Click for Quick Navigation... (and jump to source code)
|
wml entities
(ASCII-code):
|
! " # $ % & ' (
) * + , - . / 0 1 2
3 4 5 6 7 8 9 : ; <
= > ? @ A B C D E F
G H I J K L M N O P
Q R S T U V W X Y Z
[ \ ] ^ _ ` a b c d
e f g h i j k l m n
o p q r s t u v w x
y z { | } ~
|
! " # $ % & ' (
) * + , - . / 0 1 2
3 4 5 6 7 8 9 : ; <
= > ? @ A B C D E F
G H I J K L M N O P
Q R S T U V W X Y Z
[ \ ] ^ _ ` a b c d
e f g h i j k l m n
o p q r s t u v w x
y z { | } ~  €  ‚
ƒ „ … † ‡ ˆ ‰ Š ‹ Œ
 Ž  
|
¡ ¢ £ ¤
¥ ¦ § ¨ © ª « ¬ ®
¯ ° ± ² ³ ´ µ ¶ · ¸
¹ º » ¼ ½ ¾ ¿
À
Á
Â
Ã
Ä
Å
Æ
Ç È É Ê Ë Ì
Í Î Ï Ð Ñ Ò Ó Ô Õ Ö
× Ø Ù Ú Û Ü Ý Þ ß
à
á
â
ã
ä
å
æ
ç è é ê
ë ì í î ï ð ñ ò ó ô
õ ö ÷ ø ù ú û ü ý þ
ÿ
|
‘ ’ “ ” • – — ˜ ™ š
› œ  ž Ÿ   ¡ ¢ £ ¤
¥ ¦ § ¨ © ª « ¬ ­ ®
¯ ° ± ² ³ ´ µ ¶ · ¸
¹ º » ¼ ½ ¾ ¿ À Á Â
Ã Ä Å Æ Ç È É Ê Ë Ì
Í Î Ï Ð Ñ Ò Ó Ô Õ Ö
× Ø Ù Ú Û Ü Ý Þ ß à
á â ã ä å æ ç è é ê
ë ì í î ï ð ñ ò ó ô
õ ö ÷ ø ù ú û ü ý þ
ÿ
|
|
|
Title (domain name)
Company Name - tag line
- Catalogue (Section 1)
- Catalogue (Section 2)
- Section Title
- Main
Shopping List: (Content):
- Empty List
Product (Section Title)
- Category1:
- Item 1 / Definition / Price
- Item 2 / Definition / Price
- Item 3 / Definition / Price
...
- Category2:
- Item 4 / Definition / Price
- Item 5 / Definition / Price
- Item 6 / Definition / Price
...
- Category3:
- Item 7 / Definition / Price
- Item 8 / Definition / Price
- Item 9 / Definition / Price
...
- Amount:
- Add to Shopping List
- Glossary
- Topic
- Please browse our Glossary...
- Email Offers: (Content)
- Empty List
- Email Offers:
- Email Newsletter A
- Email Newsletter B
- Email Newsletter C
- Add to Email Newsletter List
Email Newsletter List: (Content)
Please check your Email Newsletter List and ...
- Enter your Email Address
- Your Email (CC): [...]
- Last Name: [...]
- First Name: [...]
- Customer ID: [...]
- Phone: [...]
Options: »Request Email Offers
- Request Email Offers
- Main
- - Request a Catalogue
- Catalogues
- Catalogue A
- Catalogue B
- Catalogue C
- Quantity
- Add to Catalogue List
Catalogue List: (Content)
- Empty List
Please check your Catalogue List and ...
- Enter Shipping Information
- Your Email (CC): [...]
- First Name: [...]
- Last Name: [...]
- Address: [...]
- City: [...]
- Zip/Post Code: [...]
- Country: [...]
- Customer ID: [...]
- Phone: [...]
- Comments: [...]
Options: »Catalogue Request
- Catalogue Request
- Main
- Contact Us
- Contact Us
- Name & Address
- ...
Phone
- Options: »Call
- Call
- Internet: www.your-domain.com
Email: Your-Email (at) Address.com
- Your Email (CC): [...]
- Name: [...]
- Customer ID: [...]
- Phone: [...]
- Message: [...]
Options: »Send Email
- Send Email
- Main
- About Us
|
|
|
|
Submit your WAPsite
to Google
&
Drop us a note
|
When you are done with your WAPsite don't forget to...
- Submit your WAPsite to Google
- Drop us a note, so that we might consider to add your WAPsite to our catalogue.
Please note: we are looking for outstanding services with additional content like...
- education
- glossary
- information
- resources etc.
- Standard "visiting cards" might be helpful yet not inspiring enough.
- We reserve the right to reject your submission without further notice.
- You understand and agree that our service is provided as-is. We may delete any site without notice and may modify or discontinue our services at any time.
We are open to any suggestions for improvement and cooperations: (Contact Us)
|
|
|
|
|
Main Menu
(index.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
- <head>
- <meta name="robots" content="INDEX,FOLLOW"/>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="about this dummy wapsite and your company"/>
- </head>
|
- <card id="index" title="Company Name">
- <p align="center">
- <img src="logo.gif" alt="Logo.gif"/>
- </p>
- <p align="left">
- <strong><br/>Company Name</strong>
- <br/><br/>
- <a href="section1.wml">Catalogue-Section1</a><br/>
- <a href="section2.wml">Catalogue-Section2</a><br/><br/>
- <a href="glossary.wml">Glossary</a><br/><br/>
- <a href="order.wml">- Send Email with Shopping List</a><br/>
- <a href="email.wml">- Sign up for Email Offers</a><br/>
- <a href="catalogue.wml">- Request a Catalogue</a><br/>
- <a href="contact.wml">- Contact Us</a><br/><br/>
- <a href="about.wml">About Us</a><br/>
- <a href="news.wml">News</a><br/>
- <a href="tandc.wml">Terms & Conditions</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Catalogue (Section 1)
(section1.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
- <head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="about this wapsite"/>
- </head>
|
- <card id="catalogue-section1" title="Catalogue-Section1">
- <p align="left">
- <a href="index.wml">Main</a><br/>
- Shopping List: $list<br/>
- <anchor><refresh><setvar name="list" value=""/></refresh>Empty List</anchor><br/><br/>
- <b>Product (Section Title): </b><br/>
- <select name="product" title="Product">
- <optgroup title="Category1">
- <option value="(Item1-1 / Def / Price)">Item1-1/Def (Price)</option>
- <option value="(Item1-2 / Def / Price)">Item1-2/Def (Price)</option>
- <option value="(Item1-3 / Def / Price)">Item1-3/Def (Price)</option>
- </optgroup>
- <optgroup title="Category2">
- <option value="(Item1-4 / Def / Price)">Item1-4/Def (Price)</option>
- <option value="(Item1-5 / Def / Price)">Item1-5/Def (Price)</option>
- <option value="(Item1-6 / Def / Price)">Item1-6/Def (Price)</option>
- </optgroup>
- <optgroup title="Category3">
- <option value="(Item1-7 / Def / Price)">Item1-7/Def (Price)</option>
- <option value="(Item1-8 / Def / Price)">Item1-8/Def (Price)</option>
- <option value="(Item1-9 / Def / Price)">Item1-9/Def (Price)</option>
- </optgroup>
- </select><br/>
- <br/><b>Amount: </b><br/>
- <select name="amount" title="Amount">
- <option value="1">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- </select>
- <anchor><refresh><setvar name="list" value="$(list) $(amount)x $(product). "/>
- </refresh><br/>Add to Shopping List</anchor>
- </p>
- </card>
- </wml>
|
|
|
|
Catalogue (Section 2)
(section2.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
- <head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="about this wapsite"/>
- </head>
|
- <card id="catalogue-section2" title="Catalogue-Section2">
- <p align="left">
- <a href="index.wml">Main</a><br/>
- Shopping List: $list<br/>
- <anchor><refresh><setvar name="list" value=""/></refresh>Empty List</anchor><br/><br/>
- <b>Product (Section Title): </b><br/>
- <select name="product" title="Product">
- <optgroup title="Category1">
- <option value="(Item2-1 / Def / Price)">Item2-1/Def (Price)</option>
- <option value="(Item2-2 / Def / Price)">Item2-2/Def (Price)</option>
- <option value="(Item2-3 / Def / Price)">Item2-3/Def (Price)</option>
- </optgroup>
- <optgroup title="Category2">
- <option value="(Item2-4 / Def / Price)">Item2-4/Def (Price)</option>
- <option value="(Item2-5 / Def / Price)">Item2-5/Def (Price)</option>
- <option value="(Item2-6 / Def / Price)">Item2-6/Def (Price)</option>
- </optgroup>
- <optgroup title="Category3">
- <option value="(Item2-7 / Def / Price)">Item2-7/Def (Price)</option>
- <option value="(Item2-8 / Def / Price)">Item2-8/Def (Price)</option>
- <option value="(Item2-9 / Def / Price)">Item2-9/Def (Price)</option>
- </optgroup>
- </select><br/>
- <br/><b>Amount: </b><br/>
- <select name="amount" title="Amount">
- <option value="1">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- </select>
- <anchor><refresh><setvar name="list" value="$(list) $(amount)x $(product). "/>
- </refresh><br/>Add to Shopping List</anchor>
- </p>
- </card>
- </wml>
|
|
|
|
Glossary
(glossary.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
<head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="about this wapsite and topic"/>
- </head>
|
- <card id="topic" title="Company Name">
- <p align="center">
- <br/><strong>Topic</strong><br/><br/>
- </p>
- <p align="left">
- Please browse our Glossary...<br/><br/>
- <a href="index.wml">...Main</a><br/>
- <a href="glossary/a.wml">A</a><br/>
- <a href="glossary/b.wml">B</a><br/>
- <a href="index.wml">...Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Glossary: A
Definition A
(glossary/a.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
- <head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="about this wapsite and topic"/>
- </head>
|
- <card id="topic" title="Company Name">
- <p align="center">
- <br/><strong>Topic</strong><br/><br/>
- </p>
- <p align="left">
- <strong>A:</strong><br/>Definition of A.<br/>
- <a href="../glossary.wml">Back</a><br/>
- <a href="../index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Glossary: B
Definition B
(glossary/b.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
<head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="about this wapsite and topic"/>
- </head>
|
- <card id="topic" title="Company Name">
- <p align="center">
- <br/><strong>Topic</strong><br/><br/>
- </p>
- <p align="left">
- <strong>B:</strong><br/>Definition of B.<br/>
- <a href="../glossary.wml">Back</a><br/>
- <a href="../index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Send Email
with Shopping List
(order.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
- <head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="about this wapsite"/>
- </head>
|
- <card id="order" title="Order">
- <p align="left">
- <b>Order List:</b> $list<br/><br/>
- Please check your Order List and ...<br/>
- <a href="order.php?orderlist=$list">Enter Billing Information</a><br/>
- <a href="index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Send Email
with Shopping List
Enter Billing Information
(order.php)
|
- <?php
- header("Content-type: text/vnd.wap.wml");
- echo "<?xml version=\"1.0\"?>";
- echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
- . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
- ?>
- <wml>
- <card id="order" title="Place Order">
- <p>
- <do type="order" label="Place Order">
- <go href="order_send.php" method="post">
- <postfield name="orderlist" value="$list"/>
- <postfield name="sender" value="$from"/>
- <postfield name="topic" value="Order"/>
- <postfield name="phone" value="$phone"/>
- <postfield name="lastname" value="$lastname"/>
- <postfield name="firstname" value="$firstname"/>
- <postfield name="id" value="$id"/>
- <postfield name="message" value="$message"/>
- </go>
- </do>
- <br/>Your Email (CC): <input title="Sender" name="from"/>
- <br/>Last Name: <input title="Last Name" name="lastname"/>
- <br/>First Name: <input title="First Name" name="firstname"/>
- <br/>Customer ID: <input title="Customer ID" name="id"/>
- <br/>Phone: <input title="Phone" name="phone"/>
- <br/>Message: <input title="Message" name="message"/><br/>
- <br/><strong>Options:</strong> » Place Order<br/><br/>
- <a href="index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Send Email
with Shopping List
Place Order
(order_send.php)
|
- <?php
- header("Content-type: text/vnd.wap.wml");
- echo "<?xml version=\"1.0\"?>";
- echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
- . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
- ?>
- <wml>
- <card id="send" title="Send Email">
- <p>
- <?php
- $to = "your-email@---address---.com";
- $subject = $topic;
- $info.="Last Name: ";
- $info.=$lastname;
- $info.="\n";
- $info.=" First Name: ";
- $info.=$firstname;
- $info.="\n";
- $info.=" Customer ID: ";
- $info.=$id;
- $info.="\n";
- $info.=" Phone: ";
- $info.=$phone;
- $info.="\n";
- $info.=" Message: ";
- $info.=$message;
- $info.="\n";
- $info.=" Placed Order: ";
- $info.=$orderlist;
- if (mail ($to, $subject, $info, "From:$sender")) :
- print "Email was sent. ";
- else :
- print "An error occured. Please try again or call us...";
- endif;
- if (mail ($sender,"Copy of your $subject", $info, "From:$sender")) :
- print "You will receive a copy of your $subject to $to!";
- else :
- print "An error occured. Please try again or call us...";
- endif;
- ?>
-
- </p>
- </card>
- </wml>
|
|
|
|
Sign up for Email Offers
(email.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
- <head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="about this wapsite"/>
- </head>
|
- <card id="emailoffers" title="Email Offers">
- <p align="left">
- <a href="index.wml">Main</a><br/>
- <b>Email Offers: </b><br/>
- <select name="emailoffers" title="Email Offers">
- <option value="Email-A">Email Newsletter A</option>
- <option value="Email-B">Email Newsletter B</option>
- <option value="Email-C">Email Newsletter C</option>
- </select><br/>
- <anchor><refresh><setvar name="elist" value="$(elist) $(emailoffers). "/>
- </refresh>Add to Email Newsletter List</anchor>
- <br/><b>Email Newsletter List:</b><br/>$elist<br/>
- <anchor><refresh><setvar name="elist" value=""/></refresh>Empty List</anchor><br/><br/>
- Please check your Email Newsletter List and ...<br/>
- <a href="email.php?emaillist=$elist">Enter your Email Address</a><br/>
- <a href="index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Sign up for Email Offers
Enter your Email Address
(email.php)
|
- <?php
- header("Content-type: text/vnd.wap.wml");
- echo "<?xml version=\"1.0\"?>";
- echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
- . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
- ?>
- <wml>
- <card id="emailoffers" title="Email Offers">
- <p>
- <do type="email" label="Request Email Offers">
<go href="email_send.php" method="post">
- <postfield name="emaillist" value="$elist"/>
- <postfield name="sender" value="$from"/>
- <postfield name="topic" value="Request Email Offers"/>
- <postfield name="phone" value="$phone"/>
- <postfield name="id" value="$id"/>
- <postfield name="lastname" value="$lastname"/>
- <postfield name="firstname" value="$firstname"/>
- </go>
- </do>
- <br/>Your Email (CC): <input title="Sender" name="from"/>
- <br/>Last Name: <input title="Last Name" name="lastname"/>
- <br/>First Name: <input title="First Name" name="firstname"/>
- <br/>Customer ID: <input title="Customer ID" name="id"/>
- <br/>Phone: <input title="Phone" name="phone"/><br/>
- <br/><strong>Options: </strong>»Request Email Offers<br/><br/>
- <a href="index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Sign up for Email Offers
Request Email Offers
(email_send.php)
|
- <?php
- header("Content-type: text/vnd.wap.wml");
- echo "<?xml version=\"1.0\"?>";
- echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
- . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
- ?>
- <wml>
- <card id="send" title="Send Email">
- <p>
- <?php
- $to = "your-email@---address---.com";
- $subject = $topic;
- $info.="Last Name: ";
- $info.=$lastname;
- $info.="\n";
- $info.=" First Name: ";
- $info.=$firstname;
- $info.="\n";
- $info.=" Customer ID: ";
- $info.=$id;
- $info.="\n";
- $info.=" Phone: ";
- $info.=$phone;
- $info.="\n";
- $info.="Newsletter Request: ";
- $info.=$emaillist;
- if (mail ($to, $subject, $info, "From:$sender")) :
- print "Email was sent. ";
- else :
- print "An error occured. Please try again or call us...";
- endif;
- if (mail ($sender,"Copy of your $subject", $info, "From:$sender")) :
- print "You will receive a copy of your $subject to $to!";
- else :
- print "An error occured. Please try again or call us...";
- endif;
- ?>
-
- </p>
- </card>
- </wml>
|
|
|
|
Request a Catalogue
(catalogue.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
- <head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="about this wapsite"/>
- </head>
|
- <card id="catalogues" title="Catalogues">
- <p align="left">
- <a href="index.wml">Main</a><br/>
- <b>Catalogues:</b><br/>
- <select name="catalogue" title="Catalogues">
- <option value="Catalogue-A">Catalogue A</option>
- <option value="Catalogue-B">Catalogue B</option>
- <option value="Catalogue-C">Catalogue C</option>
- </select><br/>
- <b>Quantity:</b><br/>
- <select name="quantity" title="Quantity">
- <option value="1">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- </select><br/>
- <anchor><refresh><setvar name="clist" value="$(clist) $(quantity)x $(catalogue). "/>
- </refresh>Add to Catalogue List</anchor><br/>
- <b>Catalogue List:</b><br/>$clist<br/>
- <anchor><refresh><setvar name="clist" value=""/></refresh>Empty List</anchor><br/><br/>
- Please check your Catalogue List and ...<br/>
- <a href="catalogue.php?cataloguelist=$clist">Enter Shipping Information</a><br/>
- <a href="index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Request a Catalogue
Enter Shipping Information
(catalogue.php)
|
- <?php
- header("Content-type: text/vnd.wap.wml");
- echo "<?xml version=\"1.0\"?>";
- echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
- . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
- ?>
- <wml>
- <card id="catalogue" title="Catalogue Request">
- <p>
- <do type="catalogue" label="Catalogue Request">
- <go href="catalogue_send.php" method="post">
- <postfield name="cataloguelist" value="$clist"/>
- <postfield name="sender" value="$from"/>
- <postfield name="topic" value="Catalogue Request"/>
- <postfield name="phone" value="$phone"/>
- <postfield name="id" value="$id"/>
- <postfield name="lastname" value="$lastname"/>
- <postfield name="firstname" value="$firstname"/>
- <postfield name="address" value="$address"/>
- <postfield name="city" value="$city"/>
- <postfield name="code" value="$code"/>
- <postfield name="country" value="$country"/>
- <postfield name="comments" value="$comments"/>
- </go>
- </do>
- <br/>Your Email (CC): <input title="Sender" name="from"/>
- <br/>Last Name: <input title="Last Name" name="lastname"/>
- <br/>First Name: <input title="First Name" name="firstname"/>
- <br/>Address: <input title="Address" name="address"/>
- <br/>City: <input title="City" name="city"/>
- <br/>ZIP/Post Code: <input title="Code" name="code"/>
- <br/>Country: <input title="Country" name="country"/>
- <br/>Customer ID: <input title="Customer ID" name="id"/>
- <br/>Phone: <input title="Phone" name="phone"/>
- <br/>Comments: <input title="Comments" name="comments"/><br/>
- <br/><strong>Options:</strong> »Catalogue Request<br/><br/>
- <a href="index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Request a Catalogue
Catalogue Request
(catalogue_send.php)
|
- <?php
- header("Content-type: text/vnd.wap.wml");
- echo "<?xml version=\"1.0\"?>";
- echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
- . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
- ?>
- <wml>
- <card id="send" title="Send Email">
- <p>
- <?php
- $to = "your-email@---address---.com";
- $subject = $topic;
- $info.="Last Name: ";
- $info.=$lastname;
- $info.="\n";
- $info.=" First Name: ";
- $info.=$firstname;
- $info.="\n";
- $info.=" Address: ";
- $info.=$address;
- $info.="\n";
- $info.=" City: ";
- $info.=$city;
- $info.="\n";
- $info.=" ZIP/Post Code: ";
- $info.=$code;
- $info.="\n";
- $info.=" Country: ";
- $info.=$country;
- $info.="\n";
- $info.=" Comments: ";
- $info.=$comments;
- $info.="\n";
- $info.=" Customer ID: ";
- $info.=$id;
- $info.="\n";
- $info.=" Phone: ";
- $info.=$phone;
- $info.="\n";
- $info.=" Catalogue Request: ";
- $info.=$cataloguelist;
- if (mail ($to, $subject, $info, "From:$sender")) :
- print "Email was sent. ";
- else :
- print "An error occured. Please try again or call us...";
- endif;
- if (mail ($sender,"Copy of your $subject to $to", $info, "From:$sender")) :
- print "You will receive a copy of your $subject to $to!";
- else :
- print "An error occured. Please try again or call us...";
- endif;
- ?>
-
- </p>
- </card>
- </wml>
|
|
|
|
Contact Us
(contact.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
- <head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="about this wapsite and your company"/>
- </head>
|
- <card id="contact" title="Company Name">
- <p align="left"><strong>Contact Us</strong><br/>
- <br/>Company Name<br/>Address<br/>City / Code<br/>etc.<br/>Phone: +49...<br/>
- <strong>Options:</strong> »Call<br/>
- <do type="options" label="Call"><go href="wtai://wp/mc;+49..."/></do>
- <br/>FAX<br/>Internet: <a href=
- "http://www.---your-domain---.com">www.---your-domain---.com</a><br/>Email: Your-Email (at) Address.com<br/><br/>
- <do type="contact" label="Send Email">
- <go href="contact_send.php" method="post">
- <postfield name="sender" value="$from"/>
- <postfield name="topic" value="Message"/>
- <postfield name="phone" value="$phone"/>
- <postfield name="id" value="$id"/>
- <postfield name="lastname" value="$lastname"/>
- <postfield name="firstname" value="$firstname"/>
- <postfield name="message" value="$message"/>
- </go>
- </do>
- <br/>Your Email (CC): <input title="Sender" name="from"/>
- <br/>Last Name: <input title="Last Name" name="lastname"/>
- <br/>First Name: <input title="First Name" name="firstname"/>
- <br/>Customer ID: <input title="Customer ID" name="id"/>
- <br/>Phone: <input title="Phone" name="phone"/>
- <br/>Message: <input title="Message" name="message"/><br/>
- <br/><strong>Options: </strong> »Send Email<br/><br/>
- <a href="index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Contact Us
Send Email
(contact.wml)
|
- <?php
- header("Content-type: text/vnd.wap.wml");
- echo "<?xml version=\"1.0\"?>";
- echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
- . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
- ?>
- <wml>
- <card id="send" title="Send Email">
- <p>
- <?php
- $to = "your-email@---address---.com";
- $subject = $topic;
- $info.="Last Name: ";
- $info.=$lastname;
- $info.="\n";
- $info.=" First Name: ";
- $info.=$firstname;
- $info.="\n";
- $info.=" Message: ";
- $info.=$message;
- $info.="\n";
- $info.=" Customer ID: ";
- $info.=$id;
- $info.="\n";
- $info.=" Phone: ";
- $info.=$phone;
- if (mail ($to, $subject, $info, "From:$sender")) :
- print "Email was sent. ";
- else :
- print "An error occured. Please try again or call us...";
- endif;
- if (mail ($sender,"Copy of your $subject", $info, "From:$sender")) :
- print "You will receive a copy of your $subject to $to!";
- else :
- print "An error occured. Please try again or call us...";
- endif;
- ?>
-
- </p>
- </card>
- </wml>
|
|
|
|
About Us
(about.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
- <head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="about us"/>
- </head>
|
- <card id="topic" title="Company Name">
- <p align="center">
- <br/><strong>About Us</strong><br/><br/>
- </p>
- <p align="left">
- <strong>Who we are:</strong><br/>read on<br/>
- <a href="index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
News
(news.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
- <wml>
- <head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="news"/>
- </head>
|
- <card id="topic" title="Company Name">
- <p align="center">
- <br/><strong>News</strong><br/><br/>
- </p>
- <p align="left">
- <strong>What's new?</strong><br/>read on<br/>
- <a href="index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|
|
|
|
Terms & Conditions
(tandc.wml)
|
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.3.xml">
<wml>
- <head>
- <meta name="keywords" content="keyword1, keyword2"/>
- <meta name="description" content="terms and conditions"/>
- </head>
|
- <card id="topic" title="Company Name">
- <p align="center">
- <br/><strong>Terms & Conditions</strong><br/><br/>
- </p>
- <p align="left">
- <strong>Please read our T & C:</strong><br/>read on<br/>
- <a href="index.wml">Main</a><br/>
- </p>
- </card>
- </wml>
|