Example #1
0
require_once $_SERVER['DOCUMENT_ROOT'] . "/include/header.php";
Site::RequiresLoggedInUser("/log-in.php");
?>

<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>