| Domain Info
|
|---|
| |
| Map
|
|---|
| |
| AboutUs Badges
|
|---|
![]() |
Title edit
ay(); for ($i = $now; $i < $now + $days_for_index; $i += 86400) { if (isset($holidays[strftime('%Y-%m-%d', $i)])) $context['calendar_holidays'] = array_merge($context['calendar_holidays'], $holidays[strftime('%Y-%m-%d', $i)]); } // Happy Birthday, guys and gals! $context['calendar_birthdays'] = array(); for ($i = $now; $i < $now + $days_for_index; $i += 86400) if (isset($bday[strftime('%Y-%m-%d', $i)])) { foreach ($bday[strftime('%Y-%m-%d', $i)] as $index => $dummy) $bday[strftime('%Y-%m-%d', $i)][$index]['is_today'] = strftime('%Y-%m-%d', $i) == strftime('%Y-%m-%d', forum_time()); $context['calendar_birthdays'] = array_merge($context['calendar_birthdays'], $bday[strftime('%Y-%m-%d', $i)]); } $context['calendar_events'] = array(); $duplicates = array(); for ($i = $now; $i < $now + $days_for_index; $i += 86400) { if (empty($events[strftime('%Y-%m-%d', $i)])) continue; foreach ($events[strftime('%Y-%m-%d', $i)] as $ev => $event) { if (empty($event['topic']) || (count(array_intersect($user_info['groups'], $event['allowed_groups'])) != 0 || allowedTo('admin_forum'))) { if (isset($duplicates[$events[strftime('%Y-%m-%d', $i)][$ev]['topic'] . $events[strftime('%Y-%m-%d', $i)][$ev]['title']])) { unset($events[strftime('%Y-%m-%d', $i)][$ev]); continue; } $this_event = &$events[strftime('%Y-%m-%d', $i)][$ev]; $this_event['href'] = $this_event['topic'] == 0 ? : $scripturl . '?topic=' . $this_event['topic'] . '.0'; $this_event['modify_href'] = $scripturl . '?action=' . ($this_event['topic'] == 0 ? 'calendar;sa=post;' : 'post;msg=' . $this_event['msg'] . ';topic=' . $this_event['topic'] . '.0;calendar;') . 'eventid=' . $this_event['id'] . ';sesc=' . $sc; $this_event['can_edit'] = allowedTo('calendar_edit_any') || ($this_event['poster'] == $ID_MEMBER && allowedTo('calendar_edit_own')); $this_event['is_today'] = (strftime('%Y-%m-%d', $i)) == strftime('%Y-%m-%d', forum_time()); $this_event['date'] = strftime('%Y-%m-%d', $i); $duplicates[$this_event['topic'] . $this_event['title']] = true; } else unset($events[strftime('%Y-%m-%d', $i)][$ev]); } if (!empty($events[strftime('%Y-%m-%d', $i)])) $context['calendar_events'] = array_merge($context['calendar_events'], $events[strftime('%Y-%m-%d', $i)]); } for ($i = 0, $n = count($context['calendar_birthdays']); $i < $n; $i++) $context['calendar_birthdays'][$i]['is_last'] = !isset($context['calendar_birthdays'][$i + 1]); for ($i = 0, $n = count($context['calendar_events']); $i < $n; $i++) $context['calendar_events'][$i]['is_last'] = !isset($context['calendar_events'][$i + 1]); // This is used to make sure the header should be displayed. return !empty($context['calendar_holidays']) || !empty($context['calendar_birthdays']) || !empty($context['calendar_events']); } ?>
Description edit
Excerpted from the website description:
- HuntSeek Forums - Index
Languages edit
English
Address edit
- PO Box 692355
- Houston TX 77269 US
Contact edit
- HuntSeek Llc
-
- +1 281 330 2435, Fax: +1 775 878 7187

