Commits

ouxuedong committed ba132c2

removed nouse templates file

  • Participants
  • Parent commits 83e4cab

Comments (0)

Files changed (5)

src/templates/activities.html

-{% extends "layout.html" %}
-{% from '_macros.html' import all_activity_list %}
-
-{% block body -%}
-
-{{ all_activity_list(activities) }}
-
-{%- endblock %}

src/templates/activity.html

-{% extends "layout.html" %}
-
-{% from '_macros.html' import user_list %}
-
-{% block body -%}
-
-  <div id="maincont" class="ovfl-hidden">
-    <section class="leftsec fl">
-    
-	  <section class="video rel"> 
-
-      <img src="{{ url_for('static', filename='img/'+activity.picture) }}" width="691" height="391" alt="img">
-      <div class="label"> {{ activity.discount }}% <br /><span>off</span>
-      </div>
-      </section>
-      
-      <section class="featureoffer ovfl-hidden" style="width:510px;">
-      <h2 class="head2">{{ activity.desc }}</h2>
-      <span class="time"></span>
-      <div class="social">
-            <ul class="socialicon2 fl reset ovfl-hidden">
-            <li>
-            </ul>
-            <div class="rigsec fr" style="margin-top:25px;"> <a href="{{ url_for('downcoupon', activityid=activity.key(), phonenum='13430399770')}}" class="greenbtn"><span>下载优惠券</span></a> </div>
-            <div class="clr"></div>
-<br />
-<div class="ovfl-hidden"> 
-            <strong>优惠详情:<br>
-                {{ activity.desc }}
-                <br/>
-                {{ activity.place }}
-            </strong>
-            </div>
-                  
-
-<br>
-<br>
-	
-<br>
-<br>
--
-  <div class="rigsec fr" style="margin-top:25px;"> <a href="{{ url_for('downcoupon', activityid=activity.key(), phonenum='13430399770')}}" class="greenbtn"><span>下载优惠券</span></a> </div>
- <div class="clr"></div> 
-  <nav class="pagination ovfl-hidden">
-        </nav>          
-          </div>
-      
-      </section>
-    </section>
-
-</div>
-
-{%- endblock %}

src/templates/cankao.htm

-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- 
-<!-- <title>view offer</title> -->
-<title> 10%  off at Angelina Café</title>
-
-<!-- <meta name="description" content="view offer" /> -->
-<meta name="description" content="DailyGobble presents 10% off 3:00 pm to 6:00 pm at Angelina Café 36 Avenue A New York, NY" />
-<meta name="keywords" content="view offer" />
-<!--main css-->
-
-<link rel="shortcut icon" type="image/x-icon" href="http://www.dailygobble.com/templates/default/favicon.ico" />
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/html5.js"></script>
-<!-- Website title -->
-
-<!--Attached css-->
-
-<link href="http://www.dailygobble.com/templates/default/css/site/main.css" rel="stylesheet" type="text/css">
-<link href="http://www.dailygobble.com/templates/default/css/site/basic.css" rel="stylesheet" type="text/css">
-<!--Attached fevicon-->
-<link rel="shortcut icon" type="http://www.dailygobble.com/templates/default/images/x-icon" href="favicon.ico">
-
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/jquery-1.4.2.min.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/customform.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/jquery-effect.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/jquery-ui.min.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/jquery.validate.pack.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/dropdownmenu.js"></script>
-<!--<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/jquery.validate.js"></script>-->
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/remote.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/city_select.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/js/facebox/facebox.js"></script>
-<!--<script type="text/javascript" language="JavaScript" src="http://www.dailygobble.com/js/landingpage.js"></script>-->
-<!--<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>-->
-<link href="http://www.dailygobble.com/js/facebox/facebox.css" rel="stylesheet" type="text/css" media="screen"/>
-<link href="http://www.dailygobble.com/templates/default/css/calendar-win2k-1.css" rel="stylesheet" type="text/css" />
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/validation/login.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/js/selectmenu.js"></script>
-<!--	END   -->
-
-<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
-
-<script type="text/javascript">
-   function offline_access_box(){
-      FB.getLoginStatus(function(response) {
-         if (response.session) {
-//            alert(response.session);
-             $.post(SITEROOT + "/fb_connect.php",'',function(data){
-                  window.location.href = window.location.href;
-            },'html');
-         } else {
-            // no user session available, someone you dont know
-         }
-      });
-   }
-</script>
-
-
-
-<script type="text/javascript">
-/* $(document).ready(function(){
-    $(".myselect").selectbox();
-//     if($_SESSION['rEsT_LoGiN']!="")
-// 		{
-// 		rest_login();
-// 	}
-});	*/
-
-function hidemessage()
-{
-    $('#successmsg').hide();
-}
-
-function hide_error_msg()
-{
-    $('#sorry_popup').hide();
-}
-function hide_succ_msg()
-{
-    $('#success_popup').hide();
-}
-
-function showhide(id)
-{
-
-   if(id==2)
-   {	
-       $("#popup_bg").hide();
-       //window.location.href=SITEROOT+"/modules/deal.php";
-   } 
-
-}
-
-function setconfirm()
-{
-	 $("#popup_bg").show(); 
-
-}
-
-function hideapp_popup()
-{
-       $("#popup_appl").hide();
-}
-
-function showapp_popup()
-{
-     $("#popup_appl").show(); 
-
-}
-//-----------------------Image backgraound function------------
-function settoPass(obj)
-{
-   obj.type="password";
-}
-
-function settoText(obj)
-{
-   obj.type="text";
-}
-
-function settobg(obj,clsname)
-{
-  obj.className=clsname;
-}
-
-function settononbg(obj,clsname)
-{
-   obj.className=clsname;
-}
-
-//--------------------end code--------------------------------
-</script>
-<script type="text/javascript">
-    var SITEROOT = 'http://www.dailygobble.com';
-    var TEMPLATEDIR = 'default';
-</script>
-
-
-</head>
-<body>
-
-
-<!--       javascript disable error code   -->
-	<noscript>
-       <meta http-equiv="refresh" content="0;URL=http://www.dailygobble.com/checkbrowser.php" />
-   </noscript>
-<!--       end javascript disable error code   -->
-
-<!-- application download popup -->
-<div class="popupmain" style="display:none" id="popup_appl">
-<section class="round1 popup_main shadow1">
- <h5>CHOOSE YOUR DEVICE<a href="javascript:void(0);" onclick="javascript:hideapp_popup();"></a></h5>
- <section style="width:220px; margin:0 auto">
- <div class="popup_iphone">
- <p>iPhone</p>
- <img src="http://www.dailygobble.com/templates/default/images/iphone.png" title="" alt="" class="images_option" style="width:35px"/>
- <a href="http://itunes.apple.com/us/app/dailygobble/id432062095?mt=8" target="_blank" class="download_apps"></a>
- </div>
- <div class="androide">
-  <p>Android</p>
- <img src="http://www.dailygobble.com/templates/default/images/android2.png" title="" alt="" class="images_option" style="width:52px"/>
- <a href="https://market.android.com/details?id=com.ingress.android.deals.activities&feature=search_result" target="_blank" class="download_apps"></a>
- </div>
- </section>
-</section>
-</div>
-<!-- application download popup -->
-
- <!-- sorry error msg popup -->
-<!-- sorry error msg popup -->
-<!--*******************sign in and sign up popup code**********************-->
-<div id="saction" class="popupmain transbg" style="display:none;">
-    <section class="loginmain rel">
-        <div class="top1"><div></div></div>
-        <div class="bg1 ovfl-hidden">
-        <div align="center" id="saction" style="padding:30px 0px"><div style="margin-bottom:20px"><img src="http://www.dailygobble.com/templates/default/images/ajax-loader.gif"/> </div><div class="text">Page is loading please do not refresh</span></div>
-        </div>
-        </div>
-        <div class="end1"><div></div></div>
-     </section>
-</div>
-<div class="popupmain"  style="display:none;"  id="popup_bg">
-<section class="loginmain rel">
-<div class="top1"><div></div></div>
-<div class="bg1 ovfl-hidden">
-<div id="signupin">
-<a href="javascript:void(0);" onclick="javascript:showhide(2);" class="closeicon"></a>
-<form method="POST" name="login" id="login">
-<div class="leftside fl">
-<h1 class="head">Log In</h1>
-
-<div id="fb-root"></div>
-<div style="margin-bottom:18px;">
-
-<script language="javascript" type="text/javascript">
-   FB.init({ 
-      appId:'118192824927419',
-      cookie:true,
-      status:true,
-      xfbml:true
-   });
-</script>
-
-<fb:login-button v="2" onlogin="offline_access_box();" perms="email"><fb:intl>Connect with Facebook</fb:intl></fb:login-button>
-</div>	
-    <ul class="reset formpopup">
-    <li>
-    <div class="field">
-    <input type="text" name="email" id="email" value="Email" onBlur="if(this.value=='')this.value='Email';" onFocus="if(this.value=='Email')this.value='';"/>
-    </div>
-   <div htmlfor="email" generated="true" class="error"> </div>
-    </li>
-    <li>
-    <div class="field">
-        <input type="password" name="pass" id="pass" maxlength="50" class="password" value=""  onblur="if(this.value==''){settobg(this,'password');}" onfocus="if(this.value==''){settononbg(this,'nonebgpassword');}"/>
-    </div>
-    <div htmlfor="pass" generated="true" class="error"> </div>
-    </li>
-    <li>
-      <a href="http://www.dailygobble.com/login/forgotpassword">Forgot password?</a></li>
-      <li>
-      <div class="greenbtn" style="float:left; margin-top:19px;"><input name="login" id="login" type="submit" value="Log In" style="width:120px; border:0px;"></div>
-      </li>
-    </ul>
-
-</div>
-</form>
-<form method="POST" name="signup" id="signup">
-<div class="rightside fr">
-<h1 class="head" style="margin-bottom:30px;">Sign Up</h1>
-	
-    <ul class="reset formpopup" style="margin-top:29px;">
-    <li>
-    <div class="field">
-    <input type="text" name="first_name" id="first_name" value="First name" onBlur="if(this.value=='')this.value='First name';" onFocus="if(this.value=='First name')this.value='';"/>
-    </div>
-    <div htmlfor="first_name" generated="true" class="error"> </div>
-    </li>
-      <li>
-    <div class="field">
-    <input type="text" name="last_name" id="last_name" value="Last Name" onBlur="if(this.value=='')this.value='Last Name';" onFocus="if(this.value=='Last Name')this.value='';"/>
-    </div>
-    <div htmlfor="last_name" generated="true" class="error"> </div>
-    </li>
-     <li>
-    <div class="field">
-    <input type="text" name="emaill" id="emaill" value="Email" onBlur="if(this.value=='')this.value='Email';" onFocus="if(this.value=='Email')this.value='';"/>
-    </div>
-    <div htmlfor="emaill" generated="true" class="error"> </div>
-    </li>
-    <li>
-    <div class="field">
-    <input type="password" name="pass1" id="pass1" maxlength="50" class="password" value=""  onblur="if(this.value==''){settobg(this,'password');}" onfocus="if(this.value==''){settononbg(this,'nonebgpassword');}"/>
-    </div>
-    <div htmlfor="pass1" generated="true" class="error"> </div>
-    </li>
-   
-    <li>
-      <li>
-      <div class="greenbtn" style="float:left; "><input name="sign_up" id="sign_up" type="submit" value="Sign Up" style="width:120px;border:0px;"></div>
-      </li>
-    </ul>
-    
-</div>
-</form>
-</div>
-
-</div>
-
-<div class="end1"><div></div></div>
-
-</section>
-</div>
-<!--*******************End**********************-->
-<!-- **************************rest_login********************** -->
-<div id="rest_login"></div>
-<script>function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}</script>
-
-<!-- sorry error msg popup -->
-
-    <div class="popupmain" id="sorry_popup" style="display:none;">
-    <section class="invitemain rel">
-    <div class="top2"><div></div></div>
-    <div class="bg2 ovfl-hidden">
-    <a href="javascript:void(0);" onclick="javascript:hide_error_msg();" class="closeicon"></a>
-    
-    <h1 class="head">SORRY!</h1>
-    <p>This offer is Sold Out</p>
-    <br>
-    <br>
-    <br>
-    </div>
-    <div class="end2"><div></div></div>
-    
-    </section>
-    </div>
-
-<!-- sorry error msg popup -->
-
-<script type="text/javascript">
- function claimmsg(offer_id,cstatus)
-    {
-            jQuery.facebox.settings.loadingImage = SITEROOT + "js/facebox/images/loading.gif";
-            jQuery.facebox.settings.closeImage   = SITEROOT + "/js/facebox/closelabel.png";
-            jQuery.facebox.settings.overlay      = true;
-            jQuery.facebox.settings.opacity      = 0.3;
-            jQuery.facebox({ajax:SITEROOT+'/modules/deal/confirmoffer.php?offer_id='+offer_id+'&ccard='+cstatus});
-    }
- function souldoutmsg()
- {
-    $("#sorry_popup").show();
- }
- //--------credit card last four digit requirment-----------
- function ccardnumber(offer_id,cstatus)
- {
- 	jQuery.facebox.settings.loadingImage = SITEROOT + "js/facebox/images/loading.gif";
-            jQuery.facebox.settings.closeImage   = SITEROOT + "/js/facebox/closelabel.png";
-            jQuery.facebox.settings.overlay      = true;
-            jQuery.facebox.settings.opacity      = 0.3;
-            jQuery.facebox({ajax:SITEROOT+'/modules/deal/askcreditcardno.php?offer_id='+offer_id+'&ccard='+cstatus});
- }
- </script>
-
-    <div class="mainwrapper">
-<!-- main continer of the page -->
-	<div id="wrapper"> 
-    <!-- header container starts here-->
-    <header>
-      <div class="headtop">
-      <div class="logo"><a href="http://www.dailygobble.com">&nbsp;</a></div>
-      <section class="fr">
-        <table border="0" cellspacing="0" cellpadding="0" align="right">
-          <tr>
-            <td>
-                <ul class="socialicon fl reset">
-                  <li><a href="mailto:?subject=&amp;body=http://www.dailygobble.com" class="email"></a></li>
-                 <!-- <li><a href="http://www.facebook.com/slickeats" class="fb" target="_blank"></a></li>-->
-                 <li><a href="http://www.facebook.com/dailygobble" class="fb" target="_blank"></a></li>
-                  <li><a href="http://twitter.com/#!/dailygobble" class="twitter" target="_blank"></a></li>
-                </ul>
-                <ul class="afterlogin fr reset">
-                <li>
-                <div class="loginsec">
-                                <div><a href="javascript:void(0);" onclick="javascript:setconfirm();">LOG IN</a> &nbsp;&nbsp;|&nbsp;&nbsp; 
-                  <a href="javascript:void(0);" onclick="javascript:setconfirm();">SIGN UP</a></div>
-              	 	
-                </li>
-                </ul>
-
-              <div class="clr"></div></td>
-          </tr>
-        </table>
-      </section>
-      <div class="clr"></div>
-      <nav class="fl">
-        <ul class="topnav">
-          <li><a href="http://www.dailygobble.com/how-it-works" ><span>HOW IT WORKS</span></a></li>
-          <li><a href="http://www.dailygobble.com/deal"  class="active" ><span>TODAY'S DEALS</span></a></li>
-          <li><a href="http://www.dailygobble.com/my-gobbles/ro" ><span>MY GOBBLES</span></a></li>
-          <li><a href="http://www.dailygobble.com/deal/deal-map" ><span>MAP</span></a></li>
-          <li class="last" style="padding-right:0px;">
-
-          <span class="dropdownbg2">
-          <select name="abc" class="select" onchange="javascript:selectcity(this.value);">
-                            <option  value="16" >Astoria</option>
-                            <option  value="37" >Atlanta</option>
-                            <option  value="42" >Bayside</option>
-                            <option  value="27" >Belmont</option>
-                            <option  value="7" >Brooklyn</option>
-                            <option  value="11" >Burlingame</option>
-                            <option  value="8" >Campbell</option>
-                            <option  value="29" >Daly City</option>
-                            <option  value="35" >Decatur</option>
-                            <option  value="36" >Dunwoody</option>
-                            <option  value="28" >Elmhurst City</option>
-                            <option  value="30" >Flushing</option>
-                            <option  value="14" >Forest Hills</option>
-                            <option  value="40" >Foster City</option>
-                            <option  value="31" >Fresh Meadows</option>
-                            <option  value="3" >Harbor City</option>
-                            <option  value="39" >Hoboken</option>
-                            <option  value="17" >Jackson Heights</option>
-                            <option  value="22" >Long Island</option>
-                            <option  value="41" >Los Altos</option>
-                            <option  value="32" >Manhasset</option>
-                            <option  value="26" >Manhattan</option>
-                            <option  value="38" >Marietta</option>
-                            <option  value="21" >Menlo Park</option>
-                            <option  value="12" >Millbrae</option>
-                            <option  value="25" >Mountain View</option>
-                            <option  selected="selected"  value="4" >New York</option>
-                            <option  value="10" >Palo Alto</option>
-                            <option  value="23" >Queens</option>
-                            <option  value="18" >Redwood City</option>
-                            <option  value="20" >Rego Park</option>
-                            <option  value="34" >San Carlos</option>
-                            <option  value="6" >San Francisco</option>
-                            <option  value="19" >San Jose</option>
-                            <option  value="13" >San Mateo</option>
-                            <option  value="9" >Santa Clara</option>
-                            <option  value="33" >Staten Island</option>
-                            <option  value="15" >Sunnyvale</option>
-          		 </select>
-         </span>
-          </li>
-        </ul>
-        <div class="clr"></div>
-      </nav>
-      <div class="clr"></div>
-    </div>
-  </header>
-  <!-- / header container ends here--> 
-   
- <!-- main container with changing content -->
-  <div id="maincont" class="ovfl-hidden">
-    <section class="leftsec fl">
-    
-		      <section class="video rel"> 
-      <img src="http://www.dailygobble.com/uploads/offer/big/1306866774.jpg" width="691" height="391" alt="img">
-      <div class="label"> 10% <br /><span>off</span>
-      </div>
-      
-       </section>
-             <section class="featureoffer ovfl-hidden" style="width:510px;">
-      
-          <h2 class="head2">10% off 3:00 pm to 6:00 pm at Angelina Café  </h2>
-          <span class="time"><!--April  8--> <!--3:00 pm to 6:00 pm--></span>
-          <div class="social">
-            
-            
-              <ul class="socialicon2 fl reset ovfl-hidden">
-                <li><a href="mailto:?subject=Offer - 10% off 3:00 pm to 6:00 pm&amp;body=Angelina Café,Location at 36 Avenue A,New York,NY 10002   http://www.dailygobble.com/deal/10-off-300-pm-to-600-pm/view-deal" class="email"></a></li>
-                <li><a href="http://www.facebook.com/share.php?u=http://www.dailygobble.com/deal/10-off-300-pm-to-600-pm/view-deal" target="_blank" onclick="return fbs_click()" class="fb"></a></li>
-                <li><a href="http://twitter.com/home?status=http://www.dailygobble.com/deal/10-off-300-pm-to-600-pm/view-deal" target="_blank" class="twitter"></a></li>
-                <li>
-                 <!--<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2F50.22.127.40%2F%7Eslickeat%2Fdeal&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; width:80px; height:20px; margin-top:3px; overflow:hidden;" allowTransparency="true"></iframe>-->
-                 <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.dailygobble.com&amp;send=false&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:20px;" allowTransparency="true"></iframe>
-                 <!--<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2F50.22.127.40%2F&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:65px;" allowTransparency="true"></iframe>--><!--<a href="#" class="likebtn">--></a></li>
-              </ul>
-
-
-			
-  <div class="rigsec fr" style="margin-top:25px;"> <a href="javascript:void(0);" class="greenbtn" 
-  	 
-					onclick="javascript:location='http://www.dailygobble.com/deal/2973-1308037527/confirm-claim'" 
-	><span>Get this deal</span></a> </div>
-				
-          
-            <div class="clr"></div>
-<br />
-<div class="ovfl-hidden"> 
-					<strong>Offer Details:<br>
-<p>Minimum purchase of $30 required. Dine in only.</p>
-<br>
-
-<!-- 					36 Avenue A,New York,NY 10002<br> -->
-36 Avenue A<br>
-New York, NY                     <ul class="reset consec">
-                      <li>(212) 533-7183</li>
-                      <li class="last"></li>
-                    </ul></strong>
-                  </div>
-                  
-
-<br>
-<br>
-	
-<br>
-<br>
--
-
-
-
-			
-  <div class="rigsec fr" style="margin-top:25px;"> <a href="javascript:void(0);" class="greenbtn" 
-  	 
-					onclick="javascript:location='http://www.dailygobble.com/deal/2973-1308037527/confirm-claim'" 
-	><span>Get this deal</span></a> </div>
- <div class="clr"></div> 
-  <nav class="pagination ovfl-hidden">
-        </nav>          
-          </div>
-      
-      </section>
-    </section>
-	<aside class="rightsec fr">
-      <section class="map">
-      <a href="http://www.dailygobble.com/deal/deal-map"><img src="http://www.dailygobble.com/templates/default/images/dealmap.png" width="286" height="391" alt="img"></a>
-<!--       <a href="http://www.dailygobble.com/deal/deal-map"><img src="http://www.dailygobble.com/uploads/gmap/deal_map_second.jpg" alt="img"></a> -->
-      <!--<iframe src="http://batchgeo.com/map/88ead4b3e77157d67a1df4a1a1175f5d" frameborder="0" width="286" height="300" style="border:1px solid #aaa;border-radius:10px;"></iframe></p><p><small>View <a href="http://batchgeo.com/map/88ead4b3e77157d67a1df4a1a1175f5d">full screen map</a></small>-->
-      </section>
-      <section class="rel">
-        <div class="rightcorner"></div>
-        <div class="iphone ovfl-hidden">
-          <div class="leftside fl"> <img src="http://www.dailygobble.com/templates/default/images/iphone.png" width="67" height="123" alt="img"> </div>
-          <div class="rightside fr"> <span class="green">GET DEALS<br/>ON THE GO!</span><br>
-          </div>
-          <div class="clr"></div>
-          <a href="javascript:void(0);" onclick="javascript:showapp_popup();" class="greenbtn" style="margin:-43px 25px 10px 0px;"><span>Download App</span></a> </div>
-          <!--<img src="http://www.dailygobble.com/templates/default/images/app_module.png" width="265" alt="img">-->
-      </section>
-      <section class="rel">
-        <div class="rightcorner"></div>
-        <h1 class="head">ITS SIMPLE! -<br> 3 EASY STEPS</h1>
-          <ul class="listing reset">
-    <li class="first">Find Deal at Local Restaurants.</li>
-    <li class="second">Enjoy Your Meal.</li>
-    <li class="third">Upload a photo of your check to My Gobbles or Email us at <a href="mailto:save@dailygobble.com?subject=Receipt%20Submission&amp;body=Hello%20GobbleTeam!%0A%0AI%20am%20submitting%20a%20receipt%20for%20one%20of%20My%20Gobbles.%20%20%0A%0AThanks">save@dailygobble.com</a></li>
-</ul>
-      </section>
-     <!-- <section class="rel">
-        <div class="rightcorner"></div>
-        <h1 class="head">GET AN EXTRA 10% OFF!<br>
-          INVITE FRIENDS!</h1>
-        Earn an extra 10% off your next<br>
-        visit for each referral you provide. <a href="http://www.dailygobble.com/refer-a-friend/refer-a-friend" class="greenbtn" style="margin:15px 71px 0px 0px;"><span>Invite friends</span></a>
-        <div class="clr"></div>
-      </section>-->
-      <section class="facebook"> 
-<!--       <img src="http://www.dailygobble.com/templates/default/images/facebook.png" width="283" height="271" alt="img">  -->
-      <!--      facebook find us code -->
-      
-     <!-- <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fdailygobble&amp;width=292&amp;colorscheme=light&amp;show_faces=true&amp;stream=false&amp;header=true&amp;height=62" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:271px;" allowTransparency="true"></iframe>-->
-     <!--<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>-->
-     
-     <fb:like-box href="http://www.facebook.com/dailygobble" width="292" show_faces="true" stream="false" header="true"></fb:like-box>
-     
-<!--      facebook find us code end -->
-      </section>
-    </aside>  </div>
-  <!-- main container ends here --> 
-
-<script type="text/javascript">
-function rest_login(val){
-    $.get(SITEROOT+'/modules/restaurateur/login.php', {page:val}, function(data) {
-        $('#rest_login').html(data);
-    });
-}
-</script>
-
-
-  <!-- footer container starts here-->
-  <footer> <a href="http://www.dailygobble.com">Home</a> &nbsp;|&nbsp; <a href="http://www.dailygobble.com/about-us">About us</a> &nbsp;|&nbsp; <a href="http://www.dailygobble.com/contact-us">Contact</a> &nbsp;|&nbsp; <a href="http://www.dailygobble.com/terms-and-conditions">Terms &amp; Conditions</a> &nbsp;|&nbsp; <a href="http://www.dailygobble.com/faq/faq">FAQ</a>  &nbsp;|&nbsp; <a href="javascript:void(0);" onclick="javascript:rest_login();">Restaurateur Login</a>    <p style="font-size:13px; margin-top:10px; font-weight:normal">Copyright &copy; 2011 dailygobble.com, All rights reserved.</p>
-  </footer>
-  <!-- footer container ends here--> 
-<!--   http://www.dailygobble.com/restaurateur/login -->
-</div>
-
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
-_gaq.push(['_setAccount', 'UA-21752041-1']);
-_gaq.push(['_setDomainName', '.dailygobble.com']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-
-<!-- begin olark code --><script type='text/javascript'>/*<![CDATA[*/window.olark||(function(i){var e=window,h=document,a=e.location.protocol=="https:"?"https:":"http:",g=i.name,b="load";(function(){e[g]=function(){(c.s=c.s||[]).push(arguments)};var c=e[g]._={},f=i.methods.length; while(f--){(function(j){e[g][j]=function(){e[g]("call",j,arguments)}})(i.methods[f])} c.l=i.loader;c.i=arguments.callee;c.f=setTimeout(function(){if(c.f){(new Image).src=a+"//"+c.l.replace(".js",".png")+"&"+escape(e.location.href)}c.f=null},20000);c.p={0:+new Date};c.P=function(j){c.p[j]=new Date-c.p[0]};function d(){c.P(b);e[g](b)}e.addEventListener?e.addEventListener(b,d,false):e.attachEvent("on"+b,d); (function(){function l(j){j="head";return["<",j,"></",j,"><",z,' onl'+'oad="var d=',B,";d.getElementsByTagName('head')[0].",y,"(d.",A,"('script')).",u,"='",a,"//",c.l,"'",'"',"></",z,">"].join("")}var z="body",s=h[z];if(!s){return setTimeout(arguments.callee,100)}c.P(1);var y="appendChild",A="createElement",u="src",r=h[A]("div"),G=r[y](h[A](g)),D=h[A]("iframe"),B="document",C="domain",q;r.style.display="none";s.insertBefore(r,s.firstChild).id=g;D.frameBorder="0";D.id=g+"-loader";if(/MSIE[ ]+6/.test(navigator.userAgent)){D.src="javascript:false"} D.allowTransparency="true";G[y](D);try{D.contentWindow[B].open()}catch(F){i[C]=h[C];q="javascript:var d="+B+".open();d.domain='"+h.domain+"';";D[u]=q+"void(0);"}try{var H=D.contentWindow[B];H.write(l());H.close()}catch(E){D[u]=q+'d.write("'+l().replace(/"/g,String.fromCharCode(92)+'"')+'");d.close();'}c.P(2)})()})()})({loader:(function(a){return "static.olark.com/jsclient/loader0.js?ts="+(a?a[1]:(+new Date))})(document.cookie.match(/olarkld=([0-9]+)/)),name:"olark",methods:["configure","extend","declare","identify"]});
-/* custom configuration goes here (www.olark.com/documentation) */
-olark.identify('9159-234-10-6325');/*]]>*/</script>
-<!-- end olark code -->
-</body>
-</html> 

src/templates/create_activity.html

-{% extends "layout.html" %}
-
-{% from '_macros.html' import show_errors %}
-
-{% block title -%}Create Activity{%- endblock %}
-
-{% block body %}
-<h2>Create Activity</h2>
-<form action="{{ url_for('create_activity') }}" method='post'>
-    {{ show_errors(g.errmsgs) }}
-    <table>
-        <tr>
-            <td>空置活动主题:</td>
-            <td><input name='title' value="{{ Title }}" /></td>
-        </tr>
-        <tr>
-            <td>活动开始时间:</td>
-            <td><input name='start' value="{{ start }}" placeholder='2000-06-01 18:00'/></td>
-        </tr>
-        <tr>
-            <td>活动地点:</td>
-            <td><input name='place' value="{{ Place }}" /></td>
-        </tr>
-        <tr>
-            <td>活动价格:</td>
-            <td><input name='price' value="{{ Price }}" /></td>
-        </tr>
-        <tr>
-            <td>相关图片:</td>
-            <td><input name='picture' value="{{ picture }}" /></td>
-        </tr>
-        <tr>
-            <td>折扣率:</td>
-            <td><input name='discount' value="{{ discount }}" /></td>
-        </tr>
-        <tr>
-            <td>城市:</td>
-            <td><input name='area' value="{{ area }}" /></td>
-        </tr>
-        <tr>
-            <td>优惠详情描述:</td>
-            <td><input name='desc' value="{{ desc }}" /></td>
-        </tr>
-
-        <tr>
-            <td></td>
-            <td><input type='submit' value='Create Activity' /></td>
-        </tr>
-    </table>
-</form>
-{%- endblock %}

src/templates/new.htm

-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- 
-<title>DailyGobble</title>
-
-<meta name="description" content="DailyGobble is an app for diners to receive discounts by sending us a photo of the receipt. No coupons to print, many local deals around New York and San Francisco. Download for free today!" />	
-<meta name="keywords" content="New York, San Fransisco, Bay Area, Dining, dining deals, off peak dining" />
-<!--main css-->
-
-<link rel="shortcut icon" type="image/x-icon" href="http://www.dailygobble.com/templates/default/favicon.ico" />
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/html5.js"></script>
-<!-- Website title -->
-
-<!--Attached css-->
-
-<link href="http://www.dailygobble.com/templates/default/css/site/main.css" rel="stylesheet" type="text/css">
-<link href="http://www.dailygobble.com/templates/default/css/site/basic.css" rel="stylesheet" type="text/css">
-<!--Attached fevicon-->
-<link rel="shortcut icon" type="http://www.dailygobble.com/templates/default/images/x-icon" href="favicon.ico">
-
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/jquery-1.4.2.min.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/customform.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/jquery-effect.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/jquery-ui.min.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/jquery.validate.pack.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/dropdownmenu.js"></script>
-<!--<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/jquery.validate.js"></script>-->
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/remote.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/city_select.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/js/facebox/facebox.js"></script>
-<!--<script type="text/javascript" language="JavaScript" src="http://www.dailygobble.com/js/landingpage.js"></script>-->
-<!--<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>-->
-<link href="http://www.dailygobble.com/js/facebox/facebox.css" rel="stylesheet" type="text/css" media="screen"/>
-<link href="http://www.dailygobble.com/templates/default/css/calendar-win2k-1.css" rel="stylesheet" type="text/css" />
-<script type="text/javascript" src="http://www.dailygobble.com/templates/default/js/validation/login.js"></script>
-<script type="text/javascript" src="http://www.dailygobble.com/js/selectmenu.js"></script>
-<!--	END   -->
-
-<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
-
-<script type="text/javascript">
-   function offline_access_box(){
-      FB.getLoginStatus(function(response) {
-         if (response.session) {
-//            alert(response.session);
-             $.post(SITEROOT + "/fb_connect.php",'',function(data){
-                  window.location.href = window.location.href;
-            },'html');
-         } else {
-            // no user session available, someone you dont know
-         }
-      });
-   }
-</script>
-
-
-
-<script type="text/javascript">
-/* $(document).ready(function(){
-    $(".myselect").selectbox();
-//     if($_SESSION['rEsT_LoGiN']!="")
-// 		{
-// 		rest_login();
-// 	}
-});	*/
-
-function hidemessage()
-{
-    $('#successmsg').hide();
-}
-
-function hide_error_msg()
-{
-    $('#sorry_popup').hide();
-}
-function hide_succ_msg()
-{
-    $('#success_popup').hide();
-}
-
-function showhide(id)
-{
-
-   if(id==2)
-   {	
-       $("#popup_bg").hide();
-       //window.location.href=SITEROOT+"/modules/deal.php";
-   } 
-
-}
-
-function setconfirm()
-{
-	 $("#popup_bg").show(); 
-
-}
-
-function hideapp_popup()
-{
-       $("#popup_appl").hide();
-}
-
-function showapp_popup()
-{
-     $("#popup_appl").show(); 
-
-}
-//-----------------------Image backgraound function------------
-function settoPass(obj)
-{
-   obj.type="password";
-}
-
-function settoText(obj)
-{
-   obj.type="text";
-}
-
-function settobg(obj,clsname)
-{
-  obj.className=clsname;
-}
-
-function settononbg(obj,clsname)
-{
-   obj.className=clsname;
-}
-
-//--------------------end code--------------------------------
-</script>
-<script type="text/javascript">
-    var SITEROOT = 'http://www.dailygobble.com';
-    var TEMPLATEDIR = 'default';
-</script>
-
-
-</head>
-<body>
-
-
-<!--       javascript disable error code   -->
-	<noscript>
-       <meta http-equiv="refresh" content="0;URL=http://www.dailygobble.com/checkbrowser.php" />
-   </noscript>
-<!--       end javascript disable error code   -->
-
-<!-- application download popup -->
-<div class="popupmain" style="display:none" id="popup_appl">
-<section class="round1 popup_main shadow1">
- <h5>CHOOSE YOUR DEVICE<a href="javascript:void(0);" onclick="javascript:hideapp_popup();"></a></h5>
- <section style="width:220px; margin:0 auto">
- <div class="popup_iphone">
- <p>iPhone</p>
- <img src="http://www.dailygobble.com/templates/default/images/iphone.png" title="" alt="" class="images_option" style="width:35px"/>
- <a href="http://itunes.apple.com/us/app/dailygobble/id432062095?mt=8" target="_blank" class="download_apps"></a>
- </div>
- <div class="androide">
-  <p>Android</p>
- <img src="http://www.dailygobble.com/templates/default/images/android2.png" title="" alt="" class="images_option" style="width:52px"/>
- <a href="https://market.android.com/details?id=com.ingress.android.deals.activities&feature=search_result" target="_blank" class="download_apps"></a>
- </div>
- </section>
-</section>
-</div>
-<!-- application download popup -->
-
- <!-- sorry error msg popup -->
-<!-- sorry error msg popup -->
-<!--*******************sign in and sign up popup code**********************-->
-<div id="saction" class="popupmain transbg" style="display:none;">
-    <section class="loginmain rel">
-        <div class="top1"><div></div></div>
-        <div class="bg1 ovfl-hidden">
-        <div align="center" id="saction" style="padding:30px 0px"><div style="margin-bottom:20px"><img src="http://www.dailygobble.com/templates/default/images/ajax-loader.gif"/> </div><div class="text">Page is loading please do not refresh</span></div>
-        </div>
-        </div>
-        <div class="end1"><div></div></div>
-     </section>
-</div>
-<div class="popupmain"  style="display:none;"  id="popup_bg">
-<section class="loginmain rel">
-<div class="top1"><div></div></div>
-<div class="bg1 ovfl-hidden">
-<div id="signupin">
-<a href="javascript:void(0);" onclick="javascript:showhide(2);" class="closeicon"></a>
-<form method="POST" name="login" id="login">
-<div class="leftside fl">
-<h1 class="head">Log In</h1>
-
-<div id="fb-root"></div>
-<div style="margin-bottom:18px;">
-
-<script language="javascript" type="text/javascript">
-   FB.init({ 
-      appId:'118192824927419',
-      cookie:true,
-      status:true,
-      xfbml:true
-   });
-</script>
-
-<fb:login-button v="2" onlogin="offline_access_box();" perms="email"><fb:intl>Connect with Facebook</fb:intl></fb:login-button>
-</div>	
-    <ul class="reset formpopup">
-    <li>
-    <div class="field">
-    <input type="text" name="email" id="email" value="Email" onBlur="if(this.value=='')this.value='Email';" onFocus="if(this.value=='Email')this.value='';"/>
-    </div>
-   <div htmlfor="email" generated="true" class="error"> </div>
-    </li>
-    <li>
-    <div class="field">
-        <input type="password" name="pass" id="pass" maxlength="50" class="password" value=""  onblur="if(this.value==''){settobg(this,'password');}" onfocus="if(this.value==''){settononbg(this,'nonebgpassword');}"/>
-    </div>
-    <div htmlfor="pass" generated="true" class="error"> </div>
-    </li>
-    <li>
-      <a href="http://www.dailygobble.com/login/forgotpassword">Forgot password?</a></li>
-      <li>
-      <div class="greenbtn" style="float:left; margin-top:19px;"><input name="login" id="login" type="submit" value="Log In" style="width:120px; border:0px;"></div>
-      </li>
-    </ul>
-
-</div>
-</form>
-<form method="POST" name="signup" id="signup">
-<div class="rightside fr">
-<h1 class="head" style="margin-bottom:30px;">Sign Up</h1>
-	
-    <ul class="reset formpopup" style="margin-top:29px;">
-    <li>
-    <div class="field">
-    <input type="text" name="first_name" id="first_name" value="First name" onBlur="if(this.value=='')this.value='First name';" onFocus="if(this.value=='First name')this.value='';"/>
-    </div>
-    <div htmlfor="first_name" generated="true" class="error"> </div>
-    </li>
-      <li>
-    <div class="field">
-    <input type="text" name="last_name" id="last_name" value="Last Name" onBlur="if(this.value=='')this.value='Last Name';" onFocus="if(this.value=='Last Name')this.value='';"/>
-    </div>
-    <div htmlfor="last_name" generated="true" class="error"> </div>
-    </li>
-     <li>
-    <div class="field">
-    <input type="text" name="emaill" id="emaill" value="Email" onBlur="if(this.value=='')this.value='Email';" onFocus="if(this.value=='Email')this.value='';"/>
-    </div>
-    <div htmlfor="emaill" generated="true" class="error"> </div>
-    </li>
-    <li>
-    <div class="field">
-    <input type="password" name="pass1" id="pass1" maxlength="50" class="password" value=""  onblur="if(this.value==''){settobg(this,'password');}" onfocus="if(this.value==''){settononbg(this,'nonebgpassword');}"/>
-    </div>
-    <div htmlfor="pass1" generated="true" class="error"> </div>
-    </li>
-   
-    <li>
-      <li>
-      <div class="greenbtn" style="float:left; "><input name="sign_up" id="sign_up" type="submit" value="Sign Up" style="width:120px;border:0px;"></div>
-      </li>
-    </ul>
-    
-</div>
-</form>
-</div>
-
-</div>
-
-<div class="end1"><div></div></div>
-
-</section>
-</div>
-<!--*******************End**********************-->
-<!-- **************************rest_login********************** -->
-<div id="rest_login"></div>
-<!--********************Forward mail successfully send msg**************************-->
-<!--*************************End msg***************************-->
-<!-- sorry error msg popup -->
-
-    <div class="popupmain" id="sorry_popup" style="display:none;">
-    <section class="invitemain rel">
-    <div class="top2"><div></div></div>
-    <div class="bg2 ovfl-hidden">
-    <a href="javascript:void(0);" onclick="javascript:hide_error_msg();" class="closeicon"></a>
-    
-    <h1 class="head">SORRY!</h1>
-    <p>This offer is Sold Out</p>
-    <br>
-    <br>
-    <br>
-    </div>
-    <div class="end2"><div></div></div>
-    
-    </section>
-    </div>
-
-<!-- sorry error msg popup -->
-
-<script language="javascript" src="http://www.dailygobble.com/admin/catalog_category/js/calendarDateInput.js"  type="text/javascript"></script><script type="text/javascript" src="http://www.dailygobble.com/js/cal.js"></script><script type="text/javascript" src="http://www.dailygobble.com/js/calendar.js"></script><script type="text/javascript" src="http://www.dailygobble.com/js/calendar-en.js"></script><script type="text/javascript" src="http://www.dailygobble.com/js/calendar-setup.js"></script>
- 
-<script type="text/javascript">
-    function popupchange()
-    {
-                jQuery.facebox.settings.loadingImage = SITEROOT + "/js/facebox/images/loading.gif";
-                jQuery.facebox.settings.closeImage   = SITEROOT + "/js/facebox/closelabel.png";
-                jQuery.facebox.settings.overlay      = true;
-                jQuery.facebox.settings.opacity      = 0.3;
-                jQuery.facebox({ajax:SITEROOT+'/modules/deal/invitefriend.php'});
-    }
- function claimmsg(offer_id)
-    {
-            jQuery.facebox.settings.loadingImage = SITEROOT + "js/facebox/images/loading.gif";
-            jQuery.facebox.settings.closeImage   = SITEROOT + "/js/facebox/closelabel.png";
-            jQuery.facebox.settings.overlay      = true;
-            jQuery.facebox.settings.opacity      = 0.3;
-            jQuery.facebox({ajax:SITEROOT+'/modules/deal/confirmoffer.php?offer_id='+offer_id});
-    }
- function souldoutmsg()
- {
-    $("#sorry_popup").show();
- }
-function paging(val){
-    $.get(SITEROOT+'/modules/deal/ajax_deal.php', {page:val}, function(data) {
-        $('#deal').html(data);
-    });
-}
-function showNextDeal(val){
-//  alert(val);
-}
-
-</script> 
-
-<script>function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;
-}
-</script>
-
-
-    <div class="mainwrapper">
-<!-- main continer of the page -->
-	<div id="wrapper"> 
-    <!-- header container starts here-->
-  <header>
-    <div class="headtop">
-      <div class="logo"><a href="http://www.dailygobble.com">&nbsp;</a></div>
-      <section class="fr">
-        <table border="0" cellspacing="0" cellpadding="0" align="right">
-          <tr>
-            <td>
-                <ul class="socialicon fl reset">
-                  <li><a href="mailto:?subject=&amp;body=http://www.dailygobble.com" class="email"></a></li>
-                 <!-- <li><a href="http://www.facebook.com/slickeats" class="fb" target="_blank"></a></li>-->
-                 <li><a href="http://www.facebook.com/dailygobble" class="fb" target="_blank"></a></li>
-                  <li><a href="http://twitter.com/#!/dailygobble" class="twitter" target="_blank"></a></li>
-                </ul>
-                <ul class="afterlogin fr reset">
-                <li>
-                <div class="loginsec">
-                                <div><a href="javascript:void(0);" onclick="javascript:setconfirm();">LOG IN</a> &nbsp;&nbsp;|&nbsp;&nbsp; 
-                  <a href="javascript:void(0);" onclick="javascript:setconfirm();">SIGN UP</a></div>
-              	 	
-                </li>
-                </ul>
-
-              <div class="clr"></div></td>
-          </tr>
-        </table>
-      </section>
-      <div class="clr"></div>
-      <nav class="fl">
-        <ul class="topnav">
-          <li><a href="http://www.dailygobble.com/how-it-works" ><span>HOW IT WORKS</span></a></li>
-          <li><a href="http://www.dailygobble.com/deal" ><span>TODAY'S DEALS</span></a></li>
-          <li><a href="http://www.dailygobble.com/my-gobbles/ro" ><span>MY GOBBLES</span></a></li>
-          <li><a href="http://www.dailygobble.com/deal/deal-map" ><span>MAP</span></a></li>
-          <li class="last" style="padding-right:0px;">
-          <!--<a href="javascript:void(0);" class="active"><span><abbr class="droparrow">New York</abbr></span></a>
-          <div>
-          	<ul class="reset">
-          	            <li><a href="javascript:void(0);" onclick="javascript:selectcity(16);" >Astoria</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(37);" >Atlanta</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(27);" >Belmont</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(7);" >Brooklyn</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(11);" >Burlingame</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(8);" >Campbell</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(29);" >Daly City</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(35);" >Decatur</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(36);" >Dunwoody</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(28);" >Elmhurst City</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(30);" >Flushing</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(14);" >Forest Hills</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(40);" >Foster City</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(31);" >Fresh Meadows</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(3);" >Harbor City</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(39);" >Hoboken</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(17);" >Jackson Heights</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(22);" >Long Island</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(41);" >Los Altos</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(32);" >Manhasset</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(26);" >Manhattan</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(38);" >Marietta</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(21);" >Menlo Park</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(12);" >Millbrae</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(25);" >Mountain View</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(4);"  selected="selected" >New York</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(10);" >Palo Alto</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(23);" >Queens</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(18);" >Redwood City</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(20);" >Rego Park</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(34);" >San Carlos</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(6);" >San Francisco</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(19);" >San Jose</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(13);" >San Mateo</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(9);" >Santa Clara</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(33);" >Staten Island</a></li>
-			            <li><a href="javascript:void(0);" onclick="javascript:selectcity(15);" >Sunnyvale</a></li>
-			            </ul>
-          </div>-->
-          <span class="dropdownbg2">
-          <select name="abc" class="select" onchange="javascript:selectcity(this.value);">
-                            <option  value="16" >Astoria</option>
-                            <option  value="37" >Atlanta</option>
-                            <option  value="27" >Belmont</option>
-                            <option  value="7" >Brooklyn</option>
-                            <option  value="11" >Burlingame</option>
-                            <option  value="8" >Campbell</option>
-                            <option  value="29" >Daly City</option>
-                            <option  value="35" >Decatur</option>
-                            <option  value="36" >Dunwoody</option>
-                            <option  value="28" >Elmhurst City</option>
-                            <option  value="30" >Flushing</option>
-                            <option  value="14" >Forest Hills</option>
-                            <option  value="40" >Foster City</option>
-                            <option  value="31" >Fresh Meadows</option>
-                            <option  value="3" >Harbor City</option>
-                            <option  value="39" >Hoboken</option>
-                            <option  value="17" >Jackson Heights</option>
-                            <option  value="22" >Long Island</option>
-                            <option  value="41" >Los Altos</option>
-                            <option  value="32" >Manhasset</option>
-                            <option  value="26" >Manhattan</option>
-                            <option  value="38" >Marietta</option>
-                            <option  value="21" >Menlo Park</option>
-                            <option  value="12" >Millbrae</option>
-                            <option  value="25" >Mountain View</option>
-                            <option  selected="selected"  value="4" >New York</option>
-                            <option  value="10" >Palo Alto</option>
-                            <option  value="23" >Queens</option>
-                            <option  value="18" >Redwood City</option>
-                            <option  value="20" >Rego Park</option>
-                            <option  value="34" >San Carlos</option>
-                            <option  value="6" >San Francisco</option>
-                            <option  value="19" >San Jose</option>
-                            <option  value="13" >San Mateo</option>
-                            <option  value="9" >Santa Clara</option>
-                            <option  value="33" >Staten Island</option>
-                            <option  value="15" >Sunnyvale</option>
-          		 </select>
-         </span>
-          </li>
-        </ul>
-        <div class="clr"></div>
-      </nav>
-      <div class="clr"></div>
-    </div>
-  </header>
-  <!-- / header container ends here--> 
-   
-  <!-- main container with changing content -->
-  <div id="maincont" class="ovfl-hidden">
-  <section class="leftsec fl">
-	    
-    <section class="featureoffer ovfl-hidden">
-        <div class="headsec ovfl-hidden"><h1 class="head3">TODAY'S FEATURED DEALS</h1></div>
-	
-      <ul class="reset todayfeature ovfl-hidden">
-            	        <li >
-        		<a href="http://www.dailygobble.com/deal/3-off-Offer-Valid-All-Day-1307547670/view-deal">
-    		<img src="http://www.dailygobble.com/uploads/offer/thumbnail/1307547670.jpg" width="333" height="222" />
-		</a>
-                <div class="caption"><a href="http://www.dailygobble.com/deal/3-off-Offer-Valid-All-Day-1307547670/view-deal">Pret A Manger Union Square</a></div>
-         <div class="label"> $3 <br />
-							<span>off</span></div>
-        </li>
-        	         	        <li  class="second" >
-        		<a href="http://www.dailygobble.com/deal/3-off-Offer-Valid-All-Day-1307547699/view-deal">
-    		<img src="http://www.dailygobble.com/uploads/offer/thumbnail/1307547699.jpg" width="333" height="222" />
-		</a>
-                <div class="caption"><a href="http://www.dailygobble.com/deal/3-off-Offer-Valid-All-Day-1307547699/view-deal">Pret A Manger 42nd and 5th</a></div>
-         <div class="label"> $3 <br />
-							<span>off</span></div>
-        </li>
-        	         	        <li >
-        		<a href="http://www.dailygobble.com/deal/3-off-1100-am-to-1100-pm-1307547749/view-deal">
-    		<img src="http://www.dailygobble.com/uploads/offer/thumbnail/1307547749.jpg" width="333" height="222" />
-		</a>
-                <div class="caption"><a href="http://www.dailygobble.com/deal/3-off-1100-am-to-1100-pm-1307547749/view-deal">2 Brothers Pizza Ave of Americas</a></div>
-         <div class="label"> $3 <br />
-							<span>off</span></div>
-        </li>
-        	         	        <li  class="second" >
-        		<a href="http://www.dailygobble.com/deal/25-off-1130-am-to-330-pm-1307547837/view-deal">
-    		<img src="http://www.dailygobble.com/uploads/offer/thumbnail/1307547838.jpg" width="333" height="222" />
-		</a>
-                <div class="caption"><a href="http://www.dailygobble.com/deal/25-off-1130-am-to-330-pm-1307547837/view-deal">Aquamarine</a></div>
-         <div class="label"> 25% <br />
-							<span>off</span></div>
-        </li>
-        	         	        <li >
-        		<a href="http://www.dailygobble.com/deal/20-off-500-pm-to-900-pm-1307562115/view-deal">
-    		<img src="http://www.dailygobble.com/uploads/offer/thumbnail/1307562116.jpg" width="333" height="222" />
-		</a>
-                <div class="caption"><a href="http://www.dailygobble.com/deal/20-off-500-pm-to-900-pm-1307562115/view-deal">Maltbys Restaurant</a></div>
-         <div class="label"> 20% <br />
-							<span>off</span></div>
-        </li>
-        	          <!-- <li class="second">
-        <img src="http://www.dailygobble.com/templates/default/images/featuredealimg2.png" width="333" height="222" />
-        <div class="caption"><a href="#">Sorriso's Italian Restaurant</a></div>
-         <div class="label">30%<br />
-							<span>off</span></div>
-        </li>-->
-        <!--<li>
-        <img src="http://www.dailygobble.com/templates/default/images/featuredealimg3.png" width="333" height="222" />
-        <div class="caption"><a href="#">Sorriso's Italian Restaurant</a></div>
-         <div class="label">30%<br />
-							<span>off</span></div>
-        </li>
-        <li class="second">
-        <img src="http://www.dailygobble.com/templates/default/images/featuredealimg4.png" width="333" height="222" />
-        <div class="caption"><a href="#">Sorriso's Italian Restaurant</a></div>
-         <div class="label">30%<br />
-							<span>off</span></div>
-        </li>-->
-      </ul>
-   
-         <a href="http://www.dailygobble.com/deal" class="viewmorebtn fr"><span>VIEW MORE DEALS</span></a>  
-	</section>
-    </section>
-		<aside class="rightsec fr">
-	      <section class="map">
-      <a href="http://www.dailygobble.com/deal/deal-map"><img src="http://www.dailygobble.com/templates/default/images/dealmap.png" width="286" height="391" alt="img"></a>
-<!--       <a href="http://www.dailygobble.com/deal/deal-map"><img src="http://www.dailygobble.com/uploads/gmap/deal_map.jpg" alt="img"></a> -->
-      <!--<iframe src="http://batchgeo.com/map/88ead4b3e77157d67a1df4a1a1175f5d" frameborder="0" width="286" height="300" style="border:1px solid #aaa;border-radius:10px;"></iframe></p><p><small>View <a href="http://batchgeo.com/map/88ead4b3e77157d67a1df4a1a1175f5d">full screen map</a></small>-->
-      </section>
-		       <section class="rel">
-        <div class="rightcorner"></div>
-        <h1 class="head">ITS SIMPLE! -<br> 3 EASY STEPS</h1>
-          <ul class="listing reset">
-    <li class="first">Find Deal at Local Restaurants.</li>
-    <li class="second">Enjoy Your Meal.</li>
-    <li class="third">Upload a photo of your check to My Gobbles or Email us at <a href="mailto:save@dailygobble.com?subject=Receipt%20Submission&amp;body=Hello%20GobbleTeam!%0A%0AI%20am%20submitting%20a%20receipt%20for%20one%20of%20My%20Gobbles.%20%20%0A%0AThanks">save@dailygobble.com</a></li>
-</ul>
-      </section>
-      <section class="rel">
-        <div class="rightcorner"></div>
-        <div class="iphone ovfl-hidden">
-          <div class="leftside fl"> <img src="http://www.dailygobble.com/templates/default/images/iphone.png" width="67" height="123" alt="img"> </div>
-          <div class="rightside fr"> <span class="green">GET DEALS<br/>ON THE GO!</span><br>
-          </div>
-          <div class="clr"></div>
-          <a href="javascript:void(0);" onclick="javascript:showapp_popup();" class="greenbtn" style="margin:-43px 25px 10px 0px;"><span>Download App</span></a> </div>
-          <!--<img src="http://www.dailygobble.com/templates/default/images/app_module.png" width="265" alt="img">-->
-      </section>
-     
-     <!-- <section class="rel">
-        <div class="rightcorner"></div>
-        <h1 class="head">GET AN EXTRA 10% OFF!<br>
-          INVITE FRIENDS!</h1>
-        Earn an extra 10% off your next<br>
-        visit for each referral you provide. <a href="http://www.dailygobble.com/refer-a-friend/refer-a-friend" class="greenbtn" style="margin:15px 71px 0px 0px;"><span>Invite friends</span></a>
-        <div class="clr"></div>
-      </section>-->
-      <section class="facebook"> <!--<img src="http://www.dailygobble.com/templates/default/images/facebook.png" width="283" height="271" alt="img"> -->
-      <!--      facebook find us code -->
-     <!--<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>-->
-     
-     <fb:like-box href="http://www.facebook.com/dailygobble" width="292" show_faces="true" stream="false" header="true"></fb:like-box>
-     
-<!--      facebook find us code end -->
-      
-      </section>
-    </aside>  </div>
-  <!-- main container ends here --> 
-  
-<script type="text/javascript">
-function rest_login(val){
-    $.get(SITEROOT+'/modules/restaurateur/login.php', {page:val}, function(data) {
-        $('#rest_login').html(data);
-    });
-}
-</script>
-
-
-  <!-- footer container starts here-->
-  <footer> <a href="http://www.dailygobble.com">Home</a> &nbsp;|&nbsp; <a href="http://www.dailygobble.com/about-us">About us</a> &nbsp;|&nbsp; <a href="http://www.dailygobble.com/contact-us">Contact</a> &nbsp;|&nbsp; <a href="http://www.dailygobble.com/terms-and-conditions">Terms &amp; Conditions</a> &nbsp;|&nbsp; <a href="http://www.dailygobble.com/faq/faq">FAQ</a>  &nbsp;|&nbsp; <a href="javascript:void(0);" onclick="javascript:rest_login();">Restaurateur Login</a>    <p style="font-size:13px; margin-top:10px; font-weight:normal">Copyright &copy; 2011 dailygobble.com, All rights reserved.</p>
-  </footer>
-  <!-- footer container ends here--> 
-<!--   http://www.dailygobble.com/restaurateur/login -->
-</div>
-
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
-_gaq.push(['_setAccount', 'UA-21752041-1']);
-_gaq.push(['_setDomainName', '.dailygobble.com']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-
-<!-- begin olark code --><script type='text/javascript'>/*<![CDATA[*/window.olark||(function(i){var e=window,h=document,a=e.location.protocol=="https:"?"https:":"http:",g=i.name,b="load";(function(){e[g]=function(){(c.s=c.s||[]).push(arguments)};var c=e[g]._={},f=i.methods.length; while(f--){(function(j){e[g][j]=function(){e[g]("call",j,arguments)}})(i.methods[f])} c.l=i.loader;c.i=arguments.callee;c.f=setTimeout(function(){if(c.f){(new Image).src=a+"//"+c.l.replace(".js",".png")+"&"+escape(e.location.href)}c.f=null},20000);c.p={0:+new Date};c.P=function(j){c.p[j]=new Date-c.p[0]};function d(){c.P(b);e[g](b)}e.addEventListener?e.addEventListener(b,d,false):e.attachEvent("on"+b,d); (function(){function l(j){j="head";return["<",j,"></",j,"><",z,' onl'+'oad="var d=',B,";d.getElementsByTagName('head')[0].",y,"(d.",A,"('script')).",u,"='",a,"//",c.l,"'",'"',"></",z,">"].join("")}var z="body",s=h[z];if(!s){return setTimeout(arguments.callee,100)}c.P(1);var y="appendChild",A="createElement",u="src",r=h[A]("div"),G=r[y](h[A](g)),D=h[A]("iframe"),B="document",C="domain",q;r.style.display="none";s.insertBefore(r,s.firstChild).id=g;D.frameBorder="0";D.id=g+"-loader";if(/MSIE[ ]+6/.test(navigator.userAgent)){D.src="javascript:false"} D.allowTransparency="true";G[y](D);try{D.contentWindow[B].open()}catch(F){i[C]=h[C];q="javascript:var d="+B+".open();d.domain='"+h.domain+"';";D[u]=q+"void(0);"}try{var H=D.contentWindow[B];H.write(l());H.close()}catch(E){D[u]=q+'d.write("'+l().replace(/"/g,String.fromCharCode(92)+'"')+'");d.close();'}c.P(2)})()})()})({loader:(function(a){return "static.olark.com/jsclient/loader0.js?ts="+(a?a[1]:(+new Date))})(document.cookie.match(/olarkld=([0-9]+)/)),name:"olark",methods:["configure","extend","declare","identify"]});
-/* custom configuration goes here (www.olark.com/documentation) */
-olark.identify('9159-234-10-6325');/*]]>*/</script>
-<!-- end olark code -->
-</body>
-</html>