Example #1
0
<script src='fullcalendar/fullcalendar.js'></script>
<link rel="stylesheet" type="text/css" href="archersys-ui.css"/>
<script type='text/javascript' src='fullcalendar/gcal.js'></script>
<script>
$(function(){
  $('#calendar').fullCalendar({
header: {
    left:   'title',
    center: 'agendaDay,agendaWeek,month',
    right:  'today prev,next'
},
              googleCalendarApiKey: 'AIzaSyDjYpnvY4VwLowJ5KH6j_aGr7E4prvka84',
events: {
      googleCalendarId: '*****@*****.**',
       className: 'gcal-event'
},
allDaySlot: true,
dayClick: function(){
   $("#calendar").fullCalendar('changeView','agendaDay');
}
    });
});
</script>
</head>
<body>
<div id='calendar' class="archercal-container"></div>
<?php 
   addFeedBack();
?>
</body>
</html>
Example #2
0
 public static function submitFeedback($requester, $body)
 {
     addFeedBack($requester['phone'], $body);
     PubSub::publish(GenieConstants::$SERVICE_REQUEST_COMPLETE, $requester);
 }