Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jianminglok committed Jul 29, 2017
1 parent fc51743 commit 33caf50
Show file tree
Hide file tree
Showing 28 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion bookchecklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Sign In</title>
<title>Ogiebooks - Sign In</title>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion booklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell</title>
<title>Ogiebooks</title>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion dob.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Sign Up</title>
<title>Ogiebooks - Sign Up</title>

</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
Expand Down
2 changes: 1 addition & 1 deletion filterbooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Filter Books</title>
<title>Ogiebooks - Filter Books</title>

</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
Expand Down
2 changes: 1 addition & 1 deletion filterresults.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell</title>
<title>Ogiebooks</title>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion forget.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<!DOCTYPE html>
<html style="height:100%; ">
<head>
<title>BanaSell - Reset Password</title>
<title>Ogiebooks - Reset Password</title>
</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
background-repeat: no-repeat;
Expand Down
28 changes: 14 additions & 14 deletions function.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ function send_mail($to, $token)
$mail->Port = 587;

$mail->From = '[email protected]';
$mail->FromName = 'BanaSell';
$mail->FromName = 'Ogiebooks';
$mail->addAddress($to);
$mail->addReplyTo('[email protected]', 'Reply');

$mail->isHTML(true);

$mail->Subject = 'BanaSell: Password Recovery Instruction';
$mail->Subject = 'Ogiebooks: Password Recovery Instruction';
$link = 'http://localhost/forget.php?email='.$to.'&token='.$token;
//Body of the mail
$mail->Body = <<< EOF
Expand All @@ -85,7 +85,7 @@ function send_mail($to, $token)
<table class="container header" border="0" cellpadding="0" cellspacing="0" width="620" style="width: 620px;">
<tr>
<td style="padding: 30px 0 30px 0; border-bottom: solid 1px #eeeeee;" align="left">
<a href="#" style="font-size: 30px; text-decoration: none; color: #000000;">Banasell</a>
<a href="#" style="font-size: 30px; text-decoration: none; color: #000000;">Ogiebooks</a>
</td>
</tr>
</table>
Expand Down Expand Up @@ -162,7 +162,7 @@ function send_mail($to, $token)
<img src="http://dev2.slicejack.com/portfolio-email/img/img13.png">
</td>
<td class="info-bullets__content" style="color: #969696; font-size: 16px;">help@banasell.gq</td>
<td class="info-bullets__content" style="color: #969696; font-size: 16px;">help@ogiebooks.gq</td>
</tr>
</table>
</td>
Expand Down Expand Up @@ -254,7 +254,7 @@ function send_mail($to, $token)
<table class="container" border="0" cellpadding="0" cellspacing="0" width="620" align="center" style="border-top: 1px solid #eeeeee; width: 620px;">
<tr>
<td style="text-align: center; padding: 50px 0 10px 0;">
<a href="#" style="font-size: 28px; text-decoration: none; color: #d5d5d5;">Banasell</a>
<a href="#" style="font-size: 28px; text-decoration: none; color: #d5d5d5;">Ogiebooks</a>
</td>
</tr>
Expand All @@ -269,7 +269,7 @@ function send_mail($to, $token)
</tr>
<tr>
<td style="color: #d5d5d5; text-align: center; font-size: 15px; padding: 10px 0 60px 0; line-height: 22px;">Copyright &copy; 2017 <a href="http://slicejack.com/" target="_blank" style="text-decoration: none; border-bottom: 1px solid #d5d5d5; color: #d5d5d5;">Banasell</a>. <br />A 2nd hand book selling website made by STTSS students, for STTSS students <br />All rights reserved.</td>
<td style="color: #d5d5d5; text-align: center; font-size: 15px; padding: 10px 0 60px 0; line-height: 22px;">Copyright &copy; 2017 <a href="http://slicejack.com/" target="_blank" style="text-decoration: none; border-bottom: 1px solid #d5d5d5; color: #d5d5d5;">Ogiebooks</a>. <br />A 2nd hand book selling website made by STTSS students, for STTSS students <br />All rights reserved.</td>
</tr>
</table>
</td>
Expand Down Expand Up @@ -319,13 +319,13 @@ function send_verification_mail($to, $key)
$mail->Port = 587;

$mail->From = '[email protected]';
$mail->FromName = 'BanaSell';
$mail->FromName = 'Ogiebooks';
$mail->addAddress($to);
$mail->addReplyTo('[email protected]', 'Reply');

$mail->isHTML(true);

$mail->Subject = 'BanaSell: Sign Up Verification Email';
$mail->Subject = 'Ogiebooks: Sign Up Verification Email';

//Body of the mail
$mail->Body = <<< EOF
Expand All @@ -351,7 +351,7 @@ function send_verification_mail($to, $key)
<table class="container header" border="0" cellpadding="0" cellspacing="0" width="620" style="width: 620px;">
<tr>
<td style="padding: 30px 0 30px 0; border-bottom: solid 1px #eeeeee;" align="left">
<a href="#" style="font-size: 30px; text-decoration: none; color: #000000;">Banasell</a>
<a href="#" style="font-size: 30px; text-decoration: none; color: #000000;">Ogiebooks</a>
</td>
</tr>
</table>
Expand Down Expand Up @@ -428,7 +428,7 @@ function send_verification_mail($to, $key)
<img src="http://dev2.slicejack.com/portfolio-email/img/img13.png">
</td>
<td class="info-bullets__content" style="color: #969696; font-size: 16px;">help@banasell.gq</td>
<td class="info-bullets__content" style="color: #969696; font-size: 16px;">help@ogiebooks.gq</td>
</tr>
</table>
</td>
Expand Down Expand Up @@ -520,7 +520,7 @@ function send_verification_mail($to, $key)
<table class="container" border="0" cellpadding="0" cellspacing="0" width="620" align="center" style="border-top: 1px solid #eeeeee; width: 620px;">
<tr>
<td style="text-align: center; padding: 50px 0 10px 0;">
<a href="#" style="font-size: 28px; text-decoration: none; color: #d5d5d5;">Banasell</a>
<a href="#" style="font-size: 28px; text-decoration: none; color: #d5d5d5;">Ogiebooks</a>
</td>
</tr>
Expand All @@ -535,7 +535,7 @@ function send_verification_mail($to, $key)
</tr>
<tr>
<td style="color: #d5d5d5; text-align: center; font-size: 15px; padding: 10px 0 60px 0; line-height: 22px;">Copyright &copy; 2017 <a href="http://slicejack.com/" target="_blank" style="text-decoration: none; border-bottom: 1px solid #d5d5d5; color: #d5d5d5;">Banasell</a>. <br />A 2nd hand book selling website made by STTSS students, for STTSS students <br />All rights reserved.</td>
<td style="color: #d5d5d5; text-align: center; font-size: 15px; padding: 10px 0 60px 0; line-height: 22px;">Copyright &copy; 2017 <a href="http://slicejack.com/" target="_blank" style="text-decoration: none; border-bottom: 1px solid #d5d5d5; color: #d5d5d5;">Ogiebooks</a>. <br />A 2nd hand book selling website made by STTSS students, for STTSS students <br />All rights reserved.</td>
</tr>
</table>
</td>
Expand Down Expand Up @@ -580,13 +580,13 @@ function send_verification_change_mail($to, $key2, $id)
$mail->Port = 587;

$mail->From = '[email protected]';
$mail->FromName = 'BanaSell';
$mail->FromName = 'Ogiebooks';
$mail->addAddress($to);
$mail->addReplyTo('[email protected]', 'Reply');

$mail->isHTML(true);

$mail->Subject = 'BanaSell: Email Change Verification';
$mail->Subject = 'Ogiebooks: Email Change Verification';
$link = 'http://localhost/login/changeemail.php?email='.$to.'&key='.$key2.'&id='.$id;
$mail->Body = "Thank you for signing up.<br> Please verify your email by clicking the below link. <br><i>". $link."</i>";

Expand Down
6 changes: 3 additions & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell</title>
<title>Ogiebooks</title>
</head>
<body>

Expand Down Expand Up @@ -35,7 +35,7 @@
<div class="banasell-content mdl-layout__content">
<a name="top"></a>
<div class="intro-section mdl-typography--text-center">
<div class="logo-font banasell-slogan">BanaSell</div>
<div class="logo-font banasell-slogan">Ogiebooks</div>
<div class="logo-font banasell-sub-slogan">A 2nd hand book selling website made by STTSS students, for STTSS students</div>
<div class="logo-font banasell-create-character">
<a href=""><i class="material-icons">info_outline</i> Learn more about us</a>
Expand Down Expand Up @@ -248,7 +248,7 @@
</div>
</div>

Copyright <?php echo date('Y'); ?> Banasell.
Copyright <?php echo date('Y'); ?> Ogiebooks.

<a href="http://www.beyondsecurity.com/vulnerability-scanner-verification/banasell.gq"><img src="https://seal.beyondsecurity.com/verification-images/banasell.gq/vulnerability-scanner-2.gif" alt="Website Security Test" border="0" /></a>

Expand Down
2 changes: 1 addition & 1 deletion login.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<!DOCTYPE html>
<html style="height:100%; ">
<head>
<title>BanaSell - Sign In</title>
<title>Ogiebooks - Sign In</title>
<script src='https://www.google.com/recaptcha/api.js'></script>
</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
Expand Down
2 changes: 1 addition & 1 deletion message.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!DOCTYPE html>
<html style="height:100%; ">
<head>
<title>BanaSell - <?php if(isset($_SESSION['message'], $_SESSION['activity'], $_SESSION['redirect'])) { echo $_SESSION['activity']; } else { echo 'Error 404'; } ?></title>
<title>Ogiebooks - <?php if(isset($_SESSION['message'], $_SESSION['activity'], $_SESSION['redirect'])) { echo $_SESSION['activity']; } else { echo 'Error 404'; } ?></title>
</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
background-repeat: no-repeat;
Expand Down
6 changes: 3 additions & 3 deletions nav.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Introducing Lollipop, a sweet new take on banasell.">
<meta name="description" content="Introducing Lollipop, a sweet new take on ogiebooks.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>banasell</title>
<title>Ogiebooks</title>

<!-- Page styles -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en">
Expand Down Expand Up @@ -174,7 +174,7 @@
<span class="mdl-layout-title" style="line-height: 1em !important">
<i class="material-icons" style="padding-top: 3em;">account_circle</i>
<br></br>
<span><?php if(isset($_SESSION['usr_name'])) { echo $_SESSION['usr_name']; } else { echo 'BanaSell'; } ?></span>
<span><?php if(isset($_SESSION['usr_name'])) { echo $_SESSION['usr_name']; } else { echo 'Ogiebooks'; } ?></span>
</span>
<nav class="mdl-navigation">
<a <?php echo ($page == 'index.php') ? "class='mdl-navigation__link mdl-navigation__link-active' href='#'" : ""; ?> class="mdl-navigation__link" href="index.php">Home</a>
Expand Down
4 changes: 2 additions & 2 deletions nav2.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Introducing Lollipop, a sweet new take on banasell.">
<meta name="description" content="Introducing Lollipop, a sweet new take on ogiebooks.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>banasell</title>
<title>Ogiebooks</title>

<!-- Page styles -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en">
Expand Down
4 changes: 2 additions & 2 deletions nav3.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Introducing Lollipop, a sweet new take on banasell.">
<meta name="description" content="Introducing Lollipop, a sweet new take on ogiebooks.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>Banasell</title>
<title>Ogiebooks</title>

<!-- Page styles -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en">
Expand Down
4 changes: 2 additions & 2 deletions nav4.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Introducing Lollipop, a sweet new take on banasell.">
<meta name="description" content="Introducing Lollipop, a sweet new take on ogiebooks.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>banasell</title>
<title>Ogiebooks</title>

<!-- Page styles -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en">
Expand Down
2 changes: 1 addition & 1 deletion register.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Sign Up</title>
<title>Ogiebooks - Sign Up</title>
</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
background-repeat: no-repeat;
Expand Down
2 changes: 1 addition & 1 deletion reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Sign Up</title>
<title>Ogiebooks - Sign Up</title>

</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
Expand Down
2 changes: 1 addition & 1 deletion search.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Search</title>
<title>Ogiebooks - Search</title>

</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
Expand Down
2 changes: 1 addition & 1 deletion selectbooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Post an Ad</title>
<title>Ogiebooks - Post an Ad</title>

</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
Expand Down
2 changes: 1 addition & 1 deletion submitbooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Post an Ad</title>
<title>Ogiebooks - Post an Ad</title>

</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
Expand Down
2 changes: 1 addition & 1 deletion test2.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell</title>
<title>Ogiebooks</title>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion test3.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell</title>
<title>Ogiebooks</title>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion test4.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<html>
<head>

<title>BanaSell</title>
<title>Ogiebooks</title>
</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
background-repeat: no-repeat;
Expand Down
2 changes: 1 addition & 1 deletion testdb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CREATE TABLE IF NOT EXISTS `users` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`email` varchar(60) NOT NULL,
`password` varchar(100) NOT NULL,
`password` varchar(1000) NOT NULL,
`dateofbirth` varchar(40) NOT NULL,
`age` varchar(4) NOT NULL,
`form` varchar(10) NOT NULL,
Expand Down
2 changes: 1 addition & 1 deletion updateemail.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Watchlist</title>
<title>Ogiebooks - Settings</title>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
Expand Down
2 changes: 1 addition & 1 deletion updateinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Sign Up</title>
<title>Ogiebooks - Sign Up</title>

</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion watchlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Watchlist</title>
<title>Ogiebooks - Watchlist</title>

</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
Expand Down
2 changes: 1 addition & 1 deletion watchlistadd.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
<!DOCTYPE html>
<html>
<head>
<title>BanaSell - Filter Books</title>
<title>Ogiebooks - Filter Books</title>

</head>
<body style="background-image: url('img/background.jpg'); height:100%; background-size: 100% 100%;
Expand Down
Loading

0 comments on commit 33caf50

Please sign in to comment.