Przesunięcie licznika i dodanie koloru do "unikalnych wizyt" w stopce
|
NER0 |
Dodany dnia 14.08.2006 19:26:52
|
Przedszkolak
Postów: 33
Data rejestracji: 12.08.2006 19:48
|
Mam kilka pytań co do dolnej stopki. Po pierwsze co zrobić aby licznik odwiedzin był pierwszy od góry i zeby napis "unikalnych wizyt" był kolorowy tak jak jest na stronie MOD-ułów? A po drugie jak zrobic te linki w stopce jak są na tej stronie?
Edytowane przez Pieka dnia 23.03.2011 17:27:11
|
|
|
|
Wścibski Gość |
Dodany dnia 25.11.2024 00:18:47
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
Piotrroger |
Dodany dnia 14.08.2006 19:28:49
|
Bywalec
Postów: 998 Pomógł: 19
v7.02.03 Data rejestracji: 27.04.2006 18:29
|
Najlepiej pogrzebać w pliku: theme.php swojej skórki, tam możesz zrobić wszystko
|
|
|
|
NER0 |
Dodany dnia 14.08.2006 19:45:54
|
Przedszkolak
Postów: 33
Data rejestracji: 12.08.2006 19:48
|
No właśnie... A ja kompletnie nie rozumiem tego co tam pisze
Edytowane przez Drecha dnia 23.03.2011 17:33:43
|
|
|
|
Piotrroger |
Dodany dnia 14.08.2006 20:08:50
|
Bywalec
Postów: 998 Pomógł: 19
v7.02.03 Data rejestracji: 27.04.2006 18:29
|
daj mi theme twojej stopki
|
|
|
|
NER0 |
Dodany dnia 14.08.2006 20:39:55
|
Przedszkolak
Postów: 33
Data rejestracji: 12.08.2006 19:48
|
ale theme skórki czyli theme.php?? |
|
|
|
NER0 |
Dodany dnia 15.08.2006 16:38:55
|
Przedszkolak
Postów: 33
Data rejestracji: 12.08.2006 19:48
|
po wielu próbach udało mi sie zmienic ten napis "unikalnych wizyt" ale nadal nie wiem co zrobic zeby zamienic kolejnosc w stopce i jak w niej dodać te linki, ciagle jakies errory wyskakują
prosze o pomoc |
|
|
|
NER0 |
Dodany dnia 17.08.2006 18:03:47
|
Przedszkolak
Postów: 33
Data rejestracji: 12.08.2006 19:48
|
no proszę powiedzcie chociaz jak zmienic tą kolejność (liczik pierwszy) |
|
|
|
wlodekp |
Dodany dnia 17.08.2006 18:55:08
|
Weteran
Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
Przecież Ty przeczysz sam sobie. Chcesz pomocy? A jak bez adresu, theme-zastosowanych w nim funkcji itd Ci pomóc? W ciemno?
A przy okazji możesz zobaczyć moją stopkę, adres strony w podpisie.
|
|
|
|
NER0 |
Dodany dnia 17.08.2006 19:12:51
|
Przedszkolak
Postów: 33
Data rejestracji: 12.08.2006 19:48
|
porównując do twojej strony to ja bym chcial zeby licznik był na miejscu
Copyright © 2006 by ZDZ Wa-wa Centrum Kształcenia w Płocku
a moj theme.php to
<?
// theme settings
$body_text = "#ffffff";
$theme_width_l = "170";
$theme_width_r = "170";
$body_bg = "#000000";
function render_header($header_content)
{
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0" background="'.THEME.'images/cell.gif"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo $header_content;
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0" background="'.THEME.'images/cell.gif"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> MENU </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_visibility<='".iUSER."' AND link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "<td class='white-header'>\n";
$i = 1;
while($data = dbarray($result)) {
if ($data['link_url']!="---") {
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."' class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."' class='white'>".$data['link_name']."</a>";
}
}
if ($i != dbrows($result)) { echo " ·\n"; } else { echo "\n"; } $i++;
}
}
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5"></td></tr></table><BR>';
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='white-header'>".stripslashes($settings['footer'])."</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='full-header'><br>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br>\n");
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk' target='_blank'><img src='".THEME."images/fusion.gif' alt='PHP-Fusion' title='PHP-Fusion' border='0' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005<br><br>\n";
}
echo "</td>\n</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info)
{
global $locale;
echo '<center><table width="99%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"><B><center>'.$subject.'</center></B> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo "<div style='width:100%;vertical-align:top;'>$news</div>
<div class='news-footer'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])." ·
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$info['news_reads'].$locale['044']."
<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>
</div>";
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table></center><BR>';
}
function render_article($subject, $article, $info)
{
global $locale;
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"><B><center>'.$subject.'</center></B></td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo "<div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
<div class='news-footer'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])." ·
<a href='articlecomments.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ·
".$info['article_reads'].$locale['044']."
<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>
</div>";
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
}
function opentable($title)
{
echo '<center><table width="99%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> <B><center>'.$title.'</center></B> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
}
function closetable()
{
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table></center><BR>';
}
function openside($title)
{
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"><B><center>'.$title.'</center></B> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td class="sbody">';
}
function closeside()
{
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
}
function opensidex($title,$open="on")
{
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"><B><center>'.$title.'</center></B> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain' align='right'>
<img onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'>
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sbody'>
<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex()
{
echo "</div>
</td>
</tr>
</table>\n";
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
}
include(INFUSIONS."brotator/brotator.php");
function tablebreak() {
}
?>
|
|
|
|
wlodekp |
Dodany dnia 17.08.2006 19:20:57
|
Weteran
Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
Chyba wyraźnie napisałem adres strony. I nie mam najmiejszego zamiaru robić Ci gotowca. Napiszę tylko jak i gdzie. Bez adresu nie gadam.
A moja stopka to przykład, że można wszystko jak się chce, tam jest nawet logowanie i status serwera(obrazki, napisy linki)
|
|
|
|
NER0 |
Dodany dnia 17.08.2006 19:29:13
|
Przedszkolak
Postów: 33
Data rejestracji: 12.08.2006 19:48
|
www.gothicgry.glt.pl dobrze, bede wdzieczny jesli dasz mi jakąś wskazówke |
|
|
|
wlodekp |
Dodany dnia 17.08.2006 19:43:05
|
Weteran
Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
OK teraz widzę Twoją stronę. W którym miejscu na Twojej stronie ma być ten licznik-dokładnie? Nazwa theme-wrzucę u siebie na testowy serwer-będzie łatwie i 100% sprawdzone.
|
|
|
|
NER0 |
Dodany dnia 17.08.2006 20:14:35
|
Przedszkolak
Postów: 33
Data rejestracji: 12.08.2006 19:48
|
Na miejscu gdzie jest obecnie Copyright © 2006 (to co mozna ustawic w PA), czyli tylko zamienic to z licznikiem
Edytowane przez NER0 dnia 17.08.2006 20:16:45
|
|
|
|
wlodekp |
Dodany dnia 17.08.2006 22:10:10
|
Weteran
Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
Nie jestem do końca pewien bo nie podałeś theme:
<?
// theme settings
$body_text = "#ffffff";
$theme_width_l = "170";
$theme_width_r = "170";
$body_bg = "#000000";
function render_header($header_content)
{
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0" background="'.THEME.'images/cell.gif"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo $header_content;
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0" background="'.THEME.'images/cell.gif"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> MENU </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_visibility<='".iUSER."' AND link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "<td class='white-header'>\n";
$i = 1;
while($data = dbarray($result)) {
if ($data['link_url']!="---") {
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."' class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."' class='white'>".$data['link_name']."</a>";
}
}
if ($i != dbrows($result)) { echo " ·\n"; } else { echo "\n"; } $i++;
}
}
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5"></td></tr></table><BR>';
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo"<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='full-header'><br>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br></td></tr></table>\n");
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='white-header'>".stripslashes($settings['footer'])."";
if ($license == false) {
echo "<center>Powered by <a href='http://www.php-fusion.co.uk' target='_blank'><img src='".THEME."images/fusion.gif' alt='PHP-Fusion' title='PHP-Fusion' border='0' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005<br><br>\n";
}
echo "</td>\n</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info)
{
global $locale;
echo '<center><table width="99%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"><B><center>'.$subject.'</center></B> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo "<div style='width:100%;vertical-align:top;'>$news</div>
<div class='news-footer'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])." ·
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$info['news_reads'].$locale['044']."
<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>
</div>";
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table></center><BR>';
}
function render_article($subject, $article, $info)
{
global $locale;
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"><B><center>'.$subject.'</center></B></td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo "<div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
<div class='news-footer'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])." ·
<a href='articlecomments.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ·
".$info['article_reads'].$locale['044']."
<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>
</div>";
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
}
function opentable($title)
{
echo '<center><table width="99%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> <B><center>'.$title.'</center></B> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
}
function closetable()
{
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table></center><BR>';
}
function openside($title)
{
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"><B><center>'.$title.'</center></B> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td class="sbody">';
}
function closeside()
{
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
}
function opensidex($title,$open="on")
{
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"><B><center>'.$title.'</center></B> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain' align='right'>
<img onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'>
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sbody'>
<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex()
{
echo "</div>
</td>
</tr>
</table>\n";
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="5" height="5" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="5" height="5" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
}
include(INFUSIONS."brotator/brotator.php");
function tablebreak() {
}
?>
|
|
|
|
NER0 |
Dodany dnia 17.08.2006 22:25:51
|
Przedszkolak
Postów: 33
Data rejestracji: 12.08.2006 19:48
|
niestety nie dziala a jesli theme jest potrzebnt to mam woody |
|
|
|
wlodekp |
Dodany dnia 17.08.2006 22:43:55
|
Weteran
Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
Ja tylko w Twoim theme zmieniłem wpisy w function render_footer i kod jest taki:
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo"<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='full-header'><br>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br></td></tr></table>\n");
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='white-header'>".stripslashes($settings['footer'])."";
if ($license == false) {
echo "<center>Powered by <a href='http://www.php-fusion.co.uk' target='_blank'><img src='".THEME."images/fusion.gif' alt='PHP-Fusion' title='PHP-Fusion' border='0' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005<br><br>\n";
}
echo "</td>\n</tr>
</table>
</td>
</tr>
</table>\n";
} Na mojej stronie włączyłem teraz theme Luna-G z tym kodem-a twoje theme używa tego kodu w podobnej postaci i zobacz jak to wygląda stopka o taką chodzi? Skąd theme, ja znajdę ale czas? Nie patrzę na Twoje modyfikacje w kodzie a widzę np brotator coś może się gryśc. Zrobię oryginalne theme tylko z tą modyfikacją.
DOPISANO W EDYCJI
teraz na mojej stronie jest Woody z tą moyfikacją i z kodem podanym wyżej-chodzi. Moja rola na tym się kończy.
Edytowane przez wlodekp dnia 17.08.2006 23:19:27
|
|
|
|
NER0 |
Dodany dnia 18.08.2006 20:10:37
|
Przedszkolak
Postów: 33
Data rejestracji: 12.08.2006 19:48
|
Nie|działa
Edytowane przez Pieka dnia 23.03.2011 17:25:11
|
|
|
|
wlodekp |
Dodany dnia 18.08.2006 20:23:45
|
Weteran
Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
To zobacz stopkę u mnie z theme Woody z tym kodem
|
|
|
|
NER0 |
Dodany dnia 18.08.2006 20:29:21
|
Przedszkolak
Postów: 33
Data rejestracji: 12.08.2006 19:48
|
Nie wiem czemu mi nie działa, próbowałem na innym stylu tez ale errory wyskakują:
function render_footer($license=false)
{
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr><hr>
<td class='white-header'>
".stripslashes($GLOBALS['settings']['footer'])."
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='full-header'><hr>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br>\n" : $locale['141']."<br>\n");
if ($license == false)
{
echo "Powered by <a href='http://www.php-fusion.co.uk' class='foot'>PHP-Fusion</a> v".$settings['version']." © 2003-2005<br><br>\n";
}
echo "</td>\n</tr>
</table>
</td>
</tr>
</table>\n";
}
Ten chyba wyglądał na prostrzy, poprzestawialem na wszystkie możliwe sposoby (chyba) i nic :( (to OldPaper)
Edytowane przez Pieka dnia 23.03.2011 17:24:49
|
|
|
|
wlodekp |
Dodany dnia 18.08.2006 20:43:37
|
Weteran
Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
Drogi kolego czy tak wygląda mój kod? Przecież to jest gotowiec, który należy wkleić dokładnie zamiast Twojego. Jeden w jeden.
|
|
|