<?php require_once '../init.php'; $company = new Company(); $message = new Message(); $vacature = new Vacature(); $medewerker = new Medewerker(); $branche = new Branche(); $logged_in = $company->is_company_logged_in(); if (!$logged_in) { // check if company is logged in echo '<script>location.href="../company.php"</script>'; // relocate user to login page } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Softjobs - Admin paneel</title> <!-- CK editor -->
private $aantalGeven; public function __construct($familienaam, $voornaam, $aantal) { parent::__construct($familienaam, $voornaam); $this->aantalGeven = $aantal; } public function getAantalCursisten() { return $this->aantalGeven; } } ?> <?php $cursist = new Cursist("Peeters", "Jan", 3); $medewerker = new Medewerker("Janssens", "Tom", 8); ?> <!DOCTYPE HTML> <html> <head> <meta charset=utf-8> <title>Cursisten en medewerkers</title> </head> <body> <h1>Namen</h1> <ul> <li><?php print $cursist->getVollNaam() . " volgt " . $cursist->getAantalCursussen() . " cursus(sen)"; ?> </li> <li><?php
<?php require_once '../init.php'; $company = new Company(); $message = new Message(); $vacature = new Vacature(); $date = new DateTime(); $timestamp = $date->getTimestamp(); $medewerker = new Medewerker(); $logged_in = $company->is_company_logged_in(); if (!$logged_in) { // check if company is logged in echo '<script>location.href="../company.php"</script>'; // relocate user to login page } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Softjobs - Admin paneel</title> <!-- Bootstrap Core CSS -->
<?php require_once '../init.php'; $company = new Company(); $message = new Message(); $vacature = new Vacature(); $medewerker = new Medewerker(); $logged_in = $company->is_company_logged_in(); if (!$logged_in) { // check if company is logged in echo '<script>location.href="../company.php"</script>'; // relocate user to login page } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Softjobs - Admin paneel</title> <!-- Bootstrap Core CSS --> <link href="css/bootstrap.min.css" rel="stylesheet">