Fixed mysql_* calls

Updated skin
Fixed minor bugs in shipyard pages display
Fixed various bugs in legacy fleet pages source code.

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
Gregory PLANCHAT 2011-09-22 01:19:45 +02:00
commit cfeb6aca6d
68 changed files with 1561 additions and 1451 deletions

View file

@ -1,5 +1,5 @@
/**
* Tis file is part of XNova:Legacies
* This file is part of XNova:Legacies
*
* @license http://www.gnu.org/licenses/gpl-3.0.txt
* @see http://www.xnova-ng.org/

View file

@ -1,31 +1,3 @@
.allymember {
color: lime;
}
.noob {
color: #a0ffa0;
}
.strong {
color: #ffa0a0;
}
.vacation {
color: skyblue;
}
.inactive {
color: CCCCCC;
}
.longinactive {
color: 999999;
}
.banned {
text-decoration: line-through;
}
.flight {
}

View file

@ -10,21 +10,10 @@ __ __ _ _
*/
., #, td, th, textarea, body, table
{
font-family : Tahoma,sans-serif;
font-size : 10px;
}
* {font-family:Tahoma,sans-serif;font-size:10px;}
img
{
border : 0px;
}
p table
{
border : 0px;
}
img {border:none;}
p table {border:none;}
p td
{
@ -33,78 +22,29 @@ p td
font-family : Tahoma,sans-serif;
}
table table
{
border : 0px;
}
table table {border:0px;}
table table td
{
font-size : 10px;
font-family : Tahoma,sans-serif;
}
body {color:#000;margin:1px 0 0 1px;background:#040e1e url(../../graphics/img/background2.jpg) fixed no-repeat top left;}
body
{
color : #FFFFFF;
margin-top : 1px;
margin-left : 1px;
background-color : #040e1e;
background-image : url(img/background2.jpg);
background-attachment: fixed;
background-repeat : no-repeat;
background-position : top left;
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #344566;
scrollbar-track-color: #344566;
scrollbar-face-color: #344566;
scrollbar-highlight-color: #344566;
scrollbar-3dlight-color: #465673;
scrollbar-darkshadow-color: #344566;
scrollbar-shadow-color: #465673;
font-size : 10px;
font-family : Tahoma,sans-serif;
}
body.style {background-image:url(../../graphics/img/background1.jpg);}
body.style table {margin:0px;border:0 auto}
body form table th table input {width: 60px;}
body.style{
background-image : url(img/background1.jpg);
}
body.style table {
margin : 0px;
}
body form table th table input
{
width: 60px;
}
.content table {margin:0 auto;}
th, td.a, td.b, td.c, td.f, td.g, td.h, td.i,
td.j, td.k, td.l, td.m, td.n, td.o, td.q, td.r,
td.v, .style td, p td, table.s th img
{
border : 1px #545454 solid;
font-size : 10px;
font-family : Tahoma,sans-serif;
}
input, select, textarea
{
border : 1px #545454 solid;
font-size : 10px;
font-family : Tahoma,sans-serif;
}
th, td.a, td.b, td.c, td.f, input, select, td.g,
td.h, td.i, td.j, td.k, td.m, td.o, td.q, td.r,
td.v, td.s, .style td, p td
{
background-color : #000000;
filter : alpha(opacity=70);
-moz-opacity : 0.7;
-khtml-opacity : 0.7;
opacity : 0.7;
}
th, td.a,td.b,td.c,td.f,input,select,td.g,td.h,td.i,td.j,td.k,td.m,td.o,td.q,td.r,td.v,td.s,.style td,p td {background:#FFF;filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;}
th
{
@ -130,7 +70,7 @@ td.c
color : #FFFFFF;
padding-left : 3px;
background-image : url(img/bg1.gif);
filter : alpha(opacity=70);
filter : alpha(opacity=90);
-moz-opacity : 0.7;
-khtml-opacity : 0.7;
opacity : 0.7;
@ -140,7 +80,7 @@ td.f, input, select, textarea
{
color : #FFFFFF;
background-color : #1c1c1c;
filter : alpha(opacity=70);
filter : alpha(opacity=90);
-moz-opacity : 0.7;
-khtml-opacity : 0.7;
opacity : 0.7;
@ -265,24 +205,24 @@ div.z
{
font-size : 10px;
font-weight : bold;
color : #FFFFFF;
color : #000;
}
a
{
color : #FFFFFF;
color : #000;
text-decoration : none;
font-weight : bold;
}
a.s
{
color : #FFFFFF;
color : #000;
}
a.t
{
color : #FFFFFF;
color : #000;
}
a:hover

View file

@ -1,5 +1,5 @@
/**
* Tis file is part of XNova:Legacies
* This file is part of XNova:Legacies
*
* @license http://www.gnu.org/licenses/gpl-3.0.txt
* @see http://www.xnova-ng.org/

View file

@ -1,5 +1,12 @@
@CHARSET "UTF-8";
.global .content .resources-display {width:770px;height:40px;margin:0 auto 30px;padding:0 50px;color:#000;background:#FFF;box-shadow:0 -4px 6px #156 inset;border:1px solid #FFF;border-top:none;border-radius: 0 0 20px 20px;}
.global .content .planet-carrousel {width:950px;height:100px;margin:0 auto;padding:0 30px;color:#000;background:#FFF;border:1px solid #FFF;border-top:none;box-shadow:0 -4px 8px #115566 inset, 20px 20px 40px #115566, -20px 20px 40px #115566, 0 -20px 40px #115566;border-bottom-left-radius:50px;border-bottom-right-radius:50px;}
.global .content .planet-carrousel .items {width:900px;height:100px;overflow:hidden;float:left;}
.global .content .planet-carrousel .arrow {height:40px;width:25px;float:left;font-size:20px;font-weight:bold;margin:30px 0;}
.global .content .planet-carrousel .planet {color:#000;height:100px;width:100px;float:left;}
.global .content .planet-carrousel .planet a {color:#000;}
.global .content .resources-display {width:770px;height:40px;margin:0 auto 30px;padding:0 50px;color:#000;background:#FFF;box-shadow:0 -4px 6px #115566 inset, 0 20px 40px #115566;border:1px solid #FFF;border-top:none;border-radius: 0 0 20px 20px;}
.global .content .resources-display .resource,.global .content .resources-display .messages {height:22px;float:left;width:140px;margin:7px 0;}
.global .content .resources-display .resource img,.global .content .resources-display .messages img {float:left;}
.global .content .resources-display .resource p,.global .content .resources-display .messages p {font-weight:bold;font-size:12px;margin:2px 0 2px 47px;}
@ -8,15 +15,25 @@
.global .content .resources-display .messages {height:22px;float:left;width:160px;}
.global .content .resources-display .energy {width:190px;}
.global .content .queue {width:600px;margin:10px auto 0;background:#FFF;color:#000;border:1px solid #FFF;border-radius:5px;border-top-left-radius:20px;border-top-right-radius:20px;box-shadow:0 4px 6px #156 inset;}
.global .content .queue h1 {color:#000;margin:10px 15px;width:570px;text-align:center;border-bottom:5px solid #9BC;}
.global .content .queue .item {width:580px;margin:0 10px;border:0;box-shadow:none;border-radius:0;}
.global .content .queue .item,.global .content .queue .item * {color:#000;}
.global .content .item-list {width:800px; margin:10px auto 0;background:#FFF;color:#000;border:1px solid #FFF;border-radius:5px;border-top-left-radius:20px;border-top-right-radius:20px;box-shadow:0 4px 6px #156 inset;}
.global .content .item-list {width:800px; margin:10px auto 0;background:#FFF;color:#000;border:1px solid #FFF;border-radius:5px;border-top-left-radius:20px;border-top-right-radius:20px;box-shadow:0 -4px 8px #115566 inset, 20px 20px 40px #115566, -20px 20px 40px #115566, 0 -20px 40px #115566;}
.global .content .item-list h1 {color:#000;margin:10px 15px;width:770px;text-align:center;border-bottom:5px solid #9BC;}
.global .content .item-list .item {width:780px;margin:0 10px;border:0;box-shadow:none;border-radius:0;}
.global .content .item-list .item,.global .content .item-list .item * {color:#000;}
.global .content .item-list .item,.global .content .item-list .item * {color:#000;}
/**
* Galaxy user name display colors
*/
.allymember {color:lime;}
.noob {color:darkgreen;}
.strong {color:darkred;}
.vacation {color:lightblue;}
.inactive {color:grey;}
.longinactive {color:darkgrey;}
.banned {color:red;text-decoration:line-through;}