{*
{lang_sprintf id=510 1=$user->user_displayname_short}
[ ]
*}
{include_php file=$serverpath.'public_html/ads/welcomead.php'}
{* SHOW RECENT NEWS ANNOUNCEMENTS IF MORE THAN ZERO *}{if $news|@count > 0}
{section name=news_loop loop=$news max=10}
{if $news[news_loop].announcement_date!=''}{$news[news_loop].announcement_date}{/if}
{$news[news_loop].announcement_subject}
{$news[news_loop].announcement_body}
{/section}
{/if}{if $user->user_info.iperror==1}{literal}{/literal}{/if}
{if $nomessages==1}
| In order to reduce spam, new members must wait before they are able to message others. Once you are able to message others, this message will no longer be seen. |
{/if}
{* SHOW NUMBER OF TIMES PROFILE HAS BEEN VIEWED *}{lang_sprintf id=740 1=$profile_views}{if $profile_views !=0}[ {lang_print id=741}]{/if} {* WHO VIEWED MY PROFILE LINK *}{if $user->user_info.user_saveviews==1}{if $profile_viewers|@count !=0} {else}{lang_print id=1063}{/if}{/if} |
{* hook_foreach name=user_home var=user_home_args}{include file=$user_home_args.file}{/hook_foreach *}
{if $total_group_subscribes !=0}{section name=subscribe_loop loop=$group_subscribes}{if $group_subscribes[subscribe_loop].total_comments !=0 OR $group_subscribes[subscribe_loop].total_posts !=0 OR $group_subscribes[subscribe_loop].total_photos !=0}{if !$smarty.section.subscribe_loop.first}
{/if}
{if $group_subscribes[subscribe_loop].total_comments !=0}
{/if}{if $group_subscribes[subscribe_loop].total_posts !=0}
{/if}{if $group_subscribes[subscribe_loop].total_photos !=0}
{/if}{assign var='group_updates' value=$group_updates+1}{/if}{/section}{if $group_updates==0}{* lang_print id=2000245 *}You have no group updates. To enable updates click on 'subscribe to group' anytime after you join a group.{/if}{else}You have no group updates. To enable updates click on 'subscribe to group' anytime after you join a group.{/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=$serverpath.'public_html/ads/adhomeleft3.php'}
{* SHOW LAST LOGINS *}
{if !empty($logins)}
{section name=login_loop loop=$logins max=20}{cycle name="startrowsll" values="- ,,,"}{if !empty($logins[login_loop])} {$logins[login_loop]->user_displayname|regex_replace:"/'/":"'"|truncate:10:"...":true}
{assign var="profilepicture" value=$logins[login_loop]->user_photo("./images/nophoto.png", TRUE)}
{$logins[login_loop]->userprofiledot($profilepicture, "75px", "75px", NULL, 1)} {/if}{cycle values=",,, "}{/section}
{else}{lang_print id=672}{/if}
{include_php file=$serverpath.'public_html/ads/adhomeleft1.php'}
{include file=$serverpath.'public_html/homestorage/latestphotos.html'}
{include_php file=$serverpath.'public_html/ads/adhomeleft2.php'}
{include file=$serverpath.'public_html/homestorage/latestvideos.html'}
{include file=$serverpath.'public_html/homestorage/bookbox.html'}
{include file=$serverpath.'public_html/homestorage/vidoftheday.html'}
{include_php file=$serverpath.'public_html/ads/adhomeleft4.php'}
{include file=$serverpath.'public_html/homestorage/picoftheday.html'}
{* SHOW RECENT SIGNUPS *}
{if !empty($signups)}
{else}{lang_print id=667}{/if}
{* SHOW ACTIVITY FEED BANNER BANNER *}
{if $user->user_info.user_id>0}
{include_php file=$serverpath.'public_html/ads/adhomemiddle1.php'}
{/if}{* END CONTENT CONTAINER *}
{if !empty($verifieds)}
{else}{lang_print id=667}{/if}
{* SHOW STATUS *}
{if $user->level_info.level_profile_status != 0}
{lang_javascript ids=773,1113 range=743-747}
{literal}
{/literal}
{if $nostatus!=1}
| |
{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} {$user->user_info.user_status} {/if} |
|
Update Status |
|
{/if}
{/if}
{* SHOW PUBLIC VERSION OF ACTIVITY LIST *}{* ACTIVITY FEED PREFERENCES *}
{if $setting.setting_actions_preference==1}{* DIV FOR SPECIFYING ACTION PREFERENCES *}
{/if}
{* JAVACRIPT FOR SPECIFYING ACTION PREFERENCES *}
{literal}
{/literal}
{* SHOW RECENT GROUPS *}
{include_php file=$serverpath.'public_html/ads/adhomemiddle2.php'}
{* Show Polls *}
Loading...
{include_php file=$serverpath.'public_html/ads/adhomemiddle3.php'}
{* RECENT FORUMS *}
Loading...
{* LATEST BLOGS *}
Loading...
{* WHAT'S HOT *}
{if $checkitout|@count > 0}
{include_php file=$serverpath.'public_html/ads/adhomeright1.php'}
{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}
{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 $events[event_loop].event->event_info.onlineonly==1}Online Event{else}{$events[event_loop].event->event_info.address}
{$events[event_loop].event->event_info.city}
{$events[event_loop].event->event_info.state}{$events[event_loop].event->event_info.province}{if $events[event_loop].event->event_info.postal!=""} {$events[event_loop].event->event_info.postal}{/if}{/if}
{if $smarty.section.event_loop.rownum < $events|@count && $smarty.section.event_loop.rownum < 4 }
{else}
{/if}
{/section}
{/if}
{include_php file=$serverpath.'public_html/homestorage/rotatingbox.html'}
{* SHOW UPCOMING BIRTHDAYS *}
{* 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}
{sectionelse}
{lang_print id=1180}
{/section}