Fixed bugs and added a mobile version

This commit is contained in:
thepaperpilot 2015-02-16 11:01:28 -06:00
parent 54be90e6be
commit 1cb77da738
32 changed files with 1023 additions and 1314 deletions

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 638 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 498 B

BIN
images/email-outline.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 B

BIN
images/github-circle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

BIN
images/google-plus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/rss.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,021 B

BIN
images/snap1-crop-u336.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
images/snap2-crop-u338.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
images/snap3-crop-u342.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

BIN
images/snap4-crop-u340.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
images/snap5-crop-u334.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/snap6-crop-u332.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
images/twitter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 851 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 694 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 701 B

View file

@ -3,15 +3,23 @@
<head> <head>
<script type="text/javascript"> <script type="text/javascript">
if(typeof Muse == "undefined") window.Muse = {}; window.Muse.assets = {"required":["jquery-1.8.3.min.js", "museutils.js", "webpro.js", "musewpslideshow.js", "jquery.museoverlay.js", "touchswipe.js", "jquery.watch.js", "index.css"], "outOfDate":[]}; if(typeof Muse == "undefined") window.Muse = {}; window.Muse.assets = {"required":["jquery-1.8.3.min.js", "museutils.js", "jquery.watch.js", "webpro.js", "musewpslideshow.js", "jquery.museoverlay.js", "touchswipe.js", "museredirect.js", "index.css"], "outOfDate":[]};
</script>
<script src="scripts/museredirect.js?490478987" type="text/javascript"></script>
<script type="text/javascript">
Muse.Redirect.redirect('desktop', '', 'phone/index.html', '');
</script> </script>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8"/> <meta http-equiv="Content-type" content="text/html;charset=UTF-8"/>
<meta name="generator" content="2014.2.0.284"/> <meta name="generator" content="2014.2.0.284"/>
<title>Home</title> <link rel="shortcut icon" href="images/space-game-favicon.ico?352280701"/>
<title>Space Game</title>
<link media="only screen and (max-device-width: 370px)" rel="alternate" href="http://www.thepaperpilot.org/phone/index.html"/>
<!-- CSS --> <!-- CSS -->
<link rel="stylesheet" type="text/css" href="css/site_global.css?365011649"/> <link rel="stylesheet" type="text/css" href="css/site_global.css?365011649"/>
<link rel="stylesheet" type="text/css" href="css/index.css?118427823" id="pagesheet"/> <link rel="stylesheet" type="text/css" href="css/index.css?455321028" id="pagesheet"/>
<!-- Other scripts --> <!-- Other scripts -->
<script type="text/javascript"> <script type="text/javascript">
document.documentElement.className += ' js'; document.documentElement.className += ' js';
@ -22,34 +30,23 @@
<div class="clearfix" id="page"><!-- column --> <div class="clearfix" id="page"><!-- column -->
<div class="position_content" id="page_position_content"> <div class="position_content" id="page_position_content">
<img class="colelem" id="u75" alt="" width="920" height="462" src="images/54daa49b38d8c30849338b68_profile-u75.png"/><!-- rasterized frame --> <img class="colelem" id="u75" alt="" width="920" height="462" src="images/54daa49b38d8c30849338b68_profile-u75.png"/><!-- rasterized frame -->
<div class="colelem" id="u181"><!-- simple frame --></div> <div class="rounded-corners colelem" id="u181"><!-- simple frame --></div>
<div class="clearfix colelem" id="ppu183"><!-- group --> <div class="clearfix colelem" id="u183"><!-- group -->
<div class="grpelem" id="pu183"><!-- inclusion --> <div class="clearfix grpelem" id="u270"><!-- column -->
<div id="u183"><!-- simple frame --></div> <div class="position_content" id="u270_position_content">
<div class="clearfix" id="ppu99"><!-- group --> <div class="clearfix colelem" id="u268"><!-- group -->
<div class="clearfix grpelem" id="pu99"><!-- column --> <div class="grpelem" id="u99"><!-- custom html -->
<div class="colelem" id="u99"><!-- custom html -->
<iframe width="560" height="315" src="https://www.youtube.com/embed/BVeR4-CtQes" frameborder="0" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube.com/embed/BVeR4-CtQes" frameborder="0" allowfullscreen></iframe>
</div> </div>
<div class="colelem" id="u159"><!-- custom html --> <div class="clearfix grpelem" id="u101-10"><!-- content -->
<iframe src="//itch.io/embed/8606?dark=true&linkback=true" width="552" height="167" frameborder="0"></iframe>
</div>
</div>
<div class="clearfix grpelem" id="pu101-10"><!-- column -->
<div class="clearfix colelem" id="u101-10"><!-- content -->
<p id="u101-2">Space Game</p> <p id="u101-2">Space Game</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p>You are a scientist. While doing some... risky experimentation, you have found yourself in an unknown place, leaving you stranded in the middle (or edge, you don't know) of space. However, being a scientist, you take it upon yourself to learn as much as you can about your surroundings, and place all else second to that goal, including your own survival. Unfortunately, the natives of this area of space don't take kindly to you, and you must fend them off with your mining laser. But with the help of a device you discovered on one of the enemies, hopefully you can survive, thrive, and most of all, discover. You start with absolutely no knowledge of anything, and take note of everything you learn in a journal, from where the aliens came from and how they're getting here, to the strange energy manipulation of the device and how to use it all to your advantage.</p> <p>You are a scientist. While doing some... risky experimentation, you have found yourself in an unknown place, leaving you stranded in the middle (or edge, you don't know) of space. However, being a scientist, you take it upon yourself to learn as much as you can about your surroundings, and place all else second to that goal, including your own survival. Unfortunately, the natives of this area of space don't take kindly to you, and you must fend them off with your mining laser. But with the help of a device you discovered on one of the enemies, hopefully you can survive, thrive, and most of all, discover. You start with absolutely no knowledge of anything, and take note of everything you learn in a journal, from where the aliens came from and how they're getting here, to the strange energy manipulation of the device and how to use it all to your advantage.</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p>I'm Anthony Lawn, an Eagle Scout on my way to University next year to study Computer Science. I've been making games for years, and programming even longer. However, lacking a formal computer science education, Ive been keeping most of my programs to myself. But, as Ive gotten better Im starting to release some things, starting with Space Game.</p> <p>I'm Anthony Lawn, an Eagle Scout on my way to University next year to study Computer Science. I've been making games for years, and programming even longer. However, lacking a formal computer science education, Ive been keeping most of my programs to myself. But, as Ive gotten better Im starting to release some things, starting with Space Game.</p>
</div> </div>
<div class="colelem" id="u161"><!-- custom html -->
<iframe width="550" height="250" frameborder="0" scrolling="no" src="https://secure.desura.com/widget/space-game/175?stat=1"></iframe>
</div> </div>
</div> <div class="SlideShowWidget clearfix widget_invisible colelem" id="slideshowu103"><!-- none box -->
</div>
</div>
<div class="SlideShowWidget clearfix widget_invisible grpelem" id="slideshowu103"><!-- none box -->
<div class="popup_anchor" id="u122popup"> <div class="popup_anchor" id="u122popup">
<div class="SlideShowContentPanel rgba-background clearfix" id="u122"><!-- stack box --> <div class="SlideShowContentPanel rgba-background clearfix" id="u122"><!-- stack box -->
<div class="SSSlide clip_frame grpelem" id="u127"><!-- image --> <div class="SSSlide clip_frame grpelem" id="u127"><!-- image -->
@ -106,7 +103,7 @@
</div> </div>
<div class="popup_anchor" id="u109-4popup"> <div class="popup_anchor" id="u109-4popup">
<div class="SlideShowLabel SSSlideCount clearfix" id="u109-4"><!-- content --> <div class="SlideShowLabel SSSlideCount clearfix" id="u109-4"><!-- content -->
<p>6 &#45; 6</p> <p>2 &#45; 6</p>
</div> </div>
</div> </div>
<div class="popup_anchor"> <div class="popup_anchor">
@ -117,45 +114,27 @@
</div> </div>
</div> </div>
</div> </div>
<div class="clearfix colelem" id="u269"><!-- group -->
<div class="grpelem" id="u159"><!-- custom html -->
<iframe src="//itch.io/embed/8606?dark=true&linkback=true" width="552" height="167" frameborder="0"></iframe>
</div> </div>
<div class="colelem" id="u182"><!-- simple frame --></div> <div class="grpelem" id="u161"><!-- custom html -->
<form class="form-grp clearfix colelem" id="widgetu163" method="post" enctype="multipart/form-data" action="scripts/form-u163.php"><!-- none box --> <iframe width="550" height="250" frameborder="0" scrolling="no" src="https://secure.desura.com/widget/space-game/175?stat=1"></iframe>
<div class="fld-grp clearfix grpelem" id="widgetu164" data-required="true"><!-- none box -->
<label class="fld-label actAsDiv clearfix grpelem" id="u165-4" for="widgetu164_input"><!-- content --><span class="actAsPara">Name:</span></label>
<span class="fld-input NoWrap actAsDiv clearfix grpelem" id="u166-4"><!-- content --><input class="wrapped-input" type="text" spellcheck="false" id="widgetu164_input" name="custom_U164" tabindex="1"/><label class="wrapped-input fld-prompt" id="widgetu164_prompt" for="widgetu164_input"><span class="actAsPara">Enter Name</span></label></span>
</div> </div>
<div class="fld-grp clearfix grpelem" id="widgetu176" data-required="true" data-type="email"><!-- none box -->
<label class="fld-label actAsDiv clearfix grpelem" id="u178-4" for="widgetu176_input"><!-- content --><span class="actAsPara">Email:</span></label>
<span class="fld-input NoWrap actAsDiv clearfix grpelem" id="u179-4"><!-- content --><input class="wrapped-input" type="text" spellcheck="false" id="widgetu176_input" name="Email" tabindex="2"/><label class="wrapped-input fld-prompt" id="widgetu176_prompt" for="widgetu176_input"><span class="actAsPara">Enter Email</span></label></span>
</div> </div>
<div class="clearfix grpelem" id="u168-4"><!-- content -->
<p>Submitting Form...</p>
</div> </div>
<div class="clearfix grpelem" id="u174-4"><!-- content -->
<p>The server encountered an error.</p>
</div> </div>
<div class="clearfix grpelem" id="u169-4"><!-- content -->
<p>Form received.</p>
</div>
<input class="submit-btn NoWrap grpelem" id="u175-17" type="submit" value="" tabindex="4"/><!-- state-based BG images -->
<div class="fld-grp clearfix grpelem" id="widgetu170" data-required="false"><!-- none box -->
<label class="fld-label actAsDiv clearfix grpelem" id="u173-4" for="widgetu170_input"><!-- content --><span class="actAsPara">Message:</span></label>
<span class="fld-textarea actAsDiv clearfix grpelem" id="u171-4"><!-- content --><textarea class="wrapped-input" id="widgetu170_input" name="custom_U170" tabindex="3"></textarea><label class="wrapped-input fld-prompt" id="widgetu170_prompt" for="widgetu170_input"><span class="actAsPara">Enter Your Message</span></label></span>
</div>
</form>
<div class="clearfix colelem" id="pu152"><!-- group -->
<a class="nonblock nontext clip_frame grpelem" id="u152" href="mailto:thepaperpilot@gmail.com"><!-- image --><img class="block" id="u152_img" src="images/appbaremailminimal.png" alt="" width="48" height="48"/></a>
<a class="nonblock nontext clip_frame grpelem" id="u86" href="https://github.com/thepaperpilot"><!-- image --><img class="block" id="u86_img" src="images/54dac34238d8c30849338db0_github-48.png" alt="" width="48" height="48"/></a>
<a class="nonblock nontext clip_frame grpelem" id="u91" href="https://www.google.com/+AnthonyLawnThePaperPilot"><!-- image --><img class="block" id="u91_img" src="images/54dac37638d8c30849338db5_googleplus-48.png" alt="" width="48" height="48"/></a>
<a class="nonblock nontext clip_frame grpelem" id="u81" href="https://twitter.com/ThePaperPilot"><!-- image --><img class="block" id="u81_img" src="images/54dac39e2ce955316620f07f_twitter-48.png" alt="" width="48" height="48"/></a>
</div> </div>
<div class="rounded-corners colelem" id="u182"><!-- simple frame --></div>
<div class="verticalspacer"></div> <div class="verticalspacer"></div>
<div class="clearfix colelem" id="u406"><!-- group -->
<a class="nonblock nontext clip_frame grpelem" id="u409" href="https://www.google.com/+AnthonyLawnThePaperPilot"><!-- image --><img class="block" id="u409_img" src="images/google-plus.png" alt="" width="48" height="48"/></a>
<a class="nonblock nontext clip_frame grpelem" id="u413" href="mailto:thepaperpilot@gmail.com"><!-- image --><img class="block" id="u413_img" src="images/email-outline.png" alt="" width="48" height="48"/></a>
<a class="nonblock nontext clip_frame grpelem" id="u411" href="http://rss.desura.com/games/space-game/news/feed/rss.xml"><!-- image --><img class="block" id="u411_img" src="images/rss.png" alt="" width="48" height="48"/></a>
<a class="nonblock nontext clip_frame grpelem" id="u415" href="https://github.com/thepaperpilot"><!-- image --><img class="block" id="u415_img" src="images/github-circle.png" alt="" width="48" height="48"/></a>
<a class="nonblock nontext clip_frame grpelem" id="u407" href="https://twitter.com/ThePaperPilot"><!-- image --><img class="block" id="u407_img" src="images/twitter.png" alt="" width="48" height="48"/></a>
</div> </div>
</div> </div>
<div class="preload_images">
<img class="preload" src="images/u175-17-r.png" alt=""/>
<img class="preload" src="images/u175-17-m.png" alt=""/>
<img class="preload" src="images/u175-17-fs.png" alt=""/>
</div> </div>
<!-- JS includes --> <!-- JS includes -->
<script type="text/javascript"> <script type="text/javascript">
@ -179,7 +158,6 @@ typeof $!="undefined"?Muse.assets.required.splice(d,1):d++;break;default:throw E
Muse.Utils.transformMarkupToFixBrowserProblemsPreInit();/* body */ Muse.Utils.transformMarkupToFixBrowserProblemsPreInit();/* body */
Muse.Utils.prepHyperlinks(true);/* body */ Muse.Utils.prepHyperlinks(true);/* body */
Muse.Utils.initWidget('#slideshowu103', function(elem) { $(elem).data('widget', new WebPro.Widget.ContentSlideShow(elem, {autoPlay:true,displayInterval:3000,slideLinkStopsSlideShow:false,transitionStyle:'fading',lightboxEnabled_runtime:true,shuffle:false,transitionDuration:500,enableSwipe:true,elastic:'off',resumeAutoplay:true,resumeAutoplayInterval:3000,playOnce:false})); });/* #slideshowu103 */ Muse.Utils.initWidget('#slideshowu103', function(elem) { $(elem).data('widget', new WebPro.Widget.ContentSlideShow(elem, {autoPlay:true,displayInterval:3000,slideLinkStopsSlideShow:false,transitionStyle:'fading',lightboxEnabled_runtime:true,shuffle:false,transitionDuration:500,enableSwipe:true,elastic:'off',resumeAutoplay:true,resumeAutoplayInterval:3000,playOnce:false})); });/* #slideshowu103 */
Muse.Utils.initWidget('#widgetu163', function(elem) { new WebPro.Widget.Form(elem, {validationEvent:'submit',errorStateSensitivity:'high',fieldWrapperClass:'fld-grp',formSubmittedClass:'frm-sub-st',formErrorClass:'frm-subm-err-st',formDeliveredClass:'frm-subm-ok-st',notEmptyClass:'non-empty-st',focusClass:'focus-st',invalidClass:'fld-err-st',requiredClass:'fld-err-st',ajaxSubmit:true}); });/* #widgetu163 */
Muse.Utils.fullPage('#page');/* 100% height page */ Muse.Utils.fullPage('#page');/* 100% height page */
Muse.Utils.showWidgetsWhenReady();/* body */ Muse.Utils.showWidgetsWhenReady();/* body */
Muse.Utils.transformMarkupToFixBrowserProblems();/* body */ Muse.Utils.transformMarkupToFixBrowserProblems();/* body */

View file

@ -1,46 +1,54 @@
<manifest alg="2" build="569" opt="true" iceEnabled="true" iceMarkupVersion="2" exportTarget="other" resolutions="1x" timestamp="1424040334245"> <manifest alg="2" build="569" opt="true" iceEnabled="true" iceMarkupVersion="2" exportTarget="other" resolutions="1x" timestamp="1424127325743">
<folder name="css"> <folder name="css">
<file name="site_global.css" crc="365011649"/> <file name="site_global.css" crc="365011649"/>
<file name="index.css" crc="118427823" ref="index"/> <file name="index.css" crc="455321028" ref="index"/>
</folder> </folder>
<folder name="scripts"> <folder name="scripts">
<file name="jquery-1.8.3.min.js" crc="3769949617" ref="index"/> <file name="jquery-1.8.3.min.js" crc="3769949617" ref="phone>index:index"/>
<file name="museutils.js" crc="4050293121" ref="index"/> <file name="museutils.js" crc="4050293121" ref="phone>index:index"/>
<file name="pie.js" crc="3827607177" ref="index"/> <file name="jquery.watch.js" crc="3946357177" ref="phone>index:index"/>
<file name="webpro.js" crc="140723489" ref="index"/> <file name="pie.js" crc="3827607177" ref="phone>index:index"/>
<file name="musewpslideshow.js" crc="4170221289" ref="index"/> <file name="webpro.js" crc="140723489" ref="phone>index:index"/>
<file name="jquery.museoverlay.js" crc="439400757" ref="index"/> <file name="musewpslideshow.js" crc="4170221289" ref="phone>index:index"/>
<file name="touchswipe.js" crc="321465556" ref="index"/> <file name="jquery.museoverlay.js" crc="439400757" ref="phone>index:index"/>
<file name="form_check.php" crc="403614247" ref="index"/> <file name="touchswipe.js" crc="321465556" ref="phone>index:index"/>
<file name="form_throttle.php" crc="95597783" ref="index"/> <file name="museredirect.js" crc="490478987" ref="index"/>
<file name="form_process.php" crc="4006952737" ref="index"/>
<file name="form-u163.php" crc="413586684" ref="index"/>
<file name="jquery.watch.js" crc="3946357177" ref="index"/>
</folder> </folder>
<folder name="images"> <folder name="images">
<file name="space-game-favicon.ico" crc="352280701" ref="phone>index"/>
<file name="54daa49b38d8c30849338b68_profile-u299.png" crc="457452684" ref="phone>index"/>
<file name="snap1.jpg" crc="481998187" ref="phone>index:index"/>
<file name="blank.gif" crc="4208392903" ref="phone>index:index"/>
<file name="snap2.jpg" crc="102032083" ref="phone>index:index"/>
<file name="snap3.jpg" crc="395141052" ref="phone>index:index"/>
<file name="snap4.jpg" crc="250434707" ref="phone>index:index"/>
<file name="snap5.jpg" crc="4259640988" ref="phone>index:index"/>
<file name="snap6.jpg" crc="3773277347" ref="phone>index:index"/>
<file name="snap1-crop-u336.jpg" crc="65374606" ref="phone>index"/>
<file name="snap2-crop-u338.jpg" crc="4240365480" ref="phone>index"/>
<file name="snap3-crop-u342.jpg" crc="196697173" ref="phone>index"/>
<file name="snap4-crop-u340.jpg" crc="4112782425" ref="phone>index"/>
<file name="snap5-crop-u334.jpg" crc="4029486850" ref="phone>index"/>
<file name="snap6-crop-u332.jpg" crc="4232123327" ref="phone>index"/>
<file name="loading.gif" crc="3815509949" ref="phone>index:index"/>
<file name="google-plus.png" crc="329253349" ref="phone>index:index"/>
<file name="email-outline.png" crc="458501930" ref="phone>index:index"/>
<file name="rss.png" crc="364887480" ref="phone>index:index"/>
<file name="github-circle.png" crc="3975623323" ref="phone>index:index"/>
<file name="twitter.png" crc="4172304241" ref="phone>index:index"/>
<file name="54daa49b38d8c30849338b68_profile-u75.png" crc="49746670" ref="index"/> <file name="54daa49b38d8c30849338b68_profile-u75.png" crc="49746670" ref="index"/>
<file name="snap1.jpg" crc="481998187" ref="index"/>
<file name="blank.gif" crc="4208392903" ref="index"/>
<file name="snap2.jpg" crc="102032083" ref="index"/>
<file name="snap3.jpg" crc="395141052" ref="index"/>
<file name="snap4.jpg" crc="250434707" ref="index"/>
<file name="snap5.jpg" crc="4259640988" ref="index"/>
<file name="snap6.jpg" crc="3773277347" ref="index"/>
<file name="snap1-crop-u111.jpg" crc="65374606" ref="index"/> <file name="snap1-crop-u111.jpg" crc="65374606" ref="index"/>
<file name="snap2-crop-u219.jpg" crc="4240365480" ref="index"/> <file name="snap2-crop-u219.jpg" crc="4240365480" ref="index"/>
<file name="snap3-crop-u228.jpg" crc="196697173" ref="index"/> <file name="snap3-crop-u228.jpg" crc="196697173" ref="index"/>
<file name="snap4-crop-u237.jpg" crc="4112782425" ref="index"/> <file name="snap4-crop-u237.jpg" crc="4112782425" ref="index"/>
<file name="snap5-crop-u246.jpg" crc="4029486850" ref="index"/> <file name="snap5-crop-u246.jpg" crc="4029486850" ref="index"/>
<file name="snap6-crop-u255.jpg" crc="4232123327" ref="index"/> <file name="snap6-crop-u255.jpg" crc="4232123327" ref="index"/>
<file name="loading.gif" crc="3815509949" ref="index"/>
<file name="u175-17.png" crc="209764226" ref="index"/>
<file name="u175-17-r.png" crc="4045924442" ref="index"/>
<file name="u175-17-m.png" crc="4254700044" ref="index"/>
<file name="u175-17-fs.png" crc="4197433778" ref="index"/>
<file name="appbaremailminimal.png" crc="4226821120" ref="index"/>
<file name="54dac34238d8c30849338db0_github-48.png" crc="366200775" ref="index"/>
<file name="54dac37638d8c30849338db5_googleplus-48.png" crc="57403697" ref="index"/>
<file name="54dac39e2ce955316620f07f_twitter-48.png" crc="3977136906" ref="index"/>
</folder> </folder>
<file name="index.html" crc="3987311594" mt="1424040333628" redirect="true"/> <folder name="phone">
<folder name="css">
<file name="index.css" crc="427963048" ref="phone>index"/>
</folder>
<file name="index.html" crc="4205439201" mt="1424127308168" redirect="true"/>
</folder>
<file name="index.html" crc="4032624880" mt="1424127286783" redirect="true"/>
</manifest> </manifest>

510
phone/css/index.css Normal file
View file

@ -0,0 +1,510 @@
.version.index /* version checker */
{
color: #000019;
background-color: #8232A8;
}
@-ms-viewport
{
width: 560px;
}
@-webkit-viewport
{
width: 560px;
}
@-o-viewport
{
width: 560px;
}
@-moz-viewport
{
width: 560px;
}
@viewport
{
width: 560px;
}
.html
{
background-color: #000000;
}
#page
{
z-index: 1;
width: 560px;
min-height: 1498.988629876308px;
background-image: none;
border-style: none;
border-color: #000000;
background-color: #000000;
padding-bottom: 0px;
}
#page_position_content
{
margin-top: -26px;
padding-bottom: 12px;
}
#u299
{
z-index: 2;
display: block;
vertical-align: top;
margin-left: 65px;
position: relative;
}
#u303-10
{
z-index: 4;
min-height: 319px;
background-color: transparent;
color: #FFFFFF;
}
#u303-2
{
font-size: 48px;
text-align: center;
line-height: 58px;
}
#u303-10-bw
{
z-index: 4;
min-height: 319px;
margin-top: 22px;
height: 347px;
}
#u304
{
z-index: 14;
width: 560px;
min-height: 315px;
border-style: none;
border-color: transparent;
background-color: transparent;
margin-top: 21px;
position: relative;
}
#slideshowu306
{
z-index: 15;
width: 0.01px;
height: 55px;
margin-top: 22px;
position: relative;
}
#u318
{
position: absolute;
width: 524px;
height: 422px;
border-style: none;
border-color: transparent;
background-color: #191919;
background-color: rgba(0, 0, 0, 0.9);
top: 63px;
left: 198px;
-pie-background: rgba(0, 0, 0, 0.9);
}
#u318popup
{
z-index: 16;
}
#u321
{
z-index: 17;
width: 480px;
height: 360px;
background-color: transparent;
margin-right: -10000px;
position: relative;
top: 22px;
left: 22px;
}
#u323
{
z-index: 19;
width: 480px;
height: 360px;
background-color: transparent;
margin-right: -10000px;
position: relative;
top: 22px;
left: 22px;
}
#u325
{
z-index: 21;
width: 480px;
height: 360px;
background-color: transparent;
margin-right: -10000px;
position: relative;
top: 22px;
left: 22px;
}
#u327
{
z-index: 23;
width: 480px;
height: 360px;
background-color: transparent;
margin-right: -10000px;
position: relative;
top: 22px;
left: 22px;
}
#u329
{
z-index: 25;
width: 480px;
height: 360px;
background-color: transparent;
margin-right: -10000px;
position: relative;
top: 22px;
left: 22px;
}
#u319
{
z-index: 27;
width: 480px;
height: 360px;
background-color: transparent;
margin-right: -10000px;
position: relative;
top: 22px;
left: 22px;
}
#u321_img,#u323_img,#u325_img,#u327_img,#u329_img,#u319_img
{
padding-top: 45px;
padding-bottom: 45px;
}
#u331
{
position: absolute;
width: 560px;
border-style: none;
border-color: transparent;
background-color: transparent;
padding-bottom: 10px;
}
#u331popup
{
z-index: 29;
}
#u336
{
z-index: 30;
width: 60px;
height: 45px;
border-style: none;
border-color: transparent;
background-color: transparent;
position: relative;
margin-right: -10000px;
left: 75px;
}
#u338
{
z-index: 32;
width: 60px;
height: 45px;
border-style: none;
border-color: transparent;
background-color: transparent;
position: relative;
margin-right: -10000px;
left: 145px;
}
#u342
{
z-index: 34;
width: 60px;
height: 45px;
border-style: none;
border-color: transparent;
background-color: transparent;
position: relative;
margin-right: -10000px;
left: 215px;
}
#u340
{
z-index: 36;
width: 60px;
height: 45px;
border-style: none;
border-color: transparent;
background-color: transparent;
position: relative;
margin-right: -10000px;
left: 285px;
}
#u334
{
z-index: 38;
width: 60px;
height: 45px;
border-style: none;
border-color: transparent;
background-color: transparent;
position: relative;
margin-right: -10000px;
left: 355px;
}
#u332
{
z-index: 40;
width: 60px;
height: 45px;
border-style: none;
border-color: transparent;
background-color: transparent;
position: relative;
margin-right: -10000px;
left: 425px;
}
#u336:hover,#u338:hover,#u342:hover,#u340:hover,#u334:hover,#u332:hover
{
margin: 0px -10000px 0px 0px;
}
#u344-4
{
position: absolute;
width: 30px;
min-height: 30px;
background-color: transparent;
line-height: 20px;
color: #FFFFFF;
text-align: center;
font-family: Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;
top: 455px;
left: 570px;
}
#u344-4popup
{
z-index: 42;
}
#u345-4
{
position: absolute;
width: 30px;
min-height: 30px;
background-color: transparent;
line-height: 20px;
color: #FFFFFF;
text-align: center;
font-family: Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;
top: 455px;
left: 670px;
}
#u345-4popup
{
z-index: 46;
}
#u346-4
{
position: absolute;
width: 70px;
min-height: 30px;
background-color: transparent;
line-height: 20px;
color: #FFFFFF;
text-align: center;
font-family: Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;
top: 455px;
left: 600px;
}
#u346-4popup
{
z-index: 50;
}
#u307
{
position: absolute;
width: 30px;
border-style: none;
border-color: transparent;
background-color: #C4C4C4;
padding-bottom: 5px;
top: 85px;
left: 670px;
}
#u307:hover
{
background-color: #999999;
margin: 0px;
}
#u307:active
{
background-color: #6B6B6B;
margin: 0px;
}
#u308-4
{
z-index: 55;
width: 20px;
min-height: 20px;
border-style: none;
border-color: transparent;
background-color: transparent;
line-height: 20px;
color: #FFFFFF;
text-align: center;
font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
position: relative;
margin-right: -10000px;
margin-top: 5px;
left: 5px;
}
.SSFirstButton,.SSPreviousButton,.SSNextButton,.SSLastButton,.SSSlideLink,.SSCloseButton /* slideshowFreeStyle */
{
cursor: pointer;
}
.SSSlideLoading /* slideshowFreeStyle */
{
background: url("../../images/loading.gif") no-repeat center center;
}
#u359
{
z-index: 59;
width: 552px;
min-height: 171px;
border-style: none;
border-color: transparent;
background-color: transparent;
margin-left: 4px;
margin-top: 21px;
position: relative;
}
#u361
{
z-index: 60;
width: 549px;
min-height: 254px;
border-width: 1px;
border-style: solid;
border-color: #363636;
background-color: #222222;
margin-left: 4px;
margin-top: 21px;
position: relative;
}
#u405
{
z-index: 61;
width: 240px;
border-style: none;
border-color: transparent;
background-color: transparent;
margin-left: 160px;
margin-top: 11px;
position: relative;
}
#u381
{
z-index: 64;
width: 48px;
background-color: transparent;
position: relative;
margin-right: -10000px;
}
#u375
{
z-index: 62;
width: 48px;
background-color: transparent;
position: relative;
margin-right: -10000px;
left: 48px;
}
#u387
{
z-index: 66;
width: 48px;
background-color: transparent;
position: relative;
margin-right: -10000px;
left: 96px;
}
#u393
{
z-index: 68;
width: 48px;
background-color: transparent;
position: relative;
margin-right: -10000px;
left: 144px;
}
#u399
{
z-index: 70;
width: 48px;
background-color: transparent;
position: relative;
margin-right: -10000px;
left: 192px;
}
body
{
position: relative;
min-width: 560px;
}
#page .verticalspacer
{
clear: both;
}

153
phone/index.html Normal file
View file

@ -0,0 +1,153 @@
<!DOCTYPE html>
<html class="html" lang="en-US">
<head>
<script type="text/javascript">
if(typeof Muse == "undefined") window.Muse = {}; window.Muse.assets = {"required":["jquery-1.8.3.min.js", "museutils.js", "jquery.watch.js", "webpro.js", "musewpslideshow.js", "jquery.museoverlay.js", "touchswipe.js", "index.css"], "outOfDate":[]};
</script>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8"/>
<meta name="generator" content="2014.2.0.284"/>
<link rel="shortcut icon" href="../images/space-game-favicon.ico?352280701"/>
<title>Space Game</title>
<meta name="viewport" content="width=560"/>
<link rel="canonical" href="http://www.thepaperpilot.org/index.html"/>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="../css/site_global.css?365011649"/>
<link rel="stylesheet" type="text/css" href="css/index.css?427963048" id="pagesheet"/>
<!-- Other scripts -->
<script type="text/javascript">
document.documentElement.className += ' js';
</script>
</head>
<body>
<div class="clearfix" id="page"><!-- column -->
<div class="position_content" id="page_position_content">
<img class="colelem" id="u299" alt="" width="472" height="237" src="../images/54daa49b38d8c30849338b68_profile-u299.png"/><!-- rasterized frame -->
<div class="browser_width colelem" id="u303-10-bw">
<div class="clearfix" id="u303-10"><!-- content -->
<p id="u303-2">Space Game</p>
<p>&nbsp;</p>
<p>You are a scientist. While doing some... risky experimentation, you have found yourself in an unknown place, leaving you stranded in the middle (or edge, you don't know) of space. However, being a scientist, you take it upon yourself to learn as much as you can about your surroundings, and place all else second to that goal, including your own survival. Unfortunately, the natives of this area of space don't take kindly to you, and you must fend them off with your mining laser. But with the help of a device you discovered on one of the enemies, hopefully you can survive, thrive, and most of all, discover. You start with absolutely no knowledge of anything, and take note of everything you learn in a journal, from where the aliens came from and how they're getting here, to the strange energy manipulation of the device and how to use it all to your advantage.</p>
<p>&nbsp;</p>
<p>I'm Anthony Lawn, an Eagle Scout on my way to University next year to study Computer Science. I've been making games for years, and programming even longer. However, lacking a formal computer science education, Ive been keeping most of my programs to myself. But, as Ive gotten better Im starting to release some things, starting with Space Game.</p>
</div>
</div>
<div class="colelem" id="u304"><!-- custom html -->
<iframe width="560" height="315" src="https://www.youtube.com/embed/BVeR4-CtQes" frameborder="0" allowfullscreen></iframe>
</div>
<div class="SlideShowWidget clearfix widget_invisible colelem" id="slideshowu306"><!-- none box -->
<div class="popup_anchor" id="u318popup">
<div class="SlideShowContentPanel rgba-background clearfix" id="u318"><!-- stack box -->
<div class="SSSlide clip_frame grpelem" id="u321"><!-- image -->
<img class="block ImageInclude" id="u321_img" data-src="../images/snap1.jpg" src="../images/blank.gif" alt="" data-width="480" data-height="270"/>
</div>
<div class="SSSlide invi clip_frame grpelem" id="u323"><!-- image -->
<img class="block ImageInclude" id="u323_img" data-src="../images/snap2.jpg" src="../images/blank.gif" alt="" data-width="480" data-height="270"/>
</div>
<div class="SSSlide invi clip_frame grpelem" id="u325"><!-- image -->
<img class="block ImageInclude" id="u325_img" data-src="../images/snap3.jpg" src="../images/blank.gif" alt="" data-width="480" data-height="270"/>
</div>
<div class="SSSlide invi clip_frame grpelem" id="u327"><!-- image -->
<img class="block ImageInclude" id="u327_img" data-src="../images/snap4.jpg" src="../images/blank.gif" alt="" data-width="480" data-height="270"/>
</div>
<div class="SSSlide invi clip_frame grpelem" id="u329"><!-- image -->
<img class="block ImageInclude" id="u329_img" data-src="../images/snap5.jpg" src="../images/blank.gif" alt="" data-width="480" data-height="270"/>
</div>
<div class="SSSlide invi clip_frame grpelem" id="u319"><!-- image -->
<img class="block ImageInclude" id="u319_img" data-src="../images/snap6.jpg" src="../images/blank.gif" alt="" data-width="480" data-height="270"/>
</div>
</div>
</div>
<div class="popup_anchor" id="u331popup">
<div class="SSSlideLinks clearfix" id="u331"><!-- horizontal-rows box -->
<div class="SSSlideLink clip_frame grpelem" id="u336"><!-- image -->
<img class="block" id="u336_img" src="../images/snap1-crop-u336.jpg" alt="" width="60" height="45"/>
</div>
<div class="SSSlideLink clip_frame grpelem" id="u338"><!-- image -->
<img class="block" id="u338_img" src="../images/snap2-crop-u338.jpg" alt="" width="60" height="45"/>
</div>
<div class="SSSlideLink clip_frame grpelem" id="u342"><!-- image -->
<img class="block" id="u342_img" src="../images/snap3-crop-u342.jpg" alt="" width="60" height="45"/>
</div>
<div class="SSSlideLink clip_frame grpelem" id="u340"><!-- image -->
<img class="block" id="u340_img" src="../images/snap4-crop-u340.jpg" alt="" width="60" height="45"/>
</div>
<div class="SSSlideLink clip_frame grpelem" id="u334"><!-- image -->
<img class="block" id="u334_img" src="../images/snap5-crop-u334.jpg" alt="" width="60" height="45"/>
</div>
<div class="SSSlideLink clip_frame grpelem" id="u332"><!-- image -->
<img class="block" id="u332_img" src="../images/snap6-crop-u332.jpg" alt="" width="60" height="45"/>
</div>
</div>
</div>
<div class="popup_anchor" id="u344-4popup">
<div class="SSPreviousButton clearfix" id="u344-4"><!-- content -->
<p>&lt;</p>
</div>
</div>
<div class="popup_anchor" id="u345-4popup">
<div class="SSNextButton clearfix" id="u345-4"><!-- content -->
<p>&gt;</p>
</div>
</div>
<div class="popup_anchor" id="u346-4popup">
<div class="SlideShowLabel SSSlideCount clearfix" id="u346-4"><!-- content -->
<p>2 &#45; 6</p>
</div>
</div>
<div class="popup_anchor">
<div class="SSCloseButton popup_element clearfix" id="u307"><!-- group -->
<div class="clearfix grpelem" id="u308-4"><!-- content -->
<p>x</p>
</div>
</div>
</div>
</div>
<div class="colelem" id="u359"><!-- custom html -->
<iframe src="//itch.io/embed/8606?dark=true&linkback=true" width="552" height="167" frameborder="0"></iframe>
</div>
<div class="colelem" id="u361"><!-- custom html -->
<iframe width="550" height="250" frameborder="0" scrolling="no" src="https://secure.desura.com/widget/space-game/175?stat=1"></iframe>
</div>
<div class="verticalspacer"></div>
<div class="clearfix colelem" id="u405"><!-- group -->
<a class="nonblock nontext clip_frame grpelem" id="u381" href="https://www.google.com/+AnthonyLawnThePaperPilot"><!-- image --><img class="block" id="u381_img" src="../images/google-plus.png" alt="" width="48" height="48"/></a>
<a class="nonblock nontext clip_frame grpelem" id="u375" href="mailto:thepaperpilot@gmail.com"><!-- image --><img class="block" id="u375_img" src="../images/email-outline.png" alt="" width="48" height="48"/></a>
<a class="nonblock nontext clip_frame grpelem" id="u387" href="http://rss.desura.com/games/space-game/news/feed/rss.xml"><!-- image --><img class="block" id="u387_img" src="../images/rss.png" alt="" width="48" height="48"/></a>
<a class="nonblock nontext clip_frame grpelem" id="u393" href="https://github.com/thepaperpilot"><!-- image --><img class="block" id="u393_img" src="../images/github-circle.png" alt="" width="48" height="48"/></a>
<a class="nonblock nontext clip_frame grpelem" id="u399" href="https://twitter.com/ThePaperPilot"><!-- image --><img class="block" id="u399_img" src="../images/twitter.png" alt="" width="48" height="48"/></a>
</div>
</div>
</div>
<!-- JS includes -->
<script type="text/javascript">
if (document.location.protocol != 'https:') document.write('\x3Cscript src="http://musecdn2.businesscatalyst.com/scripts/4.0/jquery-1.8.3.min.js" type="text/javascript">\x3C/script>');
</script>
<script type="text/javascript">
window.jQuery || document.write('\x3Cscript src="../scripts/jquery-1.8.3.min.js" type="text/javascript">\x3C/script>');
</script>
<script src="../scripts/museutils.js?4050293121" type="text/javascript"></script>
<script src="../scripts/jquery.watch.js?3946357177" type="text/javascript"></script>
<script src="../scripts/webpro.js?140723489" type="text/javascript"></script>
<script src="../scripts/musewpslideshow.js?4170221289" type="text/javascript"></script>
<script src="../scripts/jquery.museoverlay.js?439400757" type="text/javascript"></script>
<script src="../scripts/touchswipe.js?321465556" type="text/javascript"></script>
<!-- Other scripts -->
<script type="text/javascript">
$(document).ready(function() { try {
(function(){var a={},b=function(a){if(a.match(/^rgb/))return a=a.replace(/\s+/g,"").match(/([\d\,]+)/gi)[0].split(","),(parseInt(a[0])<<16)+(parseInt(a[1])<<8)+parseInt(a[2]);if(a.match(/^\#/))return parseInt(a.substr(1),16);return 0};(function(){$('link[type="text/css"]').each(function(){var b=($(this).attr("href")||"").match(/\/?css\/([\w\-]+\.css)\?(\d+)/);b&&b[1]&&b[2]&&(a[b[1]]=b[2])})})();(function(){$("body").append('<div class="version" style="display:none; width:1px; height:1px;"></div>');
for(var c=$(".version"),d=0;d<Muse.assets.required.length;){var f=Muse.assets.required[d],g=f.match(/([\w\-\.]+)\.(\w+)$/),k=g&&g[1]?g[1]:null,g=g&&g[2]?g[2]:null;switch(g.toLowerCase()){case "css":k=k.replace(/\W/gi,"_").replace(/^([^a-z])/gi,"_$1");c.addClass(k);var g=b(c.css("color")),h=b(c.css("background-color"));g!=0||h!=0?(Muse.assets.required.splice(d,1),"undefined"!=typeof a[f]&&(g!=a[f]>>>24||h!=(a[f]&16777215))&&Muse.assets.outOfDate.push(f)):d++;c.removeClass(k);break;case "js":k.match(/^jquery-[\d\.]+/gi)&&
typeof $!="undefined"?Muse.assets.required.splice(d,1):d++;break;default:throw Error("Unsupported file type: "+g);}}c.remove();if(Muse.assets.outOfDate.length||Muse.assets.required.length)c="Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.",(d=location&&location.search&&location.search.match&&location.search.match(/muse_debug/gi))&&Muse.assets.outOfDate.length&&(c+="\nOut of date: "+Muse.assets.outOfDate.join(",")),d&&Muse.assets.required.length&&(c+="\nMissing: "+Muse.assets.required.join(",")),alert(c)})()})(); /* body */
Muse.Utils.transformMarkupToFixBrowserProblemsPreInit();/* body */
Muse.Utils.prepHyperlinks(true);/* body */
Muse.Utils.resizeHeight()/* resize height */
Muse.Utils.initWidget('#slideshowu306', function(elem) { $(elem).data('widget', new WebPro.Widget.ContentSlideShow(elem, {autoPlay:true,displayInterval:3000,slideLinkStopsSlideShow:false,transitionStyle:'fading',lightboxEnabled_runtime:true,shuffle:false,transitionDuration:500,enableSwipe:true,elastic:'off',resumeAutoplay:true,resumeAutoplayInterval:3000,playOnce:false})); });/* #slideshowu306 */
Muse.Utils.fullPage('#page');/* 100% height page */
Muse.Utils.showWidgetsWhenReady();/* body */
Muse.Utils.transformMarkupToFixBrowserProblems();/* body */
} catch(e) { if (e && 'function' == typeof e.notify) e.notify(); else Muse.Assert.fail('Error calling selector function:' + e); }});
</script>
</body>
</html>

View file

@ -1,59 +0,0 @@
<?php
/*
If you see this text in your browser, PHP is not configured correctly on this hosting provider.
Contact your hosting provider regarding PHP configuration for your site.
PHP file generated by Adobe Muse CC 2014.2.0.284
*/
require_once('form_process.php');
$form = array(
'subject' => 'Home Form Submission',
'heading' => 'New Form Submission',
'success_redirect' => '',
'resources' => array(
'checkbox_checked' => 'Checked',
'checkbox_unchecked' => 'Unchecked',
'submitted_from' => 'Form submitted from website: %s',
'submitted_by' => 'Visitor IP address: %s',
'too_many_submissions' => 'Too many recent submissions from this IP',
'failed_to_send_email' => 'Failed to send email',
'invalid_reCAPTCHA_private_key' => 'Invalid reCAPTCHA private key.',
'invalid_field_type' => 'Unknown field type \'%s\'.',
'unknown_method' => 'Unknown server request method'
),
'email' => array(
'from' => 'thepaperpilot+site@gmail.com',
'to' => 'thepaperpilot+site@gmail.com'
),
'fields' => array(
'custom_U164' => array(
'type' => 'string',
'label' => 'Name',
'required' => true,
'errors' => array(
'required' => 'Field \'Name\' is required.'
)
),
'Email' => array(
'type' => 'email',
'label' => 'Email',
'required' => true,
'errors' => array(
'required' => 'Field \'Email\' is required.',
'format' => 'Field \'Email\' has an invalid email.'
)
),
'custom_U170' => array(
'type' => 'string',
'label' => 'Message',
'required' => false,
'errors' => array(
)
)
)
);
process_form($form);
?>

View file

@ -1,128 +0,0 @@
<?php
/*
If you see this text in your browser, PHP is not configured correctly on this hosting provider.
Contact your hosting provider regarding PHP configuration for your site.
PHP file generated by Adobe Muse CC 2014.2.0.284
*/
require_once('form_throttle.php');
if ($_SERVER['REQUEST_METHOD'] == 'GET')
{
$supportResponse = checkSupport();
if (!empty($_GET['mode']) and $_GET['mode'] == 'verify')
{
echo $supportResponse;
exit;
}
echo('<!DOCTYPE html><html><head><title>Muse PHP Diagnostics</title>');
echo('<style type="text/css">body { font: 14pt Myriad Pro, Arial, Helvetica;}ul { list-style-type: none; }');
echo(' h1 { background-color: #CCCCCC; padding: 2px;} label {display: inline-block; width: 100px; vertical-align: top;}');
echo('.good:before { color: green; content:\'\2713\0020\';} .bad:before {color: red; content: \'X\0020\';}');
echo('</style></head><body>');
echo('<h1>Diagnostics</h1><ul>');
if (strrpos($supportResponse,'PHP:0;') === false)
{
echo('<li class="bad">PHP version too low');
}
else
{
echo('<li class="good">PHP version ok');
}
if (strrpos($supportResponse,'Mail:0;') === false)
{
echo('<li class="bad">mail configured incorrectly');
}
else
{
echo('<li class="good">mail configuration ok');
}
if (strrpos($supportResponse,'SQL:0;') === false)
{
echo('<li class="bad">SQL configuration problem ');
}
else
{
echo('<li class="good">SQL ok ');
}
echo('</ul><br/><br/>');
echo('</body></html>');
}
$phpError = '';
function phpErrorHandler($errno, $errstr, $errfile, $errline)
{
global $phpError;
if (!(error_reporting() & $errno))
{
return;
}
$phpError .= $errstr;
return true;
}
function checkSupport()
{
global $phpError;
set_error_handler("phpErrorHandler");
$throttleSupport = formthrottle_check();
$response ='SQL:' . $throttleSupport . ';';
$version = explode('.', PHP_VERSION);
if ($version[0] < 4 || ($version[0] == 4 && $version[1] < 1))
{
$response .='PHP:1;';
return $response;
}
else
{
$response .='PHP:0;';
}
if (strncasecmp(php_uname('s'), 'win', 3) == 0)
{
$mailserver = ini_get('SMTP');
}
else
{
$mailserver = ini_get('sendmail_path');
}
if (strlen($mailserver) == 0)
{
$response .='Mail:1;';
}
else
{
if (!function_exists("mail"))
{
$response .='Mail:2;';
}
else
{
$sent = mail("recipient@example.com", "Hi", "test message", "From: sender@example.com");
if($sent)
{
$response .='Mail:0;';
}
else
{
$response .='Mail:3;';
}
}
}
if($phpError != '')
{
$response .='PHPError:' . $phpError;
}
return $response;
}
?>

View file

@ -1,213 +0,0 @@
<?php
/*
If you see this text in your browser, PHP is not configured correctly on this hosting provider.
Contact your hosting provider regarding PHP configuration for your site.
PHP file generated by Adobe Muse CC 2014.2.0.284
*/
require_once('form_throttle.php');
function process_form($form) {
if ($_SERVER['REQUEST_METHOD'] != 'POST')
die(get_form_error_response($form['resources']['unknown_method']));
if (formthrottle_too_many_submissions($_SERVER['REMOTE_ADDR']))
die(get_form_error_response($form['resources']['too_many_submissions']));
// will die() if there are any errors
check_required_fields($form);
// will die() if there is a send email problem
email_form_submission($form);
}
function get_form_error_response($error) {
return get_form_response(false, array('error' => $error));
}
function get_form_response($success, $data) {
if (!is_array($data))
die('data must be array');
$status = array();
$status[$success ? 'FormResponse' : 'MusePHPFormResponse'] = array_merge(array('success' => $success), $data);
return json_serialize($status);
}
function check_required_fields($form) {
$errors = array();
foreach ($form['fields'] as $field => $properties) {
if (!$properties['required'])
continue;
if (!array_key_exists($field, $_REQUEST) || empty($_REQUEST[$field]))
array_push($errors, array('field' => $field, 'message' => $properties['errors']['required']));
else if (!check_field_value_format($form, $field, $properties))
array_push($errors, array('field' => $field, 'message' => $properties['errors']['format']));
}
if (!empty($errors))
die(get_form_error_response(array('fields' => $errors)));
}
function check_field_value_format($form, $field, $properties) {
$value = get_form_field_value($field, $properties, $form['resources']);
switch($properties['type']) {
case 'checkbox':
case 'string':
case 'captcha':
// no format to validate for those fields
return true;
case 'recaptcha':
if (!array_key_exists('recaptcha', $form) || !array_key_exists('private_key', $form['recaptcha']) || empty($form['recaptcha']['private_key']))
die(get_form_error_response($form['resources']['invalid_reCAPTCHA_private_key']));
$resp = recaptcha_check_answer($form['recaptcha']['private_key'], $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]);
return $resp->is_valid;
case 'email':
return 1 == preg_match('/^[a-z0-9!#$%&\'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&\'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i', $value);
default:
die(get_form_error_response(sprintf($form['resources']['invalid_field_type'], $properties['type'])));
}
}
function email_form_submission($form) {
if(!defined('PHP_EOL'))
define('PHP_EOL', '\r\n');
$form_email = ((array_key_exists('Email', $_REQUEST) && !empty($_REQUEST['Email'])) ? cleanup_email($_REQUEST['Email']) : '');
$to = $form['email']['to'];
$subject = $form['subject'];
$message = get_email_body($subject, $form['heading'], $form['fields'], $form['resources']);
$headers = get_email_headers($to, $form_email);
$sent = @mail($to, $subject, $message, $headers);
if(!$sent)
die(get_form_error_response($form['resources']['failed_to_send_email']));
$success_data = array(
'redirect' => $form['success_redirect']
);
echo get_form_response(true, $success_data);
}
function get_email_headers($to_email, $form_email) {
$headers = 'From: ' . $to_email . PHP_EOL;
$headers .= 'Reply-To: ' . $form_email . PHP_EOL;
$headers .= 'X-Mailer: Adobe Muse CC 2014.2.0.284 with PHP' . PHP_EOL;
$headers .= 'Content-type: text/html; charset=utf-8' . PHP_EOL;
return $headers;
}
function get_email_body($subject, $heading, $fields, $resources) {
$message = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
$message .= '<html xmlns="http://www.w3.org/1999/xhtml">';
$message .= '<head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><title>' . encode_for_form($subject) . '</title></head>';
$message .= '<body style="background-color: #ffffff; color: #000000; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 18px; font-family: helvetica, arial, verdana, sans-serif;">';
$message .= '<h2 style="background-color: #eeeeee;">' . $heading . '</h2>';
$message .= '<table cellspacing="0" cellpadding="0" width="100%" style="background-color: #ffffff;">';
foreach ($fields as $field => $properties) {
// Skip reCAPTCHA from email submission
if ('recaptcha' == $properties['type'])
continue;
$message .= '<tr><td valign="top" style="background-color: #ffffff;"><b>' . encode_for_form($properties['label']) . ':</b></td><td>' . get_form_field_value($field, $properties, $resources) . '</td></tr>';
}
$message .= '</table>';
$message .= '<br/><br/>';
$message .= '<div style="background-color: #eeeeee; font-size: 10px; line-height: 11px;">' . sprintf($resources['submitted_from'], encode_for_form($_SERVER['SERVER_NAME'])) . '</div>';
$message .= '<div style="background-color: #eeeeee; font-size: 10px; line-height: 11px;">' . sprintf($resources['submitted_by'], encode_for_form($_SERVER['REMOTE_ADDR'])) . '</div>';
$message .= '</body></html>';
return cleanup_message($message);
}
function is_assoc_array($arr) {
if (!is_array($arr))
return false;
$keys = array_keys($arr);
foreach (array_keys($arr) as $key)
if (is_string($key)) return true;
return false;
}
function json_serialize($data) {
if (is_assoc_array($data)) {
$json = array();
foreach ($data as $key => $value)
array_push($json, '"' . $key . '": ' . json_serialize($value));
return '{' . implode(', ', $json) . '}';
}
if (is_array($data)) {
$json = array();
foreach ($data as $value)
array_push($json, json_serialize($value));
return '[' . implode(', ', $json) . ']';
}
if (is_int($data) || is_float($data))
return $data;
if (is_bool($data))
return $data ? 'true' : 'false';
return '"' . encode_for_json($data) . '"';
}
function encode_for_json($value) {
return preg_replace(array('/([\'"\\t\\\\])/i', '/\\r/i', '/\\n/i'), array('\\\\$1', '\\r', '\\n'), $value);
}
function encode_for_form($text) {
return htmlentities($text, ENT_COMPAT, 'UTF-8');
}
function get_form_field_value($field, $properties, $resources) {
$value = $_REQUEST[$field];
switch($properties['type']) {
case 'checkbox':
return (($value == '1' || $value == 'true') ? $resources['checkbox_checked'] : $resources['checkbox_unchecked']);
case 'string':
case 'captcha':
case 'recaptcha':
case 'email':
return encode_for_form($value);
default:
die(get_form_error_response(sprintf($resources['invalid_field_type'], $properties['type'])));
}
}
function cleanup_email($email) {
$email = encode_for_form($email);
$email = preg_replace('=((<CR>|<LF>|0x0A/%0A|0x0D/%0D|\\n|\\r)\S).*=i', null, $email);
return $email;
}
function cleanup_message($message) {
$message = wordwrap($message, 70, "\r\n");
return $message;
}
?>

View file

@ -1,65 +0,0 @@
<?php
/*
If you see this text in your browser, PHP is not configured correctly on this hosting provider.
Contact your hosting provider regarding PHP configuration for your site.
PHP file generated by Adobe Muse CC 2014.2.0.284
*/
function formthrottle_check()
{
if (!function_exists("sqlite_open"))
{
return '1';
}
$retCode ='5';
if ($db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
{
$res = @sqlite_query($db, "SELECT 1 FROM sqlite_master WHERE type='table' AND name='Submission_History';", $sqliteerror);
if ($res == null or @sqlite_num_rows($res) == 0 or @sqlite_fetch_single($res) != 1)
{
$created = @sqlite_exec($db, "CREATE TABLE Submission_History (IP VARCHAR(39), Submission_Date TIMESTAMP)", $sqliteerror);
if($created)
{
@sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('256.256.256.256', DATETIME('now'))", $sqliteerror);
}
else
{
$retCode = '2';
}
}
if($retCode == '5')
{
$res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History;", $sqliteerror);
if ($res != null and @sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 0)
$retCode = '0';
else
$retCode = '3';
}
@sqlite_close($db);
}
else
$retCode = '4';
return $retCode;
}
function formthrottle_too_many_submissions($ip)
{
$tooManySubmissions = false;
if (function_exists("sqlite_open") and $db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
{
$ip = @sqlite_escape_string($ip);
@sqlite_exec($db, "DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')", $sqliteerror);
@sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('$ip', DATETIME('now'))", $sqliteerror);
$res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History WHERE IP = '$ip';", $sqliteerror);
if (@sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 25)
$tooManySubmissions = true;
@sqlite_close($db);
}
return $tooManySubmissions;
}
?>

22
scripts/museredirect.js Normal file
View file

@ -0,0 +1,22 @@
/*
ADOBE CONFIDENTIAL
___________________
Copyright 2011 Adobe Systems Incorporated
All Rights Reserved.
NOTICE: All information contained herein is, and remains
the property of Adobe Systems Incorporated and its suppliers,
if any. The intellectual and technical concepts contained
herein are proprietary to Adobe Systems Incorporated and its
suppliers and may be covered by U.S. and Foreign Patents,
patents in process, and are protected by trade secret or copyright law.
Dissemination of this information or reproduction of this material
is strictly forbidden unless prior written permission is obtained
from Adobe Systems Incorporated.
*/
typeof Muse=="undefined"&&(Muse={});Muse.Redirect={};Muse.Redirect.domPrefixes=["Webkit","Moz","O","ms","Khtml"];Muse.Redirect.Touch=function(){if(navigator.maxTouchPoints>1)return!0;for(var a=0,b=Muse.Redirect.domPrefixes.length;a<b;a++){var c=Muse.Redirect.domPrefixes[a]+"MaxTouchPoints";if(c in navigator&&navigator[c])return!0}try{return document.createEvent("TouchEvent"),!0}catch(d){}return!1}();
Muse.Redirect.readCookie=function(a){a+="=";for(var b=document.cookie.split(";"),c=0;c<b.length;c++){for(var d=b[c];d.charAt(0)==" ";)d=d.substring(1,d.length);if(d.indexOf(a)==0)return d.substring(a.length,d.length)}return null};
Muse.Redirect.redirect=function(a,b,c,d){var f=null,g=Muse.Redirect.readCookie("devicelock"),k=Muse.Redirect.readCookie("inbrowserediting")=="true";k||(g=="phone"&&c?f=c:g=="tablet"&&b&&(f=b));!k&&g!=a&&f==null&&(d?d=="phone"&&c?f=c:d=="tablet"&&b&&(f=b):(a=Math.min(screen.width,screen.height)/(window.devicePixelRatio||1),d=window.screen.systemXDPI||0,g=window.screen.systemYDPI||0,d=d>0&&g>0?Math.min(screen.width/d,screen.height/g):0,(a<=370||d!=0&&d<=3)&&c?f=c:a<=960&&b&&Muse.Redirect.Touch&&(f=
b)));if(f!=null)document.location=f,document.write('<style type="text/css">body {visibility:hidden}</style>')};
;(function(){if(!("undefined"==typeof Muse||"undefined"==typeof Muse.assets)){var a=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]==b)return c;return-1}(Muse.assets.required,"museredirect.js");if(-1!=a){Muse.assets.required.splice(a,1);for(var a=document.getElementsByTagName("meta"),b=0,c=a.length;b<c;b++){var d=a[b];if("generator"==d.getAttribute("name")){"2014.2.0.284"!=d.getAttribute("content")&&Muse.assets.outOfDate.push("museredirect.js");break}}}}})();

View file

@ -1,147 +1,178 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
<loc>http://www.thepaperpilot.org/images/54daa49b38d8c30849338b68_profile-u75.png</loc> <loc>http://www.thepaperpilot.org/images/space-game-favicon.ico</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.thepaperpilot.org/images/54daa49b38d8c30849338b68_profile-u299.png</loc>
<lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap1.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap1.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/blank.gif</loc> <loc>http://www.thepaperpilot.org/images/blank.gif</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap2.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap2.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap3.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap3.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap4.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap4.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap5.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap5.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap6.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap6.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap1-crop-u111.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap1-crop-u336.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap2-crop-u219.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap2-crop-u338.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap3-crop-u228.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap3-crop-u342.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap4-crop-u237.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap4-crop-u340.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap5-crop-u246.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap5-crop-u334.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/snap6-crop-u255.jpg</loc> <loc>http://www.thepaperpilot.org/images/snap6-crop-u332.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/loading.gif</loc> <loc>http://www.thepaperpilot.org/images/loading.gif</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/u175-17.png</loc> <loc>http://www.thepaperpilot.org/images/google-plus.png</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/u175-17-r.png</loc> <loc>http://www.thepaperpilot.org/images/email-outline.png</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/u175-17-m.png</loc> <loc>http://www.thepaperpilot.org/images/rss.png</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/u175-17-fs.png</loc> <loc>http://www.thepaperpilot.org/images/github-circle.png</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/appbaremailminimal.png</loc> <loc>http://www.thepaperpilot.org/images/twitter.png</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/54dac34238d8c30849338db0_github-48.png</loc> <loc>http://www.thepaperpilot.org/images/54daa49b38d8c30849338b68_profile-u75.png</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/54dac37638d8c30849338db5_googleplus-48.png</loc> <loc>http://www.thepaperpilot.org/images/snap1-crop-u111.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/images/54dac39e2ce955316620f07f_twitter-48.png</loc> <loc>http://www.thepaperpilot.org/images/snap2-crop-u219.jpg</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.thepaperpilot.org/images/snap3-crop-u228.jpg</loc>
<lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.thepaperpilot.org/images/snap4-crop-u237.jpg</loc>
<lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.thepaperpilot.org/images/snap5-crop-u246.jpg</loc>
<lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.thepaperpilot.org/images/snap6-crop-u255.jpg</loc>
<lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
</url> </url>
<url> <url>
<loc>http://www.thepaperpilot.org/index.html</loc> <loc>http://www.thepaperpilot.org/index.html</loc>
<lastmod>2015-02-15</lastmod> <lastmod>2015-02-16</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>0.5</priority> <priority>0.5</priority>
<xhtml:link rel="alternate" media="only screen and (max-device-width: 370px)" href="http://www.thepaperpilot.org/phone/index.html"/>
</url> </url>
</urlset> </urlset>