<commit_before><!DOCTYPE html>
<head>
<script type="application/ld+json">
{
   "@context": "http://schema.org",
   "@type": "WebSite",
   "url": "http://dev.crunchr.co/?__seo=1",
   "potentialAction": {
     "@type": "SearchAction",
     "target": "http://dev.crunchr.co/?__seo=1/search?q={search_term_string}",
     "query-input": "required name=search_term_string"
   }
}
</script>
</head>
<?
	$bot = c::app()->isBot() || $_REQUEST['__seo'];
	
?>

<div class="top-pad"></div>

<div class="home-text">
	
	<? if ($this->restaurant->id_restaurant) : ?>

		<?
			$this->title = $this->restaurant->name.' | '.($this->community->id_community ? $this->community->name : 'Local').' Food Delivery | Order from '.($this->community->id_community && $this->community->name_alt() ? $this->community->name_alt() : 'Local').' Restaurants | Crunchbutton';
		?>

		<? if ($bot) : ?>
		
			<div class="restaurants-bubble-wrap">
				<div class="bubble-tail bubble-tail-green">
					<div class="text">
						<h1 itemprop="name">Push a button<br />
						Get food delivered&nbsp;&nbsp;&nbsp;&nbsp;</h1>
					</div>
				</div>
				<div class="restaurants-orange"></div>
				<div class="divider"></div>
				<div class="restaurants-tagline">
					<h1><?=$this->restaurant->name?> Food Delivery</h1>
					<h2>Delivery and Takeout Menu</h2>
				</div>
				<div class="divider"></div>
			</div>

			<div class="content-padding">
				<div class="home-text">
					<div class="breadcrumb">
						<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
							<a href="/" itemprop="url">
								<span itemprop="title">Crunchbutton</span>
							</a>
						</span> &raquo; 
						<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
							<a href="/food-delivery" itemprop="url">
								<span itemprop="title">Food Delivery</span>
							</a>
						</span> &raquo; 
						<? if ($this->community->id_community) : ?>
							<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
								<a href="/<?=$this->community->permalink?>" itemprop="url">
									<span itemprop="title"><?=$this->community->name?></span>
								</a>
							</span> &raquo; 
						<? endif ; ?>
						<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
							<a href="/<?=$this->community->permalink?>/<?=$this->restaurant->permalink?>" itemprop="url">
								<span itemprop="title"><b><?=$this->restaurant->name?></b></span>
							</a>
						</span>
					</div>
				</div>
	
				<div itemscope itemtype="http://schema.org/restaurant">
			
					<link itemprop="url" href="/<?=$this->community->permalink?>/<?=$this->restaurant->permalink?>"/>
					<link itemprop="image" href="<?=$this->restaurant->image() ? $this->restaurant->publicImagePath().$this->restaurant->image()->getFileName() : ''?>"/>
					<link itemprop="photo" href="<?=$this->restaurant->image() ? $this->restaurant->publicImagePath().$this->restaurant->image()->getFileName() : ''?>"/>
					
					<br><br>
					<img width="100%" src="<?=$this->restaurant->image() ? $this->restaurant->publicImagePath().$this->restaurant->image()->getFileName() : ''?>" title="<?=$this->restaurant->name?>" alt="<?=$this->restaurant->name?>">

					<meta itemprop="priceRange" content="<?=$this->restaurant->priceRange()?>">
					<div itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
						<meta itemprop="longitude" content="<?=$this->restaurant->loc_lat?>">
						<meta itemprop="latitude" content="<?=$this->restaurant->loc_long?>">
					</div>
			
					<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
						<meta itemprop="ratingValue" content="5.0">
						<meta itemprop="reviewCount" content="<?=$this->restaurant->ratingCount()?>">
					</div>
	
					<? foreach ($this->restaurant->categories() as $category) : ?>
						<br><h4><?=$category->name()?></h4>
						<ul date-id_category="1">
	
							<? foreach ($category->dishes() as $dish) : ?>
								<li itemscope itemtype="http://data-vocabulary.org/Product">
									<meta itemprop="image" content="http://<?=$_SERVER['HTTP_HOST']?><?=$this->restaurant->image() ? $this->restaurant->publicImagePath().$this->restaurant->image()->getFileName() : ''?>" />
									<? if ($dish->description) : ?>
										<meta itemprop="description" content="<?=$dish->description?>" />
									<? endif ; ?>
									<meta itemprop="category" content="<?=$category->name()?>" />
									<meta itemprop="availability" content="in_stock" />
	
									<? if ($dish->ratingCount()) : ?>
										<span itemprop="review" itemscope itemtype="http://data-vocabulary.org/Review-aggregate">
											<meta itemprop="rating" content="5">
											<meta itemprop="count" content="<?=$dish->ratingCount()?>">
										</span>
									<? endif ; ?>
	
									<p>
										<a href="#<?=$dish->name?>" data-id_dish="1">
											<span itemprop="name"><b><?=$dish->name?></b></span>&nbsp;&nbsp;$<span itemprop="price"><?=number_format($dish->price,2)?></span>
										</a>
										<?=$dish->description ? ' - '.$dish->description : ''?>&nbsp;
									</p>
								</li>
							<? endforeach ; ?>
						</ul>
					<? endforeach ; ?>
				</div>
			</div>
		<? endif ; ?>
	<? elseif ($this->community->id_community) : ?>
		<?
			$this->title = $this->community->name.' Food Delivery | Order Food from '.($this->community->name_alt() ? $this->community->name_alt() : 'Local').' Restaurants | Crunchbutton';
		?>

		<div class="restaurants-bubble-wrap">
			<div class="bubble-tail bubble-tail-green">
				<div class="text">
					<h1>Push a button.<br />
					Get food.&nbsp;&nbsp;&nbsp;&nbsp;</h1>
				</div>
			</div>
			<div class="restaurants-orange"></div>
			<div class="divider"></div>
			<? if ($bot) : ?>
				<div class="restaurants-tagline">
					<h1><?=$this->community->name?> Food Delivery</h1>
					<h2>Choose a <?=$this->community->name_alt?> restaurant:</h2>
				</div>
				<div class="divider"></div>
			<? endif ; ?>		
		</div>

		<? if ($bot) : ?>

			<div class="content-padding">
				<div class="breadcrumb">
					<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
						<a href="/" itemprop="url">
							<span itemprop="title">Crunchbutton</span>
						</a>
					</span> &raquo; 
					<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
						<a href="/food-delivery" itemprop="url">
							<span itemprop="title">Order Food</span>
						</a>
					</span> &raquo; 
					<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
						<a href="/<?=$this->community->permalink?>" itemprop="url">
							<span itemprop="title"><?=$this->community->name?></span>
						</a>
					</span>
				</div>

				<br>

				<h4>You love <?=$this->community->name?>, we love <?=$this->community->name?>. We all win!</h4>
				<p>
					We go door to door signing up only the restaurants that the community really loves. We make sure that Crunchbutton has only <b>the best restaurants</b> and delivery food. Don'f forget the dessert!
					<br><br>
				</p>
				
				<h4>The best restaurants, curated by our expert team of reps</h4>
				<p>
					
					<? $restaurants = Restaurant::byRange([
						'lat' => c::db()->escape($this->community->loc_lat),
						'lon' => c::db()->escape($this->community->loc_lon),
						'range' => c::db()->escape(5),
					]); ?>
					<? foreach ($restaurants as $restaurant) : ?>
						<b><a href="/<?=$this->community->permalink?>/<?=$restaurant->permalink?>"><?=$restaurant->name?></a></b><br>
						<i><?=$restaurant->short_description?></i>
						<br><br>
					<? endforeach ; ?>
					
				</p>
				
			</div>

		<? endif ; ?>

	<? else : ?>
		<?
			$this->title = 'Food Delivery | Order from Local Restaurants | Crunchbutton';
		?>
	
		<div class="restaurants-bubble-wrap">
			<div class="bubble-tail bubble-tail-green">
				<div class="text">
					<h1 class="restaurants-push-tagline"><b>Push a button</b><br>Get food delivered</h1>
				</div>
				<div><!--adding the search bar here-->
				<script>
  (function() {
    var cx = '000532366889398702007:4m46z7qdzta';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
        '//www.google.com/cse/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:search></gcse:search>
				</div>
			</div>
			<div class="restaurants-orange"></div>
			<div class="divider"></div>			
			<? if ($bot) : ?>
				<div class="restaurants-tagline">
					<h1>Order the top local delivery food.</h1>
					<h2>Choose an  awesome restaurants</h2>
				</div>
				<div class="divider"></div>
			<? endif ; ?>
		</div>

		<? if ($bot) : ?>
			<div class="content-padding">
				<h4>The best curated menus for your community or college</h4>
				<p>
					Get the best local delivery food from 
					<? foreach (Community_Alias::q('select * from community') as $community) : ?>
						<b><a href="/<?=$community->permalink?>"><?=$community->name?></a></b>, 
					<? endforeach ; ?>
					.
					<br /><br />
				</p>
				
				<h4>Local delivery food on your iPhone, Android, or mobile device</h4>
				<p>
					Download <a href="https://itunes.apple.com/app/id721780390" target="_blank">Crunchbutton on the App Store</a> on iTunes for iPhone. 
					<br /><br />
				</p>

				<h4>Order <b>delivery</b> &amp; <b>takeout</b> using Crunchbutton on your iPhone, Android, or computer.</h4>
				<p>
					Order a <b>Wenzel</b>, your favorite <b>Pizza</b>, some General Tso's Chicken, or something else! Customize the toppings on your pizza and have it delivered to your home. Pepperoni, sausage, cheese, sauce, whatever! 
					Don't want pizza? How about other <b>Italian food</b> like pasta, or a sandwich? Build your own sandwich, or order a <b>Wenzel</b>. 
					We also have lots of <b>wings</b>, BBQ wings, spicy wings, hot wings, teriyaki wings.
					Or how about some appetizers, or deserts?
					<br /><br />
				</p>
				
				<h4>All sorts of junk food late night!</h4>
				<p>
					Love <b>Chinese food</b> or <b>asian food</b>? Have some Pad Thai, or fried rice, or egg rolls. 
					O! Don't forget <b>sushi</b>! Get some sushi delivered online. 
					<b> Mediterranean food</b>! Falafel, soup, hummus, Grape Leaves, and some Baba Ghannoush!
					<br /><br />
				</p>
			</div>
	
			<div itemscope itemtype="http://schema.org/localbusiness">
				<link itemprop="url" href="/"/>
				<link itemprop="image" href="/assets/images/appicon.png"/>
				<link itemprop="photo" href="/assets/images/appicon.png"/>
				<meta itemprop="name" content="Crunchbutton"/>
			</div>

		<? endif ; ?>
	
	<? endif ; ?>
</div>

<? if ($bot) : ?>
<script>
$ = null;
</script>
<? endif ; ?>
</html>
<commit_msg>partial #4508<commit_after><!DOCTYPE html>
<head>
<script type="application/ld+json">
{
   "@context": "http://schema.org",
   "@type": "WebSite",
   "url": "http://dev.crunchr.co/?__seo=1",
   "potentialAction": {
     "@type": "SearchAction",
     "target": "http://dev.crunchr.co/?__seo=1&q={search_term_string}",
     "query-input": "required name=search_term_string"
   }
}
</script>
</head>
<?
	$bot = c::app()->isBot() || $_REQUEST['__seo'];
	
?>

<div class="top-pad"></div>

<div class="home-text">
	
	<? if ($this->restaurant->id_restaurant) : ?>

		<?
			$this->title = $this->restaurant->name.' | '.($this->community->id_community ? $this->community->name : 'Local').' Food Delivery | Order from '.($this->community->id_community && $this->community->name_alt() ? $this->community->name_alt() : 'Local').' Restaurants | Crunchbutton';
		?>

		<? if ($bot) : ?>
		
			<div class="restaurants-bubble-wrap">
				<div class="bubble-tail bubble-tail-green">
					<div class="text">
						<h1 itemprop="name">Push a button<br />
						Get food delivered&nbsp;&nbsp;&nbsp;&nbsp;</h1>
					</div>
				</div>
				<div class="restaurants-orange"></div>
				<div class="divider"></div>
				<div class="restaurants-tagline">
					<h1><?=$this->restaurant->name?> Food Delivery</h1>
					<h2>Delivery and Takeout Menu</h2>
				</div>
				<div class="divider"></div>
			</div>

			<div class="content-padding">
				<div class="home-text">
					<div class="breadcrumb">
						<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
							<a href="/" itemprop="url">
								<span itemprop="title">Crunchbutton</span>
							</a>
						</span> &raquo; 
						<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
							<a href="/food-delivery" itemprop="url">
								<span itemprop="title">Food Delivery</span>
							</a>
						</span> &raquo; 
						<? if ($this->community->id_community) : ?>
							<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
								<a href="/<?=$this->community->permalink?>" itemprop="url">
									<span itemprop="title"><?=$this->community->name?></span>
								</a>
							</span> &raquo; 
						<? endif ; ?>
						<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
							<a href="/<?=$this->community->permalink?>/<?=$this->restaurant->permalink?>" itemprop="url">
								<span itemprop="title"><b><?=$this->restaurant->name?></b></span>
							</a>
						</span>
					</div>
				</div>
	
				<div itemscope itemtype="http://schema.org/restaurant">
			
					<link itemprop="url" href="/<?=$this->community->permalink?>/<?=$this->restaurant->permalink?>"/>
					<link itemprop="image" href="<?=$this->restaurant->image() ? $this->restaurant->publicImagePath().$this->restaurant->image()->getFileName() : ''?>"/>
					<link itemprop="photo" href="<?=$this->restaurant->image() ? $this->restaurant->publicImagePath().$this->restaurant->image()->getFileName() : ''?>"/>
					
					<br><br>
					<img width="100%" src="<?=$this->restaurant->image() ? $this->restaurant->publicImagePath().$this->restaurant->image()->getFileName() : ''?>" title="<?=$this->restaurant->name?>" alt="<?=$this->restaurant->name?>">

					<meta itemprop="priceRange" content="<?=$this->restaurant->priceRange()?>">
					<div itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
						<meta itemprop="longitude" content="<?=$this->restaurant->loc_lat?>">
						<meta itemprop="latitude" content="<?=$this->restaurant->loc_long?>">
					</div>
			
					<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
						<meta itemprop="ratingValue" content="5.0">
						<meta itemprop="reviewCount" content="<?=$this->restaurant->ratingCount()?>">
					</div>
	
					<? foreach ($this->restaurant->categories() as $category) : ?>
						<br><h4><?=$category->name()?></h4>
						<ul date-id_category="1">
	
							<? foreach ($category->dishes() as $dish) : ?>
								<li itemscope itemtype="http://data-vocabulary.org/Product">
									<meta itemprop="image" content="http://<?=$_SERVER['HTTP_HOST']?><?=$this->restaurant->image() ? $this->restaurant->publicImagePath().$this->restaurant->image()->getFileName() : ''?>" />
									<? if ($dish->description) : ?>
										<meta itemprop="description" content="<?=$dish->description?>" />
									<? endif ; ?>
									<meta itemprop="category" content="<?=$category->name()?>" />
									<meta itemprop="availability" content="in_stock" />
	
									<? if ($dish->ratingCount()) : ?>
										<span itemprop="review" itemscope itemtype="http://data-vocabulary.org/Review-aggregate">
											<meta itemprop="rating" content="5">
											<meta itemprop="count" content="<?=$dish->ratingCount()?>">
										</span>
									<? endif ; ?>
	
									<p>
										<a href="#<?=$dish->name?>" data-id_dish="1">
											<span itemprop="name"><b><?=$dish->name?></b></span>&nbsp;&nbsp;$<span itemprop="price"><?=number_format($dish->price,2)?></span>
										</a>
										<?=$dish->description ? ' - '.$dish->description : ''?>&nbsp;
									</p>
								</li>
							<? endforeach ; ?>
						</ul>
					<? endforeach ; ?>
				</div>
			</div>
		<? endif ; ?>
	<? elseif ($this->community->id_community) : ?>
		<?
			$this->title = $this->community->name.' Food Delivery | Order Food from '.($this->community->name_alt() ? $this->community->name_alt() : 'Local').' Restaurants | Crunchbutton';
		?>

		<div class="restaurants-bubble-wrap">
			<div class="bubble-tail bubble-tail-green">
				<div class="text">
					<h1>Push a button.<br />
					Get food.&nbsp;&nbsp;&nbsp;&nbsp;</h1>
				</div>
			</div>
			<div class="restaurants-orange"></div>
			<div class="divider"></div>
			<? if ($bot) : ?>
				<div class="restaurants-tagline">
					<h1><?=$this->community->name?> Food Delivery</h1>
					<h2>Choose a <?=$this->community->name_alt?> restaurant:</h2>
				</div>
				<div class="divider"></div>
			<? endif ; ?>		
		</div>

		<? if ($bot) : ?>

			<div class="content-padding">
				<div class="breadcrumb">
					<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
						<a href="/" itemprop="url">
							<span itemprop="title">Crunchbutton</span>
						</a>
					</span> &raquo; 
					<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
						<a href="/food-delivery" itemprop="url">
							<span itemprop="title">Order Food</span>
						</a>
					</span> &raquo; 
					<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
						<a href="/<?=$this->community->permalink?>" itemprop="url">
							<span itemprop="title"><?=$this->community->name?></span>
						</a>
					</span>
				</div>

				<br>

				<h4>You love <?=$this->community->name?>, we love <?=$this->community->name?>. We all win!</h4>
				<p>
					We go door to door signing up only the restaurants that the community really loves. We make sure that Crunchbutton has only <b>the best restaurants</b> and delivery food. Don'f forget the dessert!
					<br><br>
				</p>
				
				<h4>The best restaurants, curated by our expert team of reps</h4>
				<p>
					
					<? $restaurants = Restaurant::byRange([
						'lat' => c::db()->escape($this->community->loc_lat),
						'lon' => c::db()->escape($this->community->loc_lon),
						'range' => c::db()->escape(5),
					]); ?>
					<? foreach ($restaurants as $restaurant) : ?>
						<b><a href="/<?=$this->community->permalink?>/<?=$restaurant->permalink?>"><?=$restaurant->name?></a></b><br>
						<i><?=$restaurant->short_description?></i>
						<br><br>
					<? endforeach ; ?>
					
				</p>
				
			</div>

		<? endif ; ?>

	<? else : ?>
		<?
			$this->title = 'Food Delivery | Order from Local Restaurants | Crunchbutton';
		?>
	
		<div class="restaurants-bubble-wrap">
			<div class="bubble-tail bubble-tail-green">
				<div class="text">
					<h1 class="restaurants-push-tagline"><b>Push a button</b><br>Get food delivered</h1>
				</div>
				<div><!--adding the search bar here-->
				<script>
  (function() {
    var cx = '000532366889398702007:4m46z7qdzta';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
        '//www.google.com/cse/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:search></gcse:search>
				</div>
			</div>
			<div class="restaurants-orange"></div>
			<div class="divider"></div>			
			<? if ($bot) : ?>
				<div class="restaurants-tagline">
					<h1>Order the top local delivery food.</h1>
					<h2>Choose an  awesome restaurants</h2>
				</div>
				<div class="divider"></div>
			<? endif ; ?>
		</div>

		<? if ($bot) : ?>
			<div class="content-padding">
				<h4>The best curated menus for your community or college</h4>
				<p>
					Get the best local delivery food from 
					<? foreach (Community_Alias::q('select * from community') as $community) : ?>
						<b><a href="/<?=$community->permalink?>"><?=$community->name?></a></b>, 
					<? endforeach ; ?>
					.
					<br /><br />
				</p>
				
				<h4>Local delivery food on your iPhone, Android, or mobile device</h4>
				<p>
					Download <a href="https://itunes.apple.com/app/id721780390" target="_blank">Crunchbutton on the App Store</a> on iTunes for iPhone. 
					<br /><br />
				</p>

				<h4>Order <b>delivery</b> &amp; <b>takeout</b> using Crunchbutton on your iPhone, Android, or computer.</h4>
				<p>
					Order a <b>Wenzel</b>, your favorite <b>Pizza</b>, some General Tso's Chicken, or something else! Customize the toppings on your pizza and have it delivered to your home. Pepperoni, sausage, cheese, sauce, whatever! 
					Don't want pizza? How about other <b>Italian food</b> like pasta, or a sandwich? Build your own sandwich, or order a <b>Wenzel</b>. 
					We also have lots of <b>wings</b>, BBQ wings, spicy wings, hot wings, teriyaki wings.
					Or how about some appetizers, or deserts?
					<br /><br />
				</p>
				
				<h4>All sorts of junk food late night!</h4>
				<p>
					Love <b>Chinese food</b> or <b>asian food</b>? Have some Pad Thai, or fried rice, or egg rolls. 
					O! Don't forget <b>sushi</b>! Get some sushi delivered online. 
					<b> Mediterranean food</b>! Falafel, soup, hummus, Grape Leaves, and some Baba Ghannoush!
					<br /><br />
				</p>
			</div>
	
			<div itemscope itemtype="http://schema.org/localbusiness">
				<link itemprop="url" href="/"/>
				<link itemprop="image" href="/assets/images/appicon.png"/>
				<link itemprop="photo" href="/assets/images/appicon.png"/>
				<meta itemprop="name" content="Crunchbutton"/>
			</div>

		<? endif ; ?>
	
	<? endif ; ?>
</div>

<? if ($bot) : ?>
<script>
$ = null;
</script>
<? endif ; ?>
</html>

{'fraction_non_alphanumeric': 0.21605933569816188, 'fraction_numerical': 0.007463030358870411, 'mean_word_length': 3.1980274608392962, 'pattern_counts': {'":': 14, '<': 675, '<?xml version=': 0, '>': 929, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '524569', 'n_tokens_mistral': 9426, 'n_tokens_neox': 7321, 'n_words': 1421}