<%@import namespace="System.Data" %> <%@ Page Language="C#" AutoEventWireup="false" CodeBehind="Default.aspx.cs" Inherits="GetALife.Default" trace=false%> <% bool blnMemResults = false; bool blnGrpResults = false; bool blnActResults = false; string strSiteref = "homepage"; if (Request.QueryString["siteref"] != null && !Request.QueryString["siteref"].ToString().Equals("")) //why is this here? strSiteref = Request.QueryString["siteref"].ToString(); else if (Request.QueryString["ref"] != null && !Request.QueryString["ref"].ToString().Equals("")) strSiteref = Request.QueryString["ref"].ToString(); else if (Session["siteref"] != null && !Session["siteref"].ToString().Equals("")) strSiteref = Session["siteref"].ToString(); %> <% =gstrPageTitle %> <% bool blnISTrader = false; if (Session["Trader"] != null) { if (! Session["Trader"].ToString().Equals("")) blnISTrader = true; } if (((! User.Identity.IsAuthenticated) && (!blnISTrader)) || (Request.QueryString["logout"] != null)) { %>
 
Welcome to Australia's liveliest activity network
  An activity based social networking site for people who like to meet old and new friends in real life. All local events and groups are created by members themselves! Anything from bush walking, to theatre visits, to Friday drinks to dinner dates! Over <%=memberCount%> members and <%=online%> online now.  

Frequently Asked Questions

How does Getalife work?
What are the members like?
Is it just for singles?
How much does it cost?

Learn more ..
  > Join local activities and groups
> Organise your own events and start your own groups
> Invite old and new friends who share your interests
> Expand your local circle of friends
> Benefit from shared local knowlegde and experiences
 
   
 

More info..

   
 
   
 
Where :  
When :  
 
     
 
 
 
 
What :  
Where :  
 
     
<% } %>
 
  
<% string strAct1FirstImage = ""; int startPoint = 0; string strAct1FirstName = ""; if (blnActResults) { startPoint = DSActivity.Tables[0].Rows.Count - (DSActivity.Tables[0].Rows.Count/2); if (!DSActivity.Tables[0].Rows[startPoint]["Image"].ToString().Equals("")) strAct1FirstImage = DSActivity.Tables[0].Rows[startPoint]["Image"].ToString(); else if (!DSActivity.Tables[0].Rows[startPoint]["ActTypeImage"].ToString().Equals("")) strAct1FirstImage = DSActivity.Tables[0].Rows[startPoint]["ActTypeImage"].ToString(); else if (!DSActivity.Tables[0].Rows[startPoint]["SubCatImage"].ToString().Equals("")) strAct1FirstImage = DSActivity.Tables[0].Rows[startPoint]["SubCatImage"].ToString(); else if (!DSActivity.Tables[0].Rows[startPoint]["CatImage"].ToString().Equals("")) strAct1FirstImage = DSActivity.Tables[0].Rows[startPoint]["CatImage"].ToString(); if (DSActivity.Tables[0].Rows[startPoint]["ActivityName"].ToString().Length >= 16) strAct1FirstName = DSActivity.Tables[0].Rows[startPoint]["ActivityName"].ToString().Substring(0,16)+"..."; else strAct1FirstName = DSActivity.Tables[0].Rows[startPoint]["ActivityName"].ToString(); }%>
<%} else {%>ViewActivity.aspx?Activity_Id=4367<%}%>&siteref=<%=strSiteref%>" class="red"><%if (blnActResults) {%> <%=strAct1FirstName%> <%} else {%>Foreshore Walk<%}%>
<%if (blnActResults) {%> <%=Dic.TranslateRow(DSActivity.Tables[0].Rows[startPoint], "SubCatType")%> <%} else {%>Walking<%}%>
<%if (blnActResults) {%><%=DSActivity.Tables[0].Rows[startPoint]["CityName"].ToString()%> (<%=DSActivity.Tables[0].Rows[startPoint]["StateName"].ToString()%>) <%} else {%>Mosman (NSW)<%}%>
<%if (blnActResults) {%> <%=DSActivity.Tables[0].Rows[startPoint]["Date"].ToString()%> <%} else {%>16 July<%}%>
 
 
     
<% string strAct2FirstImage = ""; string strAct2FirstName = ""; if (blnActResults) { if (!DSActivity.Tables[0].Rows[0]["Image"].ToString().Equals("")) strAct2FirstImage = DSActivity.Tables[0].Rows[0]["Image"].ToString(); else if (!DSActivity.Tables[0].Rows[0]["ActTypeImage"].ToString().Equals("")) strAct2FirstImage = DSActivity.Tables[0].Rows[0]["ActTypeImage"].ToString(); else if (!DSActivity.Tables[0].Rows[0]["SubCatImage"].ToString().Equals("")) strAct2FirstImage = DSActivity.Tables[0].Rows[0]["SubCatImage"].ToString(); else if (!DSActivity.Tables[0].Rows[0]["CatImage"].ToString().Equals("")) strAct2FirstImage = DSActivity.Tables[0].Rows[0]["CatImage"].ToString(); if (DSActivity.Tables[0].Rows[0]["ActivityName"].ToString().Length >= 16) strAct2FirstName = DSActivity.Tables[0].Rows[0]["ActivityName"].ToString().Substring(0,16)+"..."; else strAct2FirstName = DSActivity.Tables[0].Rows[0]["ActivityName"].ToString(); }%>
<%} else {%>ViewActivity.aspx?Activity_Id=4410<%}%>&siteref=<%=strSiteref%>" class="red"><%if (blnActResults) {%> <%=strAct2FirstName%> <%} else {%>Music Trivia<%}%>
<%if (blnActResults) {%> <%=Dic.TranslateRow(DSActivity.Tables[0].Rows[0],"SubCatType")%> <%} else {%>Games<%}%>
<%if (blnActResults) {%><%=DSActivity.Tables[0].Rows[0]["CityName"].ToString()%> (<%=DSActivity.Tables[0].Rows[0]["StateName"].ToString()%>) <%} else {%>Melbourne (VIC)<%}%>
<%if (blnActResults) {%> <%=DSActivity.Tables[0].Rows[0]["Date"].ToString()%> <%} else {%>20 July<%}%>
 
     
  
<% string strFirstMemImage = ""; if (blnMemResults) { if (DSMember.Tables[0].Rows[0]["Photo"].ToString().Equals("")) strFirstMemImage = "images/nophoto.gif"; else strFirstMemImage = DSMember.Tables[0].Rows[0]["Photo"].ToString(); }%>
&siteref=<%=strSiteref%><%} else {%>MyProfile.aspx?Member_Id=14332&siteref=<%=strSiteref%><%}%>" class="red"><%if (blnMemResults) {%><%=DSMember.Tables[0].Rows[0]["Username"].ToString()%><%} else {%>Catgirl<%}%> <%if (blnMemResults) { if (DSMember.Tables[0].Rows[0]["Gender"] != null && !DSMember.Tables[0].Rows[0]["Gender"].ToString().Equals("")) { %><%=DSMember.Tables[0].Rows[0]["Gender"].ToString().Substring(0,1)%><%}%><%=GetALife.GetALifeUtils.CalculateAge(DSMember.Tables[0].Rows[0]["DateOfBirth"].ToString(),DSMember.Tables[0].Rows[0]["DisplayAge"].ToString(),"","")%><%} else {%>F, 38<%}%>
<%if (blnMemResults) {%><%=DSMember.Tables[0].Rows[0]["StateName"].ToString()%><%} else {%>VIC<%}%>
<%if (blnMemResults) {%><%=GetFavouriteActivites(long.Parse(DSMember.Tables[0].Rows[0]["Member_Id"].ToString()))%><%} else {%>Fitness, Road Cycling<%}%>
 
     
  
<% string strGrpFirstImage = ""; string strGrpFirstName = ""; if (blnGrpResults) { if (!DSGroup.Tables[0].Rows[0]["Image"].ToString().Equals("")) strGrpFirstImage = DSGroup.Tables[0].Rows[0]["Image"].ToString(); else if (!DSGroup.Tables[0].Rows[0]["ActImage"].ToString().Equals("")) strGrpFirstImage = DSGroup.Tables[0].Rows[0]["ActImage"].ToString(); else if (!DSGroup.Tables[0].Rows[0]["SubCatImage"].ToString().Equals("")) strGrpFirstImage = DSGroup.Tables[0].Rows[0]["SubCatImage"].ToString(); else if (!DSGroup.Tables[0].Rows[0]["CatImage"].ToString().Equals("")) strGrpFirstImage = DSGroup.Tables[0].Rows[0]["CatImage"].ToString(); if (DSGroup.Tables[0].Rows[0]["GroupName"].ToString().Length >= 16) strGrpFirstName = DSGroup.Tables[0].Rows[0]["GroupName"].ToString().Substring(0,16)+"..."; else strGrpFirstName = DSGroup.Tables[0].Rows[0]["GroupName"].ToString(); } %>
<%} else {%>Group.aspx?Id=162<%}%>&siteref=<%=strSiteref%>" class="red"><%if (blnGrpResults) {%> <%=strGrpFirstName%> <%} else {%>Easy Walkers<%}%>
<%if (blnGrpResults) {%> <%=Dic.TranslateRow(DSGroup.Tables[0].Rows[0], "SubCatType")%> <%} else {%>City Exploration<%}%>
<%if (blnGrpResults) {%> <%=DSGroup.Tables[0].Rows[0]["MemberCount"].ToString()%> Members <%} else {%>193 Members<%}%> <%if (blnGrpResults) {%> <%=DSGroup.Tables[0].Rows[0]["StateName"].ToString()%> <%} else {%>NSW<%}%>
 
About | Local Partners | Advertising | Add URL | Terms & Conditions | Copyright | Site Map
Copyright 2006, All rights reserved