kanst ja mal ein styl machen hier ein design php datei:
Zitat: › <?php
/************************************************************
$thename = "Orange";
$bgcolor1 = "#ffffff";
$bgcolor2 = "#cccccc";
$bgcolor3 = "#ffffff";
$bgcolor4 = "#eeeeee";
$textcolor1 = "#ffffff";
$textcolor2 = "#000000";
$postnuke_theme = true;
themes_get_language();
function OpenTable()
{
global $bgcolor1, $bgcolor2;
echo "<TABLE width=\"100%\" cellpadding=\"3\" cellspacing=\"0\" class=\"orange\">
<TR>
<TD>";
}
function OpenTable2()
{
global $bgcolor1, $bgcolor2;
echo "<TABLE width=\"100%\" cellpadding=\"3\" cellspacing=\"0\" class=\"orange\">
<TR>
<TD>";
}
function CloseTable()
{
echo "</TD>
</TR>
</TABLE>";
}
function CloseTable2()
{
echo "</TD>
</TR>
</TABLE>";
}
function themeheader() {
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $index;
$slogan = pnConfigGetVar('slogan');
$sitename = pnConfigGetVar('sitename');
$banners = pnConfigGetVar('banners');
$startpage = pnConfigGetVar('startpage');
$currentlang = pnConfigGetVar('language');
if (!pnUserLoggedIn()) { $username = pnConfigGetVar('anonymous'); } else { $username = pnUserGetVar('uname'); }
echo "<BODY>";
echo "<BR>";
pnBannerDisplay();
echo "<BR>";
echo "<TABLE cellspacing=\"0\" cellpadding=\"3\" width=\"100%\">
<TR>
<TD>
<A href=\"modules.php?op=modload&name=News&file=index\"><IMG src=\"themes/Orange/images/logo.gif\" alt=\""._WELCOMETO." $sitename\" border=\"0\"></A>
</TD>
<TD align=\"right\">
<FORM action=\"search.php\" method=\"post\">"._SEARCH."<INPUT type=\"text\" name=\"query\">
</FORM>
</TD>
</TR>
</TABLE>
<TABLE cellspacing=\"0\" cellpadding=\"3\" width=\"100%\">
<TR>
<TD valign=\"top\" width=\"150\">";
blocks('left');
echo "<IMG src=\"images/pix.gif\" border=\"0\" width=\"150\" height=\"1\" alt=\"\">
</TD>
<TD> </TD>
<TD width=\"100%\" valign=\"top\">";
if ($index) { OpenTable(); blocks('centre'); CloseTable(); }
}
function themefooter() {
global $thename, $index, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $sepcolor;
echo "</TD>";
if($index == 1){
echo "<TD> </TD>
<TD valign=\"top\">";
blocks('right');
echo "</TD>";
}
echo "</TR>
</TABLE>";
footmsg();
}
function themeindex ($_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $info, $links, $preformat) {
global $thename, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $sepcolor;
$anonymous = pnConfigGetVar('anonymous');
$tipath = pnConfigGetVar('tipath');
echo "<TABLE cellpadding=\"3\" cellspacing=\"0\" width=\"100%\" class=\"orange\">
<TR>
<TD class=\"orange-head\">$preformat[catandtitle]<BR>"._POSTEDBY." $info[informant] "._ON." $info[briefdatetime] ($info[counter] "._READS.")<BR>
Topic: <a href=\"$links[searchtopic]\">$info[topictext]</A><BR>
</TD>
</TR>
<TR>
<TD class=\"orange-main\">";
echo "$preformat[hometext]<br><br>$preformat[notes]\n
<BR><BR>
</TD>
</TR>
<TR>
<TD align=\"right\" class=\"orange-head\">
$preformat[more]
</TD>
</TR>
</TABLE><BR>";
}
function themearticle ($_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $_deprecated, $info, $links, $preformat) {
global $thename, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $sepcolor;
echo "<TABLE cellpadding=\"3\" cellspacing=\"0\" width=\"100%\" class=\"orange\">
<TR>
<TD class=\"orange-head\">$preformat[catandtitle]<BR> "._POSTEDON."$info[briefdatetime]<br>";
if (pnSecAuthAction(0, 'Stories::', "$info[aid]:$info[cattitle]:$info[sid]", ACCESS_DELETE)) {
echo "<br>[ <a href=\"admin.php?module=NS-AddStory&op=EditStory&sid=$info[sid]\">"._EDIT."</a> | <a href=\"admin.php?module=NS-AddStory&op=RemoveStory&sid=$info[sid]\">"._DELETE."</a> ]\n";
}
echo "<BR>"._TOPIC.": <a href=\"$links[searchtopic]\">$info[topictext]</a>
</TD>
</TR>
<TR>
<TD class=\"orange-main\">$preformat[fulltext]
</TD>
</TR>
</TABLE><BR>";
}
function themesidebox($block) {
global $block_side, $thename;
if (empty($block['position'])) {
$block['position'] = "a";
}
if ($block['position'] == 'l') {
echo "<TABLE width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"orange\">
<TR>
<TD class=\"orange-head\">$block[title]</TD>
</TR>
<TR>
<TD class=\"orange-main\">$block[content]</TD>
</TR>
</TABLE><BR>";
}
if ($block['position'] == 'r') {
echo "<TABLE width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"orange\">
<TR>
<TD class=\"orange-head\">$block[title]</TD>
</TR>
<TR>
<TD class=\"orange-main\">$block[content]</TD>
</TR>
</TABLE><BR>";
}
if ($block['position'] == 'c') {
echo "<font class=\"pn-normal\">$block[content]</font>";
}
}
?>
und hier die style css datei für NICHT >NN< :
Zitat: › /* We start by declaring standard styles */
body {
color: #000000;
background-color: #FFFFCC;
scrollbar-face-color: #FFCF00;
scrollbar-arrow-color: #000000;
scrollbar-track-color: #FFCF63;
scrollbar-shadow-color: #000000;
}
p {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
color : #000000;
background-color: transparent;
}
a:link {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
color : #0066cc;
text-decoration : underline;
background-color: transparent;
}
a:visited {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
color : #0066cc;
text-decoration : underline;
background-color: transparent;
}
a:hover {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
color : #0066cc;
text-decoration : none;
background-color: transparent;
}
td {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
color : #000000;
background-color: transparent;
}
div {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
color : #000000;
background-color: transparent;
}
/* Now we begin to define some of our own styles */
.forms {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
color : #000000;
background-color: transparent;
}
.orange {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
color : #000000;
background-color: transparent;
border-collapse: collapse;
border: 1px solid #FF9A00;
}
.orange-head {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : bold;
color : #000000;
background-color: #FFCF63;
border-collapse: collapse;
border: 1px solid #FF9A00;
}
.orange-main {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
color : #000000;
background-color: transparent;
border-collapse: collapse;
border: 1px solid #FF9A00;
}
.titel {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
font-weight : bold;
color : #ff9900;
background-color: transparent;
}
.titel2 {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : bold;
color : #000000;
background-color: transparent;
}
.titel3 {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
font-weight : bold;
color : #000000;
background-color: transparent;
}
.titel4 {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
font-weight : bold;
color : #ff9900;
background-color: transparent;
}
.intro {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
font-weight : normal;
color : #0099cc;
background-color: transparent;
}
.titelkl {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
font-weight : bold;
color : #ff6633;
background-color: transparent;
}
.titelkl2 {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
font-weight : normal;
color : #ff6633;
background-color: transparent;
}
.titelkl3 {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
font-weight : normal;
color : #000000;
background-color: transparent;
}
.klein {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
color : #000000;
background-color: transparent;
}
.klein2 {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
color : #6699ff;
background-color: transparent;
}
Das ist das designe"Orange" also eins der einfachsten und recht simpel im aufbau ..glaube ist zum testen am besten ..oder?
Das ganze wir von PNThems "gesteuert" / "Verwaltet" sind ca 640 Datein in 21 Ornern .....kann sie die als zip (1.3 MB ) zusenden wenn du magst
können das im test web alles ausprobieren (hier sind schon zu viel datein ca. 4300 in 564 Ordnern )....aber alles fein übersichtlich ..diesmal *lol[/quote] |