Jump to content
MakeWebGames

Login Page


p_T_s

Recommended Posts

If i have placed this in the wrong location please move, if placing the login codes here infringes on mccodes copyrights please remove.

This is based off a free WP template licensed under a Creative Commons Attribution 2.5 License.

I tried to apply it to McCodes but it dosen't login. If anyone wants to fix it so others can use it, then great...

login.php

 

<?php
session_start();
include "config.php";
global $_CONFIG;
define("MONO_ON", 1);
require "class/class_db_{$_CONFIG['driver']}.php";
$db=new database;
$db->configure($_CONFIG['hostname'],
$_CONFIG['username'],
$_CONFIG['password'],
$_CONFIG['database'],
$_CONFIG['persistent']);
$db->connect();
$c=$db->connection_id;
$set=array();
$settq=$db->query("SELECT * FROM settings");
while($r=$db->fetch_row($settq))
{
$set[$r['conf_name']]=$r['conf_value'];
}
print <<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$set['game_name']}</title>
<script language="JavaScript">
<!--

function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function SetCookie (name,value,expires,path,domain,secure) {
document.cookie = name + "=" + escape (value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "");
}

function DeleteCookie (name,path,domain) {
if (GetCookie(name)) {
document.cookie = name + "=" +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
"; expires=Thu, 01-Jan-70 00:00:01 GMT";
}
}
// -->
</script>

<script language="JavaScript">
var usr;
var pw;
var sv;
function getme()
{
usr = document.login.username;
pw = document.login.password;
sv = document.login.save;

if (GetCookie('player') != null)
{
usr.value = GetCookie('username')
pw.value = GetCookie('password')
if (GetCookie('save') == 'true')
{
sv[0].checked = true;
}
}

}
function saveme()
{
if (usr.value.length != 0 && pw.value.length != 0)
{
if (sv[0].checked)
{
expdate = new Date();
expdate.setTime(expdate.getTime()+(365 * 24 * 60 * 60 * 1000));
SetCookie('username', usr.value, expdate);
SetCookie('password', pw.value, expdate);
SetCookie('save', 'true', expdate);
}
if (sv[1].checked)
{
DeleteCookie('username');
DeleteCookie('password');
DeleteCookie('save');
}
}
else
{
alert('You must enter a username/password.');
return false;
}
}
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="topheader">
<div class="logo"></div>
<div class="menu_area"><center>[url="login.php"]Home <span class="menu_text">Home Page</span>[/url] [url="About.php"]About <span class="menu_text">About the game</span>[/url] [url="forums.php"]Forums <span class="menu_text">Game Discussions</span>[/url] [url="contact.php"]Contact <span class="menu_text">Contact us 24/7</span>[/url]</center></div>
</div>
<div class="freeregistration">
<div class="registration">[url="register.php"]FREE[/url] Registration </div>
</div>

EOF;
$IP = $_SERVER['REMOTE_ADDR'];
if(file_exists('ipbans/'.$IP))
{
die("[b]<font color=red size=+1>Your IP has been banned, there is no way around this.</font>[/b]</body></html>");
}
$year=date('Y');
echo "<h3> {$set['game_name']} Log-In</h3>
<table width=80%>
<tr>
<td width=50%>
<fieldset>
<legend>About {$set['game_name']}</legend>
".stripslashes(nl2br($set['game_description']))."
</fieldset>
</td>
<td>
<fieldset>
<legend>Login</legend>";
echo "<form action=authenticate.php method=post name=login onsubmit=\"return saveme();\">Username: <input type=text name=username>

Password: <input type=password name=password>

Remember me?

<input type=\"radio\" value=\"ON\" name=\"save\">Yes <input type=\"radio\" name=\"save\" value=\"OFF\" checked>No
<input type=submit value=Submit></form></fieldset></td></tr></table>

";
print <<<OUT
</td>
<div id="footer">
<div class="footer_links">
<div align="center">[url="#"]Home[/url] | [url="#"]About Us[/url] | [url="#"]Forums[/url] | [url="#"]Client Testimonials[/url] | [url="#"]Methods of Development[/url] | [url="#"]Newsletter[/url] | [url="#"]Subscribe Info[/url] | [url="#"]Oppotunities[/url] | [url="#"]Current Events[/url] | [url="#"]Contact Us[/url]</div>
</div>
<div class="footer_copyrights">
<div align="center">Game Copyright (&copy {$year}) {$set['game_owner']}. All Rights Reserved</div>
</div>
<div class="footer_designed">
<div align="center">[url="http://www.mccodes.com"]Powered by codes made by Dabomstew (&copy {$year}) [/url]</div>
</div>
</div>
</form>

</body>
</html>

OUT;
?>

 

Continued

Link to comment
Share on other sites

Name this style.css

 

@charset "utf-8";
/* CSS Document */

body{
margin:0;
color:#232323;
padding-top: 0px;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
background-attachment: scroll;
background-image: url(images/bg.jpg);
background-repeat: repeat-x;
background-position: top;
background-color: #f7fcf8;
}
div, h1, h2, h3, h4, p, form, label, input, textarea, img, span{
margin:0; padding:0;
}

ul{
margin:0;
padding:0;
list-style-type:none;
font-size:0;
line-height:0;
}


.spacer{
clear:both;
font-size:0;
line-height:0;
}


/*------------------------------------------------topheader--------------------*/
#topheader{
width:1004px;
height:146px;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
font-family: Tahoma;
font-size: 12px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
color: #dcd66e;
text-decoration: none;
padding: 0px;
float: none;
background-image: url(images/topbanner_bg.jpg);
background-repeat: no-repeat;
background-position: center;
}
.logo {
background-image: url(images/logo.png);
background-repeat: no-repeat;
padding: 0px;
float: left;
height: 95px;
width: 321px;
margin-top: 30px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
.menu_area {
float: left;
margin-top: 58px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}

.menu_text {
font-family: Arial;
font-size: 10px;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #FFFFFF;
text-decoration: none;
}
.ideas {
font-family: Arial;
font-size: 31px;
font-weight: normal;
text-transform: lowercase;
color: #5a5a5a;
text-decoration: none;
background-image: url(images/menu_01.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 70px;
width: 100px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 61px;
}
.ideas:hover {
font-family: Arial;
font-size: 31px;
font-weight: normal;
text-transform: lowercase;
color: #ffffff;
text-decoration: none;
background-image: url(images/menu_01.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 70px;
width: 100px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 61px;
}
.links {
font-family: Arial;
font-size: 31px;
font-weight: normal;
text-transform: lowercase;
color: #5a5a5a;
text-decoration: none;
background-image: url(images/menu_02.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 70px;
width: 100px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 59px;
}
.links:hover {
font-family: Arial;
font-size: 31px;
font-weight: normal;
text-transform: lowercase;
color: #ffffff;
text-decoration: none;
background-image: url(images/menu_02.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 70px;
width: 100px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 59px;
}
.info{
font-family: Arial;
font-size: 31px;
font-weight: normal;
text-transform: lowercase;
color: #5a5a5a;
text-decoration: none;
background-image: url(images/menu_03.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 70px;
width: 100px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 60px;
}
.info:hover{
font-family: Arial;
font-size: 31px;
font-weight: normal;
text-transform: lowercase;
color: #ffffff;
text-decoration: none;
background-image: url(images/menu_03.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 70px;
width: 100px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 60px;
}
.works {
font-family: Arial;
font-size: 31px;
font-weight: normal;
text-transform: lowercase;
color: #5a5a5a;
text-decoration: none;
background-image: url(images/menu_04.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 70px;
width: 105px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 60px;
}
.works:hover {
font-family: Arial;
font-size: 31px;
font-weight: normal;
text-transform: lowercase;
color: #ffffff;
text-decoration: none;
background-image: url(images/menu_04.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 70px;
width: 105px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 60px;
}
.freeregistration {
margin: 0px;
float: left;
height: 58px;
width: 300px;
padding-top: 18px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 343px;
}
.registration {
font-family: "Arial Narrow";
font-size: 33px;
font-weight: normal;
color: #000000;
text-decoration: none;
}
.free {
font-family: "Arial Black";
font-size: 33px;
font-weight: normal;
color: #da2a2a;
text-decoration: none;
background-image: url(images/registration.png);
background-repeat: no-repeat;
height: 48px;
padding-top: 0px;
padding-right: 53px;
padding-bottom: 0px;
padding-left: 0px;
float: left;
margin-top: 0px;
margin-right: 5px;
margin-bottom: 0px;
margin-left: 0px;
background-position: right;
}
.free:hover {
font-family: "Arial Black";
font-size: 33px;
font-weight: normal;
color: #000000;
text-decoration: none;
background-image: url(images/registration.png);
background-repeat: no-repeat;
height: 48px;
padding-top: 0px;
padding-right: 53px;
padding-bottom: 0px;
padding-left: 0px;
float: left;
margin-top: 0px;
margin-right: 5px;
margin-bottom: 0px;
margin-left: 0px;
background-position: right;
}
/*------------------------------------------------body_area--------------------*/
#body_area{
width:1004px;
height:820px;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
font-family: Tahoma;
font-size: 12px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
color: #dcd66e;
text-decoration: none;
float: none;
padding-top: 52px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
#innerbody_area{
width:1004px;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
font-family: Tahoma;
font-size: 12px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
color: #dcd66e;
text-decoration: none;
float: none;
padding-top: 52px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}.left {
margin: 0px;
float: left;
height: 820px;
width: 153px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 60px;
overflow:hidden;
}
.left_menu_area {
margin: 0px;
padding: 0px;
float: right;
height: 320px;
width: 153px;
}
.left_menutop {
background-image: url(images/menu_top.png);
background-repeat: no-repeat;
margin: 0px;
padding: 0px;
float: left;
height: 1px;
width: 153px;
}
.left_menu {
font-family: Arial;
font-size: 11px;
font-weight: bold;
font-variant: normal;
color: #386060;
text-decoration: none;
background-image: url(images/menu_active.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 20px;
width: 138px;
padding-top: 5px;
padding-right: 15px;
padding-bottom: 0px;
padding-left: 0px;
}
.left_menu:HOVER {
font-family: Arial;
font-size: 11px;
font-weight: bold;
font-variant: normal;
color: #da2a2a;
text-decoration: none;
background-image: url(images/menu_hover.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 20px;
width: 138px;
padding-top: 5px;
padding-right: 15px;
padding-bottom: 0px;
padding-left: 0px;
}.comment_head {
font-family: Georgia;
font-size: 22px;
font-weight: normal;
text-transform: none;
color: #d0910b;
text-decoration: none;
background-image: url(images/comments.png);
background-repeat: no-repeat;
margin: 0px;
float: left;
width: 130px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 20px;
padding-left: 23px;
background-position: 20px 8px;
}
.comments_area {
margin: 0px;
padding: 0px;
float: left;
width: 150px;
}

.comments_text {
font-family: Arial;
font-size: 11px;
font-weight: bold;
color: #386060;
text-decoration: none;
margin: 0px;
float: left;
width: 153px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 10px;
padding-left: 0px;
}
.comments_link {
font-family: Arial;
font-size: 10px;
font-weight: normal;
text-transform: none;
color: #9ca27e;
text-decoration: underline;
}
.comments_link:hover {
font-family: Arial;
font-size: 10px;
font-weight: normal;
text-transform: none;
color: #386060;
text-decoration: underline;
}
.Services_head {
font-family: Georgia;
font-size: 22px;
font-weight: normal;
text-transform: none;
color: #d0910b;
text-decoration: none;
background-image: url(images/services.png);
background-repeat: no-repeat;
float: left;
width: 130px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 20px;
padding-left: 23px;
background-position: 45px 8px;
margin-top: 20px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
.midarea {
margin: 0px;
float: left;
height: 820px;
width: 543px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 40px;
}
.head {
font-family: Georgia;
font-size: 45px;
font-weight: normal;
color: #d0910b;
text-decoration: none;
margin: 0px;
float: left;
width: 540px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 20px;
padding-left: 0px;
}
.body_textarea {
font-family: Arial;
font-size: 14px;
font-weight: normal;
color: #3c6f75;
text-decoration: none;
margin: 0px;
float: left;
width: 500px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 10px;
padding-left: 0px;
}
.readmore {
font-family: Arial;
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
background-image: url(images/readmore.png);
background-repeat: no-repeat;
margin: 0px;
float: right;
height: 18px;
width: 74px;
padding-top: 4px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.readmore:hover {
font-family: Arial;
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
background-image: url(images/readmore1.png);
background-repeat: no-repeat;
margin: 0px;
float: right;
height: 18px;
width: 74px;
padding-top: 4px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}.innerbanner {
font-family: Arial;
font-size: 18px;
font-weight: normal;
color: #8a8a8a;
text-decoration: none;
background-image: url(images/innerbanner.jpg);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 60px;
width: 508px;
padding-top: 457px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.innerbanner_head {
font-family: Arial;
font-size: 18px;
font-weight: normal;
color: #8a8a8a;
text-decoration: none;
background-image: url(images/tickmark.png);
background-repeat: no-repeat;
margin: 0px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 20px;
float: left;
background-position: 0px 4px;
}
.right {
margin: 0px;
padding: 0px;
float: left;
height: 820px;
width: 170px;
}
.events_head {
font-family: Georgia;
font-size: 22px;
font-weight: normal;
text-transform: none;
color: #d0910b;
text-decoration: none;
background-image: url(images/events.png);
background-repeat: no-repeat;
float: left;
width: 135px;
padding-top: 2px;
padding-right: 0px;
padding-bottom: 20px;
padding-left: 35px;
margin: 0px;
}
.login_area {
margin: 0px;
float: left;
width: 150px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 15px;
padding-left: 0px;
}
.login_top {
background-image: url(images/login_01.png);
background-repeat: no-repeat;
margin: 0px;
padding: 0px;
float: left;
height: 5px;
width: 146px;
}
.login_bottom {
background-image: url(images/login_03.png);
background-repeat: no-repeat;
margin: 0px;
padding: 0px;
float: left;
height: 5px;
width: 146px;
}
.login_bodyarea {
margin: 0px;
float: left;
width: 140px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 10px;
padding-left: 6px;
background-attachment: scroll;
background-image: url(images/login_02.png);
background-repeat: repeat-y;
}
.right_head {
font-family: Arial;
font-size: 11px;
font-weight: normal;
color: #FFFFFF;
text-decoration: none;
margin: 0px;
float: left;
height: 17px;
width: 131px;
padding-top: 3px;
padding-right: 0px;
padding-bottom: 10px;
padding-left: 0px;
background-image: url(images/right_head.png);
background-repeat: no-repeat;
}
.right_textbox{
font-family: Arial;
font-size: 11px;
font-weight: normal;
color: #FFFFFF;
text-decoration: none;
margin: 0px;
float: left;
height: 17px;
width: 131px;
padding-top: 3px;
padding-right: 0px;
padding-bottom: 10px;
padding-left: 0px;

}
.right_text{
font-family: Arial;
font-size: 11px;
font-weight: bold;
color: #d5ca89;
text-decoration: none;
margin: 0px;
float: left;
height: 17px;
width: 131px;
padding-top: 3px;
padding-right: 0px;
padding-bottom: 10px;
padding-left: 0px;

}
.righttextbox {
font-family: Arial;
font-size: 10px;
font-weight: normal;
color: #000000;
text-decoration: none;
margin: 0px;
padding: 0px;
float: left;
height: 18px;
width: 128px;
border: 1px solid #999999;
}
.righttextbox:hover {
font-family: Arial;
font-size: 10px;
font-weight: normal;
color: #000000;
text-decoration: none;
margin: 0px;
padding: 0px;
float: left;
height: 18px;
width: 128px;
border: 1px solid #333333;
}
.login {
font-family: Arial;
font-size: 10px;
font-weight: normal;
color: #070808;
text-decoration: none;
background-image: url(images/login_button.png);
background-repeat: no-repeat;
float: right;
height: 18px;
width: 48px;
margin-top: 0px;
margin-right: 5px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 3px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.login:hover {
font-family: Arial;
font-size: 10px;
font-weight: normal;
color: #070808;
text-decoration: none;
background-image: url(images/login_button1.png);
background-repeat: no-repeat;
float: right;
height: 18px;
width: 48px;
margin-top: 0px;
margin-right: 5px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 3px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.newletter_head {
font-family: Georgia;
font-size: 22px;
font-weight: normal;
text-transform: none;
color: #d0910b;
text-decoration: none;
background-image: url(images/newlinks.png);
background-repeat: no-repeat;
float: left;
width: 135px;
padding-top: 2px;
padding-right: 0px;
padding-bottom: 20px;
padding-left: 25px;
margin: 0px;
background-position: 0px 3px;
}
.news_link {
font-family: Arial;
font-size: 11px;
font-weight: normal;
text-transform: none;
color: #9ca27e;
text-decoration: underline;
}
.news_link:hover {
font-family: Arial;
font-size: 11px;
font-weight: normal;
text-transform: none;
color: #386060;
text-decoration: underline;
}
/*------------------------------------------------footer--------------------*/
#footer{
width:100%;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
font-family: "Trebuchet MS";
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
color: #c5a873;
text-decoration: none;
padding: 0px;
float: left;
height: 123px;
background-image: url(images/footer.jpg);
background-repeat: repeat-x;
background-position: top;
background-attachment: scroll;
}
.footer_links {
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
text-decoration: none;
margin: 0px;
float: left;
height: 20px;
width: 100%;
color: #202219;
padding-top: 15px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.footer_text {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #cb0002;
text-decoration: none;
margin: 0px;
float: left;
height: 43px;
width: 944px;
padding-top: 53px;
padding-right: 30px;
padding-bottom: 32px;
padding-left: 30px;
}

.footer_copyrights {
font-family: "Trebuchet MS";
font-size: 10px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
text-decoration: none;
margin: 0px;
float: left;
height: 20px;
width: 100%;
color: #b17a04;
padding-top: 5px;
padding-right: 0px;
padding-bottom: 2px;
padding-left: 0px;
}
.footer_validation {
font-family: "Trebuchet MS";
font-size: 9px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
text-decoration: none;
margin: 0px;
float: left;
height: 20px;
width: 100%;
color: #c75c2c;
padding-top: 5px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}

 

css continues

Link to comment
Share on other sites

/*------------------------------------------------footer--------------------*/
#footer{
width:100%;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
font-family: "Trebuchet MS";
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
color: #c5a873;
text-decoration: none;
padding: 0px;
float: left;
height: 123px;
background-image: url(images/footer.jpg);
background-repeat: repeat-x;
background-position: top;
background-attachment: scroll;
}
.footer_links {
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
text-decoration: none;
margin: 0px;
float: left;
height: 20px;
width: 100%;
color: #202219;
padding-top: 15px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.footer_text {
font-family: Arial;
font-size: 12px;
font-weight: normal;
color: #cb0002;
text-decoration: none;
margin: 0px;
float: left;
height: 43px;
width: 944px;
padding-top: 53px;
padding-right: 30px;
padding-bottom: 32px;
padding-left: 30px;
}

.footer_copyrights {
font-family: "Trebuchet MS";
font-size: 10px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
text-decoration: none;
margin: 0px;
float: left;
height: 20px;
width: 100%;
color: #b17a04;
padding-top: 5px;
padding-right: 0px;
padding-bottom: 2px;
padding-left: 0px;
}
.footer_validation {
font-family: "Trebuchet MS";
font-size: 9px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
text-decoration: none;
margin: 0px;
float: left;
height: 20px;
width: 100%;
color: #c75c2c;
padding-top: 5px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
/*------------------------------------------------footerlinks --------------------*/
a.footerlink:link {
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
text-decoration: none;
color: #202219;
padding-right: 5px;
padding-left: 5px;

}
a.footerlink:visited {
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
text-decoration: none;
color: #202219;
padding-right: 5px;
padding-left: 5px;

}
a.footerlink:hover {
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
text-decoration: none;
color: #b17a04;
padding-right: 5px;
padding-left: 5px;

}
a.footerlink:active{
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
text-decoration: none;
color: #202219;
padding-right: 5px;
padding-left: 5px;

}
/*------------------------------------------------footerlinksend--------------------*/

/*------------------------------------------------validation --------------------*/
a.xhtml:link {
color: #FFFFFF;
text-decoration: none;
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
background-color: #d0910b;
margin: 0px;
clear: none;
float: none;
height: 20px;
width: 150px;
border: 1px dotted #FFFFFF;
padding-top: 0px;
padding-right: 10px;
padding-bottom: 0px;
padding-left: 10px;
}
a.xhtml:visited {
color: #FFFFFF;
text-decoration: none;
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
background-color: #d0910b;
margin: 0px;
clear: none;
float: none;
height: 20px;
width: 150px;
border: 1px dotted #FFFFFF;
padding-top: 0px;
padding-right: 10px;
padding-bottom: 0px;
padding-left: 10px;
}
a.xhtml:hover {
color: #FFFFFF;
text-decoration: none;
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
background-color: #386060;
margin: 0px;
clear: none;
float: none;
height: 20px;
width: 150px;
border: 1px dotted #FFFFFF;
padding-top: 0px;
padding-right: 10px;
padding-bottom: 0px;
padding-left: 10px;
}
a.xhtml:active{
color: #FFFFFF;
text-decoration: none;
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
background-color: #d0910b;
margin: 0px;
clear: none;
float: none;
height: 20px;
width: 150px;
border: 1px dotted #FFFFFF;
padding-top: 0px;
padding-right: 10px;
padding-bottom: 0px;
padding-left: 10px;
}

a.css:link {
color: #FFFFFF;
text-decoration: none;
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
background-color: #386060;
margin: 0px;
padding: 0px;
clear: none;
float: none;
height: 20px;
width: 100px;
border: 1px dotted #FFFFFF;
padding-top: 0px;
padding-right: 20px;
padding-bottom: 0px;
padding-left: 20px;
}
a.css:visited {
color: #FFFFFF;
text-decoration: none;
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
background-color: #386060;
margin: 0px;
padding: 0px;
clear: none;
float: none;
height: 20px;
width: 100px;
border: 1px dotted #FFFFFF;
padding-top: 0px;
padding-right: 20px;
padding-bottom: 0px;
padding-left: 20px;
}
a.css:hover {
color: #FFFFFF;
text-decoration: none;
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
background-color: #d0910b;
margin: 0px;
padding: 0px;
clear: none;
float: none;
height: 20px;
width: 100px;
border: 1px dotted #FFFFFF;
padding-top: 0px;
padding-right: 20px;
padding-bottom: 0px;
padding-left: 20px;
}
a.css:active{
color: #FFFFFF;
text-decoration: none;
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
background-color: #386060;
margin: 0px;
padding: 0px;
clear: none;
float: none;
height: 20px;
width: 100px;
border: 1px dotted #FFFFFF;
padding-top: 0px;
padding-right: 20px;
padding-bottom: 0px;
padding-left: 20px;
}
.footer_designed {
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
text-decoration: none;
margin: 0px;
float: left;
height: 20px;
width: 100%;
color: #3e8f96;
padding-top: 15px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
/*------------------------------------------------validation--------------------*/
.footer_designedlink {
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
text-decoration: none;
color: #1d6369;
}
.footer_designedlink:hover {
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
text-decoration: none;
color: #b17a04;
}
/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
#innercontentblank
		{
			margin: 0px;
			float: left;
			width: 750px;
			padding-top: 0px;
			padding-right: 0px;
			padding-bottom: 0px;
			padding-left: 40px;
		}
#innerhedding
		{
font-family: Georgia;
font-size: 22px;
font-weight: normal;
text-transform: none;
color: #d0910b;
text-decoration: none;
			margin: 0px;
			float: left;
			width: 750px;
			padding-top: 0px;
			padding-right: 0px;
			padding-bottom: 20px;
			padding-left: 0px;
		}
#innercontent
		{
		font-family: Arial;
		font-size: 11px;
		font-weight: normal;
		text-transform: none;
		color: #9ca27e;
		text-decoration: none;
		margin: 0px;
		float: left;
		width: 700px;
		padding:0 0 10px 0;
		text-align:justify;
		}
#innercontent002
		{
		font-family: Arial;
		font-size: 11px;
		font-weight: normal;
		text-transform: none;
		color: #9ca27e;
		text-decoration: none;
		margin: 0px;
		float: left;
		width: 700px;
		padding:0 0 10px 0;
		text-align:justify;			
		}
#innercontent003
		{
		font-family: Arial;
		font-size: 11px;
		font-weight: normal;
		text-transform: none;
		color: #9ca27e;
		text-decoration: none;
		margin: 0px;
		float: left;
		width: 700px;
		padding:0 0 10px 0;
		text-align:justify;			
		}
#innercontent004
		{
		font-family: Arial;
		font-size: 11px;
		font-weight: normal;
		text-transform: none;
		color: #9ca27e;
		text-decoration: none;
		margin: 0px;
		float: left;
		width: 700px;
		padding:0 0 10px 0;
		text-align:justify;			
		}
#innercontent005
		{
		font-family: Arial;
		font-size: 11px;
		font-weight: normal;
		text-transform: none;
		color: #9ca27e;
		text-decoration: none;
		margin: 0px;
		float: left;
		width: 700px;
		padding:0 0 10px 0;
		text-align:justify;			
		}
#submenuhedding
		{
font-family: Georgia;
font-size: 22px;
font-weight: normal;
text-transform: none;
color: #d0910b;
text-decoration: none;
			margin: 0px;
			float: left;
			width: 750px;
			padding-top: 0px;
			padding-right: 0px;
			padding-bottom: 20px;
			padding-left: 0px;
		}
#submenublank
		{
			margin: 0px;
			float: left;
			width: 750px;
			padding-top: 0px;
			padding-right: 0px;
			padding-bottom: 20px;
			padding-left: 0px;
		}
#submenutop
		{
			margin: 0px;
			float: left;
			width: 433px;
			height:1px;
			padding:0px;
			background-image:url(images/topline.jpg);
			background-repeat:no-repeat;
		}
.submenu
		{
			margin: 0px;
			float: left;
			width: 410px;
			height:17px;
			padding:2px 0 0 23px;
			font-family: Arial;
			font-size: 11px;
			font-weight: normal;
			text-transform: none;
			color: #9ca27e;
			text-decoration: none;
			background-image: url(images/active.png);
			background-repeat:no-repeat;
		}
.submenu:hover
		{
			margin: 0px;
			float: left;
			width: 410px;
			height:17px;
			padding:2px 0 0 23px;
			font-family: Arial;
			font-size: 11px;
			font-weight: normal;
			text-transform: none;
			color: #9ca27e;
			text-decoration: none;
			background-image: url(images/over.jpg);
			background-repeat:no-repeat;
		}
/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------contactpage----------------------------------------------------------------------------------------*/
#contactblank
		{
margin: 0px;
float: left;
width: 674px;
padding-top: 40px;
padding-right: 30px;
padding-bottom: 0px;
padding-left: 30px;

		}

#contactinnerblank
	{
			width:1004px;
			height:500px;
			float:left;
			margin:0px;
			padding:0px;
	}
#contactheddingblank
	{
		width:500px;
		height:30px;
		float:left;
		margin:27px 0 0 45px;
		padding:0px;
		font:normal 12px/17px Arial, Helvetica, sans-serif;
		color:#CECECE;
		border-bottom: solid 1px #7f7f7f;


	}
#contactaddressblank{
			margin: 0px;
			padding:0 0 0 30px;
			float: left;
			width:236px;
			font-family: "Trebuchet MS";
			font-size: 11px;
			font-weight: normal;
			color: #000000;
			text-decoration: none;

}

#contactaddresshedding
	{
font-family: Georgia;
font-size: 22px;
font-weight: normal;
text-transform: none;
color: #d0910b;
text-decoration: none;
			margin: 0px;
			float: left;
			width: 750px;
			padding-top: 0px;
			padding-right: 0px;
			padding-bottom: 20px;
			padding-left: 0px;
	}		

#contactaddresstext{
		font-family: Arial;
		font-size: 11px;
		font-weight: normal;
		text-transform: none;
		color: #9ca27e;
		text-decoration: none;
		margin: 0px;
		float: left;
		width: 700px;
		padding:0 0 10px 0;
		text-align:justify;
}
#contactsmallhedding
		{
font-family: Arial;
font-size: 11px;
font-weight: bold;
color: #386060;
text-decoration: none;
		margin: 0px;
		float: left;
		width: 700px;
		padding:0 0 10px 0;
		}
#contacthedding
		{
font-family: Georgia;
font-size: 22px;
font-weight: normal;
text-transform: none;
color: #d0910b;
text-decoration: none;
			margin: 0px;
			float: left;
			width: 750px;
			padding-top: 0px;
			padding-right: 0px;
			padding-bottom: 20px;
			padding-left: 0px;
	}

#contacticon{
			width:86px;
			height:84px;
			float:left;
			background-image: url(contacticon.png);
			background-repeat:no-repeat;
			margin:10px 0 0 30px;
}
#contactfeildnameblank
		{
			width:160px;
			height:400px;
			margin:10px 0 0 0;
			padding:0;
			float:left;
		}
#contactfeildblank
		{
			width:200px;
			height:400px;
			margin:10px 0 0 0;
			padding:0;
			float:left;
		}
#contactfeildname
		{
			width:160px;
			height:20px;
			margin:0px;
			padding:0;
			float:left;
		}
#contactfeildname002
		{
			width:150px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}
#contactfeildname003
		{
			width:150px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}	
#contactfeildname004
		{
			width:150px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}	
#contactfeildname005
		{
			width:150px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}	
#contactfeildname006
		{
			width:150px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}
#contactfeildname007
		{
			width:150px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}	
#contactfeildname008
		{
			width:150px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}	
#contactfeildname009
		{
			width:150px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}
#contactfeild
		{
			width:200px;
			height:20px;
			margin:0px;
			padding:0;
			float:left;
		}
#contactfeild002
		{
			width:200px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}
#contactfeild003
		{
			width:200px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}	
#contactfeild004
		{
			width:200px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}	
#contactfeild005
		{
			width:200px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}	
#contactfeild006
		{
			width:200px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}
#contactfeild007
		{
			width:200px;
			height:20px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}	
#contactfeild008
		{
			width:200px;
			height:20px;
			margin:8px 0 0 0;
			padding:0;
			float:left;
		}	
#contactfeild009
		{
			width:200px;
			height:60px;
			margin:5px 0 0 0;
			padding:0;
			float:left;
		}
#submitbutton
		{
			width:200px;
			height:20px;
			margin:60px 0 0 0;
			padding:0;
			float:left;
			text-align: left;

		}	

.contactfeildname
		{
		font-family: Arial;
		font-size: 11px;
		font-weight: normal;
		text-transform: none;
		color: #9ca27e;
		text-decoration: none;
		}
.contactfeild
		{	font-family:Arial, Helvetica, sans-serif;
			font-size:10pt;
			color: #3c4538;
			border:solid;
			border-width:1px;
			border-color:#d2e3e9;
			background-color:#fffdfd;
			height:20px;
		}
.contactfeild
		{
			font-family:Arial, Helvetica, sans-serif;
			font-size:10pt;
			color:#3c4538;
			border:solid;
			border-width:1px;
			border-color:#d2e3e9;
			background-color:#fffdfd;
			height:20px;
		}
.submitbutton
		{
color: #FFFFFF;
text-decoration: none;
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
background-color: #386060;
margin: 0px;
padding: 0px;
clear: none;
float: none;
height: 20px;
width: 100px;
border: 1px dotted #FFFFFF;
padding-top: 0px;
padding-right: 20px;
padding-bottom: 0px;
padding-left: 20px;
cursor:pointer;
		}
.submitbutton:hover 
		{
color: #FFFFFF;
text-decoration: none;
font-family: Arial;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
background-color: #d0910b;
margin: 0px;
padding: 0px;
clear: none;
float: none;
height: 20px;
width: 100px;
border: 1px dotted #FFFFFF;
padding-top: 0px;
padding-right: 20px;
padding-bottom: 0px;
padding-left: 20px;
cursor:pointer;	
		}

.contactinput
	{

			border:solid;
			border-width:1px;
			border-color:#d2e3e9;
			background-color:#fffdfd;
	}
.contactinput:hover
	{
			border:solid;
			border-width:1px;
			border-color:#d2e3e9;
			background-color:#fffdfd;
}
.listbox
	{

			width:174px;
			height:20px;			
			border:solid;
			border-width:1px;
			border-color:#d2e3e9;
			background-color:#fffdfd;
	}
.listbox:hover
	{
			width:174px;
			height:20px;			
			border:solid;
			border-width:1px;
			border-color:#d2e3e9;
			background-color:#fffdfd;
}	
/*----------------------------------------------------------------contactpage----------------------------------------------------------------------------------------*/

upload images.rar to your images folder or create one if not and all so place your logo in there as well. Remember to name it logo.png

Link to comment
Share on other sites

I just looked this over a bit since I'm at work and was a little bored.

Try removing line 119.

 

<form id="form1" name="form1" method="post" action="">

 

This line isn't needed as your actual login form is below that. This one is not allowing the other to run I believe. Try that out and let me know if it works.

Link to comment
Share on other sites

Thanks Griff that did the job 8)

I have edited the login.php so if anyone wants to use this login, it now works.

I will take a look at the css part later and take out the parts not need, I just don't have the time right now...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...