Guys,
I mean something like
What i mean is :
That we can use PHP With HTML.
infact its always PHP with HTML.
Html shows you how the site is pretty.
PHP shows you the scripts you did.(Register,Log-in,Log-Out);
That's what i meant!
and your site,. can be done by noob editor of sites.
well. i did it in 10 minutes :)
Here's the code.
Index.php
CSS(Styles.css)
I mean something like
Code:
<? echo 'div class="content">'; echo 'div class="etc">'; ?>
That we can use PHP With HTML.
infact its always PHP with HTML.
Html shows you how the site is pretty.
PHP shows you the scripts you did.(Register,Log-in,Log-Out);
That's what i meant!
and your site,. can be done by noob editor of sites.
well. i did it in 10 minutes :)
Here's the code.
Index.php
Code:
<html>
<head>
<meta charset="utf-8" />
<title>
Legendary-Online | Home Page
</title>
<link rel="stylesheet" href="styles.css" type="text/css" />
</head>
<body>
<?php include("./inc/header.php")?>
<div id="wrapper">
<div id="spacer">
<div id="content">
<?php include("./inc/statsbar.php")?>
<?php include("./inc/miscbar.php")?>
<div class="news-title">
Welcome to Legendary - Test.
</div>
TeST</div>
</div>
</body>
</html>
Code:
/*******Header**********/
div#header{
position: relative;
margin: 0px;
padding: 0px;
background-color: #000;
width: 100%;
background-size: 100% 100%;
color:#000;
border-radius: 8px 8px;
border: 3px double #000;
}
/****Wrappers******/
div#wrapper{
width: 960px;
background-color: #000;
margin: 20px auto 0px auto;
border-radius: 8px 8px;
border: 3px double #FFF;
}
div#hewrapper{
width: 960px;
margin: 0px auto 0px auto;
}
/****Content******/
div#content{
background-color: #FFF;
padding: 0px 12px;
margin: 12px 8px 8px 8px;
min-height: 520px;
color: #FFF;
border-radius: 8px 8px;
border: 3px double #FFF;
}
/***Notice+Things*****/
.news-title{
background-color: #000;
padding: 0px 12px;
margin: auto;
min height: 100px;
color: #FFF;
color: #FFF;
font-size: 2em;
font-weight: 500;
min-width: 190px;
border-radius: 8px 8px;
border: 3px double #FFF;
}
/*******Right Bars********/
div#statsbar{
color: red;
float:right;
padding: 0px 12px;
margin: 15px 8px 8px 8px;
min-height: 220px;
background-color:#000;
border-radius: 8px 8px;
border: 3px double #FFF;
width: 200px;
margin-top: 25px;
}
div#miscbar{
float:right;
padding: 0px 12px;
margin: 10px 8 8px 465px;
min-height: 120px;
background-color:#000;
border-radius: 8px 8px;
border: 3px double #FFF;
width: 200px;
}
/*****Misc******/
h1{
color: #FFF;
font-size: 1.7em;
font-weight: 700;
background-color:#000;
}