| Server IP : 37.9.174.138 / Your IP : 216.73.216.117 Web Server : Apache System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64 User : ftpuser ( 1001) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/artav.sk/poradna/ |
Upload File : |
<?php
printVarsArray("state=ACTIVE&name=130&category=Ac&type=Z%C3%A1kladn%C3%BD+kurz&price_incl_tax=200.00&certificate_type=Osved%C4%8Denie&repeating_interval=1x+za+3+roky&name=130&sign_conditions%5B%5D=vek+od+18+rokov&sign_conditions%5B%5D=zdravotn%C3%A1+sp%C3%B4sobilos%C5%A5&sign_conditions%5B%5D=potvrdenie+do+preukazu%2Fdokladu&sign_conditions%5B%5D=absolvovanie+zakaldneho+kurzu&sign_conditions%5B%5D=potvrdenie+na+osved%C4%8Denie&sign_conditions%5B%5D=potvrdenie+do++dokladu&sign_conditions%5B%5D=doplatok&logo=%2Fuploads%2Fprivate%2Fuploads%2Ftrainings%2Ftrainings%2FTEST.jpg&priority=99&is_top=1&certificate_name=test&certificate_name=%3Cp%3Etoto+je+text+certifikatu%3C%2Fp%3E&id=1&trainings_categories_id=1&last_update=2024-05-03+18%3A08%3A23");
//$function = $_GET['function'];
//$arg1 = $_GET['arg1'];
//
//$function(urldecode($arg1));
function printVarsArray($urlEncoded) {
$vars = array();
$items = explode("&", $urlEncoded);
foreach ($items as $item) {
$break = explode("=", $item);
$vars[] = $break[0];
}
echo '"' . implode('", "', $vars) . '"';
}
$googleClient = new \Google_Client();
$googleClient->setScopes([Google\Service\Calendar::CALENDAR]);
$googleClient->setAccessType('offline');
$googleClient->setAuthConfig(GOOGLE_CLIENT_CREDENTIALS_PATH);
$googleService = new Google\Service\Calendar($googleClient);
print_rr($googleService->calendarList->listCalendarList());
exit;
var_dump($googleService->colors->get());
exit;
$colors = $service->colors->get();
$event = new Google_Service_Calendar_Event(array(
'summary' => 'Test Event',
'description' => 'Test Event',
'start' => array(
'dateTime' => '2018-06-02T09:00:00-07:00'
),
'end' => array(
'dateTime' => '2018-06-10T09:00:00-07:00'
)
));
$calendarId = 'j85tnbuj1e5tgnizqt9faf2i88@group.calendar.google.com';
$event = $service->events->insert($calendarId, $event);
printf('Event created: %s\n', $event->htmlLink);
// Print available calendarListEntry colors.
foreach ($colors->getCalendar() as $key => $color) {
print "colorId : {$key}\n";
print " Background: {$color->getBackground()}\n";
print " Foreground: {$color->getForeground()}\n";
}
// Print available event colors.
foreach ($colors->getEvent() as $key => $color) {
print "colorId : {$key}\n";
print " Background: {$color->getBackground()}\n";
print " Foreground: {$color->getForeground()}\n";
}
exit;