Przesunięty przez: joli 27-08-2007, 21:59 |
[problem]Styl Athena |
Autor |
Wiadomość |
Hlopcyk

Pomógł: 130 razy Posty: 795
|
Wysłany: 24-07-2005, 23:38 [problem]Styl Athena
|
|
|
Przerobiłem styl Athena do wersji Przemo...Ale mam pewnien problem z tym stylem...Proszę zobaczyć na załącznik...Nie wiem jak usunąć te tabelki, jedna jest nad a druga pod prawidłowymi tabelkami...Może coś poradzicie..
screen.jpg
|
 |
Plik ściągnięto 103 raz(y) 86,97 KB |
|
|
|
|
 |
Gadatliwa Kasia
|
|
|
|
They

Pomógł: 342 razy Posty: 2545
|
Wysłany: 24-07-2005, 23:48
|
|
|
coś grzebałeś w pliku index_box.tpl lub w index_body.tpl ? wstaw te kody co i gdzie wstawiłeś ?
a czy nie przypadkiem ustawiłeś w PA -> Fora -> Konfiguracja ? |
|
|
|
 |
Hlopcyk

Pomógł: 130 razy Posty: 795
|
Wysłany: 24-07-2005, 23:54
|
|
|
index.body.tpl wygląda tak:
Kod: | <!-- BEGIN switch_xs_enabled -->
<?php
// This code will be visible only if eXtreme Styles mod is installed.
// highlight private message info if there is a new message
global $userdata;
if(!empty($userdata['user_new_privmsg']) && !empty($this->vars['PRIVATE_MESSAGE_INFO']))
{
$this->vars['PRIVATE_MESSAGE_INFO'] = '<b>' . $this->vars['PRIVATE_MESSAGE_INFO'] . '</b>';
}
?>
<!-- END switch_xs_enabled -->
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
{PRIVATE_MESSAGE_INFO}<br />
{LAST_VISIT_DATE}<br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME}<br />
{S_TIMEZONE}<br />
</span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
<td align="right" valign="bottom" class="gensmall">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
<!-- END switch_user_logged_in -->
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br />
<a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></td>
</tr>
</table>
<!-- BEGIN catrow -->
{TPL_HDR1}<span class="cattitle"> <a href="javascript:ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');" class="cattitle">{catrow.CAT_DESC}</a> </span>{TPL_HDR2}<div id="cat_{catrow.CAT_ID}" style="display: ''; position: relative;"><table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="26" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row3" align="center" valign="middle" width="30" height="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="27" height="24" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%" {C_ONMOUSEOVER}="this.style.backgroundColor='{C_ROW1_OVER}';" {C_ONMOUSEOUT}="this.style.backgroundColor='{C_ROW1}';" {C_ONCLICK}="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row3" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table></div>{TPL_FTR}
<script language="javascript" type="text/javascript">
<!--
tmp = 'catrow_{catrow.CAT_ID}';
if(GetCookie(tmp) == '2')
{
ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');
}
//-->
</script>
<!-- END catrow -->
{TPL_HDR1}<span class="cattitle"> <a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a> </span>{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="row3" align="center" valign="middle" rowspan="2"><img src="{T_TEMPLATE_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
</td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}<br />{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>{TPL_FTR}
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
{TPL_HDR1}<a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span>{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" />
{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" checked="checked" />
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span> </td>
</tr>
</table>{TPL_FTR}
<!-- END switch_user_logged_out -->
<table cellspacing="3" border="0" align="center" cellpadding="0">
<tr>
<td width="20" align="center"><img src="templates/Athena/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="templates/Athena/images/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="templates/Athena/images/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
|
A index.box.tpl nie ma bo jeszcze nie zrobiłem, bo właśnie zauważyłem że tego nie ma... |
|
|
|
 |
irekk

Pomógł: 283 razy Posty: 2927
|
Wysłany: 24-07-2005, 23:57
|
|
|
to wyglada jakby w pliku index.php naliczyl za duzo for.
na subsilver dobrze ci wyswietla? |
_________________ Cygantura |
|
|
|
 |
Hlopcyk

Pomógł: 130 razy Posty: 795
|
Wysłany: 25-07-2005, 00:01
|
|
|
Tak...Na subSilver jest wszystko OK... |
|
|
|
 |
irekk

Pomógł: 283 razy Posty: 2927
|
Wysłany: 25-07-2005, 00:12
|
|
|
tak teraz przejrzalem ten kod to porownaj go do stylu dla przema tam jest pelno rzeczy ktorcyh byc nie powinno, jakies TPL_*** czy C_ROW1 |
_________________ Cygantura |
|
|
|
 |
They

Pomógł: 342 razy Posty: 2545
|
Wysłany: 25-07-2005, 00:16
|
|
|
eh to prawie wszystkie kody co wstawiłeś są nie potrzebne...
wgraj ten plik index_body.tpl ze stylu subSilvera do stylu Athena i sam zobacz jak wygląda.
a poza tym podaj dokładny adres forum ze stylem Athena, bo na twoich 3 adresach nie ma ! |
|
|
|
 |
Hlopcyk

Pomógł: 130 razy Posty: 795
|
Wysłany: 25-07-2005, 00:25
|
|
|
Wgrałem index.body.tpl z subSilvera no i sie zmieniło...
Styl jest tutaj, ale jakoś dziwnie sie wczytuje, chyba że to tylko u mnie jest taki bład... |
|
|
|
 |
Gadatliwa Kasia
|
|
|
|
irekk

Pomógł: 283 razy Posty: 2927
|
Wysłany: 25-07-2005, 00:47
|
|
|
emmm... cos ci nie wyszedl ten styl z tego co widze to nie dosc ze nie czyta z css'a to viewtopic jest skopane |
_________________ Cygantura |
|
|
|
 |
|