function c_calendarMini() { if (!isset($_GET['month'])) { $_GET['month'] = date('n'); } if (!isset($_GET['year'])) { $_GET['year'] = date('Y'); } ?> <link type="text/css" href="<?php get_site_url(); ?> /plugins/calendar/css/calendarMini.css" rel="stylesheet" /> <table id="calendarMini"> <tr> <th><?php i18n('calendar/Mo'); ?> </th> <th><?php i18n('calendar/Tu'); ?> </th> <th><?php i18n('calendar/We'); ?> </th> <th><?php i18n('calendar/Th'); ?> </th> <th><?php i18n('calendar/Fr'); ?> </th> <th><?php i18n('calendar/Sa'); ?> </th> <th class="sunday"><?php i18n('calendar/Su'); ?> </th> </tr> <?php c_calendar($_GET['month'], $_GET['year'], 'load.php?id=calendar&edit=', False); ?> </table> <?php }
</th> <th><?php i18n('calendar/Wednesday'); ?> </th> <th><?php i18n('calendar/Thursday'); ?> </th> <th><?php i18n('calendar/Friday'); ?> </th> <th><?php i18n('calendar/Saturday'); ?> </th> <th class="sunday"><?php i18n('calendar/Sunday'); ?> </th> </tr> <?php $xml = simplexml_load_file(GSDATAOTHERPATH . '/calendar.xml'); $page = $xml->page; c_monthChange('index.php?id=' . $page); c_calendar($_GET['month'], $_GET['year'], 'index.php?id=' . $page . '&event='); ?> </table>
i18n('calendar/Tuesday'); ?> </th> <th><?php i18n('calendar/Wednesday'); ?> </th> <th><?php i18n('calendar/Thursday'); ?> </th> <th><?php i18n('calendar/Friday'); ?> </th> <th><?php i18n('calendar/Saturday'); ?> </th> <th class="sunday"><?php i18n('calendar/Sunday'); ?> </th> </tr> <?php c_monthChange('load.php?id=calendar&calendar'); c_calendar($_GET['month'], $_GET['year'], 'load.php?id=calendar&edit='); ?> </table>