Example #1
0
include '../Classes/VideosActions.php';
session_start();
if (empty($_SESSION['username'])) {
    header('Location:Auth.php');
}
$msg = $_GET['msg'];
echo $msg;
$actoractions = new ActorsActions();
$actors = $actoractions->getAllActors();
$idd = $_GET['id'];
$catactions = new CategoriesActions();
$categories = $catactions->getAllCategories();
$vidactions = new VideosActions();
$videos = $vidactions->getVideosForSpecificCategorie($idd);
var_dump($videos);
$upit = $catactions->getCategorieBySpecificID($idd);
$specificcategorie = $upit->fetch(PDO::FETCH_ASSOC);
?>



<!DOCTYPE html>
<html lang="en">
<head>
    <style>

        body{

            background-image: url("../Images/background2.jpg");
            background-repeat: no-repeat;
            background-size:100% 100%;