Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refonde textuelle #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions assets/config.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php
$server = "localhost";

$port = 3306;
$user = "root";
$password = "";
$db = "_sms";
$db = "tangadb";

$conn = mysqli_connect($server, $user, $password, $db);
$conn = mysqli_connect($server, $user, $password, $db, $port);

if (!$conn) {
header('Location: ../errors/error.html');
Expand Down
13 changes: 6 additions & 7 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
<div class=" d-flex justify-content-center align-items-center">
<div>
<div class="big-title">
<h1>Future is here,</h1>
<h1>Start Exploring now.</h1>
<h1>KelaSYS</h1>
<h1>Le numérique au service de l'éducation</h1>
</div>
<p class="text">
streamline processes, manage resources, track student data, facilitate
communication, and enhance administrative tasks effectively.
Digitaliser la gestion de votre établissement
</p>
<div class="cta">
<a href="login.php" class="btn">Get started</a>
<a href="login.php" class="btn">Démarrer</a>
</div>


Expand All @@ -35,7 +34,7 @@
</div>


<?php include('shared/feature-cards.php'); ?>
<!-- <?php include('shared/feature-cards.php'); ?>


<div class="container mt-3">
Expand Down Expand Up @@ -71,7 +70,7 @@


</main>

-->



Expand Down
14 changes: 7 additions & 7 deletions login.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

<head>
<meta charset="UTF-8">
<title>School Management</title>
<title>KelaSYS</title>
<!-- Fontawesome CDN Link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Expand All @@ -56,8 +56,8 @@
<div class="front">
<img src="images/loginimage.jpg" alt="">
<div class="text">
<span class="text-1">SCHOOL MANAGEMENT SYSTEM<br></span>
<span class="text-2">Plan serve program</span>
<span class="text-1">Gestion d'établissement<br></span>
<span class="text-2">Digitalisons l'éducation</span>
</div>
</div>

Expand All @@ -66,7 +66,7 @@
<div class="form-content">
<div class="login-form">

<div class="title" id='board-title'>Login</div>
<div class="title" id='board-title'>Connexion</div>

<div class="alert-box">
<div class="alert alert-danger text-center mt-3" role="alert" id="error-msg">
Expand All @@ -78,14 +78,14 @@
<div class="input-boxes">
<div class="input-box">
<i class="fas fa-envelope"></i>
<input type="email" name="email" placeholder="Enter your email" id='loginEmail' required>
<input type="email" name="email" placeholder="Votre email" id='loginEmail' required>
</div>
<div class="input-box">
<i class="fas fa-lock"></i>
<input type="password" name="password" placeholder="Enter your password" id="password" required>
<input type="password" name="password" placeholder="Votre mot de passe" id="password" required>
<i class="bi bi-eye-fill" style="margin-left:auto;margin-right: 6px;" id="togglePassword"></i>
</div>
<div class="text"><a id="forgotpassword">Forgot password?</a></div>
<div class="text"><a id="forgotpassword">Mot de passe oublié?</a></div>
<div class="button input-box">
<button type="submit" class="btn">
Submit
Expand Down
12 changes: 4 additions & 8 deletions shared/_footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@
<!-- Insert website logo -->
<img src="images/company-logo.jpg" alt="Website Logo">
<!-- Display visitor count -->
<p>SCHOOL MANAGEMENT SYSTEM</p>
<p>KelaSYS</p>
<!-- Display time zone -->
<p>Q9P3+75H, My Town, My city, My Country </p>
<p>+243 851 771 404 </p>
</div>
<div class="col-md-4">
<p>Time Zone: <?php
date_default_timezone_set('Asia/Kolkata');
$current_time = date('D M d Y H:i:s \G\M\TO (T)');
echo "<p>$current_time</p>";
?></p>
<p>Time Zone: GMT + 1</p>
</div>
<div class="col-md-4">
<div class="footer-links">
Expand All @@ -31,7 +27,7 @@
</div>
<div class="row mt-4">
<div class="col-md-12">
<p>&copy; <?php echo date('Y'); ?> By <a href="https://www.github.com/ProjectsAndPrograms" target="_blank">ProjectsAndPrograms</a>. All rights reserved.</p>
<p>&copy; <?php echo date('Y'); ?> By <a href="https://www.github.com/ProjectsAndPrograms" target="_blank">ETS AXYS</a>. All rights reserved.</p>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion shared/_header.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ERP - School Management</title>
<title>ERP - KelaSYS</title>

<link rel="stylesheet" href="css/bootstrap.min.css">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
Expand Down
8 changes: 4 additions & 4 deletions shared/_navbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
<img src="./images/company-logo.jpg" alt="Logo" />
</a>
<a href="./index.php">
<h3>SCHOOL MANAGEMENT</h3>
<h3>KelaSYS</h3>
</a>
</div>

<div class="nav-container">

<div class="links">
<ul>
<li><a href="./index.php">Home</a></li>
<li><a href="./about-us.php">About-us</a></li>
<li><a href="./login.php" class="btn">Login</a></li>
<li><a href="./index.php">Accueil</a></li>
<li><a href="./about-us.php">A Propos</a></li>
<li><a href="./login.php" class="btn">Connexion</a></li>
</ul>


Expand Down