Skip to content

Commit f3532d6

Browse files
committed
css fix
1 parent 5def719 commit f3532d6

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

unsubscribe.php

+8-5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<!DOCTYPE html>
1515
<head>
1616
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
17+
<link rel="stylesheet" href="css/style.css" type="text/css">
1718
<style type="text/css">
1819
body {
1920
padding-top: 10px;
@@ -23,14 +24,16 @@
2324
max-width: 500px;
2425
padding: 19px 29px 29px;
2526
margin: 0 auto 20px;
26-
background-color: lightgrey;
2727
border: 1px solid #e5e5e5;
2828
-webkit-border-radius: 5px;
2929
-moz-border-radius: 5px;
3030
border-radius: 5px;
3131
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
3232
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
3333
box-shadow: 0 1px 2px rgba(0,0,0,.05);
34+
35+
background-color: #efefef;
36+
box-shadow: 2px 3px 9px 2px rgba(0, 0, 0, 0.3);
3437
}
3538

3639
</style>
@@ -42,10 +45,10 @@
4245
<h3 ><a class="muted" href="index.php">KaZoom</a></h3>
4346
</div>
4447

45-
<hr />
48+
<hr class="gradientHr">
4649
<div class="subscribe-holder">
4750
<h4 class="subscribe-holder-heading">Unsubscribe from new courses notifications</h4>
48-
<hr />
51+
<hr class="gradientHr">
4952

5053
<?php
5154

@@ -59,7 +62,7 @@
5962

6063
$result = $dbc->query($que);
6164

62-
if($result && $result->num_rows) {
65+
if($result && $dbc->affected_rows) {
6366
echo "You have been sucsessfully unsubscribed.";
6467
} else {
6568
echo "The link is not valid. Please, check the link or contact site administrator.";
@@ -68,7 +71,7 @@
6871
?>
6972
</div>
7073
<footer>
71-
<hr />
74+
<hr class="gradientHr">
7275
<p>&copy; San Jose State University</p>
7376
</footer>
7477
</div>

verifyEmail.php

+7-4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function randString($length, $charset='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmno
2424
<head>
2525
<title>Kazoom - Email subscription</title>
2626
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
27+
<link rel="stylesheet" href="css/style.css" type="text/css">
2728
<style type="text/css">
2829
body {
2930
padding-top: 10px;
@@ -33,14 +34,16 @@ function randString($length, $charset='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmno
3334
max-width: 500px;
3435
padding: 19px 29px 29px;
3536
margin: 0 auto 20px;
36-
background-color: lightgrey;
3737
border: 1px solid #e5e5e5;
3838
-webkit-border-radius: 5px;
3939
-moz-border-radius: 5px;
4040
border-radius: 5px;
4141
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
4242
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
4343
box-shadow: 0 1px 2px rgba(0,0,0,.05);
44+
45+
background-color: #efefef;
46+
box-shadow: 2px 3px 9px 2px rgba(0, 0, 0, 0.3);
4447
}
4548

4649
</style>
@@ -52,10 +55,10 @@ function randString($length, $charset='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmno
5255
<h3 ><a class="muted" href="index.php">KaZoom</a></h3>
5356
</div>
5457

55-
<hr />
58+
<hr class="gradientHr">
5659
<div class="subscribe-holder">
5760
<h4 class="subscribe-holder-heading">Subscribe to new courses notifications</h4>
58-
<hr />
61+
<hr class="gradientHr">
5962

6063
<?php
6164

@@ -89,7 +92,7 @@ function randString($length, $charset='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmno
8992
?>
9093
</div>
9194
<footer>
92-
<hr />
95+
<hr class="gradientHr">
9396
<p>&copy; San Jose State University</p>
9497
</footer>
9598
</div>

0 commit comments

Comments
 (0)