Modded Inc.

40
Modded Inc. Modded Inc. Christian Stumpf Christian Stumpf James Morton James Morton

description

Modded Inc. Christian Stumpf James Morton. Idea. Create a site for Auto enthusiast s Gallery Survey Manuals Links Forum. Goals. Implement ECE3553 Html Xml/Xsl Css PHP/MySQL JavaScript. Site Flow. HomePage. Homepage. HomePage Code. - PowerPoint PPT Presentation

Transcript of Modded Inc.

Page 1: Modded Inc.

Modded Inc.Modded Inc.

Christian StumpfChristian Stumpf

James MortonJames Morton

Page 2: Modded Inc.

IdeaIdea

Create a site for Auto enthusiastCreate a site for Auto enthusiast ssGalleryGallerySurveySurveyManualsManualsLinksLinksForumForum

Page 3: Modded Inc.

GoalsGoals

Implement ECE3553Implement ECE3553HtmlHtmlXml/XslXml/XslCssCssPHP/MySQLPHP/MySQLJavaScriptJavaScript

Page 4: Modded Inc.

Site FlowSite Flow

Page 5: Modded Inc.

HomePageHomePage

HomepageHomepage

Page 6: Modded Inc.

HomePage CodeHomePage Code <?xml version = "1.0"?><?xml version = "1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" ><html xmlns="http://www.w3.org/1999/xhtml" > <head><head> <meta http-equiv="Content-Type" content="text/html; <meta http-equiv="Content-Type" content="text/html;

charset=utf-8"/>charset=utf-8"/> <title>Modded Inc.</title><title>Modded Inc.</title> <link rel ="stylesheet" type="text/css"<link rel ="stylesheet" type="text/css" href="stylemod.css"/>href="stylemod.css"/> <style type="text/css"><style type="text/css"> p {font-family: arial}p {font-family: arial} </style></style> </head></head> <body><body>

Page 7: Modded Inc.

HomePage CodeHomePage Code <form method="post" action="ModdedINC.php"><form method="post" action="ModdedINC.php"> <table border="0" cellspacing="0" cellpadding="0" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr><tr> <td align="left" rowspan="10%" class="special"><td align="left" rowspan="10%" class="special"> <a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm"><img src="http://my.fit.edu/~jmorton/Multiproject/modded.png" /></a><a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm"><img src="http://my.fit.edu/~jmorton/Multiproject/modded.png" /></a> </td></td> </tr></tr> </table></table>

<table border="0" cellspacing="0" cellpadding="4" width="100%" style="border-bottom:1px solid #64633D; background-color; black"><table border="0" cellspacing="0" cellpadding="4" width="100%" style="border-bottom:1px solid #64633D; background-color; black"> <tr><tr> <td colspan="3" rowspan="3"><td colspan="3" rowspan="3"> &nbsp;&nbsp; </td></td> <td style="width:16%"><td style="width:16%"> <a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm">Homepage</a><a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm">Homepage</a> </td></td> <td style="width:16%"><td style="width:16%"> <a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINCforum.htm">Forum</a><a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINCforum.htm">Forum</a> </td></td>

<td style="width:16%"><td style="width:16%"> <a href="http://my.fit.edu/~jmorton/Multiproject/gallery/ModdedINCGallery.htm">Gallery</a><a href="http://my.fit.edu/~jmorton/Multiproject/gallery/ModdedINCGallery.htm">Gallery</a> </td></td> <td style="width:16%"><td style="width:16%"> <a href="http://my.fit.edu/~jmorton/Multiproject/manual.xml">Manuals</a><a href="http://my.fit.edu/~jmorton/Multiproject/manual.xml">Manuals</a> </td></td> <td style="width:16%"><td style="width:16%"> <a href="http://my.fit.edu/~jmorton/Multiproject/links.xml">Links</a><a href="http://my.fit.edu/~jmorton/Multiproject/links.xml">Links</a> </td></td> <td style="width:16%"><td style="width:16%"> <a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINCSurvey.htm">Survey</a><a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINCSurvey.htm">Survey</a> </td></td>

Page 8: Modded Inc.

HomePage CodeHomePage Code </tr></tr> </table></table> <table border="0" cellspacing="0" cellpadding="4" width="100%" background-color="black" style="border-bottom:1px solid #64633D"><table border="0" cellspacing="0" cellpadding="4" width="100%" background-color="black" style="border-bottom:1px solid #64633D">

<tr><tr> <td><td> <b>Login</b><b>Login</b> </td></td> <td><td> Username: <input name = "USERNAME" type = "text" size = "30" maxlength = "40"/>Username: <input name = "USERNAME" type = "text" size = "30" maxlength = "40"/> </td></td> <td><td> Password: <input name = "PASSWORD" type = "password" size = "30" maxlength = "40"/>Password: <input name = "PASSWORD" type = "password" size = "30" maxlength = "40"/> </td></td> <td><td> <input type = "submit" name ="Enter" value = "Log In"/><input type = "submit" name ="Enter" value = "Log In"/> </td></td> <td><td> <a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINCNewUser.htm">Not a member yet? register now!</a> <a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINCNewUser.htm">Not a member yet? register now!</a> </td></td> </tr></tr>

</table></table> </form></form> <br /><br /> <table border="0" width="100%"><table border="0" width="100%"> <tr><tr> <th colspan = "3" valign="middle" align="center" class="mod"><th colspan = "3" valign="middle" align="center" class="mod"> <strong>Welcome to Modded Inc.</strong></th><strong>Welcome to Modded Inc.</strong></th> </tr></tr> <tbody><tbody> <tr><tr>

Page 9: Modded Inc.

HomePage CodeHomePage Code <td align="center" colspan="3"> The word Modification means to upgrade or change the item in speculation. As you all may know, Modification is also called Mod.<td align="center" colspan="3"> The word Modification means to upgrade or change the item in speculation. As you all may know, Modification is also called Mod. Mod(<strong>Commonly used by Arthur and Emre)</strong> is a slang ending that is added to a word to appear as an upgrade ex: Yoh Kid E, that girl is in need of a Mod(<strong>Commonly used by Arthur and Emre)</strong> is a slang ending that is added to a word to appear as an upgrade ex: Yoh Kid E, that girl is in need of a

serious Mod.serious Mod. The word Modded is the past tense form of Mod. Hence the title of our Website " Modded INC" Welcome to Modded INC., Enjoy the many ModificationsThe word Modded is the past tense form of Mod. Hence the title of our Website " Modded INC" Welcome to Modded INC., Enjoy the many Modifications <br /><strong>Holla atcha boi I is Money</strong><br /><strong>Holla atcha boi I is Money</strong> </td></td> </tr></tr> </tbody></tbody> </table></table> <br /><br /> <br /><br /> <table border="0" width="100%"><table border="0" width="100%"> <tbody><tbody> <tr><tr> <td align="left" style="background-color: black; width: 50%"><td align="left" style="background-color: black; width: 50%"> <img src="http://my.fit.edu/~jmorton/Multiproject/mseries_m3_05.jpg"<img src="http://my.fit.edu/~jmorton/Multiproject/mseries_m3_05.jpg" alt="Modded INC." />alt="Modded INC." /> </td></td> <td align="center" style="background-color: black; width: 50%"><td align="center" style="background-color: black; width: 50%"> <img src=""<img src="" alt="Modded INC. LOGO" />alt="Modded INC. LOGO" /> </td></td> <td align="right" style="background-color: black; width: 50%"><td align="right" style="background-color: black; width: 50%"> <img src="http://my.fit.edu/~jmorton/Multiproject/slist21.jpg"<img src="http://my.fit.edu/~jmorton/Multiproject/slist21.jpg" alt="Modded INC." />alt="Modded INC." /> </td></td> </tr></tr> </tbody></tbody> </table></table> <embed name="Jap6"<embed name="Jap6" src="http://my.fit.edu/~jmorton/Multiproject/06 - Jap6.mp3"src="http://my.fit.edu/~jmorton/Multiproject/06 - Jap6.mp3" loop="false"loop="false" hidden="true"hidden="true" autostart="true">autostart="true"> </embed></embed> </body></body> </html></html>

Page 10: Modded Inc.

GalleryGallery

GalleryGallery

Page 11: Modded Inc.

Gallery CodeGallery Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" ><html xmlns="http://www.w3.org/1999/xhtml" > <head><head> <title>Modded Inc. Gallery</title><title>Modded Inc. Gallery</title> <link rel ="stylesheet" type="text/css"<link rel ="stylesheet" type="text/css" href="stylemod.css"/>href="stylemod.css"/> <style type="text/css"><style type="text/css"> p {font-family: arial}p {font-family: arial} </style></style> <script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript"> function showPic (whichpic) { function showPic (whichpic) { if (document.getElementById) { if (document.getElementById) { document.getElementById('placeholder').src = whichpic.href; document.getElementById('placeholder').src = whichpic.href; if (whichpic.title) { if (whichpic.title) { document.getElementById('desc').childNodes[0].nodeValue = whichpic.title; document.getElementById('desc').childNodes[0].nodeValue = whichpic.title; } else { } else { document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue; document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue; } } return false; return false; } else { } else { return true; return true; } } } } </script> </script> </head></head>

<body><body> <table border="0" cellspacing="0" cellpadding="0" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr><tr> <td align="left" rowspan="10%" class="special"><td align="left" rowspan="10%" class="special"> <a <a

href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm"><img src="http://my.fit.edu/~jmorton/Multiproject/modded.png" /></a>href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm"><img src="http://my.fit.edu/~jmorton/Multiproject/modded.png" /></a> </td></td> </tr></tr> </table></table>

Page 12: Modded Inc.

Gallery CodeGallery Code <table style="width:100%"><table style="width:100%"> <tr><tr> <td style="width:10%"><td style="width:10%"> <a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/1.jpg" title="Modded Silvia1">Silvia1</a><a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/1.jpg" title="Modded Silvia1">Silvia1</a> </td></td> <td style="width:10%"><td style="width:10%"> <a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/2.jpg" title="Modded Inc. Silvia2">Silvia2</a><a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/2.jpg" title="Modded Inc. Silvia2">Silvia2</a> </td></td> <td style="width:10%"><td style="width:10%"> <a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/3.jpg" title="Modded Inc. Silvia3">Silvia3</a><a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/3.jpg" title="Modded Inc. Silvia3">Silvia3</a> </td></td> <td style="width:10%"><td style="width:10%"> <a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/4.jpg" title="Modded Inc. Silvia4">Silvia4</a><a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/4.jpg" title="Modded Inc. Silvia4">Silvia4</a> </td></td> <td style="width:10%"><td style="width:10%"> <a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/5.jpg" title="Modded Inc. Silvia5">Silvia5</a><a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/5.jpg" title="Modded Inc. Silvia5">Silvia5</a> </td></td> <td style="width:10%"><td style="width:10%"> <a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/6.jpg" title="Modded Inc. Silvia6">Silvia6</a><a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/6.jpg" title="Modded Inc. Silvia6">Silvia6</a> </td></td> <td style="width:10%"><td style="width:10%"> <a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/7.jpg" title="Modded Inc. Silvia7">Silvia7</a><a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/7.jpg" title="Modded Inc. Silvia7">Silvia7</a> </td></td> <td style="width:10%"><td style="width:10%"> <a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/8.jpg" title="Modded Inc. Silvia8">Silvia8</a><a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/8.jpg" title="Modded Inc. Silvia8">Silvia8</a> </td></td> <td style="width:10%"><td style="width:10%"> <a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/9.jpg" title="Modded Inc. Silvia9">Silvia9</a><a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/9.jpg" title="Modded Inc. Silvia9">Silvia9</a> </td></td> <td style="width:10%"><td style="width:10%"> <a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/10.jpg" title="Modded Inc. Silvia10">Silvia10</a><a onclick="return showPic(this)" href ="http://my.fit.edu/~jmorton/Multiproject/gallery/images/10.jpg" title="Modded Inc. Silvia10">Silvia10</a> </td></td> </tr></tr> </table></table>

Page 13: Modded Inc.

Gallery CodeGallery Code <br/><br/> <br/><br/> <br/><br/> <br/><br/> <br/><br/> <table align="center" style="width:500px"><table align="center" style="width:500px"> <tr><tr> <td align="center"><td align="center"> <p id="desc">Modded Inc. Silvia1</p> <p id="desc">Modded Inc. Silvia1</p> </td></td> </tr></tr> </table></table> <table align="center" style="width:500px;height:500px"><table align="center" style="width:500px;height:500px"> <tr><tr> <td align="center" style="height:75%;width:75%"><td align="center" style="height:75%;width:75%"> <img id="placeholder" style="height:325px;width:325px" src="http://my.fit.edu/~jmorton/Multiproject/gallery/images/1.jpg" alt="" /><img id="placeholder" style="height:325px;width:325px" src="http://my.fit.edu/~jmorton/Multiproject/gallery/images/1.jpg" alt="" /> </td></td> </tr></tr> </table></table>

</body></body> </html></html>

Page 14: Modded Inc.

ManualsManuals

ManualsManuals

Page 15: Modded Inc.

Manuals CodeManuals Code <?xml version="1.0" encoding="utf-16"?><?xml version="1.0" encoding="utf-16"?> <?xml-stylesheet type="text/xsl" href="manual.xsl" ?><?xml-stylesheet type="text/xsl" href="manual.xsl" ?> <manuals><manuals> <manufacturer>Auto Manuals</manufacturer><manufacturer>Auto Manuals</manufacturer>

<section><section> <manu>Nissan</manu><manu>Nissan</manu> <car><car> <make>240sx - V8 Swap</make><make>240sx - V8 Swap</make> <man>http://www.nicoclub.com/articles/240-swap.shtml</man><man>http://www.nicoclub.com/articles/240-swap.shtml</man> </car></car> </section></section> <section><section> <manu>BMW</manu><manu>BMW</manu> <car><car> <make>BMW 3 Series (E46) Service Manual: 1999–2005</make><make>BMW 3 Series (E46) Service Manual: 1999–2005</make> <man>http://www.bentleypublishers.com/product.htm?code=B305</man><man>http://www.bentleypublishers.com/product.htm?code=B305</man> </car></car> </section></section> <section><section> <manu>Honda</manu><manu>Honda</manu> <car><car> <make>Honda - Acura</make><make>Honda - Acura</make> <man>http://www.honda-acura.net/forums/archive/index.php/</man><man>http://www.honda-acura.net/forums/archive/index.php/</man> </car></car> </section></section> </manuals></manuals>

Page 16: Modded Inc.

Manuals CodeManuals Code <?xml version="1.0" encoding="ISO-8859-1"?><?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"><xsl:template match="/"> <html><html> <link rel ="stylesheet" type="text/css"<link rel ="stylesheet" type="text/css" href="stylemod.css"/>href="stylemod.css"/> <style type="text/css"></style><style type="text/css"></style> <table border="0" cellspacing="0" cellpadding="0" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr><tr> <td align="left" rowspan="10%" class="special"><td align="left" rowspan="10%" class="special"> <a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm"><a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm"> <img src="http://my.fit.edu/~jmorton/Multiproject/modded.png" /></a><img src="http://my.fit.edu/~jmorton/Multiproject/modded.png" /></a> </td></td> </tr></tr> </table></table> <table border="0" cellspacing="0" cellpadding="4" width="100%" style="border-bottom:1px solid #64633D"><table border="0" cellspacing="0" cellpadding="4" width="100%" style="border-bottom:1px solid #64633D"> <tr><tr> <td align="center" style="background-color: silver"><td align="center" style="background-color: silver"> <strong>Auto Manuals</strong><strong>Auto Manuals</strong> </td></td> </tr></tr> </table></table> <br/><br/> <body><body> <table border="1" cellspacing="0" cellpadding="4" width="100%" style="background-color: silver; border-bottom:1px solid #64633D"><table border="1" cellspacing="0" cellpadding="4" width="100%" style="background-color: silver; border-bottom:1px solid #64633D"> <xsl:for-each select="manuals/section"><xsl:for-each select="manuals/section"> <tr align="left" bgcolor="#9acd32"><tr align="left" bgcolor="#9acd32"> <th colspan="2" style="background-color: ButtonShadow"><th colspan="2" style="background-color: ButtonShadow"> Manufacturer: <xsl:value-of select="manu"/>Manufacturer: <xsl:value-of select="manu"/> </th></th> </tr></tr>

Page 17: Modded Inc.

Manuals CodeManuals Code <xsl:for-each select="car"><xsl:for-each select="car"> <xsl:sort select="man"/><xsl:sort select="man"/> <tr><tr> <td><td> <xsl:value-of select="make"/><xsl:value-of select="make"/> </td></td> <td><td> <a href="{man}"><a href="{man}"> <xsl:value-of select="man"/><xsl:value-of select="man"/> </a></a> </td></td> </tr></tr> </xsl:for-each></xsl:for-each> </xsl:for-each></xsl:for-each> </table></table> </body></body> </html></html> </xsl:template></xsl:template>

</xsl:stylesheet></xsl:stylesheet>

Page 18: Modded Inc.

LinksLinks

LinksLinks

Page 19: Modded Inc.

Links CodeLinks Code <?xml version="1.0" encoding="iso-8859-1"?><?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet type="text/xsl" href="links.xsl" ?><?xml-stylesheet type="text/xsl" href="links.xsl" ?> <links><links>

<section><section> <manu>Cars for sale</manu><manu>Cars for sale</manu> <car><car> <make>Auto Trader</make><make>Auto Trader</make> <man>http://www.autotrader.com</man><man>http://www.autotrader.com</man> </car></car> <car><car> <make>Usedcars</make><make>Usedcars</make> <man>http://www.usedcars.com</man><man>http://www.usedcars.com</man> </car></car> <car><car> <make>Car Casher</make><make>Car Casher</make> <man>http://www.carcasher.com</man><man>http://www.carcasher.com</man> </car></car> </section></section> <section><section> <manu>Parts for Sale</manu><manu>Parts for Sale</manu> <car><car> <make>Car-part</make><make>Car-part</make> <man>http://www.car-part.com</man><man>http://www.car-part.com</man> </car></car> <car><car> <make>JC Whitney</make><make>JC Whitney</make> <man>http://www.jcwhitney.com</man><man>http://www.jcwhitney.com</man> </car></car> </section></section>

Page 20: Modded Inc.

Links CodeLinks Code <section><section> <manu>Videos</manu><manu>Videos</manu> <car><car> <make>Streetfire</make><make>Streetfire</make> <man>http://www.streetfire.com</man><man>http://www.streetfire.com</man> </car></car> <car><car> <make>Car Video Forum</make><make>Car Video Forum</make> <man>http://www.carvideoforum.com</man><man>http://www.carvideoforum.com</man> </car></car> </section></section> </links></links>

Page 21: Modded Inc.

Links CodeLinks Code <?xml version="1.0" encoding="ISO-8859-1"?><?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"><xsl:template match="/"> <html><html> <link rel ="stylesheet" type="text/css"<link rel ="stylesheet" type="text/css" href="stylemod.css"/>href="stylemod.css"/> <style type="text/css"></style><style type="text/css"></style> <table border="0" cellspacing="0" cellpadding="0" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr><tr> <td align="left" rowspan="10%" class="special"><td align="left" rowspan="10%" class="special"> <a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm"><a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm"> <img src="http://my.fit.edu/~jmorton/Multiproject/modded.png" /></a><img src="http://my.fit.edu/~jmorton/Multiproject/modded.png" /></a> </td></td> </tr></tr> </table></table> <table border="0" cellspacing="0" cellpadding="4" width="100%" style="border-bottom:1px solid #64633D"><table border="0" cellspacing="0" cellpadding="4" width="100%" style="border-bottom:1px solid #64633D"> <tr><tr> <td align="center" style="background-color: silver"><td align="center" style="background-color: silver"> <strong>Car Links</strong><strong>Car Links</strong> </td></td> </tr></tr> </table></table> <br/><br/> <body><body> <table border="1" cellspacing="0" cellpadding="4" width="100%" style="background-color: silver; border-bottom:1px solid #64633D"><table border="1" cellspacing="0" cellpadding="4" width="100%" style="background-color: silver; border-bottom:1px solid #64633D"> <xsl:for-each select="links/section"><xsl:for-each select="links/section"> <tr align="left" bgcolor="#9acd32"><tr align="left" bgcolor="#9acd32"> <th colspan="2" style="background-color: ButtonShadow"><th colspan="2" style="background-color: ButtonShadow"> Manufacturer: <xsl:value-of select="manu"/>Manufacturer: <xsl:value-of select="manu"/> </th></th> </tr></tr>

Page 22: Modded Inc.

Links CodeLinks Code <xsl:for-each select="car"><xsl:for-each select="car"> <xsl:sort select="man"/><xsl:sort select="man"/> <tr><tr> <td><td> <xsl:value-of select="make"/><xsl:value-of select="make"/> </td></td> <td><td> <a href="{man}"><a href="{man}"> <xsl:value-of select="man"/><xsl:value-of select="man"/> </a></a> </td></td> </tr></tr> </xsl:for-each></xsl:for-each> </xsl:for-each></xsl:for-each> </table></table> </body></body> </html></html> </xsl:template></xsl:template>

</xsl:stylesheet></xsl:stylesheet>

Page 23: Modded Inc.

SurveySurvey

SurveySurvey

Page 24: Modded Inc.

SurveySurvey Code Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" ><html xmlns="http://www.w3.org/1999/xhtml" > <head><head> <title>Modded Inc. Survey</title><title>Modded Inc. Survey</title> <link rel ="stylesheet" type="text/css"<link rel ="stylesheet" type="text/css" href="stylemod.css"/>href="stylemod.css"/> <style type="text/css"><style type="text/css"> p {font-family: arial}p {font-family: arial} </style></style> </head></head> <body><body> <table border="0" cellspacing="0" cellpadding="0" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr><tr> <td align="left" rowspan="10%" class="special"><td align="left" rowspan="10%" class="special"> <a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm"><img <a href="http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm"><img

src="http://my.fit.edu/~jmorton/Multiproject/modded.png" /></a>src="http://my.fit.edu/~jmorton/Multiproject/modded.png" /></a> </td></td> </tr></tr> </table></table> <table border="0" cellspacing="0" cellpadding="4" width="100%" style="border-bottom:1px solid #64633D"><table border="0" cellspacing="0" cellpadding="4" width="100%" style="border-bottom:1px solid #64633D"> <tr><tr> <td align="center"><td align="center"> <strong>Modded Inc. <strong>Modded Inc.

Survey</strong>Survey</strong> </td></td> </tr></tr> </table></table>

Page 25: Modded Inc.

<form action="ModdedSurvey.php" method="post"><form action="ModdedSurvey.php" method="post"> <table border="0" cellspacing="0" cellpadding="4" width="100%" style="border-bottom:1px solid #64633D; background-color; black"><table border="0" cellspacing="0" cellpadding="4" width="100%" style="border-bottom:1px solid #64633D; background-color; black"> <tr><tr> <td>What is your Favorite Page?</td><td>What is your Favorite Page?</td> <td colspan="5"><input type="radio" name="page" value="homepage"/>Homepage | <input type="radio" name="page" <td colspan="5"><input type="radio" name="page" value="homepage"/>Homepage | <input type="radio" name="page"

value="forum"/>Forum | <input type="radio" name="page" value="gallery"/>Gallery | <input type="radio" name="page" value="forum"/>Forum | <input type="radio" name="page" value="gallery"/>Gallery | <input type="radio" name="page" value="manuals"/>Manuals | <input type="radio" name="page" value="links"/>Links | <input type="radio" name="page" value="manuals"/>Manuals | <input type="radio" name="page" value="links"/>Links | <input type="radio" name="page" value="survey"/>Survey</td>value="survey"/>Survey</td>

</tr></tr> <tr><tr> <td>What is your Favorite Auto Manufacturer?</td><td>What is your Favorite Auto Manufacturer?</td> <td colspan="5"><input type="radio" name="manu" value="nissan"/>Nissan | <input type="radio" name="manu" value="bmw"/>BMW | <td colspan="5"><input type="radio" name="manu" value="nissan"/>Nissan | <input type="radio" name="manu" value="bmw"/>BMW |

<input type="radio" name="manu" value="Honda"/>Honda</td><input type="radio" name="manu" value="Honda"/>Honda</td> </tr></tr> <tr><tr> <td colspan="5" align="center"><input type="submit" value="submit" name="submit" /><td colspan="5" align="center"><input type="submit" value="submit" name="submit" /> </td></td> </tr></tr> </table></table> </form></form> </body></body>

</html></html>

Page 26: Modded Inc.

ForumForum

ForumForum

Page 27: Modded Inc.

ForumForum

Page 28: Modded Inc.

ForumForum

Page 29: Modded Inc.

ForumForum

Page 30: Modded Inc.

ForumForum    CodeCode <?php <?php

include "connect.php"; include "connect.php";

print "<link rel='stylesheet' href='http://my.fit.edu/~pstumpf/Multifarious/forum2/stylemod.css' type='text/css'>";print "<link rel='stylesheet' href='http://my.fit.edu/~pstumpf/Multifarious/forum2/stylemod.css' type='text/css'>";

print "<a href='http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm'> <img src='http://my.fit.edu/~jmorton/Multiproject/modded.png' print "<a href='http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm'> <img src='http://my.fit.edu/~jmorton/Multiproject/modded.png' /></a><br>";/></a><br>";

print "<a href='http://my.fit.edu/~pstumpf/Multifarious/forum2/post.php'> New Topic </a> <br>";print "<a href='http://my.fit.edu/~pstumpf/Multifarious/forum2/post.php'> New Topic </a> <br>";

print "<table>";print "<table>";

print "<tr class='headline'> <td width=50%> Topic </td> <td width=20%> Topic Starter </td> <td> Replies </td> <td> Last replied time </td> </tr>";print "<tr class='headline'> <td width=50%> Topic </td> <td width=20%> Topic Starter </td> <td> Replies </td> <td> Last replied time </td> </tr>";

$getthreads="SELECT * from forumposting where parentid='0' order by lastrepliedto DESC";$getthreads="SELECT * from forumposting where parentid='0' order by lastrepliedto DESC";

$getthreads2=mysql_query($getthreads);$getthreads2=mysql_query($getthreads);

while($getthreads3=mysql_fetch_array($getthreads2))while($getthreads3=mysql_fetch_array($getthreads2)) { { $getthreads3[title]=strip_tags($getthreads3[title]); $getthreads3[title]=strip_tags($getthreads3[title]);

$getthreads3[author]=strip_tags($getthreads3[author]);$getthreads3[author]=strip_tags($getthreads3[author]); print "<tr> <td> <a href='http://my.fit.edu/~pstumpf/Multifarious/forum2/message.php?id=$getthreads3[postid]'> $getthreads3[title] print "<tr> <td> <a href='http://my.fit.edu/~pstumpf/Multifarious/forum2/message.php?id=$getthreads3[postid]'> $getthreads3[title]

</a> </td> <td> $getthreads3[author] </td> <td> $getthreads3[numreplies] </td> <td> $getthreads3[showtime] <br> Last post by <b> </a> </td> <td> $getthreads3[author] </td> <td> $getthreads3[numreplies] </td> <td> $getthreads3[showtime] <br> Last post by <b> $getthreads3[lastposter] </b> </td> </tr>";$getthreads3[lastposter] </b> </td> </tr>";

}}

print "</table>";print "</table>";

?>?>

Page 31: Modded Inc.

ForumForum    CodeCode <?php<?php

$db = mysql_connect("olin.fit.edu","pstumpf","6XYGws") or die("Could not connect.");$db = mysql_connect("olin.fit.edu","pstumpf","6XYGws") or die("Could not connect.");

if(!$db) if(!$db)

die("no db");die("no db");

if(!mysql_select_db("UDB_pstumpf",$db)) if(!mysql_select_db("UDB_pstumpf",$db))

die("No database");die("No database");

if(!get_magic_quotes_gpc())if(!get_magic_quotes_gpc()) {{ $_GET = array_map('mysql_real_escape_string', $_GET); $_GET = array_map('mysql_real_escape_string', $_GET);

$_POST = array_map('mysql_real_escape_string', $_POST); $_POST = array_map('mysql_real_escape_string', $_POST);

$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE); }}

elseelse { { $_GET = array_map('stripslashes', $_GET); $_GET = array_map('stripslashes', $_GET); $_POST = array_map('stripslashes', $_POST);$_POST = array_map('stripslashes', $_POST); $_COOKIE = array_map('stripslashes', $_COOKIE);$_COOKIE = array_map('stripslashes', $_COOKIE); $_GET = array_map('mysql_real_escape_string', $_GET); $_GET = array_map('mysql_real_escape_string', $_GET);

$_POST = array_map('mysql_real_escape_string', $_POST); $_POST = array_map('mysql_real_escape_string', $_POST);

$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE); }}

?>?>

Page 32: Modded Inc.

ForumForum    CodeCode <?php<?php

include "connect.php"; include "connect.php";

print "<link rel='stylesheet' print "<link rel='stylesheet' href='http://my.fit.edu/~pstumpf/Multifarious/forum2/stylemod.css' href='http://my.fit.edu/~pstumpf/Multifarious/forum2/stylemod.css' type='text/css'>";type='text/css'>";

print "<a href='http://my.fit.edu/~jmorton/Multiproject/ModdedINC print "<a href='http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm'> <img HomePage.htm'> <img src='http://my.fit.edu/~jmorton/Multiproject/modded.png' /></a><br>";src='http://my.fit.edu/~jmorton/Multiproject/modded.png' /></a><br>";

print "<table>";print "<table>";

print "<tr class='headline'><td>Reply</td></tr>";print "<tr class='headline'><td>Reply</td></tr>";

print "<tr><td>";print "<tr><td>";

Page 33: Modded Inc.

ForumForum    CodeCode if(isset($_POST['submit']))if(isset($_POST['submit'])) { { $name=$_POST['name']; $name=$_POST['name'];

$yourpost=$_POST['yourpost']; $yourpost=$_POST['yourpost'];

$subject=$_POST['subject']; $subject=$_POST['subject'];

$id=$_POST['id']; $id=$_POST['id'];

if(strlen($name)<1) if(strlen($name)<1) { { print "You did not type in a name."; //no name entered print "You did not type in a name."; //no name entered } }

else if(strlen($yourpost)<1) else if(strlen($yourpost)<1) { { print "You did not type in a post."; //no post entered print "You did not type in a post."; //no post entered } }

else else { { $thedate=date("U"); //get unix timestamp $thedate=date("U"); //get unix timestamp

$displaytime=date("F j, Y, g:i a");$displaytime=date("F j, Y, g:i a");

$insertpost="INSERT INTO forumposting(author,title,post,showtime,realtime,lastposter,parentid) $insertpost="INSERT INTO forumposting(author,title,post,showtime,realtime,lastposter,parentid) values('$name','$subject','$yourpost','$displaytime','$thedate','$name','$id')"; mysql_query($insertpost) or die("Could not insert values('$name','$subject','$yourpost','$displaytime','$thedate','$name','$id')"; mysql_query($insertpost) or die("Could not insert post"); //insert post"); //insert post post

$updatepost="Update forumposting set numreplies=numreplies+'1', lastposter='$name',showtime='$displaytime', $updatepost="Update forumposting set numreplies=numreplies+'1', lastposter='$name',showtime='$displaytime', lastrepliedto='$thedate' lastrepliedto='$thedate' where postid='$id'"; where postid='$id'";

mysql_query($updatepost) or die("Could not update post"); mysql_query($updatepost) or die("Could not update post");

print "Message posted, go back to <a href='message.php?id=$id'>Message</a>."; print "Message posted, go back to <a href='message.php?id=$id'>Message</a>."; }}

}}

Page 34: Modded Inc.

ForumForum    CodeCode elseelse { { $id=$_GET['id']; $id=$_GET['id'];

print "<form action='reply.php' method='post'>"; print "<form action='reply.php' method='post'>";

print "<input type='hidden' name='id' value='$id'>"; print "<input type='hidden' name='id' value='$id'>";

print "Your name:<br>"; print "Your name:<br>";

print "<input type='text' name='name' size='20'><br>"; print "<input type='text' name='name' size='20'><br>";

print "Your message:<br>"; print "Your message:<br>";

print "<textarea name='yourpost' rows='5' cols='40'></textarea><br>"; print "<textarea name='yourpost' rows='5' cols='40'></textarea><br>";

print "<input type='submit' name='submit' value='submit'></form>";print "<input type='submit' name='submit' value='submit'></form>"; }}

print "</td></tr></table>";print "</td></tr></table>";

?>?>

Page 35: Modded Inc.

ForumForum    CodeCode <?php<?php include "connect.php";include "connect.php";

print "<link rel='stylesheet' href='stylemod.css' type='text/css'>";print "<link rel='stylesheet' href='stylemod.css' type='text/css'>";

print "<a href='http://my.fit.edu/~jmorton/Multiproject/ModdedINC print "<a href='http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm'> <img HomePage.htm'> <img src='http://my.fit.edu/~jmorton/Multiproject/modded.png' src='http://my.fit.edu/~jmorton/Multiproject/modded.png' /></a><br>";/></a><br>";

print "<table>";print "<table>";

print "<tr class='headline'><td>Post a message</td></tr>";print "<tr class='headline'><td>Post a message</td></tr>";

print "<tr><td>";print "<tr><td>";

Page 36: Modded Inc.

ForumForum    CodeCode if(isset($_POST['submit']))if(isset($_POST['submit'])) { { $name=$_POST['name']; //puts input in the name$name=$_POST['name']; //puts input in the name

$yourpost=$_POST['yourpost']; //puts input into yourpost $yourpost=$_POST['yourpost']; //puts input into yourpost

$subject=$_POST['subject']; //puts input into subject $subject=$_POST['subject']; //puts input into subject

if(strlen($name)<1) //if the length of the string is less than one thenif(strlen($name)<1) //if the length of the string is less than one then {{ print "No name entered"; //no name entered print "No name entered"; //no name entered }}

else if(strlen($yourpost)<1) //if the length of the string is les than one thenelse if(strlen($yourpost)<1) //if the length of the string is les than one then { { print "No post entered"; //no post entered print "No post entered"; //no post entered } }

else if(strlen($subject)<1) //if the length of the string is les than one then else if(strlen($subject)<1) //if the length of the string is les than one then { { print "Please enter a subject"; //no subject entered print "Please enter a subject"; //no subject entered } }

Page 37: Modded Inc.

ForumForum    CodeCode else else { { $thedate=date("U"); //get unix timestamp $thedate=date("U"); //get unix timestamp

$displaytime=date("F j, Y, g:i a"); $displaytime=date("F j, Y, g:i a");

mysql_query("INSERT INTO forumposting (author, title, post, showtime, realtime, lastposter) VALUES mysql_query("INSERT INTO forumposting (author, title, post, showtime, realtime, lastposter) VALUES ('$name','$subject','$yourpost','$displaytime','$thedate','$name')"); //insert post ('$name','$subject','$yourpost','$displaytime','$thedate','$name')"); //insert post

print "Message posted, go back to <a href='http://my.fit.edu/~pstumpf/Multifarious/forum2/index.php'>Forum</a>.";print "Message posted, go back to <a href='http://my.fit.edu/~pstumpf/Multifarious/forum2/index.php'>Forum</a>."; }}

}}

elseelse { { print "<form action='post.php' method='post'>"; print "<form action='post.php' method='post'>";

print "Your name:<br>"; print "Your name:<br>";

print "<input type='text' name='name' size='20'> <br>"; print "<input type='text' name='name' size='20'> <br>";

print "Subject:<br>"; print "Subject:<br>";

print "<input type='text' name='subject' size='20'> <br>"; print "<input type='text' name='subject' size='20'> <br>";

print "Your message:<br>"; print "Your message:<br>";

print "<textarea name='yourpost' rows='5' cols='40'> </textarea> <br>"; print "<textarea name='yourpost' rows='5' cols='40'> </textarea> <br>";

print "<input type='submit' name='submit' value='submit'> </form>";print "<input type='submit' name='submit' value='submit'> </form>"; }}

print "</td></tr></table>"; print "</td></tr></table>";

?>?>

Page 38: Modded Inc.

ForumForum    CodeCode <?php <?php

include "connect.php"; include "connect.php";

$id=$_GET['id'];$id=$_GET['id'];

print "<link rel='stylesheet' href='http://my.fit.edu/~pstumpf/Multifarious/forum2/stylemod.css' type='text/css'>";print "<link rel='stylesheet' href='http://my.fit.edu/~pstumpf/Multifarious/forum2/stylemod.css' type='text/css'>";

print "<a href='http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm'> <img src='http://my.fit.edu/~jmorton/Multiproject/modded.png' /></a><br>";print "<a href='http://my.fit.edu/~jmorton/Multiproject/ModdedINC HomePage.htm'> <img src='http://my.fit.edu/~jmorton/Multiproject/modded.png' /></a><br>";

print "<a href='http://my.fit.edu/~pstumpf/Multifarious/forum2/index.php'>Back to main forum</a>-<a print "<a href='http://my.fit.edu/~pstumpf/Multifarious/forum2/index.php'>Back to main forum</a>-<a href='http://my.fit.edu/~pstumpf/Multifarious/forum2/post.php'>New Topic</a>-<a href='http://my.fit.edu/~pstumpf/Multifarious/forum2/reply.php?id=$id'>Reply<br>";href='http://my.fit.edu/~pstumpf/Multifarious/forum2/post.php'>New Topic</a>-<a href='http://my.fit.edu/~pstumpf/Multifarious/forum2/reply.php?id=$id'>Reply<br>";

print "<table>";print "<table>";

print "<tr class='headline'> <td width=20%>Author</td> <td width=80%>Post</td> </tr>";print "<tr class='headline'> <td width=20%>Author</td> <td width=80%>Post</td> </tr>";

$gettopic="SELECT * from forumposting where postid='$id'";$gettopic="SELECT * from forumposting where postid='$id'";

$gettopic2=mysql_query($gettopic) or die("Topic not found");$gettopic2=mysql_query($gettopic) or die("Topic not found");

$gettopic3=mysql_fetch_array($gettopic2);$gettopic3=mysql_fetch_array($gettopic2);

print "<tr><td valign='top'>$gettopic3[author]</td><td valign='top'>Last replied to at $gettopic3[showtime]<br><hr>";print "<tr><td valign='top'>$gettopic3[author]</td><td valign='top'>Last replied to at $gettopic3[showtime]<br><hr>";

$message=strip_tags($gettopic3['post']);$message=strip_tags($gettopic3['post']);

$message=nl2br($message);$message=nl2br($message);

print "$message<hr><br>";print "$message<hr><br>";

print "</td></tr>";$getreplies="Select * from forumposting where parentid='$id' order by postid desc"; //getting repliesprint "</td></tr>";$getreplies="Select * from forumposting where parentid='$id' order by postid desc"; //getting replies

$getreplies2=mysql_query($getreplies) or die("Could not get replies");$getreplies2=mysql_query($getreplies) or die("Could not get replies");

Page 39: Modded Inc.

ForumForum    CodeCode while($getreplies3=mysql_fetch_array($getreplies2))while($getreplies3=mysql_fetch_array($getreplies2)) { { print "<tr class='mainrow'><td valign='top'>$getreplies3[author]</td><td print "<tr class='mainrow'><td valign='top'>$getreplies3[author]</td><td

vakign='top'>Last replied to at vakign='top'>Last replied to at $getreplies3[showtime]<br><hr>"; $getreplies3[showtime]<br><hr>";

$message=strip_tags($getreplies3['post']); $message=strip_tags($getreplies3['post']);

$message=nl2br($message); $message=nl2br($message);

print "$message<hr><br>"; print "$message<hr><br>";

print "</td></tr>";print "</td></tr>"; }}

print "</table>";print "</table>";

?>?>

Page 40: Modded Inc.

Stylesheet Stylesheet BODY BODY h1 {font-family: arial; text-align: center} h1 {font-family: arial; text-align: center} h3 {font-family: Times; color:red; text-decoration: underline; text-align: left} h3 {font-family: Times; color:red; text-decoration: underline; text-align: left} p {font-family: Courier; margin-left: .5cm} body {background-color: black} p {font-family: Courier; margin-left: .5cm} body {background-color: black} .special {background-color: black} .special {background-color: black} ol {text-transform: lowercase; font-size: 14px; font-family: times;list-style-ol {text-transform: lowercase; font-size: 14px; font-family: times;list-style-

type: lower-roman} type: lower-roman} a {color: blue} a {color: blue} a:hover {background-color: #ccffcc}a:hover {background-color: #ccffcc} td {font-family: Arial; font-size: 14px; background-color: Silver} td {font-family: Arial; font-size: 14px; background-color: Silver} table {background-color: Black} table {background-color: Black} .mod {background-color:ButtonShadow} .mod {background-color:ButtonShadow} .headline {font-family: Verdana,Sans-serif; font-weight: bold; color: red; .headline {font-family: Verdana,Sans-serif; font-weight: bold; color: red;

background-color: #003366; font-size: 11px;}background-color: #003366; font-size: 11px;}