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

otherlineup.php

41 lines ASCII Windows (CRLF)
<?php
$userid 
htmlspecialchars($_GET["userid"], ENT_QUOTES,'UTF-8');;
$name htmlspecialchars($_GET["name"], ENT_QUOTES,'UTF-8');;
$title $name "s Startelva";
$pageId "otherlineup";
$pageStyle '
#displaylineup {
 border-radius: 10px;
 display: grid;
 grid-template-columns: auto auto;
 border-color:#333;
 box-shadow: 10px 10px 5px #888;
 text-align: center;
}
 #displaylineup > div{
    display: inline-block;
    background-color: lightgreen;
    margin: 10px  100px;
    text-align: center;
 }
#MV{
grid-column-start: 1;
  grid-column-end: 3;
}
  h1{
  text-align: center;
}
  '
;
require_once(
"classes/lineup.php");
$lineup = new Lineup($dbconn);
include(
"incl/header.php");

?>
<section>
    <?php
    
echo '<h1>'$name's Startelva</h1>';
    
$lineup->displaylineup($userid);
    
?>
    </div>
</section>
<?php include("incl/footer.php"?>