{*
{lang_sprintf id=510 1=$user->user_displayname_short}
[ ]
*}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include_php file="$documentRoot/ads/welcomead.php"}
{* 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} {/if} | |
{/if}
{/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 RECENT NEWS ANNOUNCEMENTS IF MORE THAN ZERO *}{if $news|@count > 0}
{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}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include_php file="$documentRoot/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, "60px", "60px", NULL, 1)} {/if}{cycle values=",,, "}{/section}
{else}{lang_print id=672}{/if}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include_php file="$documentRoot/ads/adhomeleft1.php"}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include file="$documentRoot/homestorage/latestphotos.html"}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include_php file="$documentRoot/ads/adhomeleft2.php"}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include file="$documentRoot/homestorage/latestvideos.html"}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include file="$documentRoot/homestorage/bookbox.html"}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include file="$documentRoot/homestorage/vidoftheday.html"}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include_php file="$documentRoot/ads/adhomeleft4.php"}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include file="$documentRoot/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}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include_php file="$documentRoot/ads/adhomemiddle1.php"}
{/if}{* END CONTENT CONTAINER *}
{* SHOW PUBLIC VERSION OF ACTIVITY LIST *}{* ACTIVITY FEED PREFERENCES *}{if $actions|@count==0}
{/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 *}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include_php file="$documentRoot/ads/adhomemiddle2.php"}
{* Show Polls *}
Loading...
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include_php file="$documentRoot/ads/adhomemiddle3.php"}
{* RECENT FORUMS *}
Loading...
{* LATEST BLOGS *}
Loading...
{* WHAT'S HOT *}
{if $checkitout|@count > 0}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include_php file="$documentRoot/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 $smarty.section.event_loop.rownum < $events|@count && $smarty.section.event_loop.rownum < 4 }
{else}
{/if}
{/section}
{/if}
{assign var="documentRoot" value=$smarty.server.DOCUMENT_ROOT}
{include_php file="$documentRoot/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}