jonsan32 12 Junior Poster in Training

I'm trying to use the script below to generate an agenda on my site to promote upcoming events. I purchased a script from code canyon, but can't even get beyond the start of adding it to my site. Any direction would be great. Thanks.

Here's the code:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Google Calendar, iCal &amp; XML Event Calendar List - Example</title>
    <link rel="stylesheet" type="text/css" media="screen" href="https://dl.dropboxusercontent.com/u/5739741/omar/code/google-ical-xml-event-list-calendar-for-php/calendar/css/smoothness/jquery-ui-1.8.23.custom.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="https://dl.dropboxusercontent.com/u/5739741/omar/code/google-ical-xml-event-list-calendar-for-php/calendar/css/calendar.min.css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript" src="https://dl.dropboxusercontent.com/u/5739741/omar/code/google-ical-xml-event-list-calendar-for-php/calendar/js/jquery-ui-1.8.23.custom.min.js"></script>
    <script type="text/javascript" src="https://dl.dropboxusercontent.com/u/5739741/omar/code/google-ical-xml-event-list-calendar-for-php/calendar/js/calendar.min.js"></script>
</head>
<body>
    <div id="container">

        <?php

        /* === Include the classes === */
        require_once('https://dl.dropboxusercontent.com/u/5739741/omar/code/google-ical-xml-event-list-calendar-for-php/calendar/class/calendar.class.php');
        require_once('https://dl.dropboxusercontent.com/u/5739741/omar/code/google-ical-xml-event-list-calendar-for-php/calendar/class/ical.class.php');

        /* === Create a new Calendar object === */
        $cal = new Calendar(array(
            'url'                           => array('https://ical.bookeo.com/20211KFYE6713515F290A4LWPYAP/EC7LLRKU7T697EHT/Z/ical.ics'),
            // 'cache'                      => true,
            // 'cache_dir'                  => 'https://dl.dropboxusercontent.com/u/5739741/omar/code/google-ical-xml-event-list-calendar-for-php/calendar/cache/',
            // 'cache_token'                => 1,
            // 'cache_time'                 => 86400,
            // 'excerpt_length'             => 35,
            // 'auto_title_width'           => true,
            // 'group_events_by_date'       => false,
            // 'group_events_animate'       => true,
            // 'scale'                      => 'month',
            // 'scale_change'               => true,
            // 'date_change'                => true,
            // 'date_picker'                => true,
            // 'date_picker_keep_scale'     => false,
            // 'dst'                        => false,
            // 'social_links'               => true,
            // 'show_map_link'              => true,
            // 'search_form'                => true,
            // 'search_all_events'          => true,
            // 'time_format'                => 12,
            // 'extra_time'                 => 0,
            // 'date_day_addition'          => true,
            // 'skin'                       => 'light',
            // 'hyperlink_urls'             => false,
            // 'day'                        => false,
            // 'month'                      => false,
            // 'year'                       => false,
        ));

        /* === Output the HTML === */
        $cal->output();

        ?>


    </div>
</body>
</html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.