Seite 2 von 5

Verfasst: 11.11.2005 20:04
von ttc85
Habe die beiden Dateien, jetzt ist aber alles verschoben und nicht mehr in einem Block unter dem Forum sondern teilweise rechts daneben :cry: Wie kann ich das denn wieder richtig ausrichten ?

Verfasst: 11.11.2005 20:37
von Markus67
@unionerdirk ....

Vom Prinzip her kein Problem ... dazu müsstet du aber zuerst auch den oben geposteten Code für die meisten Views einbauen ... sonst kommen sich da die "Switch" Anweisungen in die Quere. Im Prinzip das was du jetzt drin hast für die meisten views mit dem ersetezen was für ttc85 war.

Wenn das erledigt ist sag kurz Bescheid und verlinke die actualstats.php

Markus

Verfasst: 11.11.2005 20:37
von Markus67
ttc85 hat geschrieben:Habe die beiden Dateien, jetzt ist aber alles verschoben und nicht mehr in einem Block unter dem Forum sondern teilweise rechts daneben :cry: Wie kann ich das denn wieder richtig ausrichten ?
Hast du mal einen Link wo ich mir das ansehen kann?

Markus

Verfasst: 11.11.2005 22:47
von Markus67
Hi ...

ich warte :D

Markus

Verfasst: 11.11.2005 22:50
von ttc85
http://www.ttcrossbach.de/phpBB2/index.php


So kannst schauen.

Danke !!

Verfasst: 11.11.2005 22:54
von Markus67
Hi ...

und das soll jetzt alles in eine Zeile ?

Markus

Verfasst: 11.11.2005 22:58
von ttc85
Ja :oops: und zwar genau so wie es jetzt wieder aussieht:
(Von der Form her)


http://www.ttcrossbach.de/phpBB2/index.php

Und anstelle dem Kästchen "Neuste Mitglieder" das Feld mit den meisten Views reinstellen.


Geht das überhaupt ??

Verfasst: 11.11.2005 23:01
von Markus67
Hi ...

dann nimm mal diese actualstats_body.tpl

Code: Alles auswählen

<!-- ##### AKTUELLE FORENSTATISTIK START ##### -->
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="6" height="25"><span class="cattitle"><center><b>{actualstats1}</b></center></span></td> 
</tr> 
<tr>
<td colspan="6" height="2" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td> 
</tr>
<tr>
<td width="25%" class="row3" valign="top">
   <table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline"> 
      <tr> 
              <td class="catHead" width="100%" colspan="2" height="25"><span class="cattitle"><center><b>{actualstats11}</b></center></span></td> 
      </tr> 
      <tr> 
              <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td> 
      </tr> 
        <tr> 
             <th align="center" height="25" class="toprow" nowrap="nowrap">&nbsp;{actualstats8}&nbsp;</th> 
             <th align="center" class="toprow" nowrap="nowrap">&nbsp;{actualstats11}&nbsp;</th> 
        </tr> 
           <!-- BEGIN best_views --> 
              <tr> 
              <td class="row2">&nbsp;<span class="genmed"><a href="{best_topics.VIEWTOPIC}" class="genmed">{best_topics.TOPIC_TITLE}</a></span>&nbsp;</td> 
              <td align="center" nowrap="nowrap" class="row3">&nbsp;<span class="genmed">{best_topics.VIEWS}</span>&nbsp;</td> 
              </tr> 
           <!-- END best_views --> 
   </table> 
</td>
<td width="30%" class="row3" valign="top">
	<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline"> 
		<tr>
	  		<td class="catHead" width="100%" colspan="2" height="25"><span class="cattitle"><center><b>{actualstats5}</b></center></span></td> 
		</tr>
		<tr>
		      <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td> 
		</tr>
  		<tr> 
    			<th align="center" height="25" class="toprow" nowrap="nowrap">&nbsp;{actualstats3}&nbsp;</th> 
    			<th align="center" class="toprow" nowrap="nowrap">&nbsp;{actualstats6}&nbsp;</th> 
  		</tr>
        		<!-- BEGIN most_posts --> 
	  		<tr>
              	<td class="row2">&nbsp;<span class="genmed"><a href="{most_posts.U_VIEWPROFILE}" class="genmed">{most_posts.USERNAME}</a></span>&nbsp;</td> 
	        	<td align="center" nowrap="nowrap" class="row3">&nbsp;<span class="genmed">{most_posts.POSTS}</span>&nbsp;</td> 
        		</tr>
	  		<!-- END most_posts -->
	</table>
</td>
<td width="45%" class="row3" valign="top">
	<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
		<tr>
	        	<td class="catHead" width="100%" colspan="2" height="25"><span class="cattitle"><center><b>{actualstats7}</b></center></span></td> 
		</tr>
		<tr>
        		<td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td> 
		</tr>
  		<tr> 
    			<th align="center" height="25" class="toprow" nowrap="nowrap">&nbsp;{actualstats8}&nbsp;</th> 
    			<th align="center" class="toprow" nowrap="nowrap">&nbsp;{actualstats6}&nbsp;</th> 
  		</tr>
		  	<!-- BEGIN best_topics --> 
        		<tr>
	        	<td class="row2">&nbsp;<span class="genmed"><a href="{best_topics.VIEWTOPIC}" class="genmed">{best_topics.TOPIC_TITLE}</a></span>&nbsp;</td> 
	        	<td align="center" nowrap="nowrap" class="row3">&nbsp;<span class="genmed">{best_topics.REPLIES}</span>&nbsp;</td> 
        		</tr>
	  		<!-- END best_topics --> 
	</table>
</td>
</tr>

<tr>
<td colspan="2" width="50%" class="row3" valign="top">
	<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline"> 
		<tr>
	        	<td class="catHead" width="100%" colspan="4" height="25"><span class="cattitle"><center><b>{actualstats9}</b></center></span></td> 
		</tr>
		<tr>
	        	<td colspan="4" height="2" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td> 
		</tr>
  		<tr> 
    			<th colspan="2" align="center" height="25" class="toprow" nowrap="nowrap">&nbsp;{actualstats10}&nbsp;</th> 
    			<th align="center" class="toprow" nowrap="nowrap">&nbsp;{actualstats11}&nbsp;</th> 
    			<th align="center" class="toprow" nowrap="nowrap">&nbsp;{actualstats12}&nbsp;</th> 
  		</tr> 
  		<!-- BEGIN topicrow --> 
  		<tr> 
    			<td class="row1" width="35" align="center" valign="middle" nowrap="nowrap"> <img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /> </td> 
    			<td class="row1" width="100%"><span class="topictitle">{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />{topicrow.GOTO_PAGE}</span></td> 
    			<td class="row2" align="center" valign="middle"><span class="genmed">{topicrow.VIEWS}</span></td> 
    			<td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="genmed">&nbsp;{topicrow.LAST_POST_AUTHOR}&nbsp;{topicrow.LAST_POST_IMG}&nbsp;{topicrow.LAST_POST_TIME}&nbsp;</span></td> 
  		</tr> 
  		<!-- END topicrow --> 
	</table>
</td>
<td colspan="2" width="50%" class="row3" valign="top">
	<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline"> 
		<tr>
	        	<td class="catHead" width="100%" colspan="4" height="25"><span class="cattitle"><center><b>{actualstats13}</b></center></span></td> 
		</tr>
		<tr>
	        	<td colspan="4" height="2" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td> 
		</tr>
  		<tr> 
    			<th align="center" height="25" class="toprow" nowrap="nowrap">&nbsp;{actualstats14}&nbsp;</th> 
    			<th align="center" class="toprow" nowrap="nowrap">&nbsp;{actualstats15}&nbsp;</th> 
    			<th align="center" class="toprow" nowrap="nowrap">&nbsp;{actualstats16}&nbsp;</th>
    			<th align="center" class="toprow" nowrap="nowrap">&nbsp;{actualstats17}&nbsp;</th> 
  		</tr>
        	<!-- BEGIN staff -->
  		<tr> 
     			<td colspan="1" height="1" class="row2" align="center"><span class="genmed"><a href="{staff.U_NAME}" class="genmed"><b>{staff.NAME}</b></a></span></td> 
			<td colspan="1" height="1" class="row3" align="center"><span class="genmed">{staff.LEVEL}</span></td>
			<td colspan="1" height="1" class="row3" align="center"><span class="genmed">{staff.PM}</span></td>
			<td colspan="1" height="1" class="row3" align="center"><span class="genmed">{staff.POSTER_ONLINE}</span></td>
  		</tr>
        	<!-- END staff -->
	</table>
</td></tr>

</table> 
<!-- ##### AKTUELLE FORENSTATISTIK ENDE ##### -->
<br>
Markus

Verfasst: 11.11.2005 23:03
von ttc85
Komplett austauschen ?

Verfasst: 11.11.2005 23:03
von Markus67
ttc85 hat geschrieben:Komplett austauschen ?
yep ... das ist die komplette Datei.

markus