{include file='header-wide.tpl'} {* $Id: home.tpl 288 2010-01-11 20:17:09Z steve $ *} {literal} {/literal} {* BEGIN LEFT COLUMN *}
{* SHOW LOGIN FORM IF USER IS NOT LOGGED IN *} {if !$user->user_exists}
{lang_print id=659}
{if !empty($setting.setting_login_code)} {/if}
{lang_print id=89}:
{lang_print id=29}:
 

{lang_print id=975}
{capture assign=tip}{lang_print id=691}{/capture}
 
{* SHOW HELLO MESSAGE IF USER IS LOGGED IN *} {else} {*
*} {/if} {* SHOW STATUS *} {if $user->level_info.level_profile_status != 0} {lang_javascript ids=773,1113 range=743-747} {literal} {/literal}
{lang_print id=742}
  
{if $user->user_info.user_status != ""} {assign var='status_date' value=$datetime->time_since($user->user_info.user_status_date)} {$user->user_displayname_short} {$user->user_info.user_status}
{lang_print id=1113} {lang_sprintf id=$status_date[0] 1=$status_date[1]}
{else} {/if}
{/if} {* SHOW RECENT NEWS ANNOUNCEMENTS IF MORE THAN ZERO *} {if $news|@count > 0}
{lang_print id=664}
{section name=news_loop loop=$news max=10}
{$news[news_loop].announcement_subject}{if $news[news_loop].announcement_date!=''} - {$news[news_loop].announcement_date}{/if}
{$news[news_loop].announcement_body}
{/section}
{/if} {if $user->user_info.iperror==1}{literal} {/literal}{/if} {* SHOW ONLINE USERS IF MORE THAN ZERO *} {math assign='total_online_users' equation="x+y" x=$online_users[0]|@count y=$online_users[1]} {if $total_online_users > 0}
{/if} {include_php file='/home/bateworld/public_html/ads/adhomeleft3.php'}
{* SHOW LAST LOGINS *}
{include_php file='/home/bateworld/public_html/ads/adhomeleft1.php'}
{include_php file='/home/bateworld/public_html/ads/adhomeleft2.php'}
{include file='/home/bateworld/public_html/homestorage/bookbox.html'}
{* BEGIN MIDDLE COLUMN *}
{* SHOW RECENT SIGNUPS *}
{* SHOW ACTIVITY FEED BANNER BANNER *} {if $user->user_info.user_id>0}
{include_php file='/home/bateworld/public_html/ads/adhomemiddle1.php'}
{/if} {* END CONTENT CONTAINER *}
{* SHOW PUBLIC VERSION OF ACTIVITY LIST *} {* ACTIVITY FEED PREFERENCES *}
{lang_print id=737}{if $setting.setting_actions_preference == 1}
{lang_print id=1070}{/if}
{if $actions|@count == 0}
Activity Feed is Empty

{/if} {if $setting.setting_actions_preference == 1} {* DIV FOR SPECIFYING ACTION PREFERENCES *} {/if} {* JAVACRIPT FOR SPECIFYING ACTION PREFERENCES *} {literal} {/literal} {if $actions|@count > 0}
{* RECENT ACTIVITY ADVERTISEMENT BANNERS *} {* SHOW ACTIONS *} {section name=actions_loop loop=$actions max=40}
{assign var='action_date' value=$datetime->time_since($actions[actions_loop].action_date)}
{lang_sprintf id=$action_date[0] 1=$action_date[1]}
{assign var='action_media' value=''} {if $actions[actions_loop].action_media !== FALSE}{capture assign='action_media'}{section name=action_media_loop loop=$actions[actions_loop].action_media}{/section}{/capture}{/if} {if $actions[actions_loop].action_actiontype_id==26}{$actions[actions_loop].actionmedia_id}{/if} {if $actions[actions_loop].action_actiontype_id==13}{$actions[actions_loop].actionmedia_id}{/if} {lang_sprintf assign=action_text id=$actions[actions_loop].action_text args=$actions[actions_loop].action_vars} {$action_text|replace:"[media]":$action_media|choptext:150:"
"}
{/section}
{/if} {* SHOW RECENT GROUPS *}
{include_php file='/home/bateworld/public_html/ads/adhomemiddle2.php'}
{* Show Polls *}
Loading...
{include_php file='/home/bateworld/public_html/ads/adhomemiddle3.php'}
{* RECENT FORUMS *}
Loading...
{* LATEST BLOGS *}
Loading...
{* BEGIN RIGHT COLUMN CONTENT *}
{* WHAT'S HOT *}
{if $checkitout|@count > 0}
{include_php file='/home/bateworld/public_html/ads/adhomeright1.php'}
Check It Out
{section name=news_loop loop=$checkitout max=10}
{$checkitout[news_loop].announcement_subject}{if $checkitout[news_loop].announcement_date!=''} - {$checkitout[news_loop].announcement_date}{/if}
{$checkitout[news_loop].announcement_body}
{/section}
{/if}
{* SHOW Events *} {if $events|@count > 0}
{section name=event_loop loop=$events max=10}
{$events[event_loop].event->event_info.event_title}
{assign var=event_date_start value=$datetime->timezone($events[event_loop].event->event_info.event_date_start, $global_timezone)} {assign var=event_date_end value=$datetime->timezone($events[event_loop].event->event_info.event_date_end, $global_timezone)} {* NO END DATE *} {if !$events[event_loop].event->event_info.event_date_end} {lang_sprintf id=3000203 1=$datetime->cdate($setting.setting_dateformat, $event_date_start) 2=$datetime->cdate($setting.setting_timeformat, $event_date_start)} {* SAME-DAY EVENT *} {elseif $datetime->cdate("F j, Y", $event_date_start)==$datetime->cdate("F j, Y", $event_date_end)} {lang_sprintf id=3000202 1=$datetime->cdate($setting.setting_dateformat, $event_date_start) 2=$datetime->cdate($setting.setting_timeformat, $event_date_start) 3=$datetime->cdate($setting.setting_timeformat, $event_date_end)} {* MULTI-DAY EVENT *} {else} {lang_sprintf id=3000204 1=$datetime->cdate("`$setting.setting_dateformat` `$setting.setting_timeformat`", $event_date_start) 2=$datetime->cdate("`$setting.setting_dateformat` `$setting.setting_timeformat`", $event_date_end)} PT {/if}
{assign var='event_dateupdated' value=$datetime->time_since($events[event_loop].event->event_info.event_dateupdated)}{capture assign="updated"}{lang_sprintf id=$event_dateupdated[0] 1=$event_dateupdated[1]}{/capture} {lang_sprintf id=3000215 1=$events[event_loop].event->event_info.event_totalmembers} - {lang_sprintf id=3000216 1=$events[event_loop].event_creator->user_displayname 2="/profile.php?user=`$events[event_loop].event_creator->user_info.user_username`"}
 
{if $smarty.section.event_loop.rownum < $events|@count && $smarty.section.event_loop.rownum < 4 }
{else}
 
{/if} {/section}
{/if}
{include_php file='/home/bateworld/public_html/homestorage/rotatingbox.html'}
{* SHOW UPCOMING BIRTHDAYS *}
{lang_print id=1176}
{* rgh - 2010-11-16 - removed year from date format string. Was previously backtickdollarsign setting.setting_dateformat backtick *} {section name=birthday_loop loop=$birthdays max=20}
{* {$birthdays[birthday_loop].birthday_user_displayname} - {$datetime->cdate("`$setting.setting_dateformat`", $birthdays[birthday_loop].birthday_date)} *} {$birthdays[birthday_loop].birthday_user_displayname} - {$birthdays[birthday_loop].birthday_date|date_format:"%B %e"}
{sectionelse} {lang_print id=1180} {/section}
{literal} {/literal} {include file='footer-wide.tpl'}