Skip to content

Commit fd39fd7

Browse files
Simple Web Structure
1 parent 8acfe75 commit fd39fd7

File tree

8 files changed

+112
-0
lines changed

8 files changed

+112
-0
lines changed

Diff for: _scripts/jquery-1.5.2.min.js

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: _scripts/jquery.js

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: _scripts/loader.js

Whitespace-only changes.

Diff for: _styles/style.css

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
body, hr, div, dl, dt, dd, ul, ol, li, p, blockquote, table, th, td, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, select {
3+
margin : 0;
4+
padding : 0;
5+
font-family : Arial !important ;
6+
font-weight : 100;
7+
};
8+
9+
/*
10+
* Header
11+
*/
12+
13+
14+
15+
16+
/*
17+
* Footer
18+
*/
19+
20+
21+
/*
22+
* Other Content
23+
*/
24+

Diff for: footer.php

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
/**
4+
* Footer Content for the website.
5+
*/
6+
7+
8+
?>

Diff for: header.php

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
/**
4+
* Header Content for the website
5+
*/
6+
7+
?>

Diff for: home.php

Whitespace-only changes.

Diff for: index.php

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<html>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5+
<title>SRMMUN</title>
6+
7+
<link rel="stylesheet" type="text/css" href="_styles/style.css" />
8+
9+
<script src="_scripts/jquery.js" />
10+
<script src="_scripts/loader.js" />
11+
</head>
12+
<body>
13+
14+
<!-- Header Start -->
15+
16+
<?php include_once 'header.php'; ?>
17+
18+
<!-- Header Ends -->
19+
20+
21+
<!-- Page Starts -->
22+
23+
<?php
24+
25+
$url = $_GET['page'];
26+
$url = $url.".php";
27+
28+
include_once $url
29+
30+
?>
31+
32+
<!-- Page Ends -->
33+
34+
35+
<!-- Footer Starts -->
36+
37+
<?php include_once 'footer.php'; ?>
38+
39+
<!-- Footer Ends -->
40+
</body>
41+
</html>

0 commit comments

Comments
 (0)