Exemplo n.º 1
0
				<p>Hurry up and register and grab your free T-shirt!</p>
			</div>
		</div>
	</div>

	<div class="col-md-4">
		<div class="panel panel-info">
			<div class="panel-heading">
				<h4>Registration</h4>
				<p>Registration will be £20 until <?php 
echo App\Helper::eventData("promoUntil")->format("l jS F");
?>
</p>
				<p>After that the price will be £25.</p>
				<p>Registrations close on <?php 
echo App\Helper::eventData("registerCutoff")->modify('-1 day')->format("l jS F Y");
?>
</p>
			</div>
		</div>
	</div>

	<div class="col-md-4">
		<div class="panel panel-info">
			<div class="panel-heading">
				<h4>Brackets</h4>
				<p>The brackets will be done manually by Luiz so you will only know who you are fighting on the day.</p>
			</div>
		</div>
	</div>
</div>
Exemplo n.º 2
0
				<th>Age</th>
				<th>Belt</th>
				<th>Weight</th>
				<th>Sex</th>
				<th>T-Shirt Size</th>
			</tr>
		</thead>
		<tbody>
	<?php 
$now = new DateTime();
?>
    @foreach($data['all'] as $user)
    	<?php 
$dob = new DateTime($user['dob']);
$age = $dob->diff($now);
$weight = App\Helper::getWeightStr($user['weight'], $user['gender']);
?>
    		<tr class="{{$user['belt']}}">
				<td>{{$user['f_name']}}</td>
				<td>{{$user['l_name']}}</td>
				<td>{{$user['nickname']}}</td>
				<td>{{$age->format('%y')}}</td>
				<td>{{$user['belt']}}</td>
				<td>{{$weight}}</td>
				<td>{{$user['gender']}}</td>
				<td>{{strtoupper($user['t_shirt_size'])}}</td>
			</tr>
    @endforeach
    	</tbody>
	</table>
Exemplo n.º 3
0
        echo App\Helper::mapRegistrationFieldNames($key);
        ?>
: <?php 
        echo $value;
        ?>
</li>
				<?php 
    }
    ?>
				</ul>
			</div>

			<div class="img"><strong>Important!</strong><p>Dont forget to click the return button after you pay!</p><img src="/img/paypal-comeback.jpg" alt=""></div> <br>

			<?php 
    if (new DateTime() < App\Helper::eventData("promoUntil")) {
        ?>
			<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
				<input type="hidden" name="cmd" value="_s-xclick">
				<input type="hidden" name="cbt" value="Go back to LFF Cup Site">
				<input type="hidden" name="return" value="<?php 
        echo env("URL");
        ?>
/paymentconfirm?token=<?php 
        echo $userToken;
        ?>
">
				<input type="hidden" name="hosted_button_id" value="2L4H4L2GFT2XA">
				<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
				<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
			</form>
Exemplo n.º 4
0
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?php 
echo App\Helper::eventData('title');
?>
</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css" />
    <link rel="stylesheet" href="bower_components/fontawesome/css/font-awesome.min.css" />
    <link rel="stylesheet" href="bower_components/jquery-ui/themes/base/all.css" />
    <link rel="stylesheet" href="/css/main.css" />
    <link href='http://fonts.googleapis.com/css?family=Roboto:400,300,500' rel='stylesheet' type='text/css'>

    <script src="bower_components/jquery/dist/jquery.min.js"></script>
    <script src="bower_components/jquery-ui/jquery-ui.min.js"></script>
    <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
</head>
<body>
    <div class="container">
        @yield('content')
    </div>
</body>

</html>
Exemplo n.º 5
0
    ?>
			<div class="alert alert-danger">
			<?php 
    foreach ($messages->all() as $message) {
        echo $message . '<br>';
    }
    ?>
			</div>
	<?php 
}
?>
</div>	

<?php 
$now = new DateTime();
if ($now >= App\Helper::eventData("registerCutoff")) {
    ?>

<div class="form-group col-md-12">
	<h2>Registrations are now closed...</h2>
</div>
	
<?php 
} else {
    ?>

<div class="row">
	<div class="col-md-12">
		<div class="panel panel-info">
			<div class="panel-heading">	
				<h2 class="text-center">Registration</h2>