ilch Forum » Ilch Clan 1.1 » Design und Templates » Rechte/Rang unterteilung Memberliste

Geschlossen
  1. #1
    User Pic
    BL4CKB0RNE Mitglied
    Registriert seit
    05.01.2014
    Beiträge
    126
    Beitragswertungen
    0 Beitragspunkte
    Hey Leute,

    Ich würde gerne diese Unterteilung wie in diesem Download:
    externer Link
    auf mein Script übernehmen:

    Meine PHP:
    <?php
    #   Copyright by: Manuel
    #   Support: www.ilch.de
          
          
    defined ('main') or die ( 'no direct access' );
          
    $title = $allgAr['title'].' :: User :: '.$lang['listofmembers'];
    $hmenu = $extented_forum_menu.'User <b> &raquo; </b> '.$lang['listofmembers'].$extented_forum_menu_sufix;
    $design = new design ( $title , $hmenu, 1);
    $design->header();
          
    $limit = 50;  // Limit
          
          
    $tpl = new tpl ( 'user/memb_list.htm' );
          
    if($menu->exists('filtername')){
      $page = ($menu->getA(3) == 'p' ? $menu->getE(3) : 1 );
      $filtername = escape($menu->get(2), 'string');
    }else{
      $page = ($menu->getA(1) == 'p' ? $menu->getE(1) : 1 );
    }
          
    $anfang = ($page - 1) * $limit;
          
    $tpl = new tpl ( 'user/memb_list.htm' );
          
    if(isset($_GET['filtername']) AND !empty($_GET['filtername'])){
      $filtername = escape($_GET['filtername'], 'string');
    }
          
    if(!empty($filtername)){
      $sql_search=" WHERE prefix_user.name LIKE '%".$filtername."%'";
      $MPL = db_make_sites ($page , $sql_search , $limit , '?user-filtername-'.$filtername , 'user' );
    }else{
      $sql_search="";
      $MPL = db_make_sites ($page , "" , $limit , '?user' , 'user' );
    }
          
    $tpl->set_out ( 'SITELINK', $MPL, 0);
          
    $class = '';
    $erg = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      prefix_grundrechte.name as recht_name,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar
    FROM prefix_user
     LEFT JOIN prefix_grundrechte ON prefix_user.recht = prefix_grundrechte.id
     $sql_search
    ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg)) {
          
        if ($row->geschlecht == 1) {
            $geschlecht = 'maennlich.jpg';
        }elseif ($row->geschlecht == 2) {
            $geschlecht = 'weiblich.jpg';            
        }else{
            $geschlecht = 'wurstegal.jpg';            
        }       
          
        if ( file_exists($row->avatar)) {
            $avatar = '<img src="'.$row->avatar.'" width="80px" height="80px" border="0">';
        }else{
            $avatar = '<img src="include/images/avatars/'.$geschlecht.'" width="80px" height="80px" border="0">';            
        }
        
        if ($class == 'Cmite') { $class = 'Cnorm'; } else { $class = 'Cmite'; }
        $ar = array ( 'NAME' => $row->name,
                        'RANG' => userrang($row->posts,$row->id),
                                        'CLASS' => $class,
                                        'POSTS' => $row->posts,
                                        'UID'   => $row->id,
                                        'DATE' => date('d.m.Y',$row->regist),
                                        'GRUPE' => $row->recht_name,
                                        'AVATAR' => $avatar,
    									'STAAT' => $row->staat,
    									'EMAIL' => $row->email,
    									'LLOGIN' => date('d.m.Y <b\r> H:i',$row->llogin).' Uhr'
        );
        $tpl->set_ar_out($ar,1);
    }
    $tpl->set_out('filtername',$filtername ? $filtername : '',2);
          
    $design->footer();
    ?>



    Download PHP:
    <?php 
    #   Copyright by: David Schwarz
    #   Support: www.baduncles.game-host.org
    
    
    defined ('main') or die ( 'no direct access' );
    
    $title = $allgAr['title'].' :: User :: '.$lang['listofmembers'];
    $hmenu = $extented_forum_menu.'User <b> &raquo; </b> '.$lang['listofmembers'].$extented_forum_menu_sufix;
    $design = new design ( $title , $hmenu, 1, 'forum/index.htm' );
    $design->header();
    
    $limit = 20;  // Limit 
    $page = ($menu->getA(1) == 'p' ? $menu->getE(1) : 1 );
    $MPL = db_make_sites ($page , "" , $limit , '?user' , 'user' );
    $anfang = ($page - 1) * $limit;
    
    $tpl = new tpl ( 'user/memb_list.htm' );
    $tpl->set_out ( 'SITELINK', $MPL, 0);
    
    $class = '';
    
    $erg92 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -9");
    while ($row = db_fetch_object($erg92))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar92 = array('GRUPP9' => $picr,);
        $tpl->set_ar_out($ar92,1);
    }
    
    $erg9 = db_query("SELECT posts,prefix_user.id,regist,prefix_user.icq,prefix_user.geschlecht,prefix_user.gebdatum,prefix_user.name FROM prefix_user WHERE prefix_user.recht = -9 ORDER by regist,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg9))
    { $icq1 = str_replace("-","",$row->icq);
      $icq2 = str_replace(" ","",$icq1);
       if (is_numeric($icq2))
       {$icq= '<a href="http://www.icq.com/whitepages/cmd.php?uin='.$icq2.'&action=add"><img src="http://web.icq.com/whitepages/online?icq='.$icq2.'&img=12" border="0"></a>';
       }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar9 = array('NAME9'  => $row->name,
    		 'RANG9'  => userrang($row->posts,$row->id),
    		 'ICQ9'	  => $icq,
    		 'GA9'	  => $ga,
    		 'CLASS9' => $class,
    		 'POSTS9' => $row->posts,
    		 'UID9'   => $row->id,
    		 'DATE9'  => date('d.m.Y',$row->regist),
        );
        $tpl->set_ar_out($ar9,2);
    }
    
    $erg82 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -8");
    while ($row = db_fetch_object($erg82))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar82 = array('GRUPP8' => $picr,);
        $tpl->set_ar_out($ar82,3);
    }
    
    $erg8 = db_query("SELECT posts,prefix_user.id,regist,prefix_user.icq,prefix_user.geschlecht,prefix_user.gebdatum,prefix_user.name FROM prefix_user WHERE prefix_user.recht = -8 ORDER by regist,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg8))
    { $icq1 = str_replace("-","",$row->icq);
      $icq2 = str_replace(" ","",$icq1);
       if (is_numeric($icq2))
       {$icq= '<a href="http://www.icq.com/whitepages/cmd.php?uin='.$icq2.'&action=add"><img src="http://web.icq.com/whitepages/online?icq='.$icq2.'&img=12" border="0"></a>';
       }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar8 = array('NAME8'  => $row->name,
    		 'RANG8'  => userrang($row->posts,$row->id),
    		 'ICQ8'	  => $icq,
    		 'GA8'	  => $ga,
    		 'CLASS8' => $class,
    		 'POSTS8' => $row->posts,
    		 'UID8'	  => $row->id,
    		 'DATE8'  => date('d.m.Y',$row->regist),
        );
        $tpl->set_ar_out($ar8,4);
    }
    
    $erg72 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -7");
    while ($row = db_fetch_object($erg72))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar72 = array('GRUPP7' => $picr,);
        $tpl->set_ar_out($ar72,5);
    }
    
    $erg7 = db_query("SELECT posts,prefix_user.id,regist,prefix_user.icq,prefix_user.geschlecht,prefix_user.gebdatum,prefix_user.name FROM prefix_user WHERE prefix_user.recht = -7 ORDER by regist,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg7))
    { $icq1 = str_replace("-","",$row->icq);
      $icq2 = str_replace(" ","",$icq1);
       if (is_numeric($icq2))
       {$icq= '<a href="http://www.icq.com/whitepages/cmd.php?uin='.$icq2.'&action=add"><img src="http://web.icq.com/whitepages/online?icq='.$icq2.'&img=12" border="0"></a>';
       }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar7 = array('NAME7'  => $row->name,
    		 'RANG7'  => userrang($row->posts,$row->id),
    		 'ICQ7'	  => $icq,
    		 'GA7'	  => $ga,
    		 'CLASS7' => $class,
    		 'POSTS7' => $row->posts,
    		 'UID7'   => $row->id,
    		 'DATE7'  => date('d.m.Y',$row->regist),
        );
        $tpl->set_ar_out($ar7,6);
    }
    
    $erg62 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -6");
    while ($row = db_fetch_object($erg62))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar62 = array('GRUPP6' => $picr,);
        $tpl->set_ar_out($ar62,7);
    }
    
    $erg6 = db_query("SELECT posts,prefix_user.id,regist,prefix_user.icq,prefix_user.geschlecht,prefix_user.gebdatum,prefix_user.name FROM prefix_user WHERE prefix_user.recht = -6 ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg6))
    { $icq1 = str_replace("-","",$row->icq);
      $icq2 = str_replace(" ","",$icq1);
       if (is_numeric($icq2))
       {$icq= '<a href="http://www.icq.com/whitepages/cmd.php?uin='.$icq2.'&action=add"><img src="http://web.icq.com/whitepages/online?icq='.$icq2.'&img=12" border="0"></a>';
       }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar6 = array('NAME6'  => $row->name,
    		 'RANG6'  => userrang($row->posts,$row->id),
    		 'ICQ6'	  => $icq,
    		 'GA6'	  => $ga,
    		 'CLASS6' => $class,
    		 'POSTS6' => $row->posts,
    		 'UID6'	  => $row->id,
    		 'DATE6'  => date('d.m.Y',$row->regist),
        );
        $tpl->set_ar_out($ar6,8);
    }
    
    $erg52 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -5");
    while ($row = db_fetch_object($erg52))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar52 = array('GRUPP5' => $picr,);
        $tpl->set_ar_out($ar52,9);
    }
    
    $erg5 = db_query("SELECT posts,prefix_user.id,regist,prefix_user.icq,prefix_user.geschlecht,prefix_user.gebdatum,prefix_user.name FROM prefix_user WHERE prefix_user.recht = -5 ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg5))
    { $icq1 = str_replace("-","",$row->icq);
      $icq2 = str_replace(" ","",$icq1);
       if (is_numeric($icq2))
       {$icq= '<a href="http://www.icq.com/whitepages/cmd.php?uin='.$icq2.'&action=add"><img src="http://web.icq.com/whitepages/online?icq='.$icq2.'&img=12" border="0"></a>';
       }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar5 = array('NAME5'  => $row->name,
    		 'RANG5'  => userrang($row->posts,$row->id),
    		 'ICQ5'	  => $icq,
    		 'GA5'	  => $ga,
    		 'CLASS5' => $class,
    		 'POSTS5' => $row->posts,
    		 'UID5'   => $row->id,
    		 'DATE5'  => date('d.m.Y',$row->regist),
        );
        $tpl->set_ar_out($ar5,10);
    }
    
    $erg42 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -4");
    while ($row = db_fetch_object($erg42))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar42 = array('GRUPP4' => $picr,);
        $tpl->set_ar_out($ar42,11);
    }
    
    $erg4 = db_query("SELECT posts,prefix_user.id,regist,prefix_user.icq,prefix_user.geschlecht,prefix_user.gebdatum,prefix_user.name FROM prefix_user WHERE prefix_user.recht = -4 ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg4))
    { $icq1 = str_replace("-","",$row->icq);
      $icq2 = str_replace(" ","",$icq1);
       if (is_numeric($icq2))
       {$icq= '<a href="http://www.icq.com/whitepages/cmd.php?uin='.$icq2.'&action=add"><img src="http://web.icq.com/whitepages/online?icq='.$icq2.'&img=12" border="0"></a>';
       }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar4 = array('NAME4'  => $row->name,
    		 'RANG4'  => userrang($row->posts,$row->id),
    		 'ICQ4'	  => $icq,
    		 'GA4'	  => $ga,
    		 'CLASS4' => $class,
    		 'POSTS4' => $row->posts,
    		 'UID4'	  => $row->id,
    		 'DATE4'  => date('d.m.Y',$row->regist),
        );
        $tpl->set_ar_out($ar4,12);
    }
    
    $erg32 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -3");
    while ($row = db_fetch_object($erg32))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar32 = array('GRUPP3' => $picr,);
        $tpl->set_ar_out($ar32,13);
    }
    
    $erg3 = db_query("SELECT posts,prefix_user.id,regist,prefix_user.icq,prefix_user.geschlecht,prefix_user.gebdatum,prefix_user.name FROM prefix_user WHERE prefix_user.recht = -3 ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg3))
    { $icq1 = str_replace("-","",$row->icq);
      $icq2 = str_replace(" ","",$icq1);
       if (is_numeric($icq2))
       {$icq= '<a href="http://www.icq.com/whitepages/cmd.php?uin='.$icq2.'&action=add"><img src="http://web.icq.com/whitepages/online?icq='.$icq2.'&img=12" border="0"></a>';
       }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar3 = array('NAME3'  => $row->name,
    		 'RANG3'  => userrang($row->posts,$row->id),
    		 'ICQ3'	  => $icq,
    		 'GA3'	  => $ga,
    		 'CLASS3' => $class,
    		 'POSTS3' => $row->posts,
    		 'UID3'	  => $row->id,
    		 'DATE3'  => date('d.m.Y',$row->regist),
        );
        $tpl->set_ar_out($ar3,14);
    }
    
    $erg22 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -2");
    while ($row = db_fetch_object($erg22))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar22 = array('GRUPP2' => $picr,);
        $tpl->set_ar_out($ar22,15);
    }
    
    $erg2 = db_query("SELECT posts,prefix_user.id,regist,prefix_user.icq,prefix_user.geschlecht,prefix_user.gebdatum,prefix_user.name FROM prefix_user WHERE prefix_user.recht = -2 ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg2))
    { $icq1 = str_replace("-","",$row->icq);
      $icq2 = str_replace(" ","",$icq1);
       if (is_numeric($icq2))
       {$icq= '<a href="http://www.icq.com/whitepages/cmd.php?uin='.$icq2.'&action=add"><img src="http://web.icq.com/whitepages/online?icq='.$icq2.'&img=12" border="0"></a>';
       }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar2 = array('NAME2'  => $row->name,
    		 'RANG2'  => userrang($row->posts,$row->id),
    		 'ICQ2'	  => $icq,
    		 'GA2'	  => $ga,
    		 'CLASS2' => $class,
    		 'POSTS2' => $row->posts,
    		 'UID2'	  => $row->id,
    		 'DATE2'  => date('d.m.Y',$row->regist),
        );
        $tpl->set_ar_out($ar2,16);
    }
    
    
    $tpl->out(17);
    
    $design->footer();
    ?>




    Meine HTML:
    <table width="100%" border="0" cellpadding="3" cellspacing="1" class="border">
      <tr class="Chead" >
    	<th height="100" width="80px">{_lang_avatar}</th>	
    		<th align="center" height="30" width="30%">{_lang_name}</th>
    		<th align="center" width="20%">{_lang_Clan}</th>
    		<th align="center" width="20%">{_lang_group}</th>
    		<th align="center" width="5%">{_lang_Contact}</th>
    		<th align="center" width="30%">{_lang_lasttimeonline}</th>
    		<th align="center" width="15%">{_lang_regtime}</th>
    		<th align="center" width="15%">{_lang_posts}</th>
    		<th align="center" width="5%">{_lang_Land}</th>
      </tr>{EXPLODE}<tr class="{CLASS}">
        <td><a href="index.php?user-details-{UID}">{AVATAR}</a></td> 
    		<td align="center"><a href="index.php?user-details-{UID}">{NAME}</a></td>
    		<td align="center"><font style="font-size: 10px">{RANG}</font></td>
    		<td align="center">{GRUPE}</td>
    		<td align="center" width="20%"><a href="index.php?forum-privmsg-new=0&empfid={UID}"><img src="include/images/icons/email_small.png" border="0"></a></td>
    		<td align="center">{LLOGIN}</td>
    		<td align="center">{DATE}</td>
    		<td align="center">{POSTS}</td>
    		<th align="center"><img src="include/images/flags/{STAAT}" alt="" border="0"></th>
      </tr>{EXPLODE}
    </table>
    <br />
    <div align="center">{SITELINK}
    <form method="GET" action="index.php"><input type="hidden" name="user" value="" /><input type="text" name="filtername" size="15" value="{filtername}" /> <input type="submit" value="{_lang_filter}" /></form>
    </div>



    Download HTML:
    <table width="100%" border="0" cellpadding="3" cellspacing="1" class="border">
    {EXPLODE}
    <tr><td><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP9}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="30" width="30%">{_lang_name}</th>
    	 <th align="center" width="17%">Forum{_lang_rank}</th>
    	 <th align="center" width="17%">{_lang_regtime}</th>
    	 <th align="center" width="20%">{_lang_icq}</th>
    	 <th align="center" width="16%" align="center">{_lang_posts}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS9}">
    	 <td><a href="index.php?user-details-{UID9}">{NAME9}</a>&nbsp;{GA9}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG9}</font></td>
    	 <td align="center">{DATE9}</td>
    	 <td align="center">{ICQ9}</td>
    	 <td align="center">{POSTS9}</td>
      	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP8}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="30" width="30%">{_lang_name}</th>
    	 <th align="center" width="17%">Forum{_lang_rank}</th>
    	 <th align="center" width="17%">{_lang_regtime}</th>
    	 <th align="center" width="20%">{_lang_icq}</th>
    	 <th align="center" width="16%" align="center">{_lang_posts}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS8}">
    	 <td><a href="index.php?user-details-{UID8}">{NAME8}</a>&nbsp;{GA8}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG8}</font></td>
    	 <td align="center">{DATE8}</td>
    	 <td align="center">{ICQ8}</td>
    	 <td align="center">{POSTS8}</td>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP7}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="30" width="30%">{_lang_name}</th>
    	 <th align="center" width="17%">Forum{_lang_rank}</th>
    	 <th align="center" width="17%">{_lang_regtime}</th>
    	 <th align="center" width="20%">{_lang_icq}</th>
    	 <th align="center" width="16%" align="center">{_lang_posts}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS7}">
    	 <td><a href="index.php?user-details-{UID7}">{NAME7}</a>&nbsp;{GA7}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG7}</font></td>
    	 <td align="center">{DATE7}</td>
    	 <td align="center">{ICQ7}</td>
    	 <td align="center">{POSTS7}</td>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP6}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="30" width="30%">{_lang_name}</th>
    	 <th align="center" width="17%">Forum{_lang_rank}</th>
    	 <th align="center" width="17%">{_lang_regtime}</th>
    	 <th align="center" width="20%">{_lang_icq}</th>
    	 <th align="center" width="16%" align="center">{_lang_posts}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS6}">
    	 <td><a href="index.php?user-details-{UID6}">{NAME6}</a>&nbsp;{GA6}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG6}</font></td>
    	 <td align="center">{DATE6}</td>
    	 <td align="center">{ICQ6}</td>
    	 <td align="center">{POSTS6}</td>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP5}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="30" width="30%">{_lang_name}</th>
    	 <th align="center" width="17%">Forum{_lang_rank}</th>
    	 <th align="center" width="17%">{_lang_regtime}</th>
    	 <th align="center" width="20%">{_lang_icq}</th>
    	 <th align="center" width="16%" align="center">{_lang_posts}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS5}">
    	 <td><a href="index.php?user-details-{UID5}">{NAME5}</a>&nbsp;{GA5}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG5}</font></td>
    	 <td align="center">{DATE5}</td>
    	 <td align="center">{ICQ5}</td>
    	 <td align="center">{POSTS5}</td>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP4}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="30" width="30%">{_lang_name}</th>
    	 <th align="center" width="17%">Forum{_lang_rank}</th>
    	 <th align="center" width="17%">{_lang_regtime}</th>
    	 <th align="center" width="20%">{_lang_icq}</th>
    	 <th align="center" width="16%" align="center">{_lang_posts}</th>
    	 </tr>
    	{EXPLODE}
    	<tr class="{CLASS4}">
    	 <td><a href="index.php?user-details-{UID4}">{NAME4}</a>&nbsp;{GA4}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG4}</font></td>
    	 <td align="center">{DATE4}</td>
    	 <td align="center">{ICQ4}</td>
    	 <td align="center">{POSTS4}</td>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP3}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="30" width="30%">{_lang_name}</th>
    	 <th align="center" width="17%">Forum{_lang_rank}</th>
    	 <th align="center" width="17%">{_lang_regtime}</th>
    	 <th align="center" width="20%">{_lang_icq}</th>
    	 <th align="center" width="16%" align="center">{_lang_posts}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS3}">
    	 <td><a href="index.php?user-details-{UID3}">{NAME3}</a>&nbsp;{GA3}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG3}</font></td>
    	 <td align="center">{DATE3}</td>
    	 <td align="center">{ICQ3}</td>
    	 <td align="center">{POSTS3}</td>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	 <tr>
    	 <td class="Cmember">{GRUPP2}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="30" width="30%">{_lang_name}</th>
    	 <th align="center" width="17%">Forum{_lang_rank}</th>
    	 <th align="center" width="17%">{_lang_regtime}</th>
    	 <th align="center" width="20%">{_lang_icq}</th>
    	 <th align="center" width="16%" align="center">{_lang_posts}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS2}">
    	 <td><a href="index.php?user-details-{UID2}">{NAME2}</a>&nbsp;{GA2}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG2}</font></td>
    	 <td align="center">{DATE2}</td>
    	 <td align="center">{ICQ2}</td>
    	 <td align="center">{POSTS2}</td>
    	</tr>
    	{EXPLODE}
    </table></td></tr>
    
    </table>
    
    
    <br />
    <div align="center">{SITELINK}</div>




    Könnte mir jemand erklären was ich da wie übernehmen muss damit diese Unterteilung auch bei mir funktioniert. Alle Spalten von mir sollen aber beibehalten werden.


    Danke

    betroffene Homepage: recordsextended.de
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    Siggi Hall Of Fame
    Registriert seit
    08.02.2007
    Beiträge
    6.558
    Beitragswertungen
    327 Beitragspunkte
    Dafür benötigt es ein paar mehr Änderungen und ist speziell für ilch.de angepasst.

    Wenn es rausgegeben werden sollte muss Revolution etwas dazu sagen
    0 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    BL4CKB0RNE Mitglied
    Registriert seit
    05.01.2014
    Beiträge
    126
    Beitragswertungen
    0 Beitragspunkte
    Also wäre das erstma zu kompliziert um das jzt in ein paar minuten zu ändern ?!
    0 Mitglieder finden den Beitrag gut.
  4. #4
    User Pic
    Saarlonz Hall Of Fame
    Registriert seit
    07.08.2008
    Beiträge
    3.003
    Beitragswertungen
    235 Beitragspunkte
    Was hat das mit Revo zu tun? das Modul ist von BöhserDavid! Und um auf deine Frage zurück zu kommen, vergleich doch einfach die Dateien und Versuch es mal selbst, ist ja soweit alles vorgegeben.
    0 Mitglieder finden den Beitrag gut.
  5. #5
    User Pic
    Siggi Hall Of Fame
    Registriert seit
    08.02.2007
    Beiträge
    6.558
    Beitragswertungen
    327 Beitragspunkte
    Oh ich hab etwas falsch verstanden zwinker
    0 Mitglieder finden den Beitrag gut.
  6. #6
    User Pic
    BL4CKB0RNE Mitglied
    Registriert seit
    05.01.2014
    Beiträge
    126
    Beitragswertungen
    0 Beitragspunkte
    Hey Leute,

    Ich habe mal versucht die beiden PHP-Dateien und HTM-Dateien mit einander zu verbinden bzw in einander zu schreiben und würde euch bitten ob sich das mal einer von euch ansehen könnte ???

    <?php 
    #   Copyright by: David Schwarz
    #   Support: www.baduncles.game-host.org
    
    
    defined ('main') or die ( 'no direct access' );
    
    $title = $allgAr['title'].' :: User :: '.$lang['listofmembers'];
    $hmenu = $extented_forum_menu.'User <b> &raquo; </b> '.$lang['listofmembers'].$extented_forum_menu_sufix;
    $design = new design ( $title , $hmenu, 1, 'forum/index.htm' );
    $design->header();
    
    $limit = 100;  // Limit 
    $page = ($menu->getA(1) == 'p' ? $menu->getE(1) : 1 );
    $MPL = db_make_sites ($page , "" , $limit , '?user' , 'user' );
    $anfang = ($page - 1) * $limit;
    
    $tpl = new tpl ( 'user/memb_list.htm' );
    $tpl->set_out ( 'SITELINK', $MPL, 0);
    
    $class = '';
    
    $erg92 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -9");
    while ($row = db_fetch_object($erg92))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar92 = array('GRUPP9' => $picr,);
        $tpl->set_ar_out($ar92,1);
    }
    
    $erg9 = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      prefix_grundrechte.name as recht_name,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar,
      prefix_user.gebdatum
    FROM prefix_user
     LEFT JOIN prefix_grundrechte ON prefix_user.recht = -9
    ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg9)) {
          
        if ($row->geschlecht == 1) {
            $geschlecht = 'maennlich.jpg';
        }elseif ($row->geschlecht == 2) {
            $geschlecht = 'weiblich.jpg';            
        }else{
            $geschlecht = 'wurstegal.jpg';            
        }       
          
        if ( file_exists($row->avatar)) {
            $avatar = '<img src="'.$row->avatar.'" width="80px" height="80px" border="0">';
        }else{
            $avatar = '<img src="include/images/avatars/'.$geschlecht.'" width="80px" height="80px" border="0">';            
        }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar9 = array('NAME9'  => $row->name,
    		 'RANG9'  => userrang($row->posts,$row->id),
    		 'CLASS9' => $class,
    		 'POSTS9' => $row->posts,
    		 'UID9'   => $row->id,
    		 'DATE9'  => date('d.m.Y',$row->regist),
    		 'GA9'	  => $ga,
    		 'GRUPE9' => $row->recht_name,
    		 'AVATAR9' => $avatar,
    		 'STAAT9' => $row->staat,
    		 'EMAIL9' => $row->email,
    		 'LLOGIN9' => date('d.m.Y <b\r> H:i',$row->llogin).' Uhr',
    		 
        );
        $tpl->set_ar_out($ar9,2);
    }
    
    $erg82 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -8");
    while ($row = db_fetch_object($erg82))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar82 = array('GRUPP8' => $picr,);
        $tpl->set_ar_out($ar82,3);
    }
    
    $erg8 = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      prefix_grundrechte.name as recht_name,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar,
      prefix_user.gebdatum
    FROM prefix_user
     LEFT JOIN prefix_grundrechte ON prefix_user.recht = -8
    ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg8)) {
          
        if ($row->geschlecht == 1) {
            $geschlecht = 'maennlich.jpg';
        }elseif ($row->geschlecht == 2) {
            $geschlecht = 'weiblich.jpg';            
        }else{
            $geschlecht = 'wurstegal.jpg';            
        }       
          
        if ( file_exists($row->avatar)) {
            $avatar = '<img src="'.$row->avatar.'" width="80px" height="80px" border="0">';
        }else{
            $avatar = '<img src="include/images/avatars/'.$geschlecht.'" width="80px" height="80px" border="0">';            
        }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar8 = array('NAME9'  => $row->name,
    		 'RANG8'  => userrang($row->posts,$row->id),
    		 'CLASS8' => $class,
    		 'POSTS8' => $row->posts,
    		 'UID8'   => $row->id,
    		 'DATE8'  => date('d.m.Y',$row->regist),
    		 'GA8'	  => $ga,
    		 'GRUPE8' => $row->recht_name,
    		 'AVATAR8' => $avatar,
    		 'STAAT8' => $row->staat,
    		 'EMAIL8' => $row->email,
    		 'LLOGIN8' => date('d.m.Y <b\r> H:i',$row->llogin).' Uhr',
        );
        $tpl->set_ar_out($ar8,4);
    }
    
    $erg72 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -7");
    while ($row = db_fetch_object($erg72))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar72 = array('GRUPP7' => $picr,);
        $tpl->set_ar_out($ar72,5);
    }
    
    $erg7 = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      prefix_grundrechte.name as recht_name,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar,
      prefix_user.gebdatum
    FROM prefix_user
     LEFT JOIN prefix_grundrechte ON prefix_user.recht = -7
    ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg7)) {
          
        if ($row->geschlecht == 1) {
            $geschlecht = 'maennlich.jpg';
        }elseif ($row->geschlecht == 2) {
            $geschlecht = 'weiblich.jpg';            
        }else{
            $geschlecht = 'wurstegal.jpg';            
        }       
          
        if ( file_exists($row->avatar)) {
            $avatar = '<img src="'.$row->avatar.'" width="80px" height="80px" border="0">';
        }else{
            $avatar = '<img src="include/images/avatars/'.$geschlecht.'" width="80px" height="80px" border="0">';            
        }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar7 = array('NAME9'  => $row->name,
    		 'RANG7'  => userrang($row->posts,$row->id),
    		 'CLASS7' => $class,
    		 'POSTS7' => $row->posts,
    		 'UID7'   => $row->id,
    		 'DATE7'  => date('d.m.Y',$row->regist),
    		 'GA7'	  => $ga,
    		 'GRUPE7' => $row->recht_name,
    		 'AVATAR7' => $avatar,
    		 'STAAT7' => $row->staat,
    		 'EMAIL7' => $row->email,
    		 'LLOGIN7' => date('d.m.Y <b\r> H:i',$row->llogin).' Uhr',
        );
        $tpl->set_ar_out($ar7,6);
    }
    
    $erg62 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -6");
    while ($row = db_fetch_object($erg62))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar62 = array('GRUPP6' => $picr,);
        $tpl->set_ar_out($ar62,7);
    }
    
    $erg6 = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      prefix_grundrechte.name as recht_name,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar,
      prefix_user.gebdatum
    FROM prefix_user
     LEFT JOIN prefix_grundrechte ON prefix_user.recht = -6
    ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg6)) {
          
        if ($row->geschlecht == 1) {
            $geschlecht = 'maennlich.jpg';
        }elseif ($row->geschlecht == 2) {
            $geschlecht = 'weiblich.jpg';            
        }else{
            $geschlecht = 'wurstegal.jpg';            
        }       
          
        if ( file_exists($row->avatar)) {
            $avatar = '<img src="'.$row->avatar.'" width="80px" height="80px" border="0">';
        }else{
            $avatar = '<img src="include/images/avatars/'.$geschlecht.'" width="80px" height="80px" border="0">';            
        }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar6 = array('NAME9'  => $row->name,
    		 'RANG6'  => userrang($row->posts,$row->id),
    		 'CLASS6' => $class,
    		 'POSTS6' => $row->posts,
    		 'UID6'   => $row->id,
    		 'DATE6'  => date('d.m.Y',$row->regist),
    		 'GA6'	  => $ga,
    		 'GRUPE6' => $row->recht_name,
    		 'AVATAR6' => $avatar,
    		 'STAAT6' => $row->staat,
    		 'EMAIL6' => $row->email,
    		 'LLOGIN6' => date('d.m.Y <b\r> H:i',$row->llogin).' Uhr',
        );
        $tpl->set_ar_out($ar6,8);
    }
    
    $erg52 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -5");
    while ($row = db_fetch_object($erg52))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar52 = array('GRUPP5' => $picr,);
        $tpl->set_ar_out($ar52,9);
    }
    
    $erg5 = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      prefix_grundrechte.name as recht_name,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar,
      prefix_user.gebdatum
    FROM prefix_user
     LEFT JOIN prefix_grundrechte ON prefix_user.recht = -5
    ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg5)) {
          
        if ($row->geschlecht == 1) {
            $geschlecht = 'maennlich.jpg';
        }elseif ($row->geschlecht == 2) {
            $geschlecht = 'weiblich.jpg';            
        }else{
            $geschlecht = 'wurstegal.jpg';            
        }       
          
        if ( file_exists($row->avatar)) {
            $avatar = '<img src="'.$row->avatar.'" width="80px" height="80px" border="0">';
        }else{
            $avatar = '<img src="include/images/avatars/'.$geschlecht.'" width="80px" height="80px" border="0">';            
        }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar5 = array('NAME9'  => $row->name,
    		 'RANG5'  => userrang($row->posts,$row->id),
    		 'CLASS5' => $class,
    		 'POSTS5' => $row->posts,
    		 'UID5'   => $row->id,
    		 'DATE5'  => date('d.m.Y',$row->regist),
    		 'GA5'	  => $ga,
    		 'GRUPE5' => $row->recht_name,
    		 'AVATAR5' => $avatar,
    		 'STAAT5' => $row->staat,
    		 'EMAIL5' => $row->email,
    		 'LLOGIN5' => date('d.m.Y <b\r> H:i',$row->llogin).' Uhr',
        );
        $tpl->set_ar_out($ar5,10);
    }
    
    $erg42 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -4");
    while ($row = db_fetch_object($erg42))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar42 = array('GRUPP4' => $picr,);
        $tpl->set_ar_out($ar42,11);
    }
    
    $erg4 = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      prefix_grundrechte.name as recht_name,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar,
      prefix_user.gebdatum
    FROM prefix_user
     LEFT JOIN prefix_grundrechte ON prefix_user.recht = -4
    ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg4)) {
          
        if ($row->geschlecht == 1) {
            $geschlecht = 'maennlich.jpg';
        }elseif ($row->geschlecht == 2) {
            $geschlecht = 'weiblich.jpg';            
        }else{
            $geschlecht = 'wurstegal.jpg';            
        }       
          
        if ( file_exists($row->avatar)) {
            $avatar = '<img src="'.$row->avatar.'" width="80px" height="80px" border="0">';
        }else{
            $avatar = '<img src="include/images/avatars/'.$geschlecht.'" width="80px" height="80px" border="0">';            
        }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar4 = array('NAME9'  => $row->name,
    		 'RANG4'  => userrang($row->posts,$row->id),
    		 'CLASS4' => $class,
    		 'POSTS4' => $row->posts,
    		 'UID4'   => $row->id,
    		 'DATE4'  => date('d.m.Y',$row->regist),
    		 'GA4'	  => $ga,
    		 'GRUPE4' => $row->recht_name,
    		 'AVATAR4' => $avatar,
    		 'STAAT4' => $row->staat,
    		 'EMAIL4' => $row->email,
    		 'LLOGIN4' => date('d.m.Y <b\r> H:i',$row->llogin).' Uhr',
        );
        $tpl->set_ar_out($ar4,12);
    }
    
    $erg32 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -3");
    while ($row = db_fetch_object($erg32))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar32 = array('GRUPP3' => $picr,);
        $tpl->set_ar_out($ar32,13);
    }
    
    $erg3 = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      prefix_grundrechte.name as recht_name,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar,
      prefix_user.gebdatum
    FROM prefix_user
     LEFT JOIN prefix_grundrechte ON prefix_user.recht = -3
    ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg3)) {
          
        if ($row->geschlecht == 1) {
            $geschlecht = 'maennlich.jpg';
        }elseif ($row->geschlecht == 2) {
            $geschlecht = 'weiblich.jpg';            
        }else{
            $geschlecht = 'wurstegal.jpg';            
        }       
          
        if ( file_exists($row->avatar)) {
            $avatar = '<img src="'.$row->avatar.'" width="80px" height="80px" border="0">';
        }else{
            $avatar = '<img src="include/images/avatars/'.$geschlecht.'" width="80px" height="80px" border="0">';            
        }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar3 = array('NAME9'  => $row->name,
    		 'RANG3'  => userrang($row->posts,$row->id),
    		 'CLASS3' => $class,
    		 'POSTS3' => $row->posts,
    		 'UID3'   => $row->id,
    		 'DATE3'  => date('d.m.Y',$row->regist),
    		 'GA3'	  => $ga,
    		 'GRUPE3' => $row->recht_name,
    		 'AVATAR3' => $avatar,
    		 'STAAT3' => $row->staat,
    		 'EMAIL3' => $row->email,
    		 'LLOGIN3' => date('d.m.Y <b\r> H:i',$row->llogin).' Uhr',
        );
        $tpl->set_ar_out($ar3,14);
    }
    
    $erg22 = db_query("SELECT id,name FROM prefix_grundrechte WHERE id = -2");
    while ($row = db_fetch_object($erg22))
    { $pic = 'include/images/rangs/'.$row->name.'.gif';
      $picr = (file_exists($pic)?'<img src="'.$pic.'">':$row->name);
      $ar22 = array('GRUPP2' => $picr,);
        $tpl->set_ar_out($ar22,15);
    }
    
    $erg2 = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      prefix_grundrechte.name as recht_name,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar,
      prefix_user.gebdatum
    FROM prefix_user
     LEFT JOIN prefix_grundrechte ON prefix_user.recht = -2
    ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);
    while ($row = db_fetch_object($erg2)) {
          
        if ($row->geschlecht == 1) {
            $geschlecht = 'maennlich.jpg';
        }elseif ($row->geschlecht == 2) {
            $geschlecht = 'weiblich.jpg';            
        }else{
            $geschlecht = 'wurstegal.jpg';            
        }       
          
        if ( file_exists($row->avatar)) {
            $avatar = '<img src="'.$row->avatar.'" width="80px" height="80px" border="0">';
        }else{
            $avatar = '<img src="include/images/avatars/'.$geschlecht.'" width="80px" height="80px" border="0">';            
        }
      $ga = '';
      $age1=explode("-",$row->gebdatum);
      $age = date("Y",time())-$age1[0];
      if ($row->geschlecht == 0)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.= $age;
        }else
        {$ga.= '';
        }
       }elseif($row->geschlecht == 1)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }elseif ($row->geschlecht == 2)
       {if ($row->gebdatum != 0000-00-00 )
        {$ga.=' - '.$age.'';
        }else
        {$ga.='';
        }
       }if ($class == 'Cmite')
       { $class = 'Cnorm';
       } else
        { $class = 'Cmite';
        }
        $ar2 = array('NAME9'  => $row->name,
    		 'RANG2'  => userrang($row->posts,$row->id),
    		 'CLASS2' => $class,
    		 'POSTS2' => $row->posts,
    		 'UID2'   => $row->id,
    		 'DATE2'  => date('d.m.Y',$row->regist),
    		 'GA2'	  => $ga,
    		 'GRUPE2' => $row->recht_name,
    		 'AVATAR2' => $avatar,
    		 'STAAT2' => $row->staat,
    		 'EMAIL2' => $row->email,
    		 'LLOGIN2' => date('d.m.Y <b\r> H:i',$row->llogin).' Uhr',
        );
        $tpl->set_ar_out($ar2,16);
    }
    
    
    $tpl->out(17);
    
    $design->footer();
    ?>



    <table width="100%" border="0" cellpadding="3" cellspacing="1" class="border">
    {EXPLODE}
    <tr><td><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP9}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="100" width="80px">{_lang_avatar}</th>	
    		<th align="center" height="30" width="30%">{_lang_name}</th>
    		<th align="center" width="20%">{_lang_Clan}</th>
    		<th align="center" width="20%">{_lang_group}</th>
    		<th align="center" width="5%">{_lang_Contact}</th>
    		<th align="center" width="30%">{_lang_lasttimeonline}</th>
    		<th align="center" width="15%">{_lang_regtime}</th>
    		<th align="center" width="15%">{_lang_posts}</th>
    		<th align="center" width="5%">{_lang_Land}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS9}">
    	 <td><a href="index.php?user-details-{UID9}">{AVATAR9}</a></td> 
    	 <td><a href="index.php?user-details-{UID9}">{NAME9}</a>&nbsp;{GA9}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG9}</font></td>
    	 <td align="center">{GRUPE9}</td>
    	 <td align="center" width="20%"><a href="index.php?forum-privmsg-new=0&empfid={UID}"><img src="include/images/icons/email_small.png" border="0"></a></td>
    	 <td align="center">{LLOGIN}</td>
    	 <td align="center">{DATE9}</td>
    	 <td align="center">{POSTS9}</td>
    	 <th align="center"><img src="include/images/flags/{STAAT9}" alt="" border="0"></th>
      	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP8}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="100" width="80px">{_lang_avatar}</th>	
    		<th align="center" height="30" width="30%">{_lang_name}</th>
    		<th align="center" width="20%">{_lang_Clan}</th>
    		<th align="center" width="20%">{_lang_group}</th>
    		<th align="center" width="5%">{_lang_Contact}</th>
    		<th align="center" width="30%">{_lang_lasttimeonline}</th>
    		<th align="center" width="15%">{_lang_regtime}</th>
    		<th align="center" width="15%">{_lang_posts}</th>
    		<th align="center" width="5%">{_lang_Land}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS8}">
    	 <td><a href="index.php?user-details-{UID8}">{AVATAR8}</a></td> 
    	 <td><a href="index.php?user-details-{UID8}">{NAME8}</a>&nbsp;{GA8}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG8}</font></td>
    	 <td align="center">{GRUPE8}</td>
    	 <td align="center" width="20%"><a href="index.php?forum-privmsg-new=0&empfid={UID8}"><img src="include/images/icons/email_small.png" border="0"></a></td>
    	 <td align="center">{LLOGIN8}</td>
    	 <td align="center">{DATE8}</td>
    	 <td align="center">{POSTS8}</td>
    	 <th align="center"><img src="include/images/flags/{STAAT89}" alt="" border="0"></th>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP7}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="100" width="80px">{_lang_avatar}</th>	
    		<th align="center" height="30" width="30%">{_lang_name}</th>
    		<th align="center" width="20%">{_lang_Clan}</th>
    		<th align="center" width="20%">{_lang_group}</th>
    		<th align="center" width="5%">{_lang_Contact}</th>
    		<th align="center" width="30%">{_lang_lasttimeonline}</th>
    		<th align="center" width="15%">{_lang_regtime}</th>
    		<th align="center" width="15%">{_lang_posts}</th>
    		<th align="center" width="5%">{_lang_Land}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS7}">
    	 <td><a href="index.php?user-details-{UID7}">{AVATAR7}</a></td> 
    	 <td><a href="index.php?user-details-{UID7}">{NAME7}</a>&nbsp;{GA7}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG7}</font></td>
    	 <td align="center">{GRUPE7}</td>
    	 <td align="center" width="20%"><a href="index.php?forum-privmsg-new=0&empfid={UID7}"><img src="include/images/icons/email_small.png" border="0"></a></td>
    	 <td align="center">{LLOGIN7}</td>
    	 <td align="center">{DATE7}</td>
    	 <td align="center">{POSTS7}</td>
    	 <th align="center"><img src="include/images/flags/{STAAT7}" alt="" border="0"></th>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP6}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="100" width="80px">{_lang_avatar}</th>	
    		<th align="center" height="30" width="30%">{_lang_name}</th>
    		<th align="center" width="20%">{_lang_Clan}</th>
    		<th align="center" width="20%">{_lang_group}</th>
    		<th align="center" width="5%">{_lang_Contact}</th>
    		<th align="center" width="30%">{_lang_lasttimeonline}</th>
    		<th align="center" width="15%">{_lang_regtime}</th>
    		<th align="center" width="15%">{_lang_posts}</th>
    		<th align="center" width="5%">{_lang_Land}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS6}">
    	 <td><a href="index.php?user-details-{UID6}">{AVATAR6}</a></td> 
    	 <td><a href="index.php?user-details-{UID6}">{NAME6}</a>&nbsp;{GA6}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG6}</font></td>
    	 <td align="center">{GRUPE6}</td>
    	 <td align="center" width="20%"><a href="index.php?forum-privmsg-new=0&empfid={UID6}"><img src="include/images/icons/email_small.png" border="0"></a></td>
    	 <td align="center">{LLOGIN6}</td>
    	 <td align="center">{DATE6}</td>
    	 <td align="center">{POSTS6}</td>
    	 <th align="center"><img src="include/images/flags/{STAAT6}" alt="" border="0"></th>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP5}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="100" width="80px">{_lang_avatar}</th>	
    		<th align="center" height="30" width="30%">{_lang_name}</th>
    		<th align="center" width="20%">{_lang_Clan}</th>
    		<th align="center" width="20%">{_lang_group}</th>
    		<th align="center" width="5%">{_lang_Contact}</th>
    		<th align="center" width="30%">{_lang_lasttimeonline}</th>
    		<th align="center" width="15%">{_lang_regtime}</th>
    		<th align="center" width="15%">{_lang_posts}</th>
    		<th align="center" width="5%">{_lang_Land}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS5}">
    	 <td><a href="index.php?user-details-{UID5}">{AVATAR5}</a></td> 
    	 <td><a href="index.php?user-details-{UID5}">{NAME5}</a>&nbsp;{GA5}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG5}</font></td>
    	 <td align="center">{GRUPE5}</td>
    	 <td align="center" width="20%"><a href="index.php?forum-privmsg-new=0&empfid={UID5}"><img src="include/images/icons/email_small.png" border="0"></a></td>
    	 <td align="center">{LLOGIN5}</td>
    	 <td align="center">{DATE5}</td>
    	 <td align="center">{POSTS5}</td>
    	 <th align="center"><img src="include/images/flags/{STAAT5}" alt="" border="0"></th>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP4}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="100" width="80px">{_lang_avatar}</th>	
    		<th align="center" height="30" width="30%">{_lang_name}</th>
    		<th align="center" width="20%">{_lang_Clan}</th>
    		<th align="center" width="20%">{_lang_group}</th>
    		<th align="center" width="5%">{_lang_Contact}</th>
    		<th align="center" width="30%">{_lang_lasttimeonline}</th>
    		<th align="center" width="15%">{_lang_regtime}</th>
    		<th align="center" width="15%">{_lang_posts}</th>
    		<th align="center" width="5%">{_lang_Land}</th>
    	 </tr>
    	{EXPLODE}
    	<tr class="{CLASS4}">
    	 <td><a href="index.php?user-details-{UID4}">{AVATAR4}</a></td> 
    	 <td><a href="index.php?user-details-{UID4}">{NAME4}</a>&nbsp;{GA4}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG4}</font></td>
    	 <td align="center">{GRUPE4}</td>
    	 <td align="center" width="20%"><a href="index.php?forum-privmsg-new=0&empfid={UID4}"><img src="include/images/icons/email_small.png" border="0"></a></td>
    	 <td align="center">{LLOGIN4}</td>
    	 <td align="center">{DATE4}</td>
    	 <td align="center">{POSTS4}</td>
    	 <th align="center"><img src="include/images/flags/{STAAT4}" alt="" border="0"></th>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><br><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    	 <td class="Cmember">{GRUPP3}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="100" width="80px">{_lang_avatar}</th>	
    		<th align="center" height="30" width="30%">{_lang_name}</th>
    		<th align="center" width="20%">{_lang_Clan}</th>
    		<th align="center" width="20%">{_lang_group}</th>
    		<th align="center" width="5%">{_lang_Contact}</th>
    		<th align="center" width="30%">{_lang_lasttimeonline}</th>
    		<th align="center" width="15%">{_lang_regtime}</th>
    		<th align="center" width="15%">{_lang_posts}</th>
    		<th align="center" width="5%">{_lang_Land}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS3}">
    	 <td><a href="index.php?user-details-{UID3}">{AVATAR3}</a></td> 
    	 <td><a href="index.php?user-details-{UID3}">{NAME3}</a>&nbsp;{GA3}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG3}</font></td>
    	 <td align="center">{GRUPE3}</td>
    	 <td align="center" width="20%"><a href="index.php?forum-privmsg-new=0&empfid={UID3}"><img src="include/images/icons/email_small.png" border="0"></a></td>
    	 <td align="center">{LLOGIN3}</td>
    	 <td align="center">{DATE3}</td>
    	 <td align="center">{POSTS3}</td>
    	 <th align="center"><img src="include/images/flags/{STAAT3}" alt="" border="0"></th>
    	</tr>{EXPLODE}
    	
    </table></td></tr>
    
    <tr><td><table width="99%" border="0" cellpadding="0" cellspacing="0">
    	 <tr>
    	 <td class="Cmember">{GRUPP2}</td>
    	</tr>
    </table></td></tr>
    
    <tr><td><table width="98%" border="0" cellpadding="3" cellspacing="1" class="border">
    	<tr class="Chead" >
    	 <th height="100" width="80px">{_lang_avatar}</th>	
    		<th align="center" height="30" width="30%">{_lang_name}</th>
    		<th align="center" width="20%">{_lang_Clan}</th>
    		<th align="center" width="20%">{_lang_group}</th>
    		<th align="center" width="5%">{_lang_Contact}</th>
    		<th align="center" width="30%">{_lang_lasttimeonline}</th>
    		<th align="center" width="15%">{_lang_regtime}</th>
    		<th align="center" width="15%">{_lang_posts}</th>
    		<th align="center" width="5%">{_lang_Land}</th>
    	</tr>
    	{EXPLODE}
    	<tr class="{CLASS2}">
    	 <td><a href="index.php?user-details-{UID2}">{AVATAR2}</a></td> 
    	 <td><a href="index.php?user-details-{UID2}">{NAME2}</a>&nbsp;{GA2}</td>
    	 <td align="center"><font style="font-size: 10px">{RANG2}</font></td>
    	 <td align="center">{GRUPE2}</td>
    	 <td align="center" width="20%"><a href="index.php?forum-privmsg-new=0&empfid={UID2}"><img src="include/images/icons/email_small.png" border="0"></a></td>
    	 <td align="center">{LLOGIN2}</td>
    	 <td align="center">{DATE2}</td>
    	 <td align="center">{POSTS2}</td>
    	 <th align="center"><img src="include/images/flags/{STAAT2}" alt="" border="0"></th>
    	</tr>
    	{EXPLODE}
    </table></td></tr>
    
    </table>
    
    
    <br />
    <div align="center">{SITELINK}</div>
    <form method="GET" action="index.php"><input type="hidden" name="user" value="" /><input type="text" name="filtername" size="15" value="{filtername}" /> <input type="submit" value="{_lang_filter}" /></form>
    </div>


    Danke schonmal im vorraus.


    Zuletzt modifiziert von BL4CKB0RNE am 02.02.2014 - 21:58:32
    0 Mitglieder finden den Beitrag gut.
  7. #7
    User Pic
    BL4CKB0RNE Mitglied
    Registriert seit
    05.01.2014
    Beiträge
    126
    Beitragswertungen
    0 Beitragspunkte
    Hey Leute,

    habs fast geschafft brauch nur noch ne kleine Hilfe.

    Wie baue ich diese Zeilen:
    prefix_grundrechte.name as recht_name,
    LEFT JOIN prefix_grundrechte ON prefix_user.recht = prefix_grundrechte.id
     $sql_search
    ORDER by recht,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);



    In den teil des Scripts ein ???
    $erg2 = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar,
      prefix_user.gebdatum
    FROM prefix_user
    WHERE prefix_user.recht = -2
    ORDER by regist,prefix_user.posts DESC LIMIT.$anfang.",".$limit);


    Wäre über eine schnelle Hilfe sehr Dankbar.
    0 Mitglieder finden den Beitrag gut.
  8. #8
    User Pic
    Siggi Hall Of Fame
    Registriert seit
    08.02.2007
    Beiträge
    6.558
    Beitragswertungen
    327 Beitragspunkte
    $erg2 = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar,
      prefix_user.gebdatum,
      prefix_grundrechte.name as recht_name
    FROM prefix_user
    LEFT JOIN prefix_grundrechte ON prefix_user.recht = prefix_grundrechte.id
     $sql_search
    WHERE prefix_user.recht = -2
    ORDER by recht,regist,prefix_user.posts DESC LIMIT.$anfang.",".$limit);
    0 Mitglieder finden den Beitrag gut.
  9. #9
    User Pic
    BL4CKB0RNE Mitglied
    Registriert seit
    05.01.2014
    Beiträge
    126
    Beitragswertungen
    0 Beitragspunkte
    Mir wird der Fehlercode dann gezeigt:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /webs/4/1/13/10/13114/web1/main/include/contents/user/memb_list.php on line 59


    P.S.: Ich benutze notepad++ und als ich deine änderung reingenommen habe wurde die schrift komplett grau

    gesperrtes Bild


    Zuletzt modifiziert von BL4CKB0RNE am 04.02.2014 - 00:10:35
    0 Mitglieder finden den Beitrag gut.
  10. #10
    User Pic
    Outi77 Mitglied
    Registriert seit
    31.03.2013
    Beiträge
    1.337
    Beitragswertungen
    143 Beitragspunkte
    Auf dem Bild rechts fehlen in Zeile 47 nach LIMIT ein Leerzeichen und ein ".
    $erg2 = db_query("SELECT
      posts,
      staat,
      email,
      llogin,
      prefix_user.id,
      regist,
      prefix_user.name,
      prefix_user.geschlecht,
      prefix_user.avatar,
      prefix_user.gebdatum,
      prefix_grundrechte.name as recht_name
    FROM prefix_user
    LEFT JOIN prefix_grundrechte ON prefix_user.recht = prefix_grundrechte.id
     $sql_search
    WHERE prefix_user.recht = -2
    ORDER by recht,regist,prefix_user.posts DESC LIMIT ".$anfang.",".$limit);



    Zuletzt modifiziert von Outi77 am 04.02.2014 - 04:15:39
    Die richtige Formulierung eines Problems ist nicht selten bereits die halbe Lösung.
    »Albert Einstein«
    0 Mitglieder finden den Beitrag gut.
  11. #11
    User Pic
    BL4CKB0RNE Mitglied
    Registriert seit
    05.01.2014
    Beiträge
    126
    Beitragswertungen
    0 Beitragspunkte
    Okii, Danke.

    Hab alles geändert und das Script vollständig angepasst. Es funktioniert jzt vollständig.

    Wer es haben möchte kann sich bei mir melden.


    Thread kann geschlossen werden.


    Danke für eure Hilfe
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Design und Templates

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten