Add SPOTA core PHP application
Add the main admin, dosen, mahasiswa, API, and service code needed to run the core legacy application with configurable upload storage.
This commit is contained in:
41
json-jadwal.php
Normal file
41
json-jadwal.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
$year = date('Y');
|
||||
$month = date('m');
|
||||
|
||||
echo json_encode(array(
|
||||
|
||||
array(
|
||||
'id' => 111,
|
||||
'title' => "Event1",
|
||||
'start' => "$year-$month-10"
|
||||
),
|
||||
|
||||
array(
|
||||
'id' => 222,
|
||||
'title' => "Event2",
|
||||
'start' => "$year-$month-20",
|
||||
'end' => "$year-$month-22" ),
|
||||
|
||||
array(
|
||||
'id' => 232,
|
||||
'title' => "Event3",
|
||||
'start' => "$year-$month-1 14:30:00",
|
||||
'allDay'=>false
|
||||
),
|
||||
|
||||
array(
|
||||
'title'=> "Lunch with Nicole",
|
||||
'start'=> "2014-09-18T12:35:00",
|
||||
'className'=> "label-green",
|
||||
'allDay'=> false
|
||||
),
|
||||
array(
|
||||
'title'=> "Lunch",
|
||||
'start'=> "2014-09-18T12:45:00",
|
||||
'allDay'=> false
|
||||
)
|
||||
|
||||
));
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user