Webbserverprogrammering 1

Show sourcecode

The following files exists in this folder. Click to view.

webbsrvprg/exercises/projekt/

changeowned.php
classes/
createcard.php
database.php
forgot.php
incl/
index.php
leaderboard.php
lineup.php
login.php
logout.php
newpass.php
otherlineup.php
playerinfo.php
projekt.zip
skapatabeller.php
verify.php

index.php

34 lines UTF-8 Windows (CRLF)
<?php
$title 
"Hemsida";
$pageId "index";
$pageStyle '
.storknapp{
    display: flex;
     margin: 30px;
}
.storknapp a{
 display: inline-block;
 margin: auto;
 font-size: 30px;
 text-decoration: none;
 padding: 10px;
 background-color: lightgreen;
 color: black;
}
 '
;
require_once(
"classes/filtersort.php");
$FilterSort = new Filter($dbconn);
include(
"incl/protected.php");
include(
"incl/header.php");
$owned true;
$FilterSort -> addFilters($owned);
?>
<main>
<section>
    <article class="storknapp">
    <a href="changeowned.php" class="storknapp">Lägga till eller ta bort spelare <br> från samling</a>
    </article>
</section>
    <?php include('incl/playertable.php'); ?>
</main>
<?php include("incl/footer.php"); ?>