{include file='header.tpl'} {* $Id: event.tpl 162 2009-04-30 01:43:11Z john $ *} {* JAVASCRIPT *} {lang_javascript ids=861,3000080,3000081,3000082,3000083,3000084,3000085,3000093,3000097,3000153,3000154,3000170,3000219,3000223,3000225,3000229} {* HIDDEN DIV TO DISPLAY CANCEL REQUEST CONFIRMATION MESSAGE *} {* HIDDEN DIV TO DISPLAY LEAVE CONFIRMATION MESSAGE *} {* HIDDEN DIV TO DISPLAY DELETE CONFIRMATION MESSAGE *} {* HIDDEN DIV TO DISPLAY MEMBER INVITE *}
{* BEGIN LEFT COLUMN *} {* SHOW PHOTO *}
{if $allowed_to_view} {* SHOW EDIT IF ALLOWED *} {if $event->is_member && $event->user_rank==3} {/if} {* SHOW DELETE EVENT BUTTON IF OWNER *} {if $event->is_member && $event->user_rank==3} {/if} {* JOIN GROUP || ACCEPT INVITATION *} {* (!$event->is_member && !$event->is_member_waiting && !$event->event_info.event_inviteonly) || ($event->eventmember_info.eventmember_approved && !$event->eventmember_info.eventmember_status) *} {* is_member && !$event->is_member_waiting && !$event->event_info.event_inviteonly) && !($event->eventmember_info.eventmember_approved && !$event->eventmember_info.eventmember_status)} style="display:none;"{/if}> *} {* REQUEST INVITATION *} is_member && !$event->is_member_waiting && $event->event_info.event_inviteonly)} style="display:none;"{/if}> {* CANCEL REQUEST INVITATION *} eventmember_info.eventmember_approved && $event->eventmember_info.eventmember_status)} style="display:none;"{/if}> {* RSVP *} {* is_member} style="display:none;"{/if}> *} {* LEAVE *} user_rank==3 || !$event->is_member} style="display:none;"{/if}> {* INVITE *} user_rank!=3 && !($event->is_member && $event->event_info.event_invite)} style="display:none;"{/if}> {* PLUGIN RELATED MENU ITEMS *} {foreach from=$global_plugins key=plugin_k item=plugin_v} {if !empty($plugin_v.menu_event_actions)} {foreach from=$plugin_v.menu_event_actions key=plugin_mk item=plugin_mv} {/foreach} {/if} {/foreach} {/if} {* SHOW REPORT THIS EVENT MENU ITEM *}
{lang_print id=3000245}
{lang_print id=3000169}
{lang_print id=3000168}
{lang_print id=3000167}
{lang_print id=3000170}
{lang_print id=3000097}
{lang_print id=3000219}
{lang_print id=3000145}
{lang_print id=$plugin_mk.title}
{if $user->blocked_event($event->event_info.event_id)} Unblock this Event {else} Block this Event {/if}
{lang_print id=3000172}
{if $allowed_to_view} {* SHOW OFFICERS *}
{lang_print id=3000269}
{section name=officer_loop loop=$officers}
{$officers[officer_loop].member->user_displayname}{if $officers[officer_loop].eventmember_rank == 3} ({lang_print id=3000270}){/if} {* {if $officers[officer_loop].eventmember_title != "" && $event->eventowner_level_info.level_event_titles == 1}
{$officers[officer_loop].eventmember_title}
{/if} *} {if !$smarty.section.officer_loop.last}
{/if}
{/section}
{* END OFFICERS *} {* SHOW RSVP OPTIONS *} {if $user->user_points>2}
{lang_print id=3000278}
eventmember_info.eventmember_rsvp==1} checked{/if} />
eventmember_info.eventmember_rsvp==2} checked{/if} />
eventmember_info.eventmember_rsvp==3} checked{/if} />
{/if} {* END RSVP OPTIONS *} {* PLUGIN RELATED PROFILE SIDEBAR *} {foreach from=$global_plugins key=plugin_k item=plugin_v} {if !empty($plugin_v.menu_event_side)} {include file=$plugin_v.menu_event_side.file} {/if} {/foreach} {/if} {* END LEFT COLUMN *}
{* BEGIN RIGHT COLUMN *} {* DISPLAY IF EVENT IS PRIVATE TO VIEWING USER *} {if !$allowed_to_view} You are not allowed to view this event. {* DISPLAY ONLY IF EVENT IS NOT PRIVATE TO VIEWING USER *} {else} {* SHOW PROFILE TAB BUTTONS *} {* SHOW GROUP TAB BUTTONS *}
{* PROFILE TAB - SHOW EVENT INFORMATION AND STATISTICS *}
{* SHOW EVENT INFORMATION *}
{lang_print id=3000174}
{if !empty($event->event_info.event_desc)} {/if} {if !empty($event->event_info.event_host)} {/if} {if !empty($event->event_info.event_location)} {/if} {if SE_DEBUG1} {/if} {section name=cat_loop loop=$cats} {section name=field_loop loop=$cats[cat_loop].fields} {/section} {/section}
{lang_print id=3000110} {$event->event_info.event_title}
{lang_print id=3000111} {$event->event_info.event_desc}
{lang_print id=3000175} {assign var=event_date_start value=$datetime->timezone($event->event_info.event_date_start, $global_timezone)} {assign var=event_date_end value=$datetime->timezone($event->event_info.event_date_end, $global_timezone)} {* NO END DATE *} {if !$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)} {/if}
{lang_print id=3000115} {$event->event_info.event_host}
{lang_print id=3000116} {$event->event_info.event_location}
{lang_print id=3000280} {if $eventcat_info.subcat_dependency == 0} {lang_print id=$eventcat_info.subcat_title} {else} {lang_print id=$eventcat_info.cat_title} - {lang_print id=$eventcat_info.subcat_title} {/if}
Address {if $event->event_info.onlineonly==1}Online Event{else}{$event->event_info.address}
{$event->event_info.city}
{$event->event_info.state}{$event->event_info.province}{if $event->event_info.postal!=""} {$event->event_info.postal}{/if}{/if}
{lang_print id=$cats[cat_loop].fields[field_loop].field_title}:
{$cats[cat_loop].fields[field_loop].field_value_formatted}
Loading...
{* END PROFILE TAB - SHOW EVENT INFORMATION AND STATISTICS *} {* CALENDAR TAB - SHOW EVENT DATES *} {*
{foreach name=calendar_year_loop from=$calendar_data.years key=year_time_value item=year_data} {foreach name=calendar_month_loop from=$year_data.months key=month_time_value item=month_data} {include file='event_calendar.tpl' calendar_view="month_small" show_next_last=0 month=$month_data.name year=$year_data.name days_in_month=$month_data.days_in_month first_day_of_month=$month_data.first_day_of_month last_day_of_month=$month_data.last_day_of_month total_cells=$month_data.total_cells event_days=$month_data.days} {if !$smarty.section.calendar_year_loop.last && !$smarty.section.calendar_month_loop.last}
{/if} {/foreach} {/foreach}
*} {* END CALENDAR TAB - SHOW EVENT DATES *} {* MEMBERS TAB - SHOW EVENT MEMBERS AND INVITED USERS *}
{* JAVASCRIPT FOR CHANGING FRIEND MENU OPTION *} {literal} {/literal}
{lang_print id=3000160} ({$total_members})
{* DISPLAY NO RESULTS MESSAGE *} {if $search != "" && $total_members == 0}
{lang_print id=3000162}
{/if} {if $maxpage_members > 1}
{if $p_members != 1}event_info.event_id)}&v=members&search={$search}&p=1&order={$smarty.get.order}">« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p_members != $maxpage_members}› event_info.event_id)}&v=members&search={$search}&p={$maxpage_members}&v_members={$v_members}&order={$smarty.get.order}">»{else}› »{/if}
{if $p_start_members == $p_end_members} {lang_sprintf id=184 1=$p_start_members 2=$total_members} {else} {lang_sprintf id=185 1=$p_start_members 2=$p_end_members 3=$total_members} {/if}
Go to Page:
{/if} {* LOOP THROUGH MEMBERS *} {section name=member_loop loop=$members}
{if $members[member_loop].member->user_info.user_dateupdated != 0}
{lang_print id=849} {assign var='last_updated' value=$datetime->time_since($members[member_loop].member->user_info.user_dateupdated)} {lang_sprintf id=$last_updated[0] 1=$last_updated[1]}
{/if} {* SHOW EVENT MEMBER RANK *}
{if $members[member_loop].member->user_info.user_id==$event->event_info.event_user_id} {lang_print id=3000152} {else} {lang_print id=3000163} {/if}
{* SHOW EVENT MEMBER RSVP *}
{lang_print id=$members[member_loop].eventmember_rsvp_lvid}
{if !$members[member_loop].member->is_viewers_friend && !$members[member_loop].member->is_viewer_blocklisted && $members[member_loop].member->user_info.user_id!=$user->user_info.user_id && $user->user_exists} {/if} {if !$members[member_loop].member->is_viewer_blocklisted && ($user->level_info.level_message_allow == 2 || ($user->level_info.level_message_allow == 1 && $members[member_loop].member->is_viewers_friend)) && $members[member_loop].member->user_info.user_id!=$user->user_info.user_id} {/if}
{if !$smarty.section.member_loop.last}
{/if} {/section} {if $maxpage_members > 1}
{if $p_members != 1}event_info.event_id)}&v=members&search={$search}&p=1&order={$smarty.get.order}">« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p_members != $maxpage_members}› event_info.event_id)}&v=members&search={$search}&p={$maxpage_members}&v_members={$v_members}&order={$smarty.get.order}">»{else}› »{/if}
{if $p_start_members == $p_end_members} {lang_sprintf id=184 1=$p_start_members 2=$total_members} {else} {lang_sprintf id=185 1=$p_start_members 2=$p_end_members 3=$total_members} {/if}
Go to Page:
{/if}
{* END MEMBERS TAB *} {* PHOTOS TAB - SHOW EVENT PHOTOS *}
{lang_javascript ids=182,183,184,185,3000165}
{lang_print id=3000164} ({$eventalbum_info.eventalbum_totalfiles|default:0})
{if $allowed_to_upload}
Add New Photos
{/if}
{* FILES *}
{lang_print id=3000166}
{* BEGIN PHOTOS TAB *} {if $allowed_to_upload != 0 || $total_files != 0} {* PHOTOS TAB *}
Videos ({$total_videos})
{if $allowed_to_upload}
Add New Videos
{/if}
{if $maxpage_videos > 1}
{if $p_videos != 1}« ‹{else}« ‹{/if} | {foreach from=$for3 item=foo} {$foo} {/foreach} | {if $p_videos != $maxpage_videos}› »{else}› »{/if}
{if $p_start_videos == $p_end_videos} {lang_sprintf id=184 1=$p_start_videos 2=$total_videos} {else} {lang_sprintf id=185 1=$p_start_videos 2=$p_end_videos 3=$total_videos} {/if}
Go to Page:
{/if}
{section name=video_loop loop=$videos} {* ENSURE VIDEO TITLE ISN'T BLANK *} {if $videos[video_loop].video_title == ""}{capture assign="video_title"}{lang_print id=589}{/capture}{else}{assign var="video_title" value=$videos[video_loop].video_title}{/if}
{$videos[video_loop].total_comments} comment{if $videos[video_loop].total_comments!=1}s{/if} - {$videos[video_loop].video_views} view{if $videos[video_loop].video_views!=1}s{/if}
{section name=full_loop start=0 loop=$videos[video_loop].video_rating_full} {/section} {if $videos[video_loop].video_rating_part}{/if} {section name=none_loop start=0 loop=$videos[video_loop].video_rating_none} {/section}
{cycle values=","} {/section}
{if $maxpage_videos > 1}
{if $p_videos != 1}« ‹{else}« ‹{/if} | {foreach from=$for3 item=foo} {$foo} {/foreach} | {if $p_videos != $maxpage_videos}› »{else}› »{/if}
{if $p_start_videos == $p_end_videos} {lang_sprintf id=184 1=$p_start_videos 2=$total_videos} {else} {lang_sprintf id=185 1=$p_start_videos 2=$p_end_videos 3=$total_videos} {/if}
Go to Page:
{/if}
{* END PHOTOS TAB *} {* END PHOTOS TAB *} {/if} {* COMMENTS TAB - SHOW EVENT COMMENTS *}
{if $allowed_to_comment}
Comments ({$event->event_info.event_totalcomments|default:0})
{if $user->user_points > 3}
Allowed HTML Tags: b, a, br
{/if}
{/if}
{lang_javascript ids=39,155,175,182,183,184,185,187,784,787,829,830,831,832,833,834,835,854,856,891,1025,1026,1032,1034,1071} {literal} {/literal}
{* END COMMENTS TAB *} {* PLUGIN TABS *} {foreach from=$global_plugins key=plugin_k item=plugin_v} {if !empty($plugin_v.menu_event_tab)} {/if} {/foreach} {* END PLUGIN TABS *}
{/if} {* END PRIVACY IF STATEMENT *} {* END RIGHT COLUMN *}
{include file='footer.tpl'}