FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

improve the code by removing multi <head><html><body> tags moreover c… · JavaDevl/Test@132f646 · GitHub

/ Test Public

Commit 132f646

Browse files
committed
improve the code by removing multi <head><html><body> tags moreover correct some minor errors
1 parent 916c3f9 commit 132f646

2 files changed

Lines changed: 18 additions & 15 deletions

File tree

‎menubar/footer.php‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
11
<style>
2-
footer
3-
{ margin-top: 80px; margin-bottom: 10px;
2+
#footer
3+
{ margin-top: 80px;
4+
margin-bottom: 10px;
45
padding:5px 0px 5px 0px;
56
clear:both;
6-
display:block; position:relative; bottom:0; text-align: center;
7+
display:block;
8+
position:relative;
9+
bottom:0;
10+
text-align: center;
711
background-image:url('http://localhost/PhpProject5/menubar/back1.jpg') ; background-repeat: repeat-x;
812
}
9-
footer a
13+
#footer a
1014
{
1115
color:#fff !important;
1216
letter-spacing: 1px;
1317
text-decoration: none;
1418
}
15-
footer a:hover
19+
#footer a:hover
1620
{
1721
color:#666;
1822
}
1923
</style>
2024

21-
<footer> <small ><a href="http://localhost/PhpProject5/homepage.php">Main Page</a> - <a href="">Terms of Condition</a> - <a href="http://localhost/PhpProject5/userinteraction/contacts/contactus.php">Contact Us</a></small>
22-
</footer>
25+
<div id="footer"> <small ><a href="http://localhost/PhpProject5/homepage.php">Main Page</a> - <a href="">Terms of Condition</a> - <a href="http://localhost/PhpProject5/userinteraction/contacts/contactus.php">Contact Us</a></small>
26+
</div>

‎menubar/index.php‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ function getURLParameter(name) {
112112
<ul id="nav">
113113
<!--<li ><a style="height:19px;" class="homepage" href="#"><img style=" margin:-6px -6px -6px -6px;" src="menubar/newsonfire3.jpg" name=""/></a></li>-->
114114

115-
<li id="topstories"><a href="<?php echo $_SERVER['SERVER_NAME'] ?>/Category/page.php?category=topstories">Top Stories</a></li>
116-
<li id="bn" ><a href="http://<?php echo $_SERVER['SERVER_NAME'] ?>/Category/page.php?category=politics">Politics</a>
115+
<li id="topstories"><a href="http://<?php echo $_SERVER['SERVER_NAME'] ?>/PhpProject5/Category/page.php?category=politics">Top Stories</a></li>
116+
<li id="bn" ><a href="http://<?php echo $_SERVER['SERVER_NAME'] ?>/PhpProject5/Category/page.php?category=politics">Politics</a>
117117
</li>
118118

119-
<li id="world"><a href="<?php echo $_SERVER['SERVER_NAME'] ?>/PhpProject5/Category/page.php?category=entertainement">Entertainment</a></li>
120-
<li id="business"><a href="<?php echo $_SERVER['SERVER_NAME'] ?>/PhpProject5/Category/page.php?category=bus">Business</a></li>
121-
<li id="sport"><a href="<?php echo $_SERVER['SERVER_NAME'] ?>/PhpProject5/Category/page.php?category=sprt">Health</a></li>
122-
<li id="tech"><a href="<?php echo $_SERVER['SERVER_NAME'] ?>/PhpProject5/Category/page.php?category=tech">Technology</a></li>
119+
<li id="world"><a href="http://<?php echo $_SERVER['SERVER_NAME'] ?>/PhpProject5/Category/page.php?category=politics">Entertainment</a></li>
120+
<li id="business"><a href="http://<?php echo $_SERVER['SERVER_NAME'] ?>/PhpProject5/Category/page.php?category=politics">Business</a></li>
121+
<li id="sport"><a href="http://<?php echo $_SERVER['SERVER_NAME'] ?>/PhpProject5/Category/page.php?category=sprt">Health</a></li>
122+
<li id="tech"><a href="http://<?php echo $_SERVER['SERVER_NAME'] ?>/PhpProject5/Category/page.php?category=tech">Technology</a></li>
123123
<?php
124124
if(is_null($username)){?> <li id="login" ><a href="http://localhost/PhpProject5/login/login.php">Login</a></li>
125125
<?php }
@@ -148,8 +148,7 @@ function getURLParameter(name) {
148148
$("#nav #bn.current a").css({"background": "-webkit-gradient(radial, 165 124, 0, 309 -243, 648, from(#790000), to(#bd8080))","padding-top": "15px"});
149149
$("#nav #world.current a").css({"background": "-webkit-gradient(linear, left top, left bottom, from(#003300), to(#669966))","padding-top": "15px"});}
150150
)
151-
152-
151+
153152
</script>
154153
<!-- it affects the adminlvlmanager-->
155154
<script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.core.js" type="text/javascript"></script>

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL