Strona o terierach black and white
|
Skubert |
Dodany dnia 31.03.2007 20:39:14
|
Przedszkolak
Postów: 4
Data rejestracji: 31.03.2007 20:34
|
Zapraszam na stronę o terierach black and white.
Jest to strona o Terierach Szkockich i West Highland White Terierach czyli popularnie Westikach.
Edytowane przez Skubert dnia 31.03.2007 20:40:27
|
|
|
|
Wścibski Gość |
Dodany dnia 24.11.2024 21:38:57
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
Dagobah |
Dodany dnia 01.04.2007 09:53:40
|
Początkujący
Postów: 160
Data rejestracji: 15.08.2006 10:46
|
Skubert napisał/a:
Zapraszam na stronę o terierach black and white
Radziłbym trochę zmian dokonać, bo parę rzeczy do siebie nie pasuje. Przykładowo strona jest zielono-biała, a na górze masz czerwony. Logo trochę nie pasuje, jest za małe. Kwestia również daty (do niej zawsze się czepiam) -> Sunday 1st of April 2007 9:51 am. --> lepiej by to wyglądało w języku polskim :)
Edytowane przez Dagobah dnia 01.04.2007 09:54:11
|
|
|
|
Skubert |
Dodany dnia 01.04.2007 17:34:39
|
Przedszkolak
Postów: 4
Data rejestracji: 31.03.2007 20:34
|
Dagobah napisał/a:
Skubert napisał/a:
Zapraszam na stronę o terierach black and white
Radziłbym trochę zmian dokonać, bo parę rzeczy do siebie nie pasuje. Przykładowo strona jest zielono-biała, a na górze masz czerwony. Logo trochę nie pasuje, jest za małe. Kwestia również daty (do niej zawsze się czepiam) -> Sunday 1st of April 2007 9:51 am. --> lepiej by to wyglądało w języku polskim
Niestety w tym stylu który mam nie da się zmienić formatu daty.
Styl jest ściągany z internetu i nie wiem czy mażna go zmienić.
Logo mam zamiar zmienić i dać nowe.
|
|
|
|
skysis |
Dodany dnia 01.04.2007 17:45:01
|
Początkujący
Postów: 163
Data rejestracji: 09.09.2006 10:42
|
- za duzy banner nie miesci sie w liniach, i jakos sie nie komponuje.
-Dodaj panel ostatnie arty.
- jakas galeria tez by sie przydala
|
|
|
|
Dagobah |
Dodany dnia 01.04.2007 18:40:16
|
Początkujący
Postów: 160
Data rejestracji: 15.08.2006 10:46
|
Skubert napisał/a:
Niestety w tym stylu który mam nie da się zmienić formatu daty.
Styl jest ściągany z internetu i nie wiem czy mażna go zmienić.
Logo mam zamiar zmienić i dać nowe.
Próbowałeś nadpisać plik global.php z katalogu English ? Jeżeli korzysta z tego to wystarczy tam trochę pomieszczać. Poza tym dziwi mnie to, bo datę powinno się dać w każdym theme zmienić |
|
|
|
Skubert |
Dodany dnia 01.04.2007 20:04:50
|
Przedszkolak
Postów: 4
Data rejestracji: 31.03.2007 20:34
|
Nie wiem może to plik theme.php mojego stylu myślę że to ta część:
}
}
echo ($i == 0 ? " " : "")."</td>\n";
echo "<td class='clock' align='right' nowrap>";
echo "<div id='Clock'></div>";
echo "<script type='text/javascript'>
<!--
var DayNam = new Array(
'Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var MnthNam = new Array(
'January','February','March','April','May','June','July','August','September','October','November','December');
//-->
</script>";
echo "<script type='text/javascript' src='".THEME."/clock.js'></script>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'>";
}
Jeśli nie to daje cały theme.php
<?
//************************************************************************************************************************//
// Theme Name: Aphrodite Green Theme for PHP-Fusion 6.00
// Theme Design: by: PHP-Fusion Themes (http://phpfusion.org)
// version 2.0
//
// PHP-Fusion Themes and/or Lorkan is a Registered Organization and holds a copyright with CIPO
// Original Author of file: PHP-Fusion Themes [Shedrock]
// Developed by: PHP-Fusion Themes - Bringing Your Portal To Life
// Copyright © 2005 by PHP-Fusion Themes - All Rights Reserved
// ----------------------------------------------------------------------
// THEME MODIFICATION
// Users may alter or modify this theme at their own risk,
// but only for their own use. They may also hire PHP-Fusion Themes to modify their own copy of the theme.
// Although users may modify the code for their use,
// modified code may not be resold or distributed,
// without express written permission from PHP-Fusion Themes.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the scripts that the scripts generate,
// MUST remain intact. Furthermore, these notices must remain visible.
//
// SUPPORT
// PHP-Fusion Themes provides free support on all their theme designs.
// (includes consulting, troubleshooting and fixing problems).
// For Support, please visit us at: http://www.phpfusion.org/forum/viewforum.php?forum_id=2
//
// PHP-Fusion Themes is not liable for any products or services offered by means of the theme.
// The user must assume the entire risk of using the program.
//************************************************************************************************************************//
/************************/
/* Theme Settings */
/************************/
$body_text = "#000000";
$body_bg = "#F8F8F8";
$theme_width = "100%";
$theme_width_l = "165";
$theme_width_r = "165";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table class='bodyline' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td align='center' valign='top'>";
echo "<table background='".THEME."images/logo_bg.gif' width='100%' border='0' cellspacing='0' cellpadding='4'><tr>";
// Start banner code
echo "<td width='100%' height='80'>$header_content</td>";
echo "</tr></table>";
// End banner code
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td class='links'><table width='100%' border='0' cellpadding='4' cellspacing='0'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "<td>\n";
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <font color='#FF1010'>r6;</font>\n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</td>\n";
echo "<td class='clock' align='right' nowrap>";
echo "<div id='Clock'></div>";
echo "<script type='text/javascript'>
<!--
var DayNam = new Array(
'Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var MnthNam = new Array(
'January','February','March','April','May','June','July','August','September','October','November','December');
//-->
</script>";
echo "<script type='text/javascript' src='".THEME."/clock.js'></script>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='$theme_width'><tr>";
echo "<td>".stripslashes($settings['footer'])."</td>";
echo "</tr></table></td></tr></table><br>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='30%' class='footer' align='left'><div align='left'>";
if ($license == false) {
echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005";
}
echo "</div></td>";
echo "<td width='45%'class='footer' align='center'>Aphrodite Green - ";
echo "<a target='_blank' href='http://www.phpbbstyles.com/'>phpBBStyles.com</a> | ";
echo "Ported for PHP-Fusion by: <a target='_blank' href='http://phpfusion.org/'><img src='".THEME."images/fthemes.gif' title='PHP-Fusion Themes' style='vertical-align:middle;'></a></td>";
echo "<td width='25%' class='footer' align='right'>";
echo "<font class='clock'><b>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td></tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table class='forumline' border='0' cellspacing='0' width='100%' cellpadding='3'><tr>";
echo "<td class='panel'><img border='0' src='".THEME."images/small_arrow.gif'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table class='forumline' border='0' cellspacing='0' width='100%' cellpadding='3'><tr>";
echo "<td class='panel'><img border='0' src='".THEME."images/small_arrow.gif'>$subject</td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table class='forumline' width='100%' cellpadding='2' cellspacing='0'>";
echo "<tr><td class='panel2'>$title</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table border='0' class='forumline' cellspacing='0' width='100%' cellpadding='3'><tr>";
echo "<td class='panel' width='100%'>";
echo "<img src='".THEME."images/small_arrow.gif'>$title";
echo "</td></tr>";
echo "<tr><td class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' class='forumline' cellspacing='0' width='100%' cellpadding='3'><tr>";
echo "<td class='panel'>";
echo "<img align='right' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'>$title";
echo "</td></tr>";
echo "<tr><td class='side-body'width='100%'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Proszę o odpowiedź
|
|
|
|
szer |
Dodany dnia 01.04.2007 20:41:26
|
Zaawansowany
Postów: 1139 Pomógł: 4
Data rejestracji: 13.11.2004 23:06
|
Masz napisane:
echo "<script type='text/javascript'>
<!--
var DayNam = new Array(
'Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var MnthNam = new Array(
'January','February','March','April','May','June','July','August','September','October','November','December');
//-->
</script>";
Chyba umiesz j. angielski |
|
|
|
Skubert |
Dodany dnia 01.04.2007 20:55:50
|
Przedszkolak
Postów: 4
Data rejestracji: 31.03.2007 20:34
|
szer napisał/a:
Masz napisane:
echo "<script type='text/javascript'>
<!--
var DayNam = new Array(
'Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var MnthNam = new Array(
'January','February','March','April','May','June','July','August','September','October','November','December');
//-->
</script>";
Chyba umiesz j. angielski
Tak ale jak jak zmienie na polskie nazwy to mi napisze Niedziela 1st of Kwiecień 2007 8:54 pm.
Trzeba by zmienić zawartość pliku clock.js
<!--
function tick() {
var hours, minutes, seconds, ap;
var intHours, intMinutes, intSeconds; var today;
today = new Date();
intDay = today.getDay();
intDate = today.getDate();
intMonth = today.getMonth();
intYear = today.getYear();
intHours = today.getHours();
intMinutes = today.getMinutes();
intSeconds = today.getSeconds();
timeString = DayNam[intDay]+" "+intDate;
if (intDate == 1 || intDate == 21 || intDate == 31) {
timeString= timeString + "st ";
} else if (intDate == 2 || intDate == 22) {
timeString= timeString + "nd ";
} else if (intDate == 3 || intDate == 23) {
timeString= timeString + "rd ";
} else {
timeString = timeString + "th ";
}
if (intYear < 2000){
intYear += 1900;
}
timeString = timeString+" of "+MnthNam[intMonth]+" "+intYear;
if (intHours == 0) {
hours = "12:";
ap = "am.";
} else if (intHours < 12) {
hours = intHours+":";
ap = "am.";
} else if (intHours == 12) {
hours = "12:";
ap = "pm.";
} else {
intHours = intHours - 12
hours = intHours + ":";
ap = "pm.";
}
if (intMinutes < 10) {
minutes = "0"+intMinutes;
} else {
minutes = intMinutes;
}
if (intSeconds < 10) {
seconds = ":0"+intSeconds;
} else {
seconds = ":"+intSeconds;
}
timeString = (document.all)? timeString+", "+hours+minutes+seconds+" "+ap:timeString+" "+hours+minutes+" "+ap;
var clock = (document.all) ? document.all("Clock") : document.getElementById("Clock");
clock.innerHTML = timeString;
(document.all)?window.setTimeout("tick();", 1000):window.setTimeout("tick();", 6000);
}
tick();
//-->
|
|
|
|
szer |
Dodany dnia 01.04.2007 20:58:13
|
Zaawansowany
Postów: 1139 Pomógł: 4
Data rejestracji: 13.11.2004 23:06
|
<!--
function tick() {
var hours, minutes, seconds, ap;
var intHours, intMinutes, intSeconds; var today;
today = new Date();
intDay = today.getDay();
intDate = today.getDate();
intMonth = today.getMonth();
intYear = today.getYear();
intHours = today.getHours();
intMinutes = today.getMinutes();
intSeconds = today.getSeconds();
timeString = DayNam[intDay]+" "+intDate;
if (intDate == 1 || intDate == 21 || intDate == 31) {
timeString= timeString + " ";
} else if (intDate == 2 || intDate == 22) {
timeString= timeString + " ";
} else if (intDate == 3 || intDate == 23) {
timeString= timeString + " ";
} else {
timeString = timeString + " ";
}
if (intYear < 2000){
intYear += 1900;
}
timeString = timeString+" "+MnthNam[intMonth]+" "+intYear;
if (intHours == 0) {
hours = "12:";
ap = "";
} else if (intHours < 12) {
hours = intHours+":";
ap = "";
} else if (intHours == 12) {
hours = "12:";
ap = "";
} else {
intHours = intHours - 12
hours = intHours + ":";
ap = "";
}
if (intMinutes < 10) {
minutes = "0"+intMinutes;
} else {
minutes = intMinutes;
}
if (intSeconds < 10) {
seconds = ":0"+intSeconds;
} else {
seconds = ":"+intSeconds;
}
timeString = (document.all)? timeString+", "+hours+minutes+seconds+" "+ap:timeString+" "+hours+minutes+" "+ap;
var clock = (document.all) ? document.all("Clock") : document.getElementById("Clock");
clock.innerHTML = timeString;
(document.all)?window.setTimeout("tick();", 1000):window.setTimeout("tick();", 6000);
}
tick();
//-->
|
|
|