Esempio n. 1
0
				<div class="login__email">
					<input type="text" name="email" class="login__input" placeholder="Email Address">
				</div>

				<div class="login__password">
					<input type="password" name="password" class="login__input" placeholder="Password">
				</div>

				<div class="login__submit">
					<input class="login__submit-button" type="submit" value="Log in">
				</div>


				<div class="login__signup">
					<a class="login__signup-link" href="<?php 
echo user_route('sign-up');
?>
"> Join the academy. Sign up. </a>
				</div>

			</form>


			<!-- Right Side  -->
			<div class="login__picture-container">

				<img class="random-box" src="<?php 
echo asset_route('site_img') . "green_pattern.png";
?>
" />
			
Esempio n. 2
0
?>
		<?php 
display_alert('alert');
?>
	</div>


	<h1> Admin Links </h1>

	<div class="dashboard-container">
		<a class="" href="<?php 
echo user_route('sign-in');
?>
"> Add Courese </a>
		<a class="" href="<?php 
echo user_route('show-users');
?>
"> Edit Users </a>
	</div>
	

	<form class="update_user--form" method="POST">

		<input type="hidden" id="action" name="_method" value="patch">


		<!-- Bulletproof -->
	    <input type="hidden" id="image-upload--size" name="MAX_FILE_SIZE" value="1000000"/>
	    <input type="file" id="image-upload--file" name="profilePicture"/>

		
Esempio n. 3
0
		<th> Role </th>
		<th> Status </th>
	</tr>

	<?php 
foreach ($users as $k => $user) {
    ?>

			<tr>
				
				<td> <?php 
    echo $user["email"];
    ?>
 
					<a href="<?php 
    echo user_route('edit', "?userId={$user['id']}");
    ?>
 "> Click here? </a>
				</td>

				<td> <?php 
    echo $user["first_name"] . " " . $user["last_name"];
    ?>
 </td>
				<td> <?php 
    echo $user["role"];
    ?>
 </td>
				<td> <?php 
    var_dump($user['active']);
    ?>