Example #1
0
Form::Label("Password", "password");
?>
				<br />
				<?php 
Form::Passwordbox("password", "password");
?>
			</td>
		</tr>
		<tr>
			<td>
				<?php 
Form::Label("Retype password", "retypedPassword");
?>
				<br />
				<?php 
Form::Passwordbox("retypedPassword", "retypedPassword");
?>
			</td>
		</tr>
		<tr>
			<td class="align-center">
				<?php 
Form::SubmitButton("submit", "Register");
?>
			</td>
		</tr>
	</table>
</form>

<?php 
require_once $_SERVER['DOCUMENT_ROOT'] . "/include/footer.php";
Example #2
0
				<?php 
Form::Textbox("user", "user");
?>
			</td>
		</tr>
		<tr>
			<td>
				<?php 
Form::Label("Password", "password");
?>
				<br />
				<?php 
Form::Passwordbox("password", "password");
?>
			</td>
		</tr>
		<tr>
			<td class="align-center">
				<?php 
Form::SubmitButton("submit", "Log in");
?>
			</td>
		</tr>
	</table>
</form>

<p>&nbsp;
<p>Don't have an account? <a href="/register.php">Register!</a>

<?php 
require_once $_SERVER['DOCUMENT_ROOT'] . "/include/footer.php";
Example #3
0
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . "/include/header.php";
?>

<h1>Find mutual champions</h1>

<form method="get" action="/index.php" accept-charset="UTF-8">
	<table class="form-table">
		<?php 
CreatePlayerComboboxes();
?>
		<tr>
			<td colspan = "5" class="align-center">
				<?php 
Form::SubmitButton("Submit", "Find");
?>
			</td>
		</tr>
	</table>
</form>

<?php 
DisplayMutualChampions();
require_once $_SERVER['DOCUMENT_ROOT'] . "/include/footer.php";
SelectPreviousValuesInPlayerComboboxes();
//Creates a group of comboboxes with list of available players
function CreatePlayerComboboxes()
{
    $comboboxesCount = 5;
    $namePattern = "player";
Example #4
0
<h1>Add or remove champions owned by you</h1>

<form method="post" action="/process/manage-champions.php" accept-charset="UTF-8">
	<table class="form-table">
		<tr>
			<td>
				<?php 
Form::Label("Champion", "champion");
?>
				<br />
				<?php 
Form::Combobox("champion", "champion", ChampionFacade::GetAllChampions());
?>
			</td>
		</tr>
		<tr>
			<td class="align-center">
				<?php 
Form::SubmitButton("submit", "Add");
?>
 <?php 
Form::SubmitButton("submit", "Remove");
?>
 
			</td>
		</tr>
	</table>
</form>

<?php 
require_once $_SERVER['DOCUMENT_ROOT'] . "/include/footer.php";
Example #5
0
Form::Label("Champion name", "champion");
?>
				<br />
				<?php 
Form::Textbox("champion", "champion");
?>
			</td>
		</tr>
		<tr>
			<td>
				<?php 
Form::Label("Champion image (.png, max size: 300kB)", "image");
?>
				<br />
				<?php 
Form::Filebox("image", "image");
?>
			</td>
		</tr>
		<tr>
			<td class="align-center">
				<?php 
Form::SubmitButton("submit", "Add");
?>
			</td>
		</tr>
	</table>
</form>

<?php 
require_once $_SERVER['DOCUMENT_ROOT'] . "/include/footer.php";