Compare commits

...

2 Commits

Author SHA1 Message Date
gtlsgamr 2337aa851e merged 2022-08-10 21:01:34 +05:30
gtlsgamr 5cb283cf31 updated footer template 2022-08-10 21:00:21 +05:30
5 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,4 @@
<?php include("./header.php")?> <?php include("./includes/header.php")?>
<main> <main>
<p>You can support us by providing small amount of chanda (Donation). <p>You can support us by providing small amount of chanda (Donation).
It doesnt matter how much or little you donate because we know It doesnt matter how much or little you donate because we know
@ -23,5 +23,4 @@
</ul> </ul>
<h5>Total: 1231</h5> <h5>Total: 1231</h5>
</main> </main>
</body> <?php include("./includes/footer.php")?>
</html>

5
includes/footer.php Normal file
View File

@ -0,0 +1,5 @@
<hr>
<footer>2022</footer>
</body>
</html>

View File

@ -1,4 +1,4 @@
<?php include("./header.php")?> <?php include("./includes/header.php")?>
<main> <main>
<h3>Bharatvarsh, the year is 2022.</h3> <h3>Bharatvarsh, the year is 2022.</h3>
<hr> <hr>
@ -26,5 +26,4 @@
<li>The telegram is no longer operational. Please switch ASAP.</li> <li>The telegram is no longer operational. Please switch ASAP.</li>
<h6>Registrations open soon!</h6> <h6>Registrations open soon!</h6>
</main> </main>
</body> <?php include("./includes/footer.php")?>
</html>

View File

@ -1,8 +1,5 @@
<?php <?php
include("header.php"); include("./includes/header.php");
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
if($_SERVER['REQUEST_METHOD']=="POST"){ if($_SERVER['REQUEST_METHOD']=="POST"){
if($_POST['name']){ if($_POST['name']){
$username = filter_var($_POST['name'],FILTER_UNSAFE_RAW); $username = filter_var($_POST['name'],FILTER_UNSAFE_RAW);
@ -56,5 +53,4 @@ if($_SERVER['REQUEST_METHOD']=="POST"){
</div> </div>
</form> </form>
</main> </main>
<?php include("./includes/footer.php")?>