Beispiel #1
0
					<a href="/match.php?match=' . $match['id'] . '" class="g2 slate is--result' . $isDisputed . '">
					
						<div class="base"></div>

						<div class="col1 player is--a is--winner is--level' . $winnerStats['levelId'] . '">
						
							<figure class="position-triangle">' . file_get_contents('src/img/position-triangle.svg') . '</figure>';
            playerPhoto($match['winner-id']);
            echo '
							<div class="difference">+<span class="count">' . $match['difference'] * 5 . '</span></div>
						</div>
						
						<div class="col2 player is--b is--loser is--level' . $loserStats['levelId'] . '">
						
							<figure class="position-triangle">' . file_get_contents('src/img/position-triangle.svg') . '</figure>';
            playerPhoto($match['loser-id']);
            echo '
							<div class="difference">-<span class="count">' . $match['difference'] * 5 . '</span></div>
						</div>			

					</a>
				</li>';
        }
        echo '</section>';
    }
}
?>



Beispiel #2
0
<aside class="prompt">
	<p>Got your image - now hit Update Profile</p>
</aside>

<form id="updateAccount" class="block table account" method="post" action="<?php 
echo $actions;
?>
updateAccount.php" enctype="multipart/form-data">
	
	<fieldset class="row is--photo">

		<label for="player-photo" class="player-photo-label">

			<?php 
playerPhoto($you['id']);
?>

			<input type="file" name="player-photo" id="player-photo" accept="image/*">

		</label>
		
	</fieldset>
	
	<fieldset class="row">
		
		<label for="fullName" class="h4">Full Name</label>
		<input type="text" name="fullName" id="fullName" value="<?php 
echo $you['name'];
?>
" />
Beispiel #3
0
    } else {
        $isDisputed = '';
    }
    echo '
				<li>
					<a href="/match.php?match=' . $result['id'] . '" class="g2 slate is--result' . $isDisputed . '">
					
						<div class="base"></div>
						
						<div class="col1 player is--a is--winner is--level' . $winnerStats['levelId'] . '">
						
							<figure class="position-triangle">' . file_get_contents('src/img/position-triangle.svg') . '</figure>';
    playerPhoto($result['winner-id']);
    echo '
							<div class="difference">+<span class="count">' . $result['difference'] * 5 . '</span></div>
						</div>
						
						<div class="col2 player is--b is--loser is--level' . $loserStats['levelId'] . '">
						
							<figure class="position-triangle">' . file_get_contents('src/img/position-triangle.svg') . '</figure>';
    playerPhoto($result['loser-id']);
    echo '
							<div class="difference">-<span class="count">' . $result['difference'] * 5 . '</span></div>
						</div>			

					</a>
				</li>';
}
?>

</section>