changed a ton of email and legal rendering stuff

This commit is contained in:
arzynik 2013-11-23 21:23:29 -08:00
parent 1d2dcd1469
commit 8f01e8840c
17 changed files with 151 additions and 169 deletions

View File

@ -7,10 +7,8 @@ class Controller_api_build extends Crunchbutton_Controller_Rest {
$files = [];
// views
foreach (new DirectoryIterator(c::config()->dirs->view.'default/crunchbutton/frontend') as $fileInfo) {
if (!$fileInfo->isDot()) {
$files[] = 'view/'.$fileInfo->getBasename('.phtml').'.html';
}
foreach (Crunchbutton_Util::frontendTemplates(true) as $file) {
$files[] = 'view/'.$file.'.html';
}
// images

View File

@ -1,15 +1,15 @@
<?php
class Controller_view extends Cana_Controller {
class Controller_assets_view extends Cana_Controller {
public function init() {
$file = preg_replace('/\.html/','',c::getPagePiece(1));
$file = preg_replace('/\.html/','',c::getPagePiece(2));
$file = preg_replace('/[^a-z\.\-_]/','',$file);
if ($file == 'body') {
$file = 'layout/html.body';
$filePath = 'layout/html.body';
c::view()->content = c::view()->render('home/index');
} else {
$file = 'frontend/'.$file;
$filePath = 'frontend/'.$file;
}
if ($_REQUEST['theme']) {
@ -20,11 +20,22 @@ class Controller_view extends Cana_Controller {
$theme = 'crunchbutton';
}
if (file_exists(c::config()->dirs->view.'default/crunchbutton/'.$file.'.phtml')) {
if (file_exists(c::config()->dirs->view.'default/crunchbutton/'.$filePath.'.phtml')) {
//$filePath = 'frontend/'.$file;
} elseif(file_exists(c::config()->dirs->view.'default/crunchbutton/'.$file.'/index.phtml')) {
$filePath = $file.'/index';
} else {
$filePath = null;
}
if ($filePath) {
c::view()->layout('layout/blank');
c::view()->export = true;
c::view()->display($file, ['display' => true, 'filter' => false]);
c::view()->display($filePath, ['display' => true, 'filter' => false]);
}
exit;
}
}

View File

@ -1,7 +0,0 @@
<?php
class Controller_help extends Cana_Controller {
public function init() {
Cana::view()->display('help/index');
}
}

View File

@ -1,6 +1,18 @@
<?php
class Crunchbutton_Util extends Cana_Model {
public function frontendTemplates($export = false) {
$files = [];
foreach (new DirectoryIterator(c::config()->dirs->view.'default/crunchbutton/frontend') as $fileInfo) {
if (!$fileInfo->isDot() && $fileInfo->getBasename() != '.DS_Store' ) {
$files[] = $fileInfo->getBasename('.phtml');
}
}
if ($export) {
$files[] = 'legal';
}
return $files;
}
public static function ceil($value, $precision) {
$pow = pow ( 10, $precision );

View File

@ -1,5 +1,55 @@
<? if (!$this->export) : ?>
<div ng-bind-html-unsafe="help"></div>
<? else : ?>
<?=$this->display('help/index')?>
<? endif ; ?>
<div class="main-content-readable">
<h1 class="about-header">About</h1>
<p>
Crunchbutton lets you order your favorite food with one click. We highlight the top food from the top restaurants in a community. Place an order, and we save it for next time, along with your delivery and payment info. Come back and reorder your favorites with just one click/tap.
</p>
<br /><br />
<h1 class="about-header">Help</h1>
<p>
<b>Problem with your order?</b><br />
Try contacting the restaurant you ordered from.
<br /><br />
<b>Need to contact Crunchbutton?</b><br />
Call us at <a href="tel:16467831444">(646) 783-1444</a> or email us at <a href="mailto:{{customers}}">{{customers}}</a>.
<br /><br />
</p>
<br /><br />
<h1 class="about-header">FAQ</h1>
<p>
<b>How do I order food?</b><br />
Easy! Just go to crunchbutton.com and click the restaurant you want to order from. Add whatever food you want, and enter your address, phone, and payment info. Click "Get Food" and try to stay hungry! The restaurant will call you when they're outside.
<br /><br />
<b>Is it cheaper for me to just call the restaurant?</b><br />
No!! Crunchbutton is totally free to you. Prices are the same as calling the restaurant. Sometimes even cheaper!!
<br /><br />
<b>Is it faster for me to just call the restaurant?</b><br />
No!! With Crunchbutton ordering is as fast as a single click!! And we make sure our restaurants receive orders promptlier and accuratelier than when you call.
<br /><br />
<b>How do you save my info?</b><br />
We use a super secure system away from our web server to store and encrypt all your financial information.
<br /><br />
<b>How do I change my stored info?</b><br />
Just click on the info you want to change, enter the changes, and, after you place your order, itll be saved for next time.
<br /><br />
<b>But I've never used Crunchbutton before...</b><br />
Oh man, it's okay. I remember my first time, it didn't last more than 30 seconds. I went to Crunchbutton.com, found my favorite restaurant, hit "Get Food." Minutes later, my sandwich arrived. Post-coital bliss ensued, that sandwich sure knew how to crunch my buttons.
<br /><br />
<b>omg i am wayy too drunk to enter my information</b><br />
We thought this might happen. Luckily, Crunchbutton saves your address, phone, and payment info, so all you have to do is click what you want and hit the big, red "Get Food" button. Try to be awake when the delivery guy calls.
<br /><br />
<b>I want to put a restaurant on Crunchbutton.</b><br />
Good idea! Contact <a href="mailto:{{join}}">{{join}}</a>.
<br /><br />
<b>I know I can order food online, but can I order by US mail?</b><br />
Why yes you can! Send a check or money order to Crunchbutton, 13701 Marina Pointe Dr #344, Marina Del Rey, CA 90292, give us one week's notice, and we will get you your food!
<br /><br />
</p>
<br /><br />
<p>
Visit our <a class="pointer" ng-click="navigation.link('/legal')">legal page</a> for legal and privacy information.
</p>
</div>

View File

@ -1,5 +0,0 @@
<? if (!$this->export) : ?>
<div ng-bind-html-unsafe="legal"></div>
<? else : ?>
<?=$this->display('legal/index')?>
<? endif ; ?>

View File

@ -1,55 +0,0 @@
<div class="main-content-readable">
<h1 class="about-header">About</h1>
<p>
Crunchbutton lets you order your favorite food with one click. We highlight the top food from the top restaurants in a community. Place an order, and we save it for next time, along with your delivery and payment info. Come back and reorder your favorites with just one click/tap.
</p>
<br /><br />
<h1 class="about-header">Help</h1>
<p>
<b>Problem with your order?</b><br />
Try contacting the restaurant you ordered from.
<br /><br />
<b>Need to contact Crunchbutton?</b><br />
Call us at <a href="tel:16467831444">(646) 783-1444</a> or email us at <?=$this->export ? '<a href="mailto:happycustomers@crunchbutton.com">happycustomers@crunchbutton.com</a>' : '[email]'?>.
<br /><br />
</p>
<br /><br />
<h1 class="about-header">FAQ</h1>
<p>
<b>How do I order food?</b><br />
Easy! Just go to crunchbutton.com and click the restaurant you want to order from. Add whatever food you want, and enter your address, phone, and payment info. Click "Get Food" and try to stay hungry! The restaurant will call you when they're outside.
<br /><br />
<b>Is it cheaper for me to just call the restaurant?</b><br />
No!! Crunchbutton is totally free to you. Prices are the same as calling the restaurant. Sometimes even cheaper!!
<br /><br />
<b>Is it faster for me to just call the restaurant?</b><br />
No!! With Crunchbutton ordering is as fast as a single click!! And we make sure our restaurants receive orders promptlier and accuratelier than when you call.
<br /><br />
<b>How do you save my info?</b><br />
We use a super secure system away from our web server to store and encrypt all your financial information.
<br /><br />
<b>How do I change my stored info?</b><br />
Just click on the info you want to change, enter the changes, and, after you place your order, itll be saved for next time.
<br /><br />
<b>But I've never used Crunchbutton before...</b><br />
Oh man, it's okay. I remember my first time, it didn't last more than 30 seconds. I went to Crunchbutton.com, found my favorite restaurant, hit "Get Food." Minutes later, my sandwich arrived. Post-coital bliss ensued, that sandwich sure knew how to crunch my buttons.
<br /><br />
<b>omg i am wayy too drunk to enter my information</b><br />
We thought this might happen. Luckily, Crunchbutton saves your address, phone, and payment info, so all you have to do is click what you want and hit the big, red "Get Food" button. Try to be awake when the delivery guy calls.
<br /><br />
<b>I want to put a restaurant on Crunchbutton.</b><br />
Good idea! Contact <?=$this->export ? '<a href="mailto:join@crunchbutton.com">join@crunchbutton.com</a>' : '[joinemail]'?>.
<br /><br />
<b>I know I can order food online, but can I order by US mail?</b><br />
Why yes you can! Send a check or money order to Crunchbutton, 13701 Marina Pointe Dr #344, Marina Del Rey, CA 90292, give us one week's notice, and we will get you your food!
<br /><br />
</p>
<br /><br />
<p>
Visit our <a class="pointer" ng-click="legal()">legal page</a> for legal and privacy information.
</p>
</div>

View File

@ -1,7 +1,5 @@
<? foreach (new DirectoryIterator(c::config()->dirs->view.'default/crunchbutton/frontend') as $fileInfo) : ?>
<? if (!$fileInfo->isDot() && $fileInfo->getBasename() != '.DS_Store' ) : ?>
<script type="text/ng-template" id="assets/view/<?=$fileInfo->getBasename('.phtml')?>.html">
<?=$this->render('frontend/'.$fileInfo->getBasename('.phtml'), ['filter' => false])?>
</script>
<? endif ; ?>
<? foreach (Crunchbutton_Util::frontendTemplates(false) as $file) : ?>
<script type="text/ng-template" id="assets/view/<?=$file?>.html">
<?=$this->render('frontend/'.$file, ['filter' => false])?>
</script>
<? endforeach; ?>

View File

@ -1,13 +1,14 @@
<div class="main-content-readable">
<div class="top-pad"></div>
<div class="main-content-readable content-padding">
<p><?=nl2br('<b>TERMS OF USE</b>
Youbeo Inc., d/b/a Crunchbutton (“Crunchbutton”) through the http://crunchbutton.com website (the “Site”) provides a collection of online food ordering resources for restaurants, merchants and the public (referred to hereafter as the “Service”) subject to the following Terms of Use (the “Terms”). By using the Service in any way, you are agreeing to comply with the Terms set forth herein and amended from time to time, including the Privacy Policy. In addition, when using the Service, you agree to abide by any applicable posted guidelines for all of our Services, which may change from time to time. Should you object to the Terms or any subsequent modifications thereto or become dissatisfied with the Service in any way, your only recourse is to immediately discontinue use of our Service.
<a href="http://youbeo.com/" target="_blank">Youbeo Inc.</a>, d/b/a Crunchbutton ("Crunchbutton") through the http://crunchbutton.com website (the "Site") provides a collection of online food ordering resources for restaurants, merchants and the public (referred to hereafter as the "Service") subject to the following Terms of Use (the "Terms"). By using the Service in any way, you are agreeing to comply with the Terms set forth herein and amended from time to time, including the Privacy Policy. In addition, when using the Service, you agree to abide by any applicable posted guidelines for all of our Services, which may change from time to time. Should you object to the Terms or any subsequent modifications thereto or become dissatisfied with the Service in any way, your only recourse is to immediately discontinue use of our Service.
All users who are minors in the jurisdiction in which they reside (generally under the age of 18) must have the permission of, and be directly supervised by, their parent or guardian to use the Site. If you are a minor, you must have your parent or guardian read and agree to the Terms prior to using the Site. Persons under the age of 13 are not permitted to register for the Site or use the Services.
1. Acceptance of these Terms
(a) By viewing, accessing, browsing, or using the Service, you agree to these Terms as a binding legal agreement between you and Crunchbutton, without limitation or qualification. The term “you” or “You” shall refer to any person or entity who views, accesses, browses or uses the Service.
(a) By viewing, accessing, browsing, or using the Service, you agree to these Terms as a binding legal agreement between you and Crunchbutton, without limitation or qualification. The term "you" or "You" shall refer to any person or entity who views, accesses, browses or uses the Service.
2. Purpose
@ -15,11 +16,11 @@ We have created the Site to serve as a marketplace to facilitate the ordering an
3. Use of the Site
(a) Use of the Service requires that you create an account (“Account”) or use the Site as a guest. To create an Account, you must select an account name and password and provide certain personal information. In consideration of the use of the Services, you agree to: (a) provide true, accurate, current and complete information about yourself as prompted by the registration form, and (b) maintain and promptly update the personal information you provide to keep it true, accurate, current and complete. If you provide any information that is untrue, inaccurate, not current or incomplete, or Crunchbutton has reasonable grounds to suspect that such information is untrue, inaccurate, not current or incomplete, Crunchbutton has the right to refuse any and all current or future use of the Site.
(a) Use of the Service requires that you create an account ("Account") or use the Site as a guest. To create an Account, you must select an account name and password and provide certain personal information. In consideration of the use of the Services, you agree to: (a) provide true, accurate, current and complete information about yourself as prompted by the registration form, and (b) maintain and promptly update the personal information you provide to keep it true, accurate, current and complete. If you provide any information that is untrue, inaccurate, not current or incomplete, or Crunchbutton has reasonable grounds to suspect that such information is untrue, inaccurate, not current or incomplete, Crunchbutton has the right to refuse any and all current or future use of the Site.
(b) You are responsible for maintaining the confidentiality and security of your Account and password, and you are fully responsible for all activities that occur under your Account, and for any other actions taken in connection with the Account or password. You agree to (a) immediately notify Crunchbutton of any known or suspected unauthorized use(s) of your Account, or any known or suspected breach of security, including loss, theft, or unauthorized disclosure of your password or credit card information; and (b) ensure that you exit from your Account at the end of each session. Crunchbutton will not be liable for any injury, loss or damage of any kind arising from or relating to your failure to comply with (a) and (b) or for any acts or omissions by you or someone else using your Account and/or password.
(c) To delete your account, and all data associated with it, email us at [email].
(c) To delete your account, and all data associated with it, email us at <a href="mailto:{{goodbye}}">{{goodbye}}</a>.
4. Payment and Refunds
@ -33,11 +34,11 @@ We have created the Site to serve as a marketplace to facilitate the ordering an
6. Intellectual Property
(a) The content on the Site (the “Crunchbutton Content”) and the trademarks, service marks and logos contained therein (the “Crunchbutton Marks”) are owned by or licensed to Crunchbutton, and are subject to copyright and other intellectual property rights under United States and foreign laws. Crunchbutton Content, includes, without limitation, all source code, databases, functionality, software, website designs, audio, video, text, photographs and graphics. Crunchbutton Content on the Site is provided to you “AS IS” for your information and personal use only and may not be used, copied, reproduced, distributed, transmitted, broadcast, displayed, sold, licensed, or otherwise exploited for any other purposes whatsoever without the prior written consent of the respective owners. Systematic retrieval of data or other content from the Site to create or compile, directly or indirectly, a collection, compilation, database or directory without written permission from Crunchbutton is prohibited. Crunchbutton reserves all rights not expressly granted to you in and to the Site and Crunchbutton Content and Crunchbutton Marks. If you download or print a copy of the Crunchbutton Content for personal use, you must retain all copyright and other proprietary notices contained therein. You agree not to circumvent, disable or otherwise interfere with security related features of the Site or features that prevent or restrict use or copying of any Crunchbutton Content or enforce limitations on use of the Site or the Crunchbutton Content therein.
(a) The content on the Site (the "Crunchbutton Content") and the trademarks, service marks and logos contained therein (the "Crunchbutton Marks") are owned by or licensed to Crunchbutton, and are subject to copyright and other intellectual property rights under United States and foreign laws. Crunchbutton Content, includes, without limitation, all source code, databases, functionality, software, website designs, audio, video, text, photographs and graphics. Crunchbutton Content on the Site is provided to you "AS IS" for your information and personal use only and may not be used, copied, reproduced, distributed, transmitted, broadcast, displayed, sold, licensed, or otherwise exploited for any other purposes whatsoever without the prior written consent of the respective owners. Systematic retrieval of data or other content from the Site to create or compile, directly or indirectly, a collection, compilation, database or directory without written permission from Crunchbutton is prohibited. Crunchbutton reserves all rights not expressly granted to you in and to the Site and Crunchbutton Content and Crunchbutton Marks. If you download or print a copy of the Crunchbutton Content for personal use, you must retain all copyright and other proprietary notices contained therein. You agree not to circumvent, disable or otherwise interfere with security related features of the Site or features that prevent or restrict use or copying of any Crunchbutton Content or enforce limitations on use of the Site or the Crunchbutton Content therein.
7. Third Party Websites
(a) The Site contains links to other websites (the “Third Party Websites”) as well as photographs, text, graphics, pictures, designs, music, sound, video, information, applications, software and other content or items belonging to or originating from third parties (the “Third Party Content”). Such Third Party Websites and Third Party Content are not investigated, monitored or checked for accuracy, appropriateness, or completeness by us, and we are not responsible for any Third Party Websites accessed through the Site or any Third Party Content posted on, available through or installed from the Site, including the content, accuracy, offensiveness, opinions, reliability, privacy practices or other policies of or contained in the Third Party Websites or the Third Party Content. Inclusion of, linking to or permitting the use or installation of any Third Party Website or any Third Party Content does not imply approval or endorsement thereof by us. If you decide to leave the Site and access the Third Party Websites or to use or install any Third Party Content, you do so at your own risk and you should be aware that our terms and policies no longer govern. You should review the applicable terms and policies, including privacy and data gathering practices, of any website to which you navigate from the Site or relating to any applications you use or install from the Site. Any purchases you make through Third Party Websites will be through other websites and from other companies and Crunchbutton takes no responsibility whatsoever in relation to such purchases which are exclusively between you and the applicable third party.
(a) The Site contains links to other websites (the "Third Party Websites") as well as photographs, text, graphics, pictures, designs, music, sound, video, information, applications, software and other content or items belonging to or originating from third parties (the "Third Party Content"). Such Third Party Websites and Third Party Content are not investigated, monitored or checked for accuracy, appropriateness, or completeness by us, and we are not responsible for any Third Party Websites accessed through the Site or any Third Party Content posted on, available through or installed from the Site, including the content, accuracy, offensiveness, opinions, reliability, privacy practices or other policies of or contained in the Third Party Websites or the Third Party Content. Inclusion of, linking to or permitting the use or installation of any Third Party Website or any Third Party Content does not imply approval or endorsement thereof by us. If you decide to leave the Site and access the Third Party Websites or to use or install any Third Party Content, you do so at your own risk and you should be aware that our terms and policies no longer govern. You should review the applicable terms and policies, including privacy and data gathering practices, of any website to which you navigate from the Site or relating to any applications you use or install from the Site. Any purchases you make through Third Party Websites will be through other websites and from other companies and Crunchbutton takes no responsibility whatsoever in relation to such purchases which are exclusively between you and the applicable third party.
8. Term and Termination
@ -53,7 +54,7 @@ We have created the Site to serve as a marketplace to facilitate the ordering an
10. Disclaimer
(a) Generally speaking, restaurants are required to comply with federal, state and local laws, rules, regulations, and standards pertaining to food preparation, sale, marketing and safety; however, Crunchbutton does not in any way independently verify the credentials, representations, products or compliance of restaurants or the quality of any products, including the ingredients or specific food preparations such as “kosher,” “halal,” “organic,” “macrobiotic” or allergen-specific standards such as “nut-free,” “gluten-free,” or “lactose-free.” Crunchbutton shall not be liable or responsible for any food offered by restaurants that is unhealthy, is the cause of injury or sickness, that is otherwise unacceptable to you or that does not meet your expectations. Furthermore, Crunchbutton does not endorse any restaurant or food provided by any restaurants.
(a) Generally speaking, restaurants are required to comply with federal, state and local laws, rules, regulations, and standards pertaining to food preparation, sale, marketing and safety; however, Crunchbutton does not in any way independently verify the credentials, representations, products or compliance of restaurants or the quality of any products, including the ingredients or specific food preparations such as "kosher," "halal," "organic," "macrobiotic" or allergen-specific standards such as "nut-free," "gluten-free," or "lactose-free." Crunchbutton shall not be liable or responsible for any food offered by restaurants that is unhealthy, is the cause of injury or sickness, that is otherwise unacceptable to you or that does not meet your expectations. Furthermore, Crunchbutton does not endorse any restaurant or food provided by any restaurants.
(b) YOU AGREE THAT YOUR USE OF THE SITE AND SERVICES WILL BE AT YOUR SOLE RISK. TO THE FULLEST EXTENT PERMITTED BY LAW. CRUNCHBUTTON, ITS OFFICERS, DIRECTORS, MEMBERS, EMPLOYEES, AND AGENTS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, IN CONNECTION WITH THE SITE AND SERVICES AND YOUR USE THEREOF, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. CRUNCHBUTTON MAKES NO WARRANTIES OR REPRESENTATIONS ABOUT THE ACCURACY OR COMPLETENESS OF THE SITES CONTENT OR THE CONTENT OF ANY WEBSITES LINKED TO THIS SITE AND ASSUMES NO LIABILITY OR RESPONSIBILITY FOR ANY (A) ERRORS, MISTAKES, OR INACCURACIES OF CONTENT AND MATERIALS, (B) PERSONAL INJURY OR PROPERTY DAMAGE, OF ANY NATURE WHATSOEVER, RESULTING FROM YOUR ACCESS TO AND USE OF THE SITE AND SERVICES, (C) ANY UNAUTHORIZED ACCESS TO OR USE OF OUR SECURE SERVERS, (D) ANY INTERRUPTION OR CESSATION OF TRANSMISSION TO OR FROM THE SITE, (E) ANY BUGS, VIRUSES, TROJAN HORSES, OR THE LIKE WHICH MAY BE TRANSMITTED TO OR THROUGH THE SITE BY ANY THIRD PARTY, AND/OR (F) ANY ERRORS OR OMISSIONS IN ANY CONTENT AND MATERIALS OR FOR ANY LOSS OR DAMAGE OF ANY KIND INCURRED AS A RESULT OF THE USE OF ANY CONTENT POSTED, TRANSMITTED, OR OTHERWISE MADE AVAILABLE VIA THE SITE. CRUNCHBUTTON DOES NOT WARRANT, ENDORSE, GUARANTEE, OR ASSUME RESPONSIBILITY FOR ANY PRODUCT OR SERVICE ADVERTISED OR OFFERED THROUGH THE SITE OR ANY HYPERLINKED WEBSITE OR FEATURED IN ANY BANNER OR OTHER ADVERTISING, AND CRUNCHBUTTON WILL NOT BE A PARTY TO OR IN ANY WAY BE RESPONSIBLE FOR MONITORING ANY TRANSACTION BETWEEN YOU AND PROVIDERS OF PRODUCTS OR SERVICES. AS WITH THE PURCHASE OF A PRODUCT OR SERVICE THROUGH ANY MEDIUM OR IN ANY ENVIRONMENT, YOU SHOULD USE YOUR BEST JUDGMENT AND EXERCISE CAUTION WHERE APPROPRIATE.
@ -68,11 +69,11 @@ YOU AND CRUNCHBUTTON AGREE THAT THE WARRANTY DISCLAIMERS AND LIMITATIONS OF LIAB
PRIVACY POLICY
Youbeo, Inc., d/b/a Crunchbutton, including its affiliates (“Crunchbutton”), is committed to protecting the privacy of your information. Crunchbutton provides this Privacy Policy (the “Policy”) to help you understand how Crunchbutton collects, uses, maintains and discloses information collected from users (each, a “User”) of the http://crunchbutton.com website (the “Site”). This Policy applies to the Site and all products and services offered by Crunchbutton. Crunchbutton users must consent to the Crunchbutton Terms of Use (http://www.crunchbutton.com/legal).
Youbeo, Inc., d/b/a Crunchbutton, including its affiliates ("Crunchbutton"), is committed to protecting the privacy of your information. Crunchbutton provides this Privacy Policy (the "Policy") to help you understand how Crunchbutton collects, uses, maintains and discloses information collected from users (each, a "User") of the http://crunchbutton.com website (the "Site"). This Policy applies to the Site and all products and services offered by Crunchbutton. Crunchbutton users must consent to the Crunchbutton Terms of Use (http://www.crunchbutton.com/legal).
1. Personally Identifiable Information
1.1 Users may be asked for, as appropriate, their name, email address, mailing address, phone number, and credit card information (collectively, the “Personally Identifiable Information”). The Site is not intended for use by children under the age of 13 and Crunchbutton does not knowingly collect Personally Identifiable Information from children under the age of 13. We may collect Personally Identifiable Information from Users in a variety of ways, including, but not limited to, when Users visit our site, create an account, place an order, and in connection with other activities, services, features, promotions or resources we make available on our Site. We will collect Personally Identifiable Information from Users only if they voluntarily submit such information to us. Users can always refuse to supply Personally Identifiable Information, except that it may prevent them from engaging in certain Site related activities. The Personally Identifiable Information we collect through registration and order placement is strictly used to provide the services specified on our Site.
1.1 Users may be asked for, as appropriate, their name, email address, mailing address, phone number, and credit card information (collectively, the "Personally Identifiable Information"). The Site is not intended for use by children under the age of 13 and Crunchbutton does not knowingly collect Personally Identifiable Information from children under the age of 13. We may collect Personally Identifiable Information from Users in a variety of ways, including, but not limited to, when Users visit our site, create an account, place an order, and in connection with other activities, services, features, promotions or resources we make available on our Site. We will collect Personally Identifiable Information from Users only if they voluntarily submit such information to us. Users can always refuse to supply Personally Identifiable Information, except that it may prevent them from engaging in certain Site related activities. The Personally Identifiable Information we collect through registration and order placement is strictly used to provide the services specified on our Site.
2. Non-Personally Identifiable Information
@ -80,7 +81,7 @@ Youbeo, Inc., d/b/a Crunchbutton, including its affiliates (“Crunchbutton”),
3. Web browser cookies
3.1 Our Site may use “cookies” to enhance User experience. Users web browser places cookies on their hard drive for record-keeping purposes and sometimes to track information about them. User may choose to set their web browser to refuse cookies, or to alert you when cookies are being sent. If they do so, note that some parts of the Site may not function properly.
3.1 Our Site may use "cookies" to enhance User experience. Users web browser places cookies on their hard drive for record-keeping purposes and sometimes to track information about them. User may choose to set their web browser to refuse cookies, or to alert you when cookies are being sent. If they do so, note that some parts of the Site may not function properly.
4. How we use collected information
@ -122,7 +123,7 @@ Youbeo, Inc., d/b/a Crunchbutton, including its affiliates (“Crunchbutton”),
9. Contacting us
9.1 If you have any questions about this Policy, the practices of this site, or your dealings with this site, please contact us at <span class="crunchbutton-join-mail"></span>
9.1 If you have any questions about this Policy, the practices of this site, or your dealings with this site, please contact us at <a href="mailto:{{join}}">{{join}}</a>
This document was last updated on May 15, 2013.

View File

@ -17,10 +17,10 @@
<p>We highlight the top food from the top restaurants in a community. Place an order, and we save it for next time, along with your delivery and payment info. Reorder your favorites with a single tap :)</p>
<br /><br />
<h4>Hey! I need help with my order!</h4>
<p>Please visit your <a href="/orders">Previous Orders</a> and contact the restaurant you ordered from.</p>
<p>Please visit your <a href="/orders" ng-click="navigation.link('/orders')">Previous Orders</a> and contact the restaurant you ordered from.</p>
<br /><br />
<h4>Need to contact Crunchbutton?</h4>
<p>Call or text us at <a href="tel:+16467831444">(646) 783-1444</a> or email us at <a href="mailto:happycustomers@crunchbutton.com">happycustomers@crunchbutton.com</a>.</p>
<p>Call or text us at <a href="tel:+16467831444">(646) 783-1444</a> or email us at <a href="mailto:{{customers}}">{{customers}}</a>.</p>
<br /><br />
<button class="button green" ng-click="support.dialog()">Send us a message</button>
</div>
@ -33,7 +33,7 @@
<div class="content-padding">
<h4>How do I order food?</h4>
<p>Easy! Just go to <a href="http://crunchbutton.com">crunchbutton.com</a> and click the restaurant you want to order from. Add whatever food you want, and enter your address, phone, and payment info. Click "Get Food" and try to stay hungry! The restaurant will call you when they're outside.</p>
<p>Easy! Just go to <a href="http://crunchbutton.com" target="_blank">crunchbutton.com</a> and click the restaurant you want to order from. Add whatever food you want, and enter your address, phone, and payment info. Click "Get Food" and try to stay hungry! The restaurant will call you when they're outside.</p>
<br /><br />
<h4>Is it cheaper for me to just call the restaurant?</h4>
<p>Nope! Crunchbutton is totally free to you. Prices are the same as calling the restaurant. Sometimes even cheaper!</p>
@ -54,7 +54,7 @@
<p>We thought this might happen. Luckily, Crunchbutton saves your address, phone, and payment info, so all you have to do is click what you want and hit the big, red "Get Food" button. Try to be awake when the delivery guy calls.</p>
<br /><br />
<h4>I want to put a restaurant on Crunchbutton.</h4>
<p>Good idea! Contact <a href="mailto:join@crunchbutton.com">join@crunchbutton.com</a>.</p>
<p>Good idea! <a href="/owners" ng-click="navigation.link('/owners')">Get more info and contact us.</a></p>
<br /><br />
<h4>I know I can order food online, but can I order by US mail?</h4>
<p>Why yes you can! Give us one week's notice, and we will get you your food! Send a check or money order to:<br /><br />
@ -62,7 +62,7 @@
13701 Marina Pointe Dr. #344<br />
Marina Del Rey, CA 90292</p>
<br /><br /><br /><br />
Visit our <a href="/legal">legal page</a> for legal and privacy information.
Visit our <a href="/legal" ng-click="navigation.link('/legal')">legal page</a> for legal and privacy information.
<br /><br /><br /><br /><br /><br /><br />
<center><div class="fa fa-heart faq-heart"></div></center>
<br /><br /><br /><br />

View File

@ -30,11 +30,11 @@
<h4>Community Representative</h4>
<p>No one knows more about your college or community than you. Thats why we're going to hire you! You will be responsible for scouting the area to get restaurants signed up, and later be directly involved in end user marketing.</p>
<br />
<a href="mailto:{{reps}}" target="_blank"><button class="button lightorange">join up</button></a>
<a href="mailto:{{reps}}"><button class="button lightorange">join up</button></a>
<br /><br /><br /><br />
<h4>Rockstar Developers &amp; Designers</h4>
<p>Look at this beautiful website! It's almost perfect! You know what would make it better? Your magical touch! Join our small team of developers located in LA/Brazil and lets get shit done!</p>
<br />
<a href="mailto:{{devs}}" target="_blank"><button class="button green">rock out</button></a>
<a href="mailto:{{devs}}"><button class="button green">rock out</button></a>
</div>

View File

@ -1,9 +0,0 @@
<div class="top-pad"></div>
<div class="content-padding">
<? if (!$this->export) : ?>
<div ng-bind-html-unsafe="legal"></div>
<? else : ?>
<?=$this->display('legal/index')?>
<? endif ; ?>
</div>

View File

@ -69,7 +69,7 @@
</div>
</div>
<br><br>
<a href="mailto:{{reps}}" target="_blank"><button class="button green">send us an email</button></a>
<a href="mailto:{{join}}"><button class="button green">send us an email</button></a>
<br><br>
<p class="alternate-link"><a href="tel:+18003514161">or call us @ 800-351-4161</a></p>
</div>

View File

@ -126,14 +126,14 @@
<div class="content">
<div class="hide-before-init dropdown dropdown-tip" ng-show="menudropdown">
<ul class="dropdown-menu">
<li><a ng-click="navigation.link('/splash')" ng-show="!account.user.id_user"><i class="fa fa-rocket"></i>Get Started!</a></li>
<li><a ng-click="navigation.link('/food-delivery')"><i class="fa fa-cutlery"></i>Restaurants</a></li>
<li><a ng-click="navigation.link('/orders')" ng-show="account.user.id_user"><i class="fa fa-truck"></i>Previous Orders</a></li>
<li><a ng-click="navigation.link('/location')"><i class="fa fa-map-marker"></i>Change Location</a></li>
<li><a href="/splash" ng-click="navigation.link('/splash')" ng-show="!account.user.id_user"><i class="fa fa-rocket"></i>Get Started!</a></li>
<li><a href="/food-delivery" ng-click="navigation.link('/food-delivery')"><i class="fa fa-cutlery"></i>Restaurants</a></li>
<li><a href="/orders" ng-click="navigation.link('/orders')" ng-show="account.user.id_user"><i class="fa fa-truck"></i>Previous Orders</a></li>
<li><a href="/location" ng-click="navigation.link('/location')"><i class="fa fa-map-marker"></i>Change Location</a></li>
<li class="dropdown-divider"></li>
<li><a ng-click="navigation.link('/help')"><i class="fa fa-heart"></i>Help</a></li>
<li><a ng-click="navigation.link('/about')"><i class="fa fa-lightbulb-o"></i>About</a></li>
<li><a ng-click="navigation.link('/jobs')"><i class="fa fa-beer"></i>Free Beer</a></li>
<li><a href="/help" ng-click="navigation.link('/help')"><i class="fa fa-heart"></i>Help</a></li>
<li><a href="/about" ng-click="navigation.link('/about')"><i class="fa fa-lightbulb-o"></i>About</a></li>
<li><a href="/jobs" ng-click="navigation.link('/jobs')"><i class="fa fa-beer"></i>Free Beer</a></li>
<li><a ng-click="navigation.signin()" ng-show="!account.user.id_user"><i class="fa fa-sign-in"></i>Log In</a></li>
<li><a ng-click="signout.do()" ng-show="account.user.id_user"><i class="fa fa-sign-out"></i>Log Out</a></li>
<li class="dropdown-divider" ng-show="account.user.debug"></li>
@ -185,7 +185,9 @@
<a href="http://www.linkedin.com/company/crunchbutton" target="_blank" class="fa fa-linkedin"></a>
</div>
<div class="divider"></div>
<span class="copyright">&copy; <?=date('Y')?> YouBeo, Inc.</span>
<div class="copyright">&copy; <?=date('Y')?> <a href="/legal">Crunchbutton</a></div>
<div class="divider"></div>
<br>
</div>
</div>
@ -212,22 +214,22 @@
<audio id="cafe-fail">
<source src="/assets/audio/fail.mp3"></source>
<source src="/assets/audio/fail.ogg"></source>
<source src="assets/audio/fail.mp3"></source>
<source src="assets/audio/fail.ogg"></source>
</audio>
<audio id="cafe-win">
<source src="/assets/audio/win.mp3"></source>
<source src="/assets/audio/win.ogg"></source>
<source src="assets/audio/win.mp3"></source>
<source src="assets/audio/win.ogg"></source>
</audio>
<audio id="cafe-loose">
<source src="/assets/audio/loose.mp3"></source>
<source src="/assets/audio/loose.ogg"></source>
<source src="assets/audio/loose.mp3"></source>
<source src="assets/audio/loose.ogg"></source>
</audio>
<audio id="cafe-good">
<source src="/assets/audio/good.mp3"></source>
<source src="/assets/audio/good.ogg"></source>
<source src="assets/audio/good.mp3"></source>
<source src="assets/audio/good.ogg"></source>
</audio>
<audio id="cafe-start">
<source src="/assets/audio/start.mp3"></source>
<source src="/assets/audio/start.ogg"></source>
<source src="assets/audio/start.mp3"></source>
<source src="assets/audio/start.ogg"></source>
</audio>

View File

@ -19,7 +19,7 @@
<? else : ?>
<?=$this->display('bundle/css', ['set' => ['style' => ['seven']]])?>
<? endif ; ?>
<link rel="shortcut icon" href="/assets/images/micro/favicon.ico">
<link rel="shortcut icon" href="/assets/images/micro/appicon.png">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.2/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet" type="text/css">

View File

@ -1316,7 +1316,8 @@ p {
.copyright {
font-size: 10px;
color: #6c6976;
color: #968e86;
margin-top: -1.1em;
}

View File

@ -1,18 +1,17 @@
/**
* splash page
*/
NGApp.controller('SplashCtrl', function ($scope, $http, AccountFacebookService) {
NGApp.controller('SplashCtrl', function ($scope, AccountFacebookService) {
$scope.facebook = AccountFacebookService;
if (App.parallax.setupBackgroundImage) {
App.parallax.setupBackgroundImage($('.home-top').get(0));
}
});
/**
* jobs page
*/
NGApp.controller('JobsCtrl', function ($scope, $http) {
NGApp.controller('JobsCtrl', function ($scope) {
var reps = 'moc.nottubhcnurc@spersupmac'.split('').reverse().join('');
var devs = 'moc.nottubhcnurc@ylnosratskcor'.split('').reverse().join('');
$scope.reps = reps;
@ -22,51 +21,37 @@ NGApp.controller('JobsCtrl', function ($scope, $http) {
/**
* owners page
*/
NGApp.controller('OwnersCtrl', function ($scope, $http) {
var reps = 'moc.nottubhcnurc@nioj'.split('').reverse().join('');
$scope.reps = reps;
NGApp.controller('OwnersCtrl', function ($scope) {
var join = 'moc.nottubhcnurc@nioj'.split('').reverse().join('');
$scope.join = join;
});
/**
* About page
*/
NGApp.controller('AboutCtrl', function ($scope, $http) {
NGApp.controller('AboutCtrl', function ($scope) {
});
/**
* legal page
*/
NGApp.controller('LegalCtrl', function ($scope, $http) {
if (!App.isPhoneGap) {
$http.get(App.service + 'legal').success( function( data ) {
$scope.legal = data.data.replace( '[email]', 'moc.nottubhcnurc@eybdoog'.split('').reverse().join('') );
});
}
NGApp.controller('LegalCtrl', function ($scope) {
console.log('legal start');
var join = 'moc.nottubhcnurc@nioj'.split('').reverse().join('');
var goodbye = 'moc.nottubhcnurc@eybdoog'.split('').reverse().join('');
$scope.join = join;
$scope.goodbye = goodbye;
});
/**
* help page
*/
NGApp.controller('HelpCtrl', function ($scope, $http, $compile, MainNavigationService) {
$scope.legal = function(){
MainNavigationService.link( '/legal' );
}
if (!App.isPhoneGap) {
$http.get(App.service + 'help').success(function(data) {
var help = 'moc.nottubhcnurc@sremotsucyppah'.split('').reverse().join('');
var join = 'moc.nottubhcnurc@nioj'.split('').reverse().join('');
$scope.help = data.data
.replace('[email]', '<a href="mailto:' + help + '">' + help + '</a>')
.replace('[joinemail]', '<a href="mailto:' + join + '">' + join + '</a>')
$scope.help = $compile( $scope.help )( $scope );
});
}
NGApp.controller('HelpCtrl', function ($scope) {
var customers = 'moc.nottubhcnurc@sremotsucyppah'.split('').reverse().join('');
var join = 'moc.nottubhcnurc@nioj'.split('').reverse().join('');
$scope.customers = customers;
$scope.join = join;
});