@@ -4,7 +4,10 @@ |
||
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <meta name="robots" content="noindex"> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
7 | - <title><?= $error_code ?><?php if (isset($message)) echo " - ", $message; ?></title> |
|
7 | + <title><?= $error_code ?><?php if (isset($message)) { |
|
8 | + echo " - ", $message; |
|
9 | +} |
|
10 | +?></title> |
|
8 | 11 | <link rel="stylesheet" href="<?= base_url() ?>static/styles/error.css"> |
9 | 12 | </head> |
10 | 13 | <body> |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | -$text_input = function ($name, $large_text=false) use ($errors) { |
|
2 | +$text_input = function($name, $large_text = false) use ($errors) { |
|
3 | 3 | ?> |
4 | 4 | <?php if ($large_text): ?> |
5 | 5 | <textarea name="<?= $name ?>" class="pure-input-1" required=""><?= isset($_POST[$name]) ? $_POST[$name] : '' ?></textarea> |
6 | - <?php else: ?> |
|
6 | + <?php else : ?> |
|
7 | 7 | <input |
8 | 8 | name="<?= $name ?>" |
9 | 9 | value="<?= isset($_POST[$name]) ? $_POST[$name] : '' ?>" |
@@ -3,14 +3,17 @@ discard block |
||
3 | 3 | ?> |
4 | 4 | <?php if ($large_text): ?> |
5 | 5 | <textarea name="<?= $name ?>" class="pure-input-1" required=""><?= isset($_POST[$name]) ? $_POST[$name] : '' ?></textarea> |
6 | - <?php else: ?> |
|
6 | + <?php else { |
|
7 | + : ?> |
|
7 | 8 | <input |
8 | 9 | name="<?= $name ?>" |
9 | 10 | value="<?= isset($_POST[$name]) ? $_POST[$name] : '' ?>" |
10 | 11 | required="" |
11 | 12 | type="text" |
12 | 13 | class="pure-input-1"> |
13 | - <?php endif; ?> |
|
14 | + <?php endif; |
|
15 | +} |
|
16 | +?> |
|
14 | 17 | |
15 | 18 | <?php if (isset($errors[$name])): ?> |
16 | 19 | <div class="error pure-input-1-1"><?= $errors[$name] ?></div> |
@@ -33,11 +36,14 @@ discard block |
||
33 | 36 | <?php if ($user_details): ?> |
34 | 37 | <?php if ($user_details['payment_status'] == 'success'): ?> |
35 | 38 | <p class="success">You have successfully paid </p> |
36 | - <?php else: ?> |
|
39 | + <?php else { |
|
40 | + : ?> |
|
37 | 41 | <div class="text-center"> |
38 | 42 | <?php if ($user_details['payment_status'] == 'failed'): ?> |
39 | 43 | <p class="error">Payment was unsuccessfull </p> |
40 | - <?php endif; ?> |
|
44 | + <?php endif; |
|
45 | +} |
|
46 | +?> |
|
41 | 47 | |
42 | 48 | <a href="<?= $payment_url ?>" class="pure-button pure-button-primary some-top-margin"> |
43 | 49 | <?= __('Proceed to payment ₹100') ?> |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -$text_input = function ($name, $required=true) use ($errors) { |
|
2 | +$text_input = function($name, $required = true) use ($errors) { |
|
3 | 3 | ?> |
4 | 4 | <input |
5 | 5 | name="<?= $name ?>" |
@@ -34,7 +34,8 @@ discard block |
||
34 | 34 | <p class="text-center"> |
35 | 35 | If you think this is a mistake, please email us at <a href="mailto:[email protected]" class="underlined">[email protected]</a> |
36 | 36 | </p> |
37 | - <?php else: ?> |
|
37 | + <?php else { |
|
38 | + : ?> |
|
38 | 39 | <p class="text-center lead"> |
39 | 40 | Note: Make sure that all of the team members are registered with us. |
40 | 41 | </p> |
@@ -45,7 +46,9 @@ discard block |
||
45 | 46 | <fieldset class="offset3 col6"> |
46 | 47 | <?php if (isset($errors['common'])): ?> |
47 | 48 | <div class="error pure-input-1-1"><?= $errors['common'] ?></div> |
48 | - <?php endif; ?> |
|
49 | + <?php endif; |
|
50 | +} |
|
51 | +?> |
|
49 | 52 | |
50 | 53 | <label><?= __('Team name') ?> (*)</label> |
51 | 54 | <?php $text_input('team_name'); ?> |
@@ -36,7 +36,8 @@ discard block |
||
36 | 36 | But your payment is unsuccessful. If you think this is a mistake, please email us at <a href="mailto:[email protected]" class="underlined">[email protected]</a> |
37 | 37 | </p> |
38 | 38 | <a class="btn" href="<?= locale_base_url() ?>pulsation/artuino/pay_again/"> Click here to pay again.</a> |
39 | - <?php else: ?> |
|
39 | + <?php else { |
|
40 | + : ?> |
|
40 | 41 | <p class="text-center lead success"> |
41 | 42 | Payment Successful. You're registered for the event as a part of team <?= $team_info['team_name'] ?> |
42 | 43 | </p> |
@@ -44,8 +45,11 @@ discard block |
||
44 | 45 | Kindly carry your payment receipt which is mailed to you while atteding workshop.<br/> |
45 | 46 | If you think this is a mistake, please email us at <a href="mailto:[email protected]" class="underlined">[email protected]</a> |
46 | 47 | </p> |
47 | - <?php endif; ?> |
|
48 | - <?php else: ?> |
|
48 | + <?php endif; |
|
49 | +} |
|
50 | +?> |
|
51 | + <?php else { |
|
52 | + : ?> |
|
49 | 53 | <p class="text-center lead"> |
50 | 54 | Note: Make sure that all of the team members are registered with us. |
51 | 55 | </p> |
@@ -56,7 +60,9 @@ discard block |
||
56 | 60 | <fieldset class="offset3 col6"> |
57 | 61 | <?php if (isset($errors['common'])): ?> |
58 | 62 | <div class="error pure-input-1-1"><?= $errors['common'] ?></div> |
59 | - <?php endif; ?> |
|
63 | + <?php endif; |
|
64 | +} |
|
65 | +?> |
|
60 | 66 | |
61 | 67 | <label><?= __('Team name') ?> (*)</label> |
62 | 68 | <?php $text_input('team_name'); ?> |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -$text_input = function ($name, $required=true) use ($errors) { |
|
2 | +$text_input = function($name, $required = true) use ($errors) { |
|
3 | 3 | ?> |
4 | 4 | <input |
5 | 5 | name="<?= $name ?>" |
@@ -3,14 +3,17 @@ discard block |
||
3 | 3 | ?> |
4 | 4 | <?php if ($large_text): ?> |
5 | 5 | <textarea name="<?= $name ?>" class="pure-input-1" required=""><?= isset($_POST[$name]) ? $_POST[$name] : '' ?></textarea> |
6 | - <?php else: ?> |
|
6 | + <?php else { |
|
7 | + : ?> |
|
7 | 8 | <input |
8 | 9 | name="<?= $name ?>" |
9 | 10 | value="<?= isset($_POST[$name]) ? $_POST[$name] : '' ?>" |
10 | 11 | required="" |
11 | 12 | type="text" |
12 | 13 | class="pure-input-1"> |
13 | - <?php endif; ?> |
|
14 | + <?php endif; |
|
15 | +} |
|
16 | +?> |
|
14 | 17 | |
15 | 18 | <?php if (isset($errors[$name])): ?> |
16 | 19 | <div class="error pure-input-1-1"><?= $errors[$name] ?></div> |
@@ -39,7 +42,8 @@ discard block |
||
39 | 42 | But your payment is unsuccessful. If you think this is a mistake, please email us at <a href="mailto:[email protected]" class="underlined">[email protected]</a> |
40 | 43 | </p> |
41 | 44 | <a class="btn" href="<?= locale_base_url() ?>talks-and-workshops/web-development/pay_again/"> Click here to pay again.</a> |
42 | - <?php else: ?> |
|
45 | + <?php else { |
|
46 | + : ?> |
|
43 | 47 | <p class="text-center lead success"> |
44 | 48 | Payment Successful. You're registered for the event. |
45 | 49 | </p> |
@@ -47,13 +51,18 @@ discard block |
||
47 | 51 | Kindly carry your payment receipt which is mailed to you while atteding workshop.<br/> |
48 | 52 | If you think this is a mistake, please email us at <a href="mailto:[email protected]" class="underlined">[email protected]</a> |
49 | 53 | </p> |
50 | - <?php endif; ?> |
|
51 | - <?php else: ?> |
|
54 | + <?php endif; |
|
55 | +} |
|
56 | +?> |
|
57 | + <?php else { |
|
58 | + : ?> |
|
52 | 59 | <form class="pure-form pure-form-stacked row" method="post" action=""> |
53 | 60 | <fieldset class="offset3 col6"> |
54 | 61 | <?php if (isset($errors['common'])): ?> |
55 | 62 | <div class="error pure-input-1-1"><?= $errors['common'] ?></div> |
56 | - <?php endif; ?> |
|
63 | + <?php endif; |
|
64 | +} |
|
65 | +?> |
|
57 | 66 | |
58 | 67 | <label><?= __('Contact number') ?></label> |
59 | 68 | <?php $text_input('contact_number'); ?> |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | -$text_input = function ($name, $large_text=false) use ($errors) { |
|
2 | +$text_input = function($name, $large_text = false) use ($errors) { |
|
3 | 3 | ?> |
4 | 4 | <?php if ($large_text): ?> |
5 | 5 | <textarea name="<?= $name ?>" class="pure-input-1" required=""><?= isset($_POST[$name]) ? $_POST[$name] : '' ?></textarea> |
6 | - <?php else: ?> |
|
6 | + <?php else : ?> |
|
7 | 7 | <input |
8 | 8 | name="<?= $name ?>" |
9 | 9 | value="<?= isset($_POST[$name]) ? $_POST[$name] : '' ?>" |
@@ -3,14 +3,17 @@ discard block |
||
3 | 3 | ?> |
4 | 4 | <?php if ($large_text): ?> |
5 | 5 | <textarea name="<?= $name ?>" class="pure-input-1" required=""><?= isset($_POST[$name]) ? $_POST[$name] : '' ?></textarea> |
6 | - <?php else: ?> |
|
6 | + <?php else { |
|
7 | + : ?> |
|
7 | 8 | <input |
8 | 9 | name="<?= $name ?>" |
9 | 10 | value="<?= isset($_POST[$name]) ? $_POST[$name] : '' ?>" |
10 | 11 | required="" |
11 | 12 | type="text" |
12 | 13 | class="pure-input-1"> |
13 | - <?php endif; ?> |
|
14 | + <?php endif; |
|
15 | +} |
|
16 | +?> |
|
14 | 17 | |
15 | 18 | <?php if (isset($errors[$name])): ?> |
16 | 19 | <div class="error pure-input-1-1"><?= $errors[$name] ?></div> |
@@ -39,7 +42,8 @@ discard block |
||
39 | 42 | But your payment is unsuccessful. If you think this is a mistake, please email us at <a href="mailto:[email protected]" class="underlined">[email protected]</a> |
40 | 43 | </p> |
41 | 44 | <a class="btn" href="<?= locale_base_url() ?>talks-and-workshops/arvr/pay_again/"> Click here to pay again.</a> |
42 | - <?php else: ?> |
|
45 | + <?php else { |
|
46 | + : ?> |
|
43 | 47 | <p class="text-center lead success"> |
44 | 48 | Payment Successful. You're registered for the event. |
45 | 49 | </p> |
@@ -47,13 +51,18 @@ discard block |
||
47 | 51 | Kindly carry your payment receipt which is mailed to you while atteding workshop.<br/> |
48 | 52 | If you think this is a mistake, please email us at <a href="mailto:[email protected]" class="underlined">[email protected]</a> |
49 | 53 | </p> |
50 | - <?php endif; ?> |
|
51 | - <?php else: ?> |
|
54 | + <?php endif; |
|
55 | +} |
|
56 | +?> |
|
57 | + <?php else { |
|
58 | + : ?> |
|
52 | 59 | <form class="pure-form pure-form-stacked row" method="post" action=""> |
53 | 60 | <fieldset class="offset3 col6"> |
54 | 61 | <?php if (isset($errors['common'])): ?> |
55 | 62 | <div class="error pure-input-1-1"><?= $errors['common'] ?></div> |
56 | - <?php endif; ?> |
|
63 | + <?php endif; |
|
64 | +} |
|
65 | +?> |
|
57 | 66 | |
58 | 67 | <label><?= __('Contact number') ?></label> |
59 | 68 | <?php $text_input('contact_number'); ?> |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | -$text_input = function ($name, $large_text=false) use ($errors) { |
|
2 | +$text_input = function($name, $large_text = false) use ($errors) { |
|
3 | 3 | ?> |
4 | 4 | <?php if ($large_text): ?> |
5 | 5 | <textarea name="<?= $name ?>" class="pure-input-1" required=""><?= isset($_POST[$name]) ? $_POST[$name] : '' ?></textarea> |
6 | - <?php else: ?> |
|
6 | + <?php else : ?> |
|
7 | 7 | <input |
8 | 8 | name="<?= $name ?>" |
9 | 9 | value="<?= isset($_POST[$name]) ? $_POST[$name] : '' ?>" |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -$text_input = function ($name, $type="text") use ($errors) { |
|
2 | +$text_input = function($name, $type = "text") use ($errors) { |
|
3 | 3 | ?> |
4 | 4 | <input |
5 | 5 | name="<?= $name ?>" |
@@ -36,12 +36,15 @@ |
||
36 | 36 | You can change it till 2017-01-15 21:00. |
37 | 37 | </div> |
38 | 38 | </div> |
39 | - <?php else: ?> |
|
39 | + <?php else { |
|
40 | + : ?> |
|
40 | 41 | <form class="pure-form pure-form-stacked row" method="post" action=""> |
41 | 42 | <fieldset class="offset3 col6"> |
42 | 43 | <?php if (isset($errors['common'])): ?> |
43 | 44 | <div class="error pure-input-1-1"><?= $errors['common'] ?></div> |
44 | - <?php endif; ?> |
|
45 | + <?php endif; |
|
46 | +} |
|
47 | +?> |
|
45 | 48 | |
46 | 49 | <label><?= __('Drive Link') ?></label> |
47 | 50 | <?php $text_input('paper_link', 'url'); ?> |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | -$text_input = function ($name, $large_text=false, $required=true) use ($errors) { |
|
2 | +$text_input = function($name, $large_text = false, $required = true) use ($errors) { |
|
3 | 3 | ?> |
4 | 4 | <?php if ($large_text): ?> |
5 | 5 | <textarea name="<?= $name ?>" class="pure-input-1" <?php if ($required): ?>required=""<?php endif; ?> ><?= isset($_POST[$name]) ? $_POST[$name] : '' ?></textarea> |
6 | - <?php else: ?> |
|
6 | + <?php else : ?> |
|
7 | 7 | <input |
8 | 8 | name="<?= $name ?>" |
9 | 9 | value="<?= isset($_POST[$name]) ? $_POST[$name] : '' ?>" |
@@ -3,13 +3,16 @@ discard block |
||
3 | 3 | ?> |
4 | 4 | <?php if ($large_text): ?> |
5 | 5 | <textarea name="<?= $name ?>" class="pure-input-1" <?php if ($required): ?>required=""<?php endif; ?> ><?= isset($_POST[$name]) ? $_POST[$name] : '' ?></textarea> |
6 | - <?php else: ?> |
|
6 | + <?php else { |
|
7 | + : ?> |
|
7 | 8 | <input |
8 | 9 | name="<?= $name ?>" |
9 | 10 | value="<?= isset($_POST[$name]) ? $_POST[$name] : '' ?>" |
10 | 11 | <?php if ($required): ?> |
11 | 12 | required="" |
12 | - <?php endif; ?> |
|
13 | + <?php endif; |
|
14 | +} |
|
15 | +?> |
|
13 | 16 | type="text" |
14 | 17 | class="pure-input-1"> |
15 | 18 | <?php endif; ?> |
@@ -41,7 +44,8 @@ discard block |
||
41 | 44 | But your payment is unsuccessful. If you think this is a mistake, please email us at <a href="mailto:[email protected]" class="underlined">[email protected]</a> |
42 | 45 | </p> |
43 | 46 | <a class="btn" href="<?= locale_base_url() ?>cultural-Colosseum/bob/pay_again/"> Click here to pay again.</a> |
44 | - <?php else: ?> |
|
47 | + <?php else { |
|
48 | + : ?> |
|
45 | 49 | <p class="text-center lead success"> |
46 | 50 | Payment Successful. You're registered for the event. |
47 | 51 | </p> |
@@ -49,13 +53,18 @@ discard block |
||
49 | 53 | Kindly carry your payment receipt which is mailed to you while atteding riders on the storm.<br/> |
50 | 54 | If you think this is a mistake, please email us at <a href="mailto:[email protected]" class="underlined">[email protected]</a> |
51 | 55 | </p> |
52 | - <?php endif; ?> |
|
53 | - <?php else: ?> |
|
56 | + <?php endif; |
|
57 | +} |
|
58 | +?> |
|
59 | + <?php else { |
|
60 | + : ?> |
|
54 | 61 | <form class="pure-form pure-form-stacked row" method="post" action=""> |
55 | 62 | <fieldset class="offset3 col6"> |
56 | 63 | <?php if (isset($errors['common'])): ?> |
57 | 64 | <div class="error pure-input-1-1"><?= $errors['common'] ?></div> |
58 | - <?php endif; ?> |
|
65 | + <?php endif; |
|
66 | +} |
|
67 | +?> |
|
59 | 68 | |
60 | 69 | <label><?= __('Name of the Band (*)') ?></label> |
61 | 70 | <?php $text_input('name'); ?> |
@@ -11,7 +11,7 @@ |
||
11 | 11 | You're registered for the event |
12 | 12 | <?php if ($team_info['nick2']): ?> |
13 | 13 | as a team with <?= $team_info['nick2'] == $user_nick ? $team_info['nick1'] : $team_info['nick2'] ?>. |
14 | - <?php else: ?> |
|
14 | + <?php else : ?> |
|
15 | 15 | as individual. |
16 | 16 | <?php endif; ?> |
17 | 17 | <?php if ($team_info['team_name']): ?> |
@@ -11,14 +11,18 @@ discard block |
||
11 | 11 | You're registered for the event |
12 | 12 | <?php if ($team_info['nick2']): ?> |
13 | 13 | as a team with <?= $team_info['nick2'] == $user_nick ? $team_info['nick1'] : $team_info['nick2'] ?>. |
14 | - <?php else: ?> |
|
14 | + <?php else { |
|
15 | + : ?> |
|
15 | 16 | as individual. |
16 | - <?php endif; ?> |
|
17 | + <?php endif; |
|
18 | +} |
|
19 | +?> |
|
17 | 20 | <?php if ($team_info['team_name']): ?> |
18 | 21 | <br>Your team name is <?= $team_info['team_name'] ?>. |
19 | 22 | <?php endif; ?> |
20 | 23 | </p> |
21 | - <?php else: ?> |
|
24 | + <?php else { |
|
25 | + : ?> |
|
22 | 26 | <p class="text-center lead"> |
23 | 27 | You can register as an individual too. |
24 | 28 | </p> |
@@ -29,7 +33,9 @@ discard block |
||
29 | 33 | <input name="team" value="<?= isset($_POST['team']) ? $_POST['team'] : '' ?>" type="text" placeholder="Your awesome team's name" class="pure-input-1-2" autofocus="" required=""> |
30 | 34 | <?php if (isset($errors['team'])): ?> |
31 | 35 | <div class="error pure-input-1-2" style="margin-left: 11.2em;"><?= $errors['team'] ?></div> |
32 | - <?php endif; ?> |
|
36 | + <?php endif; |
|
37 | +} |
|
38 | +?> |
|
33 | 39 | </div> |
34 | 40 | <div class="pure-control-group"> |
35 | 41 | <label>Your nick(*)</label> |