First public release of MyAAC

This commit is contained in:
slawkens1
2017-05-01 20:02:45 +02:00
parent 31172b4883
commit b5362d0654
2016 changed files with 114481 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
<?php
$config['darkborder'] = "#d0cdb4";
$config['lightborder'] = "#e5e3d7";
$config['vdarkborder'] = "#afab89";
$config['news_title_color'] = "white";
?>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 669 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 845 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -0,0 +1,30 @@
var list = new Array();
list[0] = 'news';
list[1] = 'account';
list[2] = 'community';
list[3] = 'library';
list[4] = 'about';
function initMenu()
{
var length = list.length;
for(i = 0; i < length; i++)
{
if(list[i] == category)
{
document.getElementById(list[i]).className = 'tab-active';
document.getElementById(list[i] + "-submenu").style.display = 'block';
}
else
{
document.getElementById(list[i]).className = 'tab';
document.getElementById(list[i] + "-submenu").style.display = 'none';
}
}
}
function menuSwitch(cat)
{
category = cat;
initMenu();
}

View File

@@ -0,0 +1,40 @@
<?php
function news_parse($title, $content, $date, $icon = 0, $author = '', $comments = '')
{
global $template_path;
$firstLetter = '';
if($content[0] != '<')
{
$tmp = $template_path.'/images/letters/'.$content[0].'.gif';
if(file_exists($tmp)) {
$firstLetter = '<img src="' . $tmp . '" alt="'.$content[0].'" BORDER=0 ALIGN=bottom>';
$content[0] = '';
}
}
return '
<div id="News">
<div class="NewsHeadline">
<div class="NewsHeadlineBackground" style="background-image:url(' . $template_path . '/images/news/newsheadline_background.gif)">
<img src="' . $template_path . '/images/news/icon_' . $icon . '.gif" class=\'NewsHeadlineIcon\' />
<div class="NewsHeadlineDate">' . date("j.n.Y", $date) . ' - </div>
<div class="NewsHeadlineText">' . stripslashes($title) . '</div>
' . (isset($author[0]) ? '
<div class="NewsHeadlineAuthor"><b>Author: </b><i>' . $author . '</i></div>' : '') . '
</div>
</div>
</div>
<table style="clear:both" border=0 cellpadding=0 cellspacing=0 width="100%" >
<tr>
<td style="padding-left:10px;padding-right:10px;" >' . $firstLetter.$content . '</td>
</tr>'
. (isset($comments[0]) ? '
<tr>
<td>
<div style="text-align: right; margin-right: 10px;"><a href="' . $comments . '">» Comment on this news</a></div>
</td>
</tr>' : '') .
'</table><br/>';
}
?>

View File

@@ -0,0 +1,895 @@
@charset "utf-8";
/* CSS Document */
body
{
background: #a7a597 url('images/background.png') no-repeat top left;
margin: 0px;
padding: 0px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #373737;
}
#page
{
width: 780px;
margin: auto;
}
#header
{
width: 780px;
height: 245px;
background: url('images/logo.png') no-repeat;
float: left;
}
#tabs
{
width: 580px;
height: 32px;
background: url('images/tabs-bg.png') no-repeat;
float: left;
padding-left: 200px;
}
#tabs .tab
{
width: 112px;
height: 20px;
background: url('images/tab.png') no-repeat;
float: left;
text-align: center;
color: #E2E2E2;
font-weight: bold;
padding-top: 12px;
cursor: pointer;
}
#tabs .tab:hover
{
text-decoration: underline;
}
#tabs .tab-active
{
width: 113px;
height: 22px;
background: url('images/tab-active.png') no-repeat;
float: left;
text-align: center;
color: #FFFFFF;
font-weight: bold;
padding-top: 10px;
cursor: pointer;
}
#mainsubmenu
{
width: 760px;
height: 42px;
background: url('images/submenu.png') no-repeat;
float: left;
padding-left: 10px;
padding-right: 10px;
}
#mainsubmenu a
{
display: block;
float: left;
padding: 5px;
color: #FFFFFF;
font-weight: bold;
margin-top: 7px;
text-decoration: none;
}
#mainsubmenu a:hover
{
text-decoration: underline;
}
#mainsubmenu .separator
{
width: 2px;
height: 32px;
display: block;
float: left;
background: url('images/separator.png') no-repeat;
}
#content
{
width: 780px;
background: url('images/site-bg.png') repeat-y;
float: left;
}
#margins
{
width: 760px;
margin-left: 10px;
margin-right: 10px;
margin-top: 5px;
margin-bot: 5px;
text-align: justify;
}
#content-bot
{
width: 780px;
height: 28px;
background: url('images/site-bot.png') no-repeat;
float: left;
}
#copyrights
{
width: 740px;
padding: 10px;
float: left;
text-align: center;
}
#news-submenu,
#account-submenu,
#community-submenu,
#library-submenu,
#shops-submenu
{
display: none;
}
a
{
color: #990000;
text-decoration: none;
font-weight: bold;
}
a:hover
{
color: #FF0000;
}
.white, .whites
{
color: #FFFFFF;
}
/** -------------------------------
* Stylesheet declarations for the
* NEW TABLES
* -------------------------------
*/
.TableContainer {
border: 1px solid #d0cdb4;
position: relative;
width: 100%;
font-size: 10px;
}
.TableContainer .Odd {
background-color: #e5e3d7;
}
.TableContainer .Even {
background-color: #d0cdb4;
}
/* TABLEHEADER DECORATION */
.TableContainer .CaptionContainer {
position: relative;
font-size: 10pt;
background-color: #afab89 !important;
height: 100%;
width: 100%;
text-align: left;
}
.TableContainer .CaptionContainer .CaptionInnerContainer {
position: relative;
background-color: #afab89;
width: 100%;
height: 100%;
padding-top: 3px;
padding-bottom: 4px;
}
.TableContainer .CaptionContainer .Text {
font-family: Verdana, Arial, Times New Roman, sans-serif;
font-size: 10pt;
font-weight: bold;
text-align: left;
color: white;
padding-left: 10px;
padding-top: 0px;
padding-bottom: 0px;
}
.TableContainer .CaptionContainer .CaptionEdgeLeftTop {
position: absolute;
width: 5px;
height: 5px;
top: -2px;
left: -2px;
z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeRightTop {
position: absolute;
width: 5px;
height: 5px;
top: -2px;
right: -2px;
z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeLeftBottom {
position: absolute;
width: 5px;
height: 5px;
left: -2px;
bottom: -3px;
z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeRightBottom {
position: absolute;
width: 5px;
height: 5px;
right: -2px;
bottom: -3px;
z-index: 50;
}
.TableContainer .CaptionContainer .CaptionBorderTop {
position: absolute;
width: 100%;
height: 4px;
left: 0px;
top: -1px;
}
.TableContainer .CaptionContainer .CaptionBorderBottom {
position: absolute;
width: 100%;
height: 4px;
left: 0px;
bottom: -2px;
}
.TableContainer .CaptionContainer .CaptionVerticalLeft {
position: absolute;
height: 100%;
width: 3px;
left: -1px;
top: 0px;
}
.TableContainer .CaptionContainer .CaptionVerticalRight {
position: absolute;
height: 100%;
width: 3px;
right: -1px;
top: 0px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeRightTop {
right: -3px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeLeftBottom {
bottom: -4px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeRightBottom {
right: -3px;
bottom: -4px;
}
* html .TableContainer .CaptionContainer .CaptionBorderBottom {
bottom: -3;
}
* html .TableContainer .CaptionContainer .CaptionVerticalRight {
right: -2px;
}
/* TABLE CONTENT */
.TableContentContainer {
border: 1px solid #afab89;
position: relative;
margin-right: 4px;
height: 100%;
background-color: #d0cdb4;
padding: 0px;
}
.TableContent {
width: 100%;
border-collapse: collapse;
}
.TableContent td {
padding-left: 5px;
padding-top: 2px;
padding-right: 5px;
padding-bottom: 2px;
}
/* INNERLYOUT 1 */
.TableContainer .Table1 {
width: 100%;
background-color: #d0cdb4;
border: 2px solid #afab89;
}
.TableContainer .Table1 .InnerTableContainer {
padding: 5px;
}
/* INNERLYOUT 2 */
.TableContainer .Table2 {
width: 100%;
border: 2px solid #afab89;
background-color: #e5e3d7;
padding: 0px;
margin: 0px;
border-collapse: collapse;
}
.TableContainer .Table2 td {
padding: 0px;
margin: 0px;
}
.TableContainer .Table2 .InnerTableContainer {
margin-top: 1px;
}
.TableContainer .Table2 .InnerTableContainer table {
border-collapse: collapse;
}
.TableContainer .Table2 .InnerTableContainer td {
padding-top: 2px;
padding-left: 5px;
padding-bottom: 2px;
padding-right: 5px;
border: 1px solid #e5e3d7;
}
/* INNERLYOUT 3 */
.TableContainer .Table3 {
width: 100%;
border: 2px solid #afab89;
background-color: #e5e3d7;
}
.TableContainer .Table3 .InnerTableContainer {
width: 100%;
position: relative;
margin-top: 5px;
margin-left: 3px;
}
.TableContainer .Table3 .TableContentAndRightShadow td {
border: 1px solid #e5e3d7;
}
/* INNERLYOUT 4 */
.TableContainer .Table4 {
width: 100%;
border: 2px solid #afab89;
background-color: #e5e3d7;
}
.TableContainer .Table4 .InnerTableContainer {
width: 100%;
position: relative;
margin-top: 3px;
}
.TableContainer .Table4 .TableContentAndRightShadow .TableContent td {
padding-left: 4px;
padding-top: 2px;
padding-bottom: 2px;
}
/* INNERLYOUT 5 */
.TableContainer .Table5 {
width: 100%;
border: 2px solid #afab89;
background-color: #e5e3d7;
}
.TableContainer .Table5 .InnerTableContainer {
width: 100%;
position: relative;
margin-top: 5px;
margin-left: 3px;
}
.TableContainer .Table5 .TableContentAndRightShadow .TableContent td {
padding-left: 4px;
padding-top: 2px;
padding-bottom: 2px;
}
/* SHADOWS */
.TableShadowContainerRightTop {
position: relative;
top: 0px;
right: 3px;
margin-right: 0px;
font-size: 10px;
float: right;
z-index: 99;
}
.TableShadowRightTop {
position: absolute;
top: 0px;
right: 0px;
width: 4px;
height: 5px;
z-index: 99;
}
.TableContentAndRightShadow {
position: relative;
background-repeat: repeat-y;
background-position: top right;
margin-right: 3px;
font-size: 10px;
}
.TableShadowContainer {
position: relative;
widht: 100%;
margin-right: 5px;
}
.TableBottomShadow {
position: relative;
font-size: 10px;
height: 5px;
width: 100%;
padding: 0px;
margin: 0px;
}
.TableBottomLeftShadow {
position: relative;
height: 5px;
width: 4px;
float: left;
padding: 0px;
margin: 0px;
}
.TableBottomRightShadow {
position: relative;
float: right;
right: -2px;
top: 0px;
height: 5px;
width: 4px;
}
/* LABELS */
.LabelV {
font-weight: bold;
padding-right: 10px;
white-space: nowrap;
vertical-align: top;
}
.LabelH {
font-weight: bold;
padding-right: 10px;
white-space: nowrap;
background-color: #afab89;
}
.LabelH td {
background-color: #afab89;
padding-left: 5px;
padding-top: 2px;
padding-right: 5px;
padding-bottom: 2px;
}
/* BUTTONS */
.InnerTableButtonRow {
width: 100%;
padding-left: 1px;
padding-right: 0px;
padding-bottom: 4px;
border: 0px;
}
.InnerTableButtonRow td {
padding-right: 4px;
}
.BigButton {
position: relative;
width: 135px;
height: 25px;
z-index: 10;
}
.BigButtonOver {
position: absolute;
top: 0px;
left: 0px;
width: 137px;
height: 25px;
visibility: hidden;
z-index: 15;
}
.ButtonText {
position: absolute;
top: 0px;
left: 0px;
height: 25px;
width: 135px;
z-index: 20;
}
.TopButtonContainer {
position: relative;
right: 4px;
top: 4px;
z-index: 60;
}
* html .TopButtonContainer {
right: 27px;
}
.TopButtonContainer .TopButton {
position: absolute;
right: 0px;
z-index: 55;
}
.Content .BoxContent .Odd {
background-color: #d0cdb4;
padding: 2px;
}
.Content .BoxContent .Even {
background-color: #e5e3d7;
padding: 2px;
}
.Content .NewsCategoryIconSmall {
position: absolute;
top: 1px;
left: 1px;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}
.Content .BoxContent .Odd {
background-color: #d0cdb4;
padding: 2px;
}
.Content .BoxContent .Even {
background-color: #e5e3d7;
padding: 2px;
}
.Content .NewsCategoryIconSmall {
position: absolute;
top: 1px;
left: 1px;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}
.Content .BoxContent .Odd {
background-color: #d0cdb4;
padding: 2px;
}
.Content .BoxContent .Even {
background-color: #e5e3d7;
padding: 2px;
}
.Content .NewsCategoryIconSmall {
position: absolute;
top: 1px;
left: 1px;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}
/* News Ticker */
.Content #NewsTicker .BoxContent {
padding: 5px;
min-height: 90px;
height: auto !important;
height: 100px;
}
.Content #NewsTicker .BoxContent .Row {
position: relative;
width: 100%;
}
.Content #NewsTicker .NewsTickerIcon {
position: absolute;
top: 1px;
left: 1px;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}
.Content #NewsTicker .NewsTickerText {
font-size: 9pt;
position: relative;
margin-left: 20px;
}
.Content #NewsTicker .NewsTickerDate {
font-size: 7pt;
position: absolute;
top: 0px;
float: left;
}
.Content #NewsTicker .NewsTickerShortText {
margin-left: 85px;
height: 14px;
}
.Content #NewsTicker .NewsTickerFullText {
margin-left: 85px;
margin-right: 20px;
display: none;
}
.Content #NewsTicker .NewsTickerExtend {
position: relative;
right: 0px;
top: 1px;
right: 1px;
height: 12px;
width: 12px;
background-repeat: no-repeat;
float: right;
cursor: pointer;
z-index: 10;
}
/* Featured Article */
.Content #FeaturedArticle .BoxContent {
position:relative;
height: 100px;
padding: 5px;
padding-left: 10px;
min-height: 100px;
height: auto !important;
height: 110px;
line-height: 10.5pt;
}
.Content #FeaturedArticle #TeaserThumbnail {
position: relative;
top: 0px;
right: 0px;
height: 100px;
width: 150px;
margin-left: 10px;
background-color: black;
z-index: 90;
float: right;
}
#ContentHelper #FeaturedArticle:first-child .BoxContent {
padding: 10px;
}
.Content #FeaturedArticle #TeaserText {
height: 100px;
overflow: hidden;
z-index: 0;
}
.Content #FeaturedArticle #Link {
position: absolute;
top: 0px;
right: 0px;
margin: 89 165 0 0;
z-index: 99;
}
.Content #FeaturedArticle .NewsHeadlineBackground {
position: relative;
height: 28px;
margin-bottom: 5px;
background-repeat: repeat-x;
border-left: 1px solid #d0cdb4;
border-right: 1px solid #d0cdb4;
}
.Content #FeaturedArticle .NewsHeadlineIcon {
position: absolute;
top: -1px;
left: 0px;
margin-left: 5px;
margin-right: 5px;
float:left;
}
.Content #FeaturedArticle .NewsHeadlineDate {
font-size: 7pt;
position: absolute;
top: 9px;
left: 50px;
width: 85px;
color: white;
}
.Content #FeaturedArticle .NewsHeadlineText {
position: relative;
top: 8px;
left: 135px;
font-size: 10pt;
font-weight: bold;
color: white;
}
/* News */
.Content #News .BoxContent {
min-height: 100px;
height: auto !important;
height: 110px;
}
.Content #News .NewsHeadlineBackground {
position: relative;
height: 28px;
margin-bottom: 5px;
background-repeat: repeat-x;
border-left: 1px solid #d0cdb4;
border-right: 1px solid #d0cdb4;
}
.Content #News .NewsHeadlineIcon {
position: absolute;
top: -1px;
left: 0px;
margin-left: 5px;
margin-right: 5px;
}
.Content #News .NewsHeadlineDate {
font-size: 7pt;
position: absolute;
top: 10px;
left: 50px;
width: 85px;
color: white;
}
.Content #News .NewsHeadlineText {
position: relative;
top: 7px;
left: 135px;
font-size: 10pt;
font-weight: bold;
color: white;
}
.Content #News .NewsHeadlineAuthor {
position: absolute;
top: 7px;
right: 10px;
font-size: 10pt;
font-weight: bold;
color: white;
}
/* News Archive */
.Content #NewsArchive .NewsHeadlineBackground {
position: relative;
height: 28px;
margin-bottom: 5px;
background-repeat: repeat-x;
border-left: 1px solid #d0cdb4;
border-right: 1px solid #d0cdb4;
}
.Content #NewsArchive .NewsHeadlineIcon {
position: absolute;
top: -1px;
left: 0px;
margin-left: 5px;
margin-right: 5px;
}
.Content #NewsArchive .NewsHeadlineDate {
font-size: 7pt;
position: absolute;
top: 9px;
left: 50px;
width: 85px;
color: white;
}
.Content #NewsArchive .NewsHeadlineText {
position: relative;
top: 7px;
left: 135px;
font-size: 10pt;
font-weight: bold;
color: white;
}
/** --------------------------------------
* ### not final versions for tests
* ### concerning the new payment process
* --------------------------------------
*/
/* new error handling concept tests */
.FormFieldError {
font-size: 8pt;
color: red;
}
.SmallBox {
position: relative;
font-size: 1px;
}
.SmallBox .ErrorMessage {
font-size: 8pt;
position: relative;
color: red;
height: 100%;
background-color: #d0cdb4;
padding: 5px;
padding-left: 43px;
}
.SmallBox .Message {
font-size: 10pt;
position: relative;
height: 100%;
background-color: #d0cdb4;
padding: 10px;
}
.SmallBox .ErrorMessage ul {
padding-left: 15px;
}
.SmallBox .BoxFrameHorizontal {
position: relative;
height: 4px;
}
.SmallBox .BoxFrameVerticalRight {
position: absolute;
right: 0px;
top: 0px;
width: 3px;
background-repeat: repeat-y;
height: 100%;
}
.SmallBox .BoxFrameVerticalLeft {
position: absolute;
left: 0px;
top: 0px;
width: 3px;
background-repeat: repeat-y;
height: 100%;
}
.SmallBox .MessageContainer {
position: relative;
height: 100%;
}
.SmallBox .BoxFrameEdgeLeftTop {
position: absolute;
left: -1px;
top: -1px;
width: 5px;
height: 5px;
}
.SmallBox .BoxFrameEdgeLeftBottom {
position: absolute;
left: -1px;
bottom: -1px;
width: 5px;
height: 5px;
}
.SmallBox .BoxFrameEdgeRightTop {
position: absolute;
right: -1px;
top: -1px;
width: 5px;
height: 5px;
}
.SmallBox .BoxFrameEdgeRightBottom {
position: absolute;
right: -1px;
bottom: -1px;
width: 5px;
height: 5px;
}
.SmallBox .AttentionSign {
position: absolute;
top: 3px;
left: 8px;
width: 30px;
height: 26px;
}

View File

@@ -0,0 +1,196 @@
<!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>
<?php echo template_place_holder('head_start'); ?>
<link rel="stylesheet" href="<?php echo $template_path; ?>/style.css" type="text/css" />
<script src="<?php echo $template_path; ?>/menu.js" type="text/javascript"></script>
<script type="text/javascript">
var category = '<?php
if(in_array(PAGE, array('news', 'newsarchive')))
echo 'news';
elseif(in_array(PAGE, array('creatures', 'spells', 'online', 'serverinfo', 'downloads', 'commands',
'movies', 'screenshots', 'experiencetable')))
echo 'library';
elseif(in_array(PAGE, array('characters', 'guilds', 'highscores', 'wars', 'lastkills', 'houses', 'bans',
'forum', 'team')))
echo 'community';
elseif(in_array(PAGE, array('account', 'accountmanagement', 'createaccount', 'lostaccount', 'rules')))
echo 'account';
elseif(in_array(PAGE, array('faq')))
echo 'about';
elseif(in_array(PAGE, array('points', 'gifts')))
echo 'shops';
?>';
</script>
<?php echo template_place_holder('head_end'); ?>
</head>
<body onload="initMenu();">
<?php echo template_place_holder('body_start'); ?>
<div id="page">
<!-- Keep all on center of browser -->
<!-- Header Section -->
<div id="header"></div>
<!-- End -->
<!-- Menu Section -->
<div id="tabs">
<span id="news" onclick="menuSwitch('news');" class="tab-active">Latest News</span>
<span id="account" onclick="menuSwitch('account');" class="tab">Account</span>
<span id="community" onclick="menuSwitch('community');" class="tab">Community</span>
<span id="library" onclick="menuSwitch('library');" class="tab">Library</span>
<span id="about" onclick="menuSwitch('about');" class="tab">About</span>
<?php
if($config['gifts_system'])
{
echo '<span id="shops" onclick="menuSwitch(\'shops\');" class="tab">Shop</span>';
}
?>
</div>
<div id="mainsubmenu">
<div id="news-submenu">
<a href="<?php echo internalLayoutLink('news'); ?>">Latest News</a>
<span class="separator"></span>
<a href="<?php echo internalLayoutLink('news' . ($config['friendly_urls'] ? '' : '') . 'archive')?>">News Archives</a>
</div>
<div id="account-submenu">
<?php
if($logged)
{
?>
<a href="<?php echo $template['link_account_manage']; ?>">My Account</a>
<span class="separator"></span>
<a href="<?php echo $template['link_account_logout']; ?>">Logout</a>
<span class="separator"></span>
<?php
}
else
{
?>
<a href="<?php echo $template['link_account_manage']; ?>">Login</a>
<span class="separator"></span>
<a href="<?php echo $template['link_account_create']; ?>">Create Account</a>
<span class="separator"></span>
<a href="<?php echo $template['link_account_lost']; ?>">Lost Account</a>
<span class="separator"></span>
<?php
}
?>
<a href="<?php echo $template['link_rules']; ?>">Server Rules</a>
</div>
<div id="community-submenu">
<a href="<?php echo $template['link_characters']; ?>">Characters</a>
<span class="separator"></span>
<a href="<?php echo $template['link_guilds']; ?>">Guilds</a>
<span class="separator"></span>
<?php
if(isset($config['wars']))
echo '
<a href="' . $template['link_wars'] . '">Wars</a>
<span class="separator"></span>';
?>
<a href="<?php echo $template['link_highscores']; ?>">Highscores</a>
<span class="separator"></span>
<a href="<?php echo $template['link_lastkills']; ?>">Last Deaths</a>
<span class="separator"></span>
<a href="<?php echo $template['link_houses']; ?>">Houses</a>
<span class="separator"></span>
<?php if($config['otserv_version'] == TFS_03): ?>
<a href="<?php echo $template['link_bans']; ?>">Bans</a>
<?php endif; ?>
<span class="separator"></span>
<?php
if($config['forum'] != '')
echo
$template['link_forum'] . 'Forum</a>
<span class="separator"></span>';
?>
<a href="<?php echo $template['link_team']; ?>">Team</a>
</div>
<div id="library-submenu">
<!--a href="<?php echo $template['link_creatures']; ?>">Monsters</a>
<span class="separator"></span>
<a href="<?php echo $template['link_spells']; ?>">Spells</a>
<span class="separator"></span-->
<a href="<?php echo $template['link_online']; ?>">Who is Online?</a>
<span class="separator"></span>
<a href="<?php echo $template['link_serverInfo']; ?>">Server Info</a>
<span class="separator"></span>
<a href="<?php echo $template['link_downloads']; ?>">Downloads</a>
<span class="separator"></span>
<a href="<?php echo $template['link_commands']; ?>">Commands</a>
<span class="separator"></span>
<a href="<?php echo $template['link_movies']; ?>">Movies</a>
<span class="separator"></span>
<a href="<?php echo $template['link_screenshots']; ?>">Screenshots</a>
<span class="separator"></span>
<a href="<?php echo $template['link_experienceTable']; ?>">Experience Table</a>
</div>
<div id="about-submenu">
<a href="<?php echo $template['link_faq']; ?>">FAQ</a>
<!--a href="<?php echo internalLayoutLink('about'); ?>">About us</a>
<a href="<?php echo internalLayoutLink('contact'); ?>">Contact</a-->
</div>
<?php
if($config['gifts_system'])
{
echo '
<div id="shops-submenu">
<a href="' . $template['link_points'] . '">Buy Premium Points</a>
<span class="separator"></span>
<a href="' . $template['link_gifts'] . '">Shop Offer</a>';
if($account_logged)
echo '<span class="separator"></span><a href="?subtopic=shopsystem&action=show_history">Shop History</a>';
echo '</div>';
}
?>
</div>
<!-- End -->
<!-- Content Section -->
<div id="content">
<div id="margins">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td><a href="<?php echo internalLayoutLink('news'); ?>"><?php echo $config['lua']['serverName']; ?></a> &raquo; <?php echo $title; ?></td>
<td>
<?php
if($status['online'])
echo '
<font color="green"><b>Server Online</b></font> &raquo;
Players Online: ' . $status['players'] . ' / ' . $status['playersMax'] . ' &raquo;
Monsters: ' . $status['monsters'] . ' &raquo; Uptime: ' . $status['uptimeReadable'] . '';
else
echo '<font color="red"><b>Server Offline</b></font>';
?>
</td>
</tr>
</table>
<hr noshade="noshade" size="1" />
<div class="Content"><div id="ContentHelper">
<?php echo $content; ?>
</div></div>
</div>
</div>
<div id="content-bot"></div>
<div id="copyrights">
<p><?php echo template_footer(); ?></p>
<?php
if($config['template_allow_change'])
echo '<font color="white">Template:</font><br/>' . template_form();
?>
</div>
<!-- End -->
<!-- End -->
</div>
<?php echo template_place_holder('body_end'); ?>
</body>
</html>

1748
templates/tibiacom/basic.css Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,12 @@
<?php
$config['darkborder'] = "#D4C0A1";
$config['lightborder'] = "#F1E0C6";
$config['vdarkborder'] = "#505050";
$config['news_title_color'] = "white";
$config['logo_monster'] = "Elder Beholder";
#List: newcomer,screenshots,premium,poll
$config['boxes'] = "newcomer,screenshots";
$config['background_image'] = "background-artwork-860.jpg";
$config['logo_image'] = "tibia-logo-artwork-top.gif";
$config['screenshot'] = "demon";
?>

View File

@@ -0,0 +1,42 @@
<?php
//require('../../common.php');
//$text = $_GET['text'];
/*
$page_file = BASE . 'pages/' . PAGE . '.php';
if(!@file_exists($page_file))
{
$page_file = BASE . 'pages/custom/' . PAGE . '.php';
if(!@file_exists($page_file))
die('Page does not exists.');
}
*/
//$file = 'images/header/headline-' . PAGE . '.gif';
//if(!file_exists($file))
//{
if(strlen($_GET['t']) > 100) // max limit
$_GET['t'] = '';
// set font path
putenv('GDFONTPATH=' . dirname(__FILE__));
// create image
$image = imagecreatetruecolor(250, 28);
// make the background transparent
imagecolortransparent($image, imagecolorallocate($image, 0, 0, 0));
// set text
imagettftext($image, 18, 0, 4, 20, imagecolorallocate($image, 240, 209, 164), 'martel.ttf', utf8_decode($_GET['t']));
// header mime type
header('Content-type: image/gif');
// save image
imagegif($image/*, $file*/);
//}
// output image
//header('Content-type: image/gif');
//readfile($file);
?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Some files were not shown because too many files have changed in this diff Show More