Server IP : 101.255.104.117 / Your IP : 101.255.104.117 Web Server : Apache/2.4.34 (Win32) OpenSSL/1.0.2o PHP/5.6.38 System : Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586 User : user ( 0) PHP Version : 5.6.38 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/xampp182/htdocs/repository/assets/ |
Upload File : |
$(function(){ var currentDate; // Holds the day clicked when adding a new event var currentEvent; // Holds the event object when editing an event $('#color').colorpicker(); // Colopicker var base_url='http://localhost/pos/'; // Here i define the base_url // Fullcalendar $('#calendar').fullCalendar({ header: { left: 'prev, next, today', center: 'title', right: 'month, basicWeek, basicDay' }, // Get all events stored in database eventLimit: true, // allow "more" link when too many events events: base_url+'admin_dashboard/getEvents', selectable: true, selectHelper: true, editable: true, // Make the event resizable true select: function(start, end) { $('#start').val(moment(start).format('YYYY-MM-DD HH:mm:ss')); $('#end').val(moment(end).format('YYYY-MM-DD HH:mm:ss')); // Open modal to add event modal({ // Available buttons when adding buttons: { add: { id: 'add-event', // Buttons id css: 'btn-success', // Buttons class label: 'Add' // Buttons label } }, title: 'Add Event' // Modal title }); }, });