Top Xl Support Impressum :: Search :: The newest topics
Register :: Log in

Menü links und rechts neben der Topliste

 
   Top Xl Support Forum Index -> Templates und Design
View previous topic :: View next topic  
Author Message
Paddelberg
Site Admin


Joined: 17 Jan 2006
Posts: 797
Location: Worms

PostPosted: Wed Apr 15, 2009 4:50 pm    Post subject: Menü links und rechts neben der Topliste

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.01 transitional//EN">
<html><head>
<title>{topsitename}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/javascript">function out(outlink) {if(document.images) {(new Image()).src="{topsiteurl}/out.php?id="+outlink+"";}return true;}</script>
<link href="html/standard/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="980" border="1" cellpadding="3" cellspacing="12" bordercolor="#CC0000" align="center">
   <tr>
      <td width="16%%" height="22" align="center" valign="middle"><a href="{topsiteurl}/add.php" target="_blank" class="topmenu">{text_signup}</a></td>
      <td width="16%" align="center" valign="middle"><a href="{topsiteurl}/members/"  target="_blank" class="topmenu">{text_members}</a></td>
      <td width="17%" align="center" valign="middle"><a href="#" target="_blank" class="topmenu">Your Link</a></td>
      <td width="17%" align="center" valign="middle"><a href="#" target="_blank" class="topmenu">Your Link</a></td>
      <td width="16%" align="center" valign="middle"><a href="#" target="_blank" class="topmenu">Your Link</a></td>
      <td width="16%" align="center" valign="middle"><a href="#" target="_blank" class="topmenu">Your Link</a></td>
   </tr>
   <tr>
      <td align="center" valign="middle" colspan="6"><h1>{topsitename}</h1></td>
   </tr>
</table>
<div align="center"><br>
  {menu}<br>
<br>
<table width="980" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td width="140" valign="top">
         <table width="100%" border="1" cellspacing="12" cellpadding="0" bordercolor="#CC0000" align="center">
            <tr>
               <td>Menü</td>
               </tr>
               <tr>
               <td>Menü</td>
               </tr>
               <tr>
               <td>Menü</td>
               </tr>
               <tr>
               <td>Menü</td>
               </tr>
               <tr>
               <td>Menü</td>
               </tr>
               <tr>
               <td>Menü</td>
            </tr>
         </table>
      </td>
      <td width="20">&nbsp;</td>
      <td width="670" valign="top">
         <table width="670" border="1" cellspacing="12" cellpadding="3" bordercolor="#CC0000" align="center">
         {listheader}
         {listtable}
         <div align="center"><br><br>{menu}<br><br></div>
         <table width="670" border="1" cellspacing="12" cellpadding="0" bordercolor="#CC0000" align="center">
            <tr>
               <td width="15%" height="13" align="center" valign="middle" nowrap class="stats">{currenthitsin} {text_currenthitsin}</td>
               <td width="15%" align="center" valign="middle" nowrap class="stats">{currenthitsout} {text_currenthitsout}</td>
               <td width="16%" height="13" align="center" valign="middle" nowrap class="stats">{text_ratio} 1/{ratiohits}</td>
               <td width="16%" align="center" valign="middle" nowrap class="stats">{allhitsin} {text_hitsin}</td>
               <td width="19%" align="center" valign="middle" nowrap class="stats">{allhitsout} {text_hitsout}</td>
               <td width="19%" height="13" align="center" valign="middle" nowrap class="stats">{text_ratiototal} 1/{ratiohitstotal}</td>
            </tr>
            <tr>
               <td height="13" colspan="6" align="center" valign="middle" nowrap class="stats">
               {allusers} {text_members}  &nbsp;&nbsp;&nbsp;&nbsp;{text_nextreset} {nextreset} &nbsp;&nbsp;&nbsp;&nbsp; {text_lastreset} {lastreset}</td>
            </tr>
         </table>
      </td>
     <td width="20">&nbsp;</td>
      <td width="140" valign="top">
         <table width="100%" border="1" cellspacing="12" cellpadding="0" bordercolor="#CC0000" align="center">
            <tr>
               <td>Menü</td>
            </tr>
            <tr>
               <td>Menü</td>
            </tr>
            <tr>
               <td>Menü</td>
            </tr>
            <tr>
               <td>Menü</td>
            </tr>
            <tr>
               <td>Menü</td>
            </tr>
            <tr>
               <td>Menü</td>
            </tr>
         </table>
      </td>
   </tr>
</table>
</div>
<div align="center">
<br>
<a href="{topsiteurl}/add.php" target="_blank" class="members">{text_signup}</a>&nbsp;&nbsp;&nbsp;&nbsp;
<a href="{topsiteurl}/members/"  target="_blank" class="members">{text_members}</a><br><br>
<!-- Der folgende Platzhalter darf nicht entfernt werden, ansonten erlischt die Lizenz zur Nutzung des Scripts-->{text_code}<!-- Paltzhalter Code der nicht entfernt werden darf Ende -->
<br>
</div>
</body>
</html>


WICHTIG

zusätzlich musst du folgende Änderung an der index.php vornehmen.

suche in der Datei topliste.php nach (~ Zeile 168)
Code:
$listtable.=$zeile2;
 if ($showadds != "no")

ändere in
Code:
   $listtable.=$zeile2;
$ads=false;
 if ($showadds != "no")


suche (~ Zeile 180)
Code:
else
     {$listtable.=$addcodebegin." ".$addcode;}

ändere in
Code:
else
     {$listtable.=$addcodebegin." ".$addcode;}
$ads=true;


suche (~ Zeile 186)
Code:
$listtable .= ($showadds == "no") ? '</table>' : '';

ändere in
Code:
$listtable .= ($ads==false) ? '</table>' : '';


Wenn du nur links neben der Liste ein Menü haben möchtest:
http://forum.paddelberg.de/menue-links-neben-topliste-t79.html


Last edited by Paddelberg on Sun Feb 12, 2012 10:24 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Allround



Joined: 26 Nov 2009
Posts: 13

PostPosted: Sat Aug 28, 2010 11:49 am    Post subject:

ich habe auch das mit den menü links und rechts genutzt. Allerdings, wenn man die mittlere Tabelle, also wo die eingetragenen Webseiten zusehen sind, schmaler macht, z.B. von 680 auf 610 wird der abstand zw. mittlere Tabelle und den beiden menüs größer. auch wenn man die Menüs von 140 auf 160 breiter macht, bleibt der große Abstand.. es wird dann lediglich das ganze Template breiter so das unten ein Scrollbalken ensteht.

Wenn ich nun die Mittlere Tabelle Schmaler mache, möchte ich das die menüs links und rechts nachziehen und der Abstand gleich bleibt.. Wie bekomme ich das hin?
Back to top
View user's profile Send private message
Paddelberg
Site Admin


Joined: 17 Jan 2006
Posts: 797
Location: Worms

PostPosted: Sun Aug 29, 2010 4:48 pm    Post subject:

Hi
du musst die Breiten aller Tabellen und Zellen dementsprechend anpassen.
mfg
simon
Back to top
View user's profile Send private message Visit poster's website
Paddelberg
Site Admin


Joined: 17 Jan 2006
Posts: 797
Location: Worms

PostPosted: Sun Feb 12, 2012 10:31 pm    Post subject:

Bei Fragen bitte einen neuen Thread im Forum Templates und Design erstellen
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Top Xl Support Forum Index -> Templates und Design All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum