Пример #1
0
<!--
5/6/Edited by Chenmin: Added the email sign up function
-->
<!DOCTYPE html>
<html>
<head>
<title>Ensemble - Elements</title>
<link href="CSS/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="JavaScript/java.js"></script>
</head>
<body>
<?php 
include_once 'header.php';
//Use a function to print the header, change the form action of the email bar to the current PHP file
get_header("elements.php");
get_email_sign_up("elements");
?>


<div class="centeredDiv" id="headerDiv">
<h1 class="journal">elements</h1>
</div>
<div class="centeredDiv" id="bodyDiv">
<p>Coming soon...</p>

</div>
</body>
</html>
Пример #2
0
$seasons = $mysqli->query("SELECT * FROM season ORDER BY season_id ASC");
?>
<!DOCTYPE html>
<html>
<head>
<title>Ensemble - Search</title>
<link href="CSS/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="JavaScript/java.js"></script>
</head>
<body>
<?php 
include_once 'header.php';
//Use a function to print the header, change the form action of the email bar to the current PHP file
get_header("search.php");
get_email_sign_up("ensemble");
if (isset($_POST['searchSubmit'])) {
    $keyword = filter_input(INPUT_POST, 'searchBar_main', FILTER_SANITIZE_STRING);
} else {
    if (isset($_POST['search'])) {
        $keyword = filter_input(INPUT_POST, 'searchBar', FILTER_SANITIZE_STRING);
    }
}
?>

<div class="centeredDiv" id="headerDiv">
<h1 class="journal">ensemble</h1>
</div>

<!-- Search Bar-->
<form action="search.php" method="POST" style="display: inline">
Пример #3
0
<!--
5/6/Edited by Chenmin: Added the email sign up function
-->
<!DOCTYPE html>
<html>
<head>
<title>Ensemble - Forward</title>
<link href="CSS/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="JavaScript/java.js"></script>
</head>
<body>
<?php 
include_once 'header.php';
//Use a function to print the header, change the form action of the email bar to the current PHP file
get_header("forward.php");
get_email_sign_up("forward");
?>

<div class="centeredDiv" id="headerDiv">
<h1 class="journal">forward</h1>
</div>
<div class="centeredDiv" id="bodyDiv">
<p>Coming soon...</p>

</div>
</body>
</html>
Пример #4
0
5/6/Edited by Chenmin: Added the email sign up function
-->
<!DOCTYPE html>
<html>
<head>
<title>Ensemble - About You</title>
<link href="CSS/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="JavaScript/java.js"></script>
</head>
<body>
<?php 
include_once 'header.php';
//Use a function to print the header, change the form action of the email bar to the current PHP file
get_header("about_us.php");
get_email_sign_up("about us");
?>


<div class="centeredDiv" id="headerDiv">
<h1 class="journal">About Us</h1>
</div>
<div class="centeredDiv" id="bodyDiv">

<?php 
require_once 'includes/config.php';
$mysqli = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
$result = $mysqli->query("SELECT * FROM web_info WHERE caption = 'about_us';");
$row = $result->fetch_assoc();
$content = $row['content'];
$paragraphs = explode("\n", $content);
Пример #5
0
5/6/Edited by Chenmin: Added the email sign up function
-->
<!DOCTYPE html>
<html>
<head>
<title>Ensemble - About You</title>
<link href="CSS/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="JavaScript/java.js"></script>
</head>
<body>
<?php 
include_once 'header.php';
//Use a function to print the header, change the form action of the email bar to the current PHP file
get_header("about_you.php");
get_email_sign_up("about you");
?>

<div class="centeredDiv" id="headerDiv">
<h1 class="journal">About You</h1>
</div>
<div class="centeredDiv" id="bodyDiv">
<?php 
require_once 'includes/config.php';
$mysqli = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
$result = $mysqli->query("SELECT * FROM web_info WHERE caption = 'about_you';");
$row = $result->fetch_assoc();
$content = $row['content'];
$paragraphs = explode("\n", $content);
$para_num = count($paragraphs);
for ($i = 0; $i < $para_num; $i++) {
Пример #6
0
<!--
5/6/Edited by Chenmin: Added the email sign up function
-->
<!DOCTYPE html>
<html>
<head>
<title>Ensemble - Balance</title>
<link href="CSS/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="JavaScript/java.js"></script>
</head>
<body>
<?php 
include_once 'header.php';
//Use a function to print the header, change the form action of the email bar to the current PHP file
get_header("balance.php");
get_email_sign_up("balance");
?>

<div class="centeredDiv" id="headerDiv">
<h1 class="journal">balance</h1>
</div>
<div class="centeredDiv" id="bodyDiv">
<p>Coming soon...</p>

</div>
</body>
</html>