ilch Forum » Ilch Clan 1.1 » Module und Modifikationen » Modulrechte nicht speicherbar

Geschlossen
  1. #1
    User Pic
    Rammelbude Mitglied
    Registriert seit
    19.09.2016
    Beiträge
    7
    Beitragswertungen
    0 Beitragspunkte
    Hallo zusammen

    Vorab möchte ich mich entschuldigen,ich habe die Foren rauf und runter gescheut vieles getestet, aber leider bleibt das Problem.

    Nun habe ich nun mehr als 4 HP zusammengebaut ohne Probleme, nun habe ich eines und wende mich vertrauensvoll an dich.


    Vorab, ich habe BlockApblocher deaktiviert und ansonsten auch kein Java noscript oder so was drauf.

    Kurzum ich kann im Admin Menü "Verwalten" modulrechte nicht vergeben, das popup üffnet sich wie gehabt, aber das modulrecht ist wieder raus
    so bald ich die Seite Aktualisiere.

    Selbst bekomme ich noch einen Fehler Warning: Invalid argument supplied for foreach() in /mnt/webr/d2/34/52636334/htdocs/rammelbude/
    include/admin/user.php on line 478.


    Hier ser Seitenquellcode:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>AdminMenu</title>
        <link rel="stylesheet" type="text/css" href="include/admin/templates/adminstyle.css" />
        <script type="text/javascript" src="include/includes/js/JSCookMenu.js"></script>
        <link rel="stylesheet" href="include/admin/templates/JSCookMenu/theme.css" type="text/css" />
        <script type="text/javascript" src="include/admin/templates/JSCookMenu/theme.js"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
      
      function createNewUser() {
        var Fenster = window.open ('admin.php?user-createNewUser', 'createNewUser', 'status=yes,scrollbars=yes,height=300,width=400,left=200,top=50');
        Fenster.focus();
      }
    //-->
    </script><script type="text/javascript" src="include/includes/js/BBCodeGlobal.js"></script>
    <script type="text/javascript">
    var bbcodemaximagewidth = 500;
    var bbcodemaximageheight = 500;
    </script>
    </head>
    <center>
    <body>
        <script language="JavaScript" type="text/javascript">
    <!--
    
      function createNewUser() {
        var Fenster = window.open ('admin.php?user-createNewUser', 'createNewUser', 'status=yes,scrollbars=yes,height=200,width=350,left=300,top=50');
        Fenster.focus();
      }
    //-->
    </script><SCRIPT LANGUAGE="JavaScript"><!--
    var myMenu =
    [
        [null, '<font style="color:#8A4B08;font-size:18px; font-family:BankGothic Md BT; padding:30px;" >Seite</font>', './', null, null],
    
        [null, '<font style="color:#8A4B08;font-size:18px; font-family:BankGothic Md BT; padding:30px;" >Admin</font>', 'admin.php?admin', null, null,
                ['<img src="include/images/icons/admin/konfiguration.png" width="16" height="16">', 'Konfiguration', 'admin.php?allg', null, null],
                ['<img src="include/images/icons/admin/navigation.png" width="16" height="16">', 'Navigation', 'admin.php?menu', null, null],
                ['<img src="include/images/icons/admin/backup.png" width="16" height="16">', 'Backup', 'admin.php?backup', null, null],
                ['<img src="include/images/icons/admin/ranks.png" width="16" height="16">', 'Ranks', 'admin.php?range', null, null],
          ['<img src="include/images/icons/admin/smilies.png" width="16" height="16">', 'Smilies', 'admin.php?smilies', null, null],
          ['<img src="include/images/icons/admin/newsletter.png" width="16" height="16">', 'Newsletter', 'admin.php?newsletter', null, null],
          ['<img src="include/images/icons/admin/version_check.png" width="16" height="16">', 'Versions Kontrolle', 'admin.php?admin-versionsKontrolle', null, null],
          ['<img src="include/images/icons/admin/version_check.png" width="16" height="16">', 'Server Konfiguration', 'admin.php?checkconf', null, null],
          ['<img src="include/images/icons/admin/stats_site.png" width="16" height="16">', 'Statistik', null, null, null,
            ['<img src="include/images/icons/admin/stats_visitor.png" width="16" height="16">', 'Besucher', 'admin.php?admin-besucherStatistik', null, null],
            ['<img src="include/images/icons/admin/stats_site.png" width="16" height="16">', 'Seite', 'admin.php?admin-siteStatistik', null, null],
            ['<img src="include/images/icons/admin/stats_online.png" width="16" height="16">', 'Online', 'admin.php?admin-userOnline', null, null],
          ],
        ],
    
        [null, '<font style="color:#8A4B08;font-size:18px; font-family:BankGothic Md BT; padding:30px;" >User</font>', 'admin.php?user', null, null,
          ['<img src="include/images/icons/admin/user.png" width="16" height="16">', 'Verwalten', 'admin.php?user', nu</imgull],
                ['<img src="include/images/icons/admin/user_rights.png" width="16" height="16">', 'Grundrechte', 'admin.php?grundrechte', null, null],
                ['<img src="include/images/icons/admin/user_profile_fields.png" width="16" height="16">', 'Profilefelder', 'admin.php?profilefields', null, null],
          ['<img src="include/images/icons/admin/user_add.png" width="16" height="16">', 'neuen User', 'javascript: createNewUser();',null ,null],
        ],
    
        [null, '<font style="color:#8A4B08;font-size:18px; font-family:BankGothic Md BT; padding:30px;" >Eigene Box/Page</font>', 'admin.php?selfbp', null, null],
    
        [null, '<font style="color:#8A4B08;font-size:18px; font-family:BankGothic Md BT; padding:30px;" >Clanbox</font>', null, null, null,
          ['<img src="include/images/icons/admin/wars_next.png" width="16" height="16">', 'Nextwars', 'admin.php?wars-next', null, null],
          ['<img src="include/images/icons/admin/wars_last.png" width="16" height="16">', 'Lastwars', 'admin.php?wars-last', null, null],
          ['<img src="include/images/icons/admin/teams.png" width="16" height="16">', 'Teams', 'admin.php?groups', null, null],
          ['<img src="include/images/icons/admin/awards.png" width="16" height="16">', 'Awards', 'admin.php?awards', null, null],
          ['<img src="include/images/icons/admin/kasse.png" width="16" height="16">', 'Kasse', 'admin.php?kasse', null, null],
          ['<img src="include/images/icons/admin/rules.png" width="16" height="16">', 'Rules', 'admin.php?rules', null, null],
          ['<img src="include/images/icons/admin/history.png" width="16" height="16">', 'History', 'admin.php?history', null, null],
          ['<img src="include/images/icons/admin/training_times.png" width="16" height="16">', 'Trainzeiten', 'admin.php?trains', null, null],
        ],
    
        [null, '<font style="color:#8A4B08;font-size:18px; font-family:BankGothic Md BT; padding:30px;" >Content</font>', null, null, null,
          ['<img src="include/images/icons/admin/news.png" width="16" height="16">', 'News', 'admin.php?news', null, null],
          ['<img src="include/images/icons/admin/forum.png" width="16" height="16">', 'Forum', 'admin.php?forum', null, null],
          ['<img src="include/images/icons/admin/downloads.png" width="16" height="16">', 'Downloads', 'admin.php?archiv-downloads', null, null],
          ['<img src="include/images/icons/admin/links.png" width="16" height="16">', 'Links', 'admin.php?archiv-links', null, null],
          ['<img src="include/images/icons/admin/linkus.png" width="16" height="16">', 'LinkUs', 'admin.php?linkus', null, null],
          ['<img src="include/images/icons/admin/gallery.png" width="16" height="16">', 'Gallery', 'admin.php?gallery', null, null],
          ['<img src="include/images/icons/admin/guestbook.png" width="16" height="16">', 'Gbook', 'admin.php?gbook', null, null],
          ['<img src="include/images/icons/admin/vote.png" width="16" height="16">', 'Umfrage', 'admin.php?vote', null, null],
          ['<img src="include/images/icons/admin/calendar.png" width="16" height="16">', 'Kalender', 'admin.php?kalender', null, null],
          ['<img src="include/images/icons/admin/contact.png" width="16" height="16">', 'Kontakt', 'admin.php?contact', null, null],
          ['<img src="include/images/icons/admin/imprint.png" width="16" height="16">', 'Impressum', 'admin.php?impressum', null, null],
          [null, 'Boxen', null, null, null,
            ['<img src="include/images/icons/admin/partners.png" width="16" height="16">', 'Partner', 'admin.php?archiv-partners', null, null],
            ['<img src="include/images/icons/admin/picofx.png" width="16" height="16">', 'Pic of X', 'admin.php?picofx', null, null],
          ],
        ],
    
        [null, '<font style="color:#8A4B08;font-size:18px; font-family:BankGothic Md BT; padding:30px;" >Module</font>', null, null, null,
    		[null, 'WebSpaceBackup', 'admin.php?filedumper', null, null],
    [null, 'GoogleMaps', 'admin.php?googlemap', null, null],
    [null, 'Social Panel', 'admin.php?ilchsocialpanel', null, null],
    [null, 'Datenschutzerklärung', 'admin.php?datenschutz', null, null],
    [null, 'FTP Interface', 'admin.php?ftp_interface', null, null],
    [null, 'Skills im Profil', 'admin.php?skills', null, null],
    [null, 'Trialvotes', 'admin.php?trialvotes', null, null],
    [null, 'Skills im Profil', 'admin.php?skills', null, null],
    [null, 'Trialvotes', 'admin.php?trialvotes', null, null],
    [null, 'BBCode 2.0', 'admin.php?bbcode', null, null],
    [null, 'Skills im Profil', 'admin.php?skills', null, null],
    [null, 'Skills im Profil', 'admin.php?skills', null, null],
        ]
    
    	];
    --></SCRIPT>
    	    <div class="Cnorm " ID="myMenuID"></div>
    
    <table width="1150" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="32" height="335">&nbsp;</td>
        <td width="181" height="335" align="left" valign="top" >
        <table width="181" height="335"border="0" cellspacing="0" cellpadding="0" style="padding-top:10px;padding-left:15px;" background="include/admin/templates/adminimages/admin-adminbg.png">
      <tr>
        <td align="left" valign="bottom" width="182"><a class="adminmenu" href="index.php" target="_self"><img src="include/images/icons/admin/home.png" width="24" height="24" align="absmiddle" /> Haupt-Seite</a></td>
      </tr>
        <tr>
        <td align="left" valign="top" width="182"><a class="adminmenu" href="admin.php" target="_self"><img src="include/images/icons/admin/admin.png" width="24" height="24" align="absmiddle" /> Admin-Seite</a></td>
      </tr>
    </table>
    </td>
        <td width="181" height="335" align="left" valign="top" ><table width="100%" height="335" border="0" cellspacing="0" cellpadding="0" style="padding-top:10px;padding-left:15px;" background="include/admin/templates/adminimages/admin-adminbg.png">
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?allg" target="_self"><img src="include/images/icons/admin/konfiguration.png" width="24" height="24" align="absmiddle" /> Konfiguration</a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?menu" target="_self"><img src="include/images/icons/admin/navigation.png" width="24" height="24" align="absmiddle" /> Navigation</a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?backup" target="_self"><img src="include/images/icons/admin/backup.png" width="24" height="24" align="absmiddle" /> Backup</a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?range" target="_self"><img src="include/images/icons/admin/ranks.png" width="24" height="24" align="absmiddle" /> Ranks </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?smilies" target="_self"><img src="include/images/icons/admin/smilies.png" width="24" height="24" align="absmiddle" /> Smilies </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?newsletter" target="_self"><img src="include/images/icons/admin/newsletter.png" width="24" height="24" align="absmiddle" /> Newsletter </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?admin-versionsKontrolle" target="_self"><img src="include/images/icons/admin/version_check.png" width="24" height="24" align="absmiddle"/> Versionskontr. </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?checkconf" target="_self"><img src="include/images/icons/admin/server-konfig.png" width="24" height="24" align="absmiddle" /> Serverkonfig</a></td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="24">&nbsp;</td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="24"><hr width="80%" align="center" style="height: 0px; border: dotted 0px; border-top-width: 1px; " /></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?admin-besucherStatistik" target="_self"><img src="include/images/icons/admin/stats_visitor.png" width="24" height="24" align="absmiddle" /> Besucher</a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?admin-siteStatistik" target="_self"><img src="include/images/icons/admin/stats_site.png" width="24" height="24" align="absmiddle" /> Seiten Statistik</a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183" height="10">&nbsp;</td>
      </tr>
    
    </table>
    </td>
        <td width="181" height="335" align="left" valign="top" ><table width="100%" height="335" border="0" cellspacing="0" cellpadding="0" style="padding-top:10px;padding-left:15px;" background="include/admin/templates/adminimages/admin-userbg.png">
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?user" target="_self"><img src="include/images/icons/admin/user.png" width="24" height="24" align="absmiddle" /> Verwalten </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?grundrechte" target="_self"><img src="include/images/icons/admin/user_rights.png" width="24" height="24" align="absmiddle" /> Grundrechte </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="admin.php?profilefields" target="_self"><img src="include/images/icons/admin/user_profile_fields.png" width="24" height="24" align="absmiddle" /> Profilfelder </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="181"><a class="adminmenu" href="javascript: createNewUser();" target="_self"><img src="include/images/icons/admin/user_add.png" width="24" height="24" align="absmiddle" /> Neuen User </a></td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="24">&nbsp;</td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="24">&nbsp;</td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="24">&nbsp;</td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="24">&nbsp;</td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="24">&nbsp;</td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="24"><hr width="80%" align="center" style="height: 0px; border: dotted 0px; border-top-width: 1px; " /></td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="24">&nbsp;</td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="24"><a class="adminmenu" href="admin.php?selfbp" target="_self"><img src="include/images/icons/admin/selfpagebox.png" width="24" height="24" align="absmiddle" /> Eigene Box/Page</a></td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="10">&nbsp;</td>
      </tr>
    
    </table>
    </td>    
        <td width="180" height="335" align="left" valign="top" ><table width="100%" height="335" border="0" cellspacing="0" cellpadding="0"  style="padding-top:10px;padding-left:15px;" background="include/admin/templates/adminimages/admin-clanboxbg.png">
      <tr>
        <td align="left" valign="middle" width="180"><a class="adminmenu" href="admin.php?wars-next" target="_self"><img src="include/images/icons/admin/wars_next.png" width="24" height="24" align="absmiddle" /> Next Wars </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="180"><a class="adminmenu" href="admin.php?wars-last" target="_self"><img src="include/images/icons/admin/wars_last.png" width="24" height="24" align="absmiddle" /> Last Wars </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="180"><a class="adminmenu" href="admin.php?groups" target="_self"><img src="include/images/icons/admin/teams.png" width="24" height="24" align="absmiddle" /> Teams </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="180"><a class="adminmenu" href="admin.php?awards" target="_self"><img src="include/images/icons/admin/awards.png" width="24" height="24" align="absmiddle" /> Awards </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="180"><a class="adminmenu" href="admin.php?kasse" target="_self"><img src="include/images/icons/admin/kasse.png" width="24" height="24" align="absmiddle" /> Kasse </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="180"><a class="adminmenu" href="admin.php?rules" target="_self"><img src="include/images/icons/admin/rules.png" width="24" height="24" align="absmiddle" /> Regeln </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="180"><a class="adminmenu" href="admin.php?history" target="_self"><img src="include/images/icons/admin/history.png" width="24" height="24" align="absmiddle" /> History </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="180"><a class="adminmenu" href="admin.php?trains" target="_self"><img src="include/images/icons/admin/training_times.png" width="24" height="24" align="absmiddle" /> Trainzeiten </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183" height="24">&nbsp;</td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183" height="24"><hr width="80%" align="center" style="height: 0px; border: dotted 0px; border-top-width: 1px; " /></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="180"><a class="adminmenu" href="admin.php?archiv-partners" target="_self"><img src="include/images/icons/admin/partners.png" width="24" height="24" align="absmiddle" /> Partner</a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="180"><a class="adminmenu" href="admin.php?picofx" target="_self"><img src="include/images/icons/admin/picofx.png" width="24" height="24" align="absmiddle" /> Pics of X</a></td>
      </tr>
        <tr>
        <td align="left" valign="middle" width="183" height="10">&nbsp;</td>
      </tr>
    
    </table>
    </td>
        <td width="183" height="335" align="left" valign="top" ><table width="100%" height="335" border="0" cellspacing="0" cellpadding="0" style="padding-top:10px;padding-left:15px;" background="include/admin/templates/adminimages/admin-contentbg.png">
      <tr>
        <td align="left" valign="middle" width="183"><a class="adminmenu" href="admin.php?news" target="_self"><img src="include/images/icons/admin/news.png" width="24" height="24" align="absmiddle" /> News </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183"><a class="adminmenu" href="admin.php?forum" target="_self"><img src="include/images/icons/admin/forum.png" width="24" height="24" align="absmiddle" /> Forum </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183"><a class="adminmenu" href="admin.php?archiv-downloads" target="_self"><img src="include/images/icons/admin/downloads.png" width="24" height="24" align="absmiddle" /> Downloads </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183"><a class="adminmenu" href="admin.php?archiv-links" target="_self"><img src="include/images/icons/admin/links.png" width="24" height="24" align="absmiddle" /> Links </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183"><a class="adminmenu" href="admin.php?linkus" target="_self"><img src="include/images/icons/admin/linkus.png" width="24" height="24" align="absmiddle" /> LinkUs </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183"><a class="adminmenu" href="admin.php?gallery" target="_self"><img src="include/images/icons/admin/gallery.png" width="24" height="24" align="absmiddle" /> Gallery </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183"><a class="adminmenu" href="admin.php?gbook" target="_self"><img src="include/images/icons/admin/guestbook.png" width="24" height="24" align="absmiddle" /> Gbook </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183"><a class="adminmenu" href="admin.php?vote" target="_self"><img src="include/images/icons/admin/vote.png" width="24" height="24" align="absmiddle" /> Umfrage </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183"><a class="adminmenu" href="admin.php?kalender" target="_self"><img src="include/images/icons/admin/calendar.png" width="24" height="24" align="absmiddle" /> Kalender </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183" height="24"><hr width="80%" align="center" style="height: 0px; border: dotted 0px; border-top-width: 1px; " /></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183"><a class="adminmenu" href="admin.php?contact" target="_self"><img src="include/images/icons/admin/contact.png" width="24" height="24" align="absmiddle" /> Kontakt </a></td>
      </tr>
      <tr>
        <td align="left" valign="middle" width="183"><a class="adminmenu" href="admin.php?impressum" target="_self"><img src="include/images/icons/admin/imprint.png" width="24" height="24" align="absmiddle" /> Impressum </a></td>
      </tr>  
      <tr>
        <td align="left" valign="middle" width="183" height="10">&nbsp;</td>
      </tr>
    </table>
    </td>
        <td width="183" height="335" align="left" valign="top" ><table width="100%" height="335" border="0" cellspacing="0" cellpadding="0" background="include/admin/templates/adminimages/admin-contentbg.png">
      <tr>
        <td align="center" valign="middle" width="183" height="335" ><div style="text-align:center;background-color:transparent;"><a style="text-decoration:none;border-style:none;color:#cccccc;font-family:Verdana, sans-serif;font-weight:bold;" target="_blank" href="http://www.schnelle-online.info/Atomuhr-Uhrzeit.html" id="soitime62633620264" title="Online Atomuhr für Deutschland">Online Atomuhr</a><br/><a style="text-decoration:none;border-style:none;color:#cccccc;font-family:Verdana, sans-serif;font-weight:bold;" target="_blank" href="http://www.schnelle-online.info/Kalender.html" id="soidate62633620264">Aktueller Kalender</a></div>
    <script type="text/javascript">
    SOI = (typeof(SOI) != 'undefined') ? SOI : {};(SOI.ac21fs = SOI.ac21fs || []).push(function() {
    (new SOI.DateTimeService("62633620264", "DE")).setWeekdayMode(1).setDay2digits(true).setMonthMode(1).start();});
    (function() {if (typeof(SOI.scrAc21) == "undefined") { SOI.scrAc21=document.createElement('script');SOI.scrAc21.type='text/javascript'; SOI.scrAc21.async=true;SOI.scrAc21.src=((document.location.protocol == 'https:') ? 'https://' : 'http://') + 'homepage-tools.schnelle-online.info/Homepage/atomicclock2_1.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(SOI.scrAc21, s);}})();
    </script><br /><table class="border" cellpadding="1" cellspacing="1" border="0"><tr class="Chead"><th><a href="?kalender-v0-m8-y2016"><b>&lt;</b></a></th><th colspan="5" align="center">9. 2016</th><th><a href="?kalender-v0-m10-y2016"><b>&gt;</b></a></th></tr><tr class="Cdark"><td>Mo</td><td>Di</td><td>Mi</td><td>Do</td><td>Fr</td><td>Sa</td><td>So</td></tr><tr class="Cnorm"><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d1">1</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d2">2</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d3">3</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d4">4</a></td></tr><tr><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d5">5</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d6">6</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d7">7</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d8">8</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d9">9</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d10">10</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d11">11</a></td></tr><tr><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d12">12</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d13">13</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d14">14</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d15">15</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d16">16</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d17">17</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d18">18</a></td></tr><tr><td class="Cmite" align="center"><a href="?kalender-v1-m9-y2016-d19">19</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d20">20</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d21">21</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d22">22</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d23">23</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d24">24</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d25">25</a></td></tr><tr><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d26">26</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d27">27</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d28">28</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d29">29</a></td><td class="Cnorm" align="center"><a href="?kalender-v1-m9-y2016-d30">30</a></td><td class="Cnorm">&nbsp;</td><td class="Cnorm">&nbsp;</td></tr></table>
    	
    	</td>
      </tr>
    </table></td>
        <td width="29">&nbsp;</td>
      </tr>
    </table>
    <br />
    <table width="1150" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center" valign="middle"><table width="1150" border="0" cellspacing="0" cellpadding="0" background="include/admin/templates/adminimages/admin-copybg.png" height="45">
      <tr>
        <td width="33%" align="center" valign="middle">Bereitgestellt von <a class="adminmenu" href="http://www.ilch.de" target="_blank">ilch.de</a></td>
        <td width="34%" align="center" valign="middle">Code Anpassung von <a class="adminmenu" href="http://www.irvd-website.de" target="_blank">IRvD!</a></td>
        <td width="33%" align="center" valign="middle">Grafische Anpassung von <a class="adminmenu" href="http://www.brainless-demolition-group.de/" target="_blank">Brainwash</a></td>
      </tr>
    </table>
    </td>
      </tr>
    </table>
    
    <br />
    <table width="1150" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table width="1150" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="50">&nbsp;</td>
        <td align="left" valign="top"><script language="JavaScript" type="text/javascript">
    <!--
      function setufocus() {
        document.f.q.focus();
      }
      // manage div ...
      document.onmousemove = checkPosition;
      function checkPosition(e) {
        if(document.all) {
          mausX = event.clientX + document.body.scrollLeft;
          mausY = event.clientY + document.body.scrollTop;
        } else {
          mausX = e.pageX;
          mausY = e.pageY;
        }
        
      }
      function alertpos(dname) {
      if (document.layers) {
        document.layers[0].left = mausX;
        document.layers[0].top = mausY;
      } else if (document.getElementById) {
        document.getElementById(dname).style.left = (mausX + 10) + "px";
        document.getElementById(dname).style.top = (mausY + 50 ) + "px";
      }
      document.getElementById(dname).style.display = "inline";
      }
      function hiddpos(dname) {
        document.getElementById(dname).style.display = "none";
      }
      function changeUserRight (id1) {
        var x = confirm ( 'Das Recht dieses Users wirklich aendern?' );
        if (x) {
          var newr = document.getElementById('recht'+id1).value;
          var Fenster = window.open ('admin.php?user-changeRecht-' + id1 + '=0&newr='+ newr, 'changeRecht', 'status=no,scrollbars=no,height=10,width=10');
          Fenster.focus();
        }
      }
      function changeGruppen (id1) {
        var Fenster = window.open ('admin.php?user-gruppen-' + id1, 'changeGruppen', 'status=yes,scrollbars=yes,height=500,width=250,left=300,top=50');
        Fenster.focus();
      }
      function changeModulrecht (id1) {
        var Fenster = window.open ('admin.php?user-modulrecht-' + id1, 'changeModulrecht', 'status=yes,scrollbars=yes,height=500,width=250,left=300,top=50');
        Fenster.focus();
      }
      function deleteUser (id1) {
        var x = confirm ( 'Diesen User wirklich komplett entfernen?' );
        if (x) {
          var Fenster = window.open ('admin.php?user-deleteUser-' + id1, 'deleteUser', 'status=no,scrollbars=no,height=10,width=10');
          Fenster.focus();
        }
      }
      function changeModulRecht ( modul, uid ) {
        var aktion = 'loeschen';
        if ( document.getElementById("MN" + modul + "-" + uid).checked == true ) {
          aktion = 'eintragen';
        }
        var Fenster = window.open ('admin.php?user-modulrecht-' +uid+ '=0&modul=' + modul + '&aktion=' + aktion, 'changeModulRecht', 'status=no,scrollbars=no,height=10,width=10');
      }
    //-->
    </script>
    <div style="float:right"><a href="admin.php?puser">Noch nicht best&auml;tigte Registrierungen verwalten</a></div>
    
    <body onload="setufocus()">
    <form action="admin.php" name="f" method="GET" style="padding: 0px; margin:0px 0px 0px 0px;" >
      <input type="hidden" name="user" value="" />
    <table cellpadding="3" cellspacing="1" border="0" class="border" style="float:left">
      <tr>
        <td class="Cmite"><input name="q" value="" /></td>
        <td class="Cdark"><input type="submit" value="Suchen" /></td>
      </tr>
    </table>
    </form>
    <br />
    <br />
    <br />
    <table cellpadding="3" cellspacing="1" border="0" class="border">
      <tr>
        <td colspan="6"></td>
        <th></th><td class="Cmite" colspan="18"><b>Modulrechte:</b></td>
      </tr>
      <tr class="Chead">
        <th>Name</th>
        <th>Recht</th>
        <th>Gruppe</th>
        <th></th>
        <th></th>
        <th></th>
        <th class="border">&nbsp;&nbsp;</th>
        <th style="font-size: 9px; font-weight: normal;" title="Awards" valign="bottom">Awards</th><th style="font-size: 9px; font-weight: normal;" title="Awaycal" valign="bottom">Awaycal</th><th style="font-size: 9px; font-weight: normal;" title="Downloads" valign="bottom">Downloads</th><th style="font-size: 9px; font-weight: normal;" title="Forum" valign="bottom">Forum</th><th style="font-size: 9px; font-weight: normal;" title="Gallery" valign="bottom">Gallery</th><th style="font-size: 9px; font-weight: normal;" title="Gbook" valign="bottom">Gbook</th><th style="font-size: 9px; font-weight: normal;" title="Gruppen" valign="bottom">Gruppen</th><th style="font-size: 9px; font-weight: normal;" title="Kalender" valign="bottom">Kalender</th><th style="font-size: 9px; font-weight: normal;" title="Kasse" valign="bottom">Kasse</th><th style="font-size: 9px; font-weight: normal;" title="News" valign="bottom">News</th><th style="font-size: 9px; font-weight: normal;" title="Regeln" valign="bottom">Regeln</th><th style="font-size: 9px; font-weight: normal;" title="Skills im Profil" valign="bottom">Skills im Profil</th><th style="font-size: 9px; font-weight: normal;" title="Trialvotes" valign="bottom">Trialvotes</th><th style="font-size: 9px; font-weight: normal;" title="Wars" valign="bottom">Wars</th>
      </tr>
     
      
    
      
      <tr class="Cmite">
        <td><div onmouseover="hiddpos('groupdiv1')" id="groupdiv1" style="position:absolute; top:50px; left:50px; display:none; width:200px;">
    <table width="100%" class="border" border="0" cellspacing="1" cellpadding="4">
      <tr>
        <td class="Cmite" align="left">Mitglied in Gruppen:<br />- 7 Days <br />- Battlefield<br />- DayZ SA<br />- Planetside 2<br />- Engineers<br /></td>
      </tr>
    </table>
    </div><strong>TheTargetObject</strong></td>
        <td><select id="recht1" onChange="changeUserRight(1)"><option value="-9" selected>Admin</option><option value="-8">CoAdmin</option><option value="-7">SiteAdmin</option><option value="-6">Leader</option><option value="-5">CoLeader</option><option value="-4">Member</option><option value="-3">Trialmember</option><option value="-2">Superuser</option><option value="-1">User</option><option value="0">Gast</option></select></td>
        <td style="text-align: center;"><a onmouseout="hiddpos('groupdiv1')" onmouseover="alertpos('groupdiv1')" href="javascript:changeGruppen(1)" title="hier die Gruppenzugeh&ouml;rigkeit &auml;ndern">Gruppen</a></td> 
        <td>&nbsp;<a href="admin.php?user-1-1"><img src="include/images/icons/edit.gif" border="0" title="&auml;ndern" alt="&auml;ndern" /></a>&nbsp;</td>
        <td>&nbsp;<a href="admin.php?user-ctrl_user-1"><img src="include/images/icons/ctrl.jpg" border="0" title="&Uuml;bernehmen" alt="&Uuml;bernehmen" /></a>&nbsp;</td>
        <td>&nbsp;<a href="javascript:deleteUser(1)"><img src="include/images/icons/del.gif" border="0" title="l&ouml;schen" alt="l&ouml;schen" /></a>&nbsp;</td>
        <td class="border"></td>
        <td align="center"><input onclick="changeModulRecht(5,1)" type="checkbox" id="MN5-1" name="MN5-1"  checked /></td><td align="center"><input onclick="changeModulRecht(12,1)" type="checkbox" id="MN12-1" name="MN12-1"  checked /></td><td align="center"><input onclick="changeModulRecht(7,1)" type="checkbox" id="MN7-1" name="MN7-1"  /></td><td align="center"><input onclick="changeModulRecht(6,1)" type="checkbox" id="MN6-1" name="MN6-1"  /></td><td align="center"><input onclick="changeModulRecht(1,1)" type="checkbox" id="MN1-1" name="MN1-1"  /></td><td align="center"><input onclick="changeModulRecht(11,1)" type="checkbox" id="MN11-1" name="MN11-1"  /></td><td align="center"><input onclick="changeModulRecht(3,1)" type="checkbox" id="MN3-1" name="MN3-1"  checked /></td><td align="center"><input onclick="changeModulRecht(8,1)" type="checkbox" id="MN8-1" name="MN8-1"  /></td><td align="center"><input onclick="changeModulRecht(10,1)" type="checkbox" id="MN10-1" name="MN10-1"  /></td><td align="center"><input onclick="changeModulRecht(2,1)" type="checkbox" id="MN2-1" name="MN2-1"  /></td><td align="center"><input onclick="changeModulRecht(4,1)" type="checkbox" id="MN4-1" name="MN4-1"  /></td><td align="center"><input onclick="changeModulRecht(18,1)" type="checkbox" id="MN18-1" name="MN18-1"  /></td><td align="center"><input onclick="changeModulRecht(20,1)" type="checkbox" id="MN20-1" name="MN20-1"  /></td><td align="center"><input onclick="changeModulRecht(23,1)" type="checkbox" id="MN23-1" name="MN23-1"  /></td><td align="center"><input onclick="changeModulRecht(24,1)" type="checkbox" id="MN24-1" name="MN24-1"  /></td><td align="center"><input onclick="changeModulRecht(19,1)" type="checkbox" id="MN19-1" name="MN19-1"  checked /></td><td align="center"><input onclick="changeModulRecht(21,1)" type="checkbox" id="MN21-1" name="MN21-1"  /></td><td align="center"><input onclick="changeModulRecht(9,1)" type="checkbox" id="MN9-1" name="MN9-1"  checked /></td>
      </tr>
     
      
    
      
      <tr class="Cnorm">
        <td><div onmouseover="hiddpos('groupdiv2')" id="groupdiv2" style="position:absolute; top:50px; left:50px; display:none; width:200px;">
    <table width="100%" class="border" border="0" cellspacing="1" cellpadding="4">
      <tr>
        <td class="Cnorm" align="left">Mitglied in Gruppen:<br />- 7 Days <br />- Battlefield<br />- CoD<br />- DayZ SA<br />- Farmer<br />- Engineers<br /></td>
      </tr>
    </table>
    </div><strong>Epsylon</strong></td>
        <td><select id="recht2" onChange="changeUserRight(2)"><option value="-9" selected>Admin</option><option value="-8">CoAdmin</option><option value="-7">SiteAdmin</option><option value="-6">Leader</option><option value="-5">CoLeader</option><option value="-4">Member</option><option value="-3">Trialmember</option><option value="-2">Superuser</option><option value="-1">User</option><option value="0">Gast</option></select></td>
        <td style="text-align: center;"><a onmouseout="hiddpos('groupdiv2')" onmouseover="alertpos('groupdiv2')" href="javascript:changeGruppen(2)" title="hier die Gruppenzugeh&ouml;rigkeit &auml;ndern">Gruppen</a></td> 
        <td>&nbsp;<a href="admin.php?user-1-2"><img src="include/images/icons/edit.gif" border="0" title="&auml;ndern" alt="&auml;ndern" /></a>&nbsp;</td>
        <td>&nbsp;<a href="admin.php?user-ctrl_user-2"><img src="include/images/icons/ctrl.jpg" border="0" title="&Uuml;bernehmen" alt="&Uuml;bernehmen" /></a>&nbsp;</td>
        <td>&nbsp;<a href="javascript:deleteUser(2)"><img src="include/images/icons/del.gif" border="0" title="l&ouml;schen" alt="l&ouml;schen" /></a>&nbsp;</td>
        <td class="border"></td>
        <td align="center"><input onclick="changeModulRecht(5,2)" type="checkbox" id="MN5-2" name="MN5-2"  checked /></td><td align="center"><input onclick="changeModulRecht(12,2)" type="checkbox" id="MN12-2" name="MN12-2"  checked /></td><td align="center"><input onclick="changeModulRecht(7,2)" type="checkbox" id="MN7-2" name="MN7-2"  /></td><td align="center"><input onclick="changeModulRecht(6,2)" type="checkbox" id="MN6-2" name="MN6-2"  /></td><td align="center"><input onclick="changeModulRecht(1,2)" type="checkbox" id="MN1-2" name="MN1-2"  /></td><td align="center"><input onclick="changeModulRecht(11,2)" type="checkbox" id="MN11-2" name="MN11-2"  /></td><td align="center"><input onclick="changeModulRecht(3,2)" type="checkbox" id="MN3-2" name="MN3-2"  checked /></td><td align="center"><input onclick="changeModulRecht(8,2)" type="checkbox" id="MN8-2" name="MN8-2"  /></td><td align="center"><input onclick="changeModulRecht(10,2)" type="checkbox" id="MN10-2" name="MN10-2"  /></td><td align="center"><input onclick="changeModulRecht(2,2)" type="checkbox" id="MN2-2" name="MN2-2"  /></td><td align="center"><input onclick="changeModulRecht(4,2)" type="checkbox" id="MN4-2" name="MN4-2"  /></td><td align="center"><input onclick="changeModulRecht(18,2)" type="checkbox" id="MN18-2" name="MN18-2"  /></td><td align="center"><input onclick="changeModulRecht(20,2)" type="checkbox" id="MN20-2" name="MN20-2"  /></td><td align="center"><input onclick="changeModulRecht(23,2)" type="checkbox" id="MN23-2" name="MN23-2"  /></td><td align="center"><input onclick="changeModulRecht(24,2)" type="checkbox" id="MN24-2" name="MN24-2"  /></td><td align="center"><input onclick="changeModulRecht(19,2)" type="checkbox" id="MN19-2" name="MN19-2"  checked /></td><td align="center"><input onclick="changeModulRecht(21,2)" type="checkbox" id="MN21-2" name="MN21-2"  /></td><td align="center"><input onclick="changeModulRecht(9,2)" type="checkbox" id="MN9-2" name="MN9-2"  checked /></td>
      </tr>
     
      
    
      
      <tr class="Cmite">
        <td><div onmouseover="hiddpos('groupdiv4')" id="groupdiv4" style="position:absolute; top:50px; left:50px; display:none; width:200px;">
    <table width="100%" class="border" border="0" cellspacing="1" cellpadding="4">
      <tr>
        <td class="Cmite" align="left">Mitglied in Gruppen:<br />- 7 Days <br />- CoD<br />- CS Go<br />- DayZ SA<br />- Engineers<br /></td>
      </tr>
    </table>
    </div><strong>aazaaa</strong></td>
        <td><select id="recht4" onChange="changeUserRight(4)"><option value="-9">Admin</option><option value="-8">CoAdmin</option><option value="-7">SiteAdmin</option><option value="-6">Leader</option><option value="-5">CoLeader</option><option value="-4" selected>Member</option><option value="-3">Trialmember</option><option value="-2">Superuser</option><option value="-1">User</option><option value="0">Gast</option></select></td>
        <td style="text-align: center;"><a onmouseout="hiddpos('groupdiv4')" onmouseover="alertpos('groupdiv4')" href="javascript:changeGruppen(4)" title="hier die Gruppenzugeh&ouml;rigkeit &auml;ndern">Gruppen</a></td> 
        <td>&nbsp;<a href="admin.php?user-1-4"><img src="include/images/icons/edit.gif" border="0" title="&auml;ndern" alt="&auml;ndern" /></a>&nbsp;</td>
        <td>&nbsp;<a href="admin.php?user-ctrl_user-4"><img src="include/images/icons/ctrl.jpg" border="0" title="&Uuml;bernehmen" alt="&Uuml;bernehmen" /></a>&nbsp;</td>
        <td>&nbsp;<a href="javascript:deleteUser(4)"><img src="include/images/icons/del.gif" border="0" title="l&ouml;schen" alt="l&ouml;schen" /></a>&nbsp;</td>
        <td class="border"></td>
        <td align="center"><input onclick="changeModulRecht(5,4)" type="checkbox" id="MN5-4" name="MN5-4"  /></td><td align="center"><input onclick="changeModulRecht(12,4)" type="checkbox" id="MN12-4" name="MN12-4"  /></td><td align="center"><input onclick="changeModulRecht(7,4)" type="checkbox" id="MN7-4" name="MN7-4"  /></td><td align="center"><input onclick="changeModulRecht(6,4)" type="checkbox" id="MN6-4" name="MN6-4"  /></td><td align="center"><input onclick="changeModulRecht(1,4)" type="checkbox" id="MN1-4" name="MN1-4"  /></td><td align="center"><input onclick="changeModulRecht(11,4)" type="checkbox" id="MN11-4" name="MN11-4"  /></td><td align="center"><input onclick="changeModulRecht(3,4)" type="checkbox" id="MN3-4" name="MN3-4"  /></td><td align="center"><input onclick="changeModulRecht(8,4)" type="checkbox" id="MN8-4" name="MN8-4"  /></td><td align="center"><input onclick="changeModulRecht(10,4)" type="checkbox" id="MN10-4" name="MN10-4"  /></td><td align="center"><input onclick="changeModulRecht(2,4)" type="checkbox" id="MN2-4" name="MN2-4"  /></td><td align="center"><input onclick="changeModulRecht(4,4)" type="checkbox" id="MN4-4" name="MN4-4"  /></td><td align="center"><input onclick="changeModulRecht(18,4)" type="checkbox" id="MN18-4" name="MN18-4"  /></td><td align="center"><input onclick="changeModulRecht(20,4)" type="checkbox" id="MN20-4" name="MN20-4"  /></td><td align="center"><input onclick="changeModulRecht(23,4)" type="checkbox" id="MN23-4" name="MN23-4"  /></td><td align="center"><input onclick="changeModulRecht(24,4)" type="checkbox" id="MN24-4" name="MN24-4"  /></td><td align="center"><input onclick="changeModulRecht(19,4)" type="checkbox" id="MN19-4" name="MN19-4"  /></td><td align="center"><input onclick="changeModulRecht(21,4)" type="checkbox" id="MN21-4" name="MN21-4"  /></td><td align="center"><input onclick="changeModulRecht(9,4)" type="checkbox" id="MN9-4" name="MN9-4"  /></td>
      </tr>
     
      
    
      
      <tr class="Cnorm">
        <td><div onmouseover="hiddpos('groupdiv5')" id="groupdiv5" style="position:absolute; top:50px; left:50px; display:none; width:200px;">
    <table width="100%" class="border" border="0" cellspacing="1" cellpadding="4">
      <tr>
        <td class="Cnorm" align="left">Mitglied in Gruppen:<br />- 7 Days <br />- Engineers<br /></td>
      </tr>
    </table>
    </div><strong>Casual Lamer</strong></td>
        <td><select id="recht5" onChange="changeUserRight(5)"><option value="-9">Admin</option><option value="-8">CoAdmin</option><option value="-7">SiteAdmin</option><option value="-6">Leader</option><option value="-5">CoLeader</option><option value="-4" selected>Member</option><option value="-3">Trialmember</option><option value="-2">Superuser</option><option value="-1">User</option><option value="0">Gast</option></select></td>
        <td style="text-align: center;"><a onmouseout="hiddpos('groupdiv5')" onmouseover="alertpos('groupdiv5')" href="javascript:changeGruppen(5)" title="hier die Gruppenzugeh&ouml;rigkeit &auml;ndern">Gruppen</a></td> 
        <td>&nbsp;<a href="admin.php?user-1-5"><img src="include/images/icons/edit.gif" border="0" title="&auml;ndern" alt="&auml;ndern" /></a>&nbsp;</td>
        <td>&nbsp;<a href="admin.php?user-ctrl_user-5"><img src="include/images/icons/ctrl.jpg" border="0" title="&Uuml;bernehmen" alt="&Uuml;bernehmen" /></a>&nbsp;</td>
        <td>&nbsp;<a href="javascript:deleteUser(5)"><img src="include/images/icons/del.gif" border="0" title="l&ouml;schen" alt="l&ouml;schen" /></a>&nbsp;</td>
        <td class="border"></td>
        <td align="center"><input onclick="changeModulRecht(5,5)" type="checkbox" id="MN5-5" name="MN5-5"  /></td><td align="center"><input onclick="changeModulRecht(12,5)" type="checkbox" id="MN12-5" name="MN12-5"  /></td><td align="center"><input onclick="changeModulRecht(7,5)" type="checkbox" id="MN7-5" name="MN7-5"  /></td><td align="center"><input onclick="changeModulRecht(6,5)" type="checkbox" id="MN6-5" name="MN6-5"  /></td><td align="center"><input onclick="changeModulRecht(1,5)" type="checkbox" id="MN1-5" name="MN1-5"  /></td><td align="center"><input onclick="changeModulRecht(11,5)" type="checkbox" id="MN11-5" name="MN11-5"  /></td><td align="center"><input onclick="changeModulRecht(3,5)" type="checkbox" id="MN3-5" name="MN3-5"  /></td><td align="center"><input onclick="changeModulRecht(8,5)" type="checkbox" id="MN8-5" name="MN8-5"  /></td><td align="center"><input onclick="changeModulRecht(10,5)" type="checkbox" id="MN10-5" name="MN10-5"  /></td><td align="center"><input onclick="changeModulRecht(2,5)" type="checkbox" id="MN2-5" name="MN2-5"  /></td><td align="center"><input onclick="changeModulRecht(4,5)" type="checkbox" id="MN4-5" name="MN4-5"  /></td><td align="center"><input onclick="changeModulRecht(18,5)" type="checkbox" id="MN18-5" name="MN18-5"  /></td><td align="center"><input onclick="changeModulRecht(20,5)" type="checkbox" id="MN20-5" name="MN20-5"  /></td><td align="center"><input onclick="changeModulRecht(23,5)" type="checkbox" id="MN23-5" name="MN23-5"  /></td><td align="center"><input onclick="changeModulRecht(24,5)" type="checkbox" id="MN24-5" name="MN24-5"  /></td><td align="center"><input onclick="changeModulRecht(19,5)" type="checkbox" id="MN19-5" name="MN19-5"  /></td><td align="center"><input onclick="changeModulRecht(21,5)" type="checkbox" id="MN21-5" name="MN21-5"  /></td><td align="center"><input onclick="changeModulRecht(9,5)" type="checkbox" id="MN9-5" name="MN9-5"  /></td>
      </tr>
     
    </table>
    
    </td>
        <td width="50">&nbsp;</td>
      </tr>
    </table>
    </td>
      </tr>
    </table>
    <br /><br />
    
    <script type="text/javascript" src="include/includes/js/captcha.js"></script>
    
    </body>
        <a href="#" name="bot"></a>
        <SCRIPT LANGUAGE="JavaScript"><!--
          cmDraw ('myMenuID', myMenu, 'hbr', cmThemePanel, 'ThemePanel');
        --></SCRIPT>
    
    </center>
    </html>



    Zuletzt modifiziert von Rammelbude am 19.09.2016 - 17:47:40
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    Mairu Coder
    Registriert seit
    16.06.2006
    Beiträge
    15.334
    Beitragswertungen
    386 Beitragspunkte
    Die user.php konnte nicht komplett dargestellt werden, da deine Nachricht insgesamt zu lang ist. Du solltest diese also ggf. nochmal in einem weiteren Beitrag posten (und im ersten Beitrag entfernen).

    Weiter sollten noch Informationen zur verwendeten Ilch Version und verwendeten Modulen nützlich sein, da die originale user.php der letzten Version nur 421 Zeilen hat, kann es sich nicht um diese handeln.
    Und auch immer mal ein Blick auf die FAQ werfen. | Mairus Ilchseite
    1 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    Rammelbude Mitglied
    Registriert seit
    19.09.2016
    Beiträge
    7
    Beitragswertungen
    0 Beitragspunkte
    Danke Manuel, hier noch mal die User.php

    natürlich nutze ich die ilch 1.1 P

    und die Profil_Mod_v2_2

    <?php
    // Copyright by: Manuel
    // Support: www.ilch.de
    defined ('main') or die ('no direct access');
    defined ('admin') or die ('only admin access');
    
    function user_get_group_list ($uid) {
        $l = 'Mitglied in Gruppen:<br />';
        $erg = db_query("SELECT prefix_groups.name FROM prefix_groupusers LEFT JOIN prefix_groups ON prefix_groups.id = prefix_groupusers.gid WHERE prefix_groupusers.uid = " . $uid);
        while ($r = db_fetch_assoc($erg)) {
            $l .= '- ' . $r['name'] . '<br />';
        }
        return ($l);
    }
    
    function user_get_all_mod_list () {
        $l = '';
        $erg = db_query("SELECT DISTINCT name FROM prefix_modules WHERE fright = 1 ORDER BY prefix_modules.name");
        while ($r = db_fetch_assoc($erg)) {
            $x = $r['name'];
            $l .= '<th style="font-size: 9px; font-weight: normal;" title="' . $r['name'] . '" valign="bottom">' . $x . '</th>';
        }
        return ($l);
    }
    
    function user_get_mod_change_list ($uid) {
        $l = '';
        $erg = db_query("SELECT prefix_modules.id, uid FROM prefix_modules LEFT JOIN prefix_modulerights ON prefix_modulerights.mid = prefix_modules.id AND prefix_modulerights.uid = " . $uid . " WHERE fright = 1 ORDER BY prefix_modules.name");
        while ($r = db_fetch_assoc($erg)) {
            if ($r['uid'] == '') {
                $c = '';
            } else {
                $c = ' checked';
            }
            $l .= '<td align="center"><input onclick="changeModulRecht(' . $r['id'] . ',' . $uid . ')" type="checkbox" id="MN' . $r['id'] . '-' . $uid . '" name="MN' . $r['id'] . '-' . $uid . '" ' . $c . ' /></td>';
        }
        return ($l);
    }
    
    function user_get_mod_list ($uid) {
        $l = 'Modulrechte:<br />';
        $erg = db_query("SELECT DISTINCT module FROM prefix_modulerights WHERE uid = " . $uid);
        while ($r = db_fetch_assoc($erg)) {
            $l .= '- ' . $r['module'] . '<br />';
        }
        return ($l);
    }
    
     # Funktion Spiele auslesen
    function get_games_array () {
      $ar = array(); $o = opendir ( 'include/images/wargames' );
      while ( $f = readdir ( $o ) ) { if ( $f != '.' AND $f != '..' ) { $ar[$f] = $f; } }
      asort ( $ar ); return ( $ar ); }
      
     # Funktion Auszeichnung auslesen
    function get_auszeichnung_array () {
      $ar = array(); $o = opendir ( 'include/images/profilmod/auszeichnung' );
      while ( $f = readdir ( $o ) ) { if ( $f != '.' AND $f != '..' ) { $ar[$f] = $f; } }
      asort ( $ar ); return ( $ar ); } 
        
    
    function getfl($gid) {
        $liste = '';
        $erg = db_query("SELECT view,name,reply,start,mods FROM prefix_forums WHERE view = " . $gid . " OR reply = " . $gid . " OR start = " . $gid . " OR mods = " . $gid);
        while ($row = db_fetch_assoc($erg)) {
            $v = ($row['view'] == $gid ? 'sehen/lesen,' : '');
            $r = ($row['reply'] == $gid ? 'antworten,' : '');
            $s = ($row['start'] == $gid ? 'Themen starten,' : '');
            $m = ($row['mods'] == $gid ? 'Moderieren,' : '');
            $liste .= $row['name'] . '<span class="smalfont">(' . $v . $r . $s . $m . ')</span>&nbsp;';
        }
        return($liste);
    }
    
      
    
    
    if (isset($_POST['action'])) {
    	$design = new design ('Admins Area', 'Admins Area', 0);
    	$design->header();
    	$wdtext = 'Es ist ein Fehler aufgetreten.';
    	if (chk_antispam('adminuser_action', true) and isset($_POST['uid'])) {
    		$uid = escape($_POST['uid'], 'integer');
    		switch($_POST['action']){
    			// einen user komplett loeschen
    			case 'deleteUser':
    				$name = get_n($uid);
    				if ($uid != 1 and !empty($name)) {
    					user_remove($uid);
    					$wdtext = 'Der User ' . $name . ' wurde erfolgreich gel&ouml;scht.';
    				}
    				break;
    			// das recht eines users aendern
    			case 'changeRight' :
    				$altes_recht = db_result(db_query("SELECT recht FROM prefix_user WHERE id = " . $uid), 0);
    				$neues_recht = escape($_POST['newright'], 'integer');
    				 if (($neues_recht > $_SESSION['authright'] AND $altes_recht > $_SESSION['authright']) OR ($_SESSION['authid'] == 1 AND $uid <> 1)) {
    
                // Trail-Account Set
                if ($neues_recht == -3 AND $altes_recht == -3) {
                    $q = "UPDATE prefix_user SET recht = ".$neues_recht." WHERE id = ".$uid;
                } else if ($neues_recht == -3) {
                    $q = "UPDATE prefix_user SET recht = ".$neues_recht.", trail_since = ".time()." WHERE id = ".$uid;
                } else {
                    $q = "UPDATE prefix_user SET recht = ".$neues_recht.", trail_since = 0 WHERE id = ".$uid;
                }
    
                db_query($q);
            }
    				$wdtext = false;
    			break;
    			
    			// modulrechte fuer einen user aendern
    			case 'changeModulRight' :
    				$modul = escape($_POST['modul'], 'integer');
    				$aktion = $_POST['giveremove'];
    				if ($aktion == 'give' AND 0 == db_result(db_query("SELECT COUNT(*) FROM prefix_modulerights WHERE mid = '" . $modul . "' AND uid = " . $uid), 0)) {
    					db_query("INSERT INTO prefix_modulerights (mid,uid) VALUES ('" . $modul . "'," . $uid . ")");
    				} elseif ($aktion == 'remove' AND 1 == db_result(db_query("SELECT COUNT(*) FROM prefix_modulerights WHERE mid = '" . $modul . "' AND uid = " . $uid), 0)) {
    					db_query("DELETE FROM prefix_modulerights WHERE mid = '" . $modul . "' AND uid = " . $uid);
    				}
    				$wdtext = false;
    			break;
    		}
    	}
    	if ($wdtext === false) {
    		$antispam = get_antispam('adminuser_action', 0, true);
    		?><script type="text/javascript"><!--
    		    function updateParent() { parent.setNewAntispam(document.getElementById('tmp').childNodes[0]);}
    		    window.onload = function() { updateParent(); };
    		    //--></script>
    		    <div id="tmp"><?php echo $antispam; ?></div>
    		<?php
    		exit;
    	}
    	wd('admin.php?' . $menu->get_complete(), $wdtext, 5);
    	$design->footer(1);
    }
    
    $um = $menu->get(1);
    switch ($um) {
        default :
           $design = new design ('Admins Area', 'Admins Area', 2);
            $design->header();
            $q = '';
            if (isset($_REQUEST['q'])) {
                $q = escape($_REQUEST['q'], 'string');
            }
            $tpl = new tpl ('user/user', 1);
            $tpl->set('modlall', user_get_all_mod_list());
            $tpl->set('anzmods', db_result(db_query("SELECT COUNT(*) FROM prefix_modules WHERE fright = 1"), 0));
            $tpl->set('action_antispam', get_antispam('adminuser_action', 0, true));
            $tpl->set_out('q', unescape($q), 0);
    
            $q = str_replace('*', '%', $q);
            if (strpos($q, '%') === false) {
                $q = $q . '%';
            }
    
            $limit = 15; // Limit
            $page = ($menu->getA(1) == 'p' ? $menu->getE(1) : 1);
            $MPL = db_make_sites ($page , "WHERE name LIKE '" . $q . "'" , $limit , '?user' , 'user');
            $anfang = ($page - 1) * $limit;
            $class = '';
            $q = "SELECT name,recht,id FROM `prefix_user` WHERE name LIKE '" . $q . "' ORDER by recht,posts DESC LIMIT " . $anfang . "," . $limit;
            $erg = db_query($q);
            while ($row = db_fetch_object($erg)) {
                if ($class == 'Cmite') {
                    $class = 'Cnorm';
                } else {
                    $class = 'Cmite';
                }
                $ar = array ('name' => $row->name,
                    'class' => $class,
                    'id' => $row->id,
                    'grouplist' => user_get_group_list($row->id),
                    'recht' => dblistee($row->recht, "SELECT id,name FROM prefix_grundrechte ORDER BY id ASC"),
                    'modslist' => user_get_mod_change_list($row->id),
                    );
    
                $tpl->set_ar_out($ar, 1);
            }
            $tpl->set_out('MPL', $MPL, 2);
            $design->footer();        
            break;
    
        // gruppen zugehoerigkeiten eines users aendern
        case 'gruppen' :
            $uid = $menu->get(2);
            if (isset($_POST['usergroups'])) {
                $erg = db_query("SELECT id FROM prefix_groups");
                while ($row = db_fetch_assoc($erg)) {
                    $ck = db_count_query("SELECT COUNT(uid) FROM prefix_groupusers WHERE uid = " . $uid . " AND gid = " . $row['id']);
                    if ($ck == 0 AND isset ($_POST['grprhave'][$row['id']][$uid])) {
                        db_query("INSERT INTO prefix_groupusers (uid,gid,fid) VALUES ( " . $uid . ", " . $row['id'] . ", 3 )");
                    } elseif ($ck == 1 AND !isset ($_POST['grprhave'][$row['id']][$uid])) {
                        db_query("DELETE FROM prefix_groupusers WHERE uid = " . $uid . " AND gid = " . $row['id']);
                    }
                }
            }
    
            $user_name = db_result(db_query("SELECT name FROM prefix_user WHERE id = " . $uid), 0);
            $tpl = new tpl ('user/gruppen', 1);
            $tpl->set_ar_out(array('username' => $user_name, 'userid' => $uid), 0);
            $class = 'Cnorm';
            $erg = db_query("SELECT name,id FROM prefix_groups");
            while ($row = db_fetch_assoc($erg)) {
                $ck = db_count_query("SELECT COUNT(uid) FROM prefix_groupusers WHERE uid = " . $uid . " AND gid = " . $row['id']);
                $row['ck'] = ($ck == 0 ? '' : 'checked');
                $class = ($class == 'Cnorm' ? 'Cmite' : 'Cnorm');
                $row['class'] = $class;
                $tpl->set_ar_out($row, 1);
            }
            $tpl->out(2);
            break;
    
        // details eines users anzeigen
        case 1 :
         $design = new design ('Admins Area', 'Admins Area', 2);
            $design->header();
            if (isset ($_REQUEST['uID'])) {
                $uid = $_REQUEST['uID'];
            } else {
                $uid = $menu->get(2);
            }
            $erg = db_query("SELECT name,email,id,recht,games,auszeichnung,wohnort,homepage,aim,msn,icq,facebook,youtube,cd,twitter, battlelog,google,steam,xfire,teamspeak,yahoo,status,staat,clanlogo,ctag,cname,cseite,system,board,prozesor,ram,grafik,sound,hdd,tasta,maus,monitor,headset,inet,posten,gebdatum,sig,mich,opt_pm,opt_pm_popup,opt_mail,geschlecht,spezrank,avatar FROM prefix_user WHERE id = '" . $uid . "'");
            if (db_num_rows($erg) == 0) {
                die ('Fehler: Username nicht gefunden <a href="?user">zur&uuml;ck</a>');
            } else {
                $row = db_fetch_assoc($erg);
    
                $tpl = new tpl ('user/details', 1);
                $row['recht'] = dbliste ($row['recht'] , $tpl, 'recht', "SELECT id,name FROM prefix_grundrechte ORDER BY id ASC");
                $row['staat'] = '<option></option>' . arliste ($row['staat'] , get_nationality_array() , $tpl , 'staat');
    			
    			$row['clanlogo'] = '<option></option>' . arliste ($row['clanlogo'] , get_clanlogo_array() , $tpl , 'clanlogo');
    			
                $row['spezrank'] = '<option></option>' . dbliste ($row['spezrank'], $tpl, 'spezrank', "SELECT id, bez FROM prefix_ranks WHERE spez = 1");
    			
    			
    			$row['posten'] = '<option></option>' . arliste ($row['posten'] , get_posten_array() , $tpl , 'posten');
    			
    			
    			
    
                $row['geschlecht0'] = ($row['geschlecht'] < 1 ? 'checked' : '');
                $row['geschlecht1'] = ($row['geschlecht'] == 1 ? 'checked' : '');
                $row['geschlecht2'] = ($row['geschlecht'] == 2 ? 'checked' : '');
                if ($row['status'] == 1) {
                    $row['status1'] = 'checked';
                    $row['status0'] = '';
                } else {
                    $row['status1'] = '';
                    $row['status0'] = 'checked';
                }
                if ($row['opt_mail'] == 1) {
                    $row['opt_mail1'] = 'checked';
                    $row['opt_mail0'] = '';
                } else {
                    $row['opt_mail1'] = '';
                    $row['opt_mail0'] = 'checked';
                }
                if ($row['opt_pm'] == 1) {
                    $row['opt_pm1'] = 'checked';
                    $row['opt_pm0'] = '';
                } else {
                    $row['opt_pm1'] = '';
                    $row['opt_pm0'] = 'checked';
                }
                if ($row['opt_pm_popup'] == 1) {
                    $row['opt_pm_popup1'] = 'checked';
                    $row['opt_pm_popup0'] = '';
                } else {
                    $row['opt_pm_popup1'] = '';
                    $row['opt_pm_popup0'] = 'checked';
                }
                if (@file_exists($row['avatar'])) {
                    $row['avatar'] = '<img src="' . $row['avatar'] . '" border="0" /><br />' ;
                }else {
                    $row['avatar'] = '';
                }
    			
    			# Spiele zum auswaehlen
        $gamestylepos  = 'margin:4px;padding:0;width:16px;height:16px;border:none';
        $gamestyledark = 'background-color:#EEEEEC;width:24px;height:24px;float:left;text-align:center;vertical-align:middle;margin:0 auto';
        $gamestylemite = 'background-color:#DDDDDD;width:24px;height:24px;float:left;text-align:center;vertical-align:middle;margin:0 auto';
        $argames = get_games_array ();
        for ($x = 0; $x < sizeof($argames); ++$x)
        {
        $class = ($x % 2) ? $gamestyledark : $gamestylemite;
        $gameimg = key($argames);
        if (strpos($row['games'],$gameimg)===false) { $check = ''; } else { $check = 'checked'; }
        $gamename = substr(key($argames), 0, -4);
        $row['gamechoice'] .=   '<div title="'.$gamename.'" style="float:left;margin:2px">
                                  <div style="'.$class.'">
                                    <img style="'.$gamestylepos.'" src="include/images/wargames/'.$gameimg.'" alt="'.$gamename.'">
                                  </div>
                                  <div style="'.$class.'">
                                    <input style="'.$gamestylepos.'" type="checkbox" name="wargames[]" '.$check.' value="'.$gameimg.'">
                                  </div>
                                </div>';
        next ($argames);
        }
        #################### Auszeichnung ###########################
    	
    	$auszeichnungstylepos  = 'margin:4px;padding:0;width:16px;height:16px;border:none';
        $auszeichnungstyledark = 'background-color:#DDDDDD;width:24px;height:24px;float:left;text-align:center;vertical-align:middle;margin:0 auto';
        $auszeichnungstylemite = 'background-color:#DDDDDD;width:24px;height:24px;float:left;text-align:center;vertical-align:middle;margin:0 auto';
        $arauszeichnung = get_auszeichnung_array ();
        for ($x = 0; $x < sizeof($arauszeichnung); ++$x)
        {
        $class = ($x % 2) ? $auszeichnungstyledark : $auszeichnungstylemite;
        $auszeichnungimg = key($arauszeichnung);
        if (strpos($row['auszeichnung'],$auszeichnungimg)===false) { $check = ''; } else { $check = 'checked'; }
        $auszeichnungname = substr(key($arauszeichnung), 0, -4);
        $row['auszeichnungchoice'] .=   '<div title="'.$auszeichnungname.'" style="float:left;margin:2px">
                                  <div style="'.$class.'">
                                    <img style="'.$auszeichnungstylepos.'" src="include/images/profilmod/auszeichnung/'.$auszeichnungimg.'" alt="'.$auszeichnungname.'">
                                  </div>
                                  <div style="'.$class.'">
                                    <input style="'.$auszeichnungstylepos.'" type="checkbox" name="auszeichnung[]" '.$check.' value="'.$auszeichnungimg.'">
                                  </div>
                                </div>';
        next ($arauszeichnung);
        }
        ###############################################
    			
    			
                $row['antispam'] = get_antispam('adminuser', 0, true);
                $tpl->set_ar_out ($row, 0);
    
                profilefields_change ($row['id']);
    
                $tpl->out(1);
            }
            $design->footer();        
            break;
        // details des users aendern
        case 2 :
            $design = new design ('Admins Area', 'Admins Area', 2);
            $design->header();
            $changeok = true;
            $uid = escape($_POST['uID'], 'integer');
    
            $altes_recht = db_result(db_query("SELECT recht FROM prefix_user WHERE id = " . $uid), 0);
            $neues_recht = escape($_POST['urecht'], 'integer');
            if (($neues_recht <= $_SESSION['authright'] OR $altes_recht <= $_SESSION['authright']) AND $_SESSION['authid'] > 1) {
                $changeok = false;
            }
    		
    
            if ($changeok and chk_antispam('adminuser', true)) {
    			
    			 // Trail-Account Set
            if ($neues_recht == -3 AND $altes_recht == -3) {
                $trail_since = 'trail_since';
            } else if ($neues_recht == -3) {
                $trail_since = time();
            } else {
                $trail_since = 0;
            }
    			
    			
                if (isset($_POST['userdel'])) {
                    user_remove($uid);
                    wd ('?user', 'User wurde erfolgreich gel&ouml;scht');
                } else {
                    $abf = "SELECT * FROM prefix_user WHERE id = '" . $uid . "'";
                    $erg = db_query($abf);
                    $row = db_fetch_object($erg);
    
                    if (isset($_POST['passw'])) {
                        $newPass = genkey (8);
                        $newPassMD5 = md5($newPass);
                        icmail ($row->email , 'neues Password' , "Hallo\n\nDein Password wurde soeben von einem Administrator gäendert es ist nun:\n\n$newPass\n\nGruß der Administrator");
                        db_query('UPDATE `prefix_user` SET pass = "' . $newPassMD5 . '" WHERE id = "' . escape($_POST['uID'], 'integer') . '"');
                    }
                    // avatar speichern START
                    $avatar_sql_update = '';
                    if (!empty ($_FILES['avatarfile']['name'])) {
                        $file_tmpe = $_FILES['avatarfile']['tmp_name'];
                        $rile_type = ic_mime_type ($_FILES['avatarfile']['tmp_name']);
                        $file_type = $_FILES['avatarfile']['type'];
                        $file_size = $_FILES['avatarfile']['size'];
                        $fmsg = $lang['avatarisnopicture'];
                        $size = @getimagesize ($file_tmpe);
                        $endar = array (1 => 'gif', 2 => 'jpg', 3 => 'png');
                        if (($size[2] == 1 OR $size[2] == 2 OR $size[2] == 3) AND $size[0] > 10 AND $size[1] > 10 AND substr ($file_type , 0 , 6) == 'image/' AND substr ($rile_type , 0 , 6) == 'image/') {
                            $endung = $endar[$size[2]];
                            $breite = $size[0];
                            $hoehe = $size[1];
                            $neuer_name = 'include/images/avatars/' . $uid . '.' . $endung;
                            @unlink (db_result(db_query("SELECT avatar FROM prefix_user WHERE id = " . $uid), 0));
                            move_uploaded_file ($file_tmpe , $neuer_name);
                            @chmod($neuer_name, 0777);
                            $avatar_sql_update = ', avatar = "' . $neuer_name . '"';
                            $fmsg = $lang['pictureuploaded'];
                        }
                    } elseif (isset($_POST['avatardel'])) {
                        $fmsg = $lang['picturedelete'];
                        @unlink (db_result(db_query("SELECT avatar FROM prefix_user WHERE id = " . $uid), 0));
                        $avatar_sql_update = ', avatar = ""';
                    }
                    // avatar speichern ENDE
    				
    				
    				
                    profilefields_change_save (escape($_POST['uID'], 'integer'));
                    $usaName1 = escape($_POST['usaName1'], 'string');
                    $email = escape($_POST['email'], 'string');
                    $homepage = escape($_POST['homepage'], 'string');
                    $wohnort = escape($_POST['wohnort'], 'string');
                    $icq = escape($_POST['icq'], 'string');
                    $msn = escape($_POST['msn'], 'string');
                    $yahoo = escape($_POST['yahoo'], 'string');
                    $aim = escape($_POST['aim'], 'string');
                    $staat = escape($_POST['staat'], 'string');
    				$clanlogo = escape($_POST['clanlogo'], 'string');
    				$ctag = escape($_POST['ctag'], 'string');
    				$cname = escape($_POST['cname'], 'string');
    				$cseite = escape($_POST['cseite'], 'string');
    				
    				$system = escape($_POST['system'], 'string');
    				$board = escape($_POST['board'], 'string');
    				$prozesor = escape($_POST['prozesor'], 'string');
    				$ram = escape($_POST['ram'], 'string');
    				$grafik = escape($_POST['grafik'], 'string');
    				$sound = escape($_POST['sound'], 'string');
    				$hdd = escape($_POST['hdd'], 'string');
    				$tasta = escape($_POST['tasta'], 'string');
    				$maus = escape($_POST['maus'], 'string');
    				$monitor = escape($_POST['monitor'], 'string');
    				$headset = escape($_POST['headset'], 'string');
    				$inet = escape($_POST['inet'], 'string');
    				
    				
    				
    				$posten = escape($_POST['posten'], 'string');
    
    				$facebook = escape($_POST['facebook'], 'string');
    				$youtube = escape($_POST['youtube'], 'string');
    				$cd = escape($_POST['cd'], 'string');
    				$twitter = escape($_POST['twitter'], 'string');
    				$battlelog = escape($_POST['battlelog'], 'string');
    				$google = escape($_POST['google'], 'string');
    				$steam = escape($_POST['steam'], 'string');
    				$xfire = escape($_POST['xfire'], 'string');
    				$teamspeak = escape($_POST['teamspeak'], 'string');
    
    				
                    $spezrank = escape($_POST['spezrank'], 'integer');
                    $geschlecht = escape($_POST['geschlecht'], 'integer');
                    $status = escape($_POST['status'], 'integer');
                    $opt_mail = escape($_POST['opt_mail'], 'integer');
                    $opt_pm = escape($_POST['opt_pm'], 'integer');
                    $opt_pm_popup = escape($_POST['opt_pm_popup'], 'integer');
                    $gebdatum = escape($_POST['gebdatum'], 'string');
                    $sig = escape($_POST['sig'], 'string');
    				$mich = escape($_POST['mich'], 'string');
                    // Name im Forum ändern
                    if ($_POST['forumname'] == 'on') {
                        $oldname = db_count_query("SELECT name FROM `prefix_user` WHERE id =" . $uid);
                        if ($oldname != $usaName1) {
                            db_query("UPDATE `prefix_posts` SET erst = '$usaName1' WHERE erstid = " . $uid);
                            db_query("UPDATE `prefix_topics` SET erst = '$usaName1' WHERE erst = '$oldname'");
                        }
                    }
    				
    # Spiele Array
    if (count($_POST[wargames])>0){
    foreach($_POST['wargames'] as $value){
    $gamechoises .= $value.'#';
    }
    }
    $gamechoises = substr($gamechoises,0,-1);
    
    # Auszeichnung Array
    foreach($_POST['auszeichnung'] as $value)
    {
    $auszeichnungchoises .= $value.'#';
    }
    $auszeichnungchoises = substr($auszeichnungchoises,0,-1);
    
    
                    db_query('UPDATE prefix_user
    			  SET
    					name  = "' . $usaName1 . '",
    					recht = "' . $neues_recht . '",
    					email = "' . $email . '",
              homepage = "' . $homepage . '",
              wohnort = "' . $wohnort . '",
              icq = "' . $icq . '",
              msn = "' . $msn . '",
              yahoo = "' . $yahoo . '",
              aim = "' . $aim . '",
              staat = "' . $staat . '",
    		  clanlogo = "' . $clanlogo . '",
    		  ctag = "'. $ctag .'",
    		  cname = "'. $cname .'",
    		  cseite = "'. $cseite .'",
    		  
    		  
    		  system = "'. $system .'",
    		  board = "'. $board .'",
    		  prozesor = "'. $prozesor .'",
    		  ram = "'. $ram .'",
    		  grafik = "'. $grafik .'",
    		  sound = "'. $sound .'",
    		  hdd = "'. $hdd .'",
    		  tasta = "'. $tasta .'",
    		  maus = "'. $maus .'",
    		  monitor = "'. $monitor .'",
    		  headset = "'. $headset .'",
    		  inet = "'. $inet .'",
    		  
      
    		  games = "'.$gamechoises.'",
    		  auszeichnung = "'.$auszeichnungchoises.'",
    		  posten = "' . $posten . '",
    
    		  facebook = "' . $facebook . '",
    		  youtube = "' . $youtube . '",
    		  cd = "' . $cd . '",
    		  twitter = "' . $twitter . '",
    		  battlelog = "' . $battlelog . '",
    		  google = "' . $google . '",
    		  steam = "' . $steam . '",
    		  xfire = "' . $xfire . '",
    		  teamspeak = "' . $teamspeak . '",
    
              spezrank = "' . $spezrank . '",
              geschlecht = "' . $geschlecht . '",
              status = "' . $status . '",
              opt_mail = "' . $opt_mail . '",
              opt_pm = "' . $opt_pm . '",
              opt_pm_popup = "' . $opt_pm_popup . '",
              gebdatum = "' . $gebdatum . '",
              sig = "'.$sig.'",
    		  mich = "'.$mich.'",
              trail_since = '.$trail_since.'
              ' . $avatar_sql_update . '
    				WHERE id = "' . $uid . '"');
                }
            }
            wd('admin.php?user-1-' . $uid, 'Das Profil wurde erfolgreich geaendert', 2);
     	$design->footer();        
            break;
        // mal kurz nen neuen user anlegen
        case 'createNewUser' :
            $msg = '';
            if (!empty($_POST['name']) AND !empty($_POST['pass']) AND !empty($_POST['email']) and chk_antispam('adminuser_create', true)) {
                $_POST['name'] = escape($_POST['name'], 'string');
                $_POST['recht'] = escape($_POST['recht'], 'integer');
                $_POST['email'] = escape($_POST['email'], 'string');
                $erg = db_query("SELECT id FROM prefix_user WHERE name = BINARY '" . $_POST['name'] . "'");
                if (db_num_rows($erg) > 0) {
                    $msg = 'Der Name ist leider schon vorhanden!';
                } else {
                    $new_pass = $_POST['pass'];
                    $md5_pass = md5($new_pass);
    				
    				 if ($_POST['recht'] == -3) {
                $trail = time();
            } else {
                $trail = 0;
            }
    				
                     db_query("INSERT INTO prefix_user (name,pass,recht,regist,llogin,email,trail_since)
            VALUES('".$_POST['name']."','".$md5_pass."',".$_POST['recht'].",'".time()."','".time()."','".$_POST['email']."',".$trail.")");
                    $userid = db_last_id();
                    db_query("INSERT INTO prefix_userfields (uid,fid,val) VALUES (" . $userid . ",2,'1')");
                    db_query("INSERT INTO prefix_userfields (uid,fid,val) VALUES (" . $userid . ",3,'1')");
    
                    if (isset($_POST['info'])) {
                        $page = $_SERVER["HTTP_HOST"] . $_SERVER["SCRIPT_NAME"];
                        $page = str_replace('admin.php', 'index.php', $page);
                        $tpl = new tpl ('user/new_user_email', 1);
                        $tpl->set('name', $_POST['name']);
                        $tpl->set('pass', $_POST['pass']);
                        $tpl->set('page', $page);
                        $txt = $tpl->get(0);
                        unset($tpl);
                        icmail ($_POST['email'], 'Admin hat dich angelegt', $txt);
                    }
                    $msg = 'Benutzer angelegt <a href="javascript:closeThisWindow()">Fenster schließen</a>';
                }
            }
            $pass = '';
            $email = '';
            $recht = '';
            if (isset($_POST['pass'])) {
                $pass = $_POST['pass'];
            }
            if (isset($_POST['email'])) {
                $email = $_POST['email'];
            }
            if (isset($_POST['recht'])) {
                $recht = $_POST['recht'];
            } else {
                $recht = '-1';
            }
            $tpl = new tpl ('user/new_user', 1);
            $tpl->set('msg', $msg);
            $tpl->set('pass', $pass);
            $tpl->set('email', $email);
            $tpl->set('recht', dblistee($recht, "SELECT id,name FROM prefix_grundrechte ORDER BY id ASC"));
        	$tpl->set('antispam', get_antispam('adminuser_create', 0, true));
            $tpl->out(0);
            break;
    }
    
    ?>



    Zuletzt modifiziert von Rammelbude am 19.09.2016 - 17:49:40
    0 Mitglieder finden den Beitrag gut.
  4. #4
    User Pic
    Outi77 Mitglied
    Registriert seit
    31.03.2013
    Beiträge
    1.337
    Beitragswertungen
    143 Beitragspunkte
    Die Fehlermeldung mit dem Invalid Argument kommt von einem Array, das leer ist. In der foreach-Schleife läuft es dann in diesen Fehler. Hierbei handelt es sich um das Auszeichnungs-Array. Schau mal in den Code, da steht in Zeile 477 etwa "Auszeichnung Array". Etwas weiter oben (8 Zeilen) steht Spiele Array, dort wurde bereits eine Abfrage eingefügt, welche das Array auf Inhalt prüft (if count...). Wenn Du das beim Auszeichnung Array ähnlich machst, verschwindet die Fehlermeldung.
    # Auszeichnung Array
    if (count($_POST['auszeichnung'])){
    foreach($_POST['auszeichnung'] as $value){
    $auszeichnungchoises .= $value.'#';
    }
    }
    $auszeichnungchoises = substr($auszeichnungchoises,0,-1);



    Zuletzt modifiziert von Outi77 am 19.09.2016 - 19:30:48
    Die richtige Formulierung eines Problems ist nicht selten bereits die halbe Lösung.
    »Albert Einstein«
    1 Mitglieder finden den Beitrag gut.
  5. #5
    User Pic
    Rammelbude Mitglied
    Registriert seit
    19.09.2016
    Beiträge
    7
    Beitragswertungen
    0 Beitragspunkte
    Danke Outi77

    das hat funktioniert.

    Eine Idee warum sich die Modulrechte nicht speichern, liegt es an lese oder schreibrechten vielleicht?
    Habe schon rumprobiert, ohne erfolg.
    LG
    0 Mitglieder finden den Beitrag gut.
  6. #6
    User Pic
    Outi77 Mitglied
    Registriert seit
    31.03.2013
    Beiträge
    1.337
    Beitragswertungen
    143 Beitragspunkte
    Also Du könntest mal im Firebug nachschauen, ob beim Setzen eines Modulrechtes eine Fehlermeldung kommt. Firebug ist ein Addon von Firefox...aber es gibt entsprechend für andere Browser andere Entwickler-Werkzeuge.
    Gruß
    Die richtige Formulierung eines Problems ist nicht selten bereits die halbe Lösung.
    »Albert Einstein«
    1 Mitglieder finden den Beitrag gut.
  7. #7
    User Pic
    Rammelbude Mitglied
    Registriert seit
    19.09.2016
    Beiträge
    7
    Beitragswertungen
    0 Beitragspunkte
    pasteboard.co/5hqv2qdob.jpg

    sehe da leider nix, es geht ja das auch das popup dazu auf was sich eigendlich wieder schließt bleibt aber offen


    Zuletzt modifiziert von Rammelbude am 20.09.2016 - 09:45:42
    0 Mitglieder finden den Beitrag gut.
  8. #8
    User Pic
    Outi77 Mitglied
    Registriert seit
    31.03.2013
    Beiträge
    1.337
    Beitragswertungen
    143 Beitragspunkte
    Welches Popup meinst Du? Kannst Du davon mal nen Screenshot machen bitte?
    Die richtige Formulierung eines Problems ist nicht selten bereits die halbe Lösung.
    »Albert Einstein«
    1 Mitglieder finden den Beitrag gut.
  9. #9
    User Pic
    Rammelbude Mitglied
    Registriert seit
    19.09.2016
    Beiträge
    7
    Beitragswertungen
    0 Beitragspunkte
    pasteboard.co/5hyJxnBIG.jpg

    normal verschwindet es so schnell wieder das ich es nicht sehen kann, bleibt aber offen und scheint ne kopie sozusagen zu sein. von der seite wo ich bin
    0 Mitglieder finden den Beitrag gut.
  10. #10
    User Pic
    Outi77 Mitglied
    Registriert seit
    31.03.2013
    Beiträge
    1.337
    Beitragswertungen
    143 Beitragspunkte
    Also im Moment kann ich mir gar nicht erklären, wo das Popup überhaupt herkommt. Ich habe bei mir lokal mal nen Schritt-für-Schritt-Durchlauf gemacht, da kommt an keiner Stelle das Popup.
    Die richtige Formulierung eines Problems ist nicht selten bereits die halbe Lösung.
    »Albert Einstein«
    1 Mitglieder finden den Beitrag gut.
  11. #11
    User Pic
    Mairu Coder
    Registriert seit
    16.06.2006
    Beiträge
    15.334
    Beitragswertungen
    386 Beitragspunkte
    Ja das mit den Popups wurde eigentlich mal entfernt und anderweitig gelöst, da z.B. einige Browser die Popups blockieren. Es scheint also, dass ggf. durch die Verwendung des von dir genannten Moduls zu Problemen kommt, da die PHP Datei und das Template nicht "zusammenpassen".

    Hab das Modul nicht im Downloadbereich gefunden, um zu schauen.

    Ggf. mal die admin/template/user.htm posten.
    Und auch immer mal ein Blick auf die FAQ werfen. | Mairus Ilchseite
    1 Mitglieder finden den Beitrag gut.
  12. #12
    User Pic
    Rammelbude Mitglied
    Registriert seit
    19.09.2016
    Beiträge
    7
    Beitragswertungen
    0 Beitragspunkte
    user.htm

    <script language="JavaScript" type="text/javascript">
    <!--
      function setufocus() {
        document.f.q.focus();
      }
      // manage div ...
      document.onmousemove = checkPosition;
      function checkPosition(e) {
        if(document.all) {
          mausX = event.clientX + document.body.scrollLeft;
          mausY = event.clientY + document.body.scrollTop;
        } else {
          mausX = e.pageX;
          mausY = e.pageY;
        }
        
      }
      function alertpos(dname) {
      if (document.layers) {
        document.layers[0].left = mausX;
        document.layers[0].top = mausY;
      } else if (document.getElementById) {
        document.getElementById(dname).style.left = (mausX + 10) + "px";
        document.getElementById(dname).style.top = (mausY + 50 ) + "px";
      }
      document.getElementById(dname).style.display = "inline";
      }
      function hiddpos(dname) {
        document.getElementById(dname).style.display = "none";
      }
      function changeUserRight (id1) {
        var x = confirm ( 'Das Recht dieses Users wirklich aendern?' );
        if (x) {
          var newr = document.getElementById('recht'+id1).value;
          var Fenster = window.open ('admin.php?user-changeRecht-' + id1 + '=0&newr='+ newr, 'changeRecht', 'status=no,scrollbars=no,height=10,width=10');
          Fenster.focus();
        }
      }
      function changeGruppen (id1) {
        var Fenster = window.open ('admin.php?user-gruppen-' + id1, 'changeGruppen', 'status=yes,scrollbars=yes,height=500,width=250,left=300,top=50');
        Fenster.focus();
      }
      function changeModulrecht (id1) {
        var Fenster = window.open ('admin.php?user-modulrecht-' + id1, 'changeModulrecht', 'status=yes,scrollbars=yes,height=500,width=250,left=300,top=50');
        Fenster.focus();
      }
      function deleteUser (id1) {
        var x = confirm ( 'Diesen User wirklich komplett entfernen?' );
        if (x) {
          var Fenster = window.open ('admin.php?user-deleteUser-' + id1, 'deleteUser', 'status=no,scrollbars=no,height=10,width=10');
          Fenster.focus();
        }
      }
      function changeModulRecht ( modul, uid ) {
        var aktion = 'loeschen';
        if ( document.getElementById("MN" + modul + "-" + uid).checked == true ) {
          aktion = 'eintragen';
        }
        var Fenster = window.open ('admin.php?user-modulrecht-' +uid+ '=0&modul=' + modul + '&aktion=' + aktion, 'changeModulRecht', 'status=no,scrollbars=no,height=10,width=10');
      }
    //-->
    </script>
    <div style="float:right"><a href="admin.php?puser">Noch nicht best&auml;tigte Registrierungen verwalten</a></div>
    
    <body onLoad="setufocus()">
    <form action="admin.php" name="f" method="GET" style="padding: 0px; margin:0px 0px 0px 0px;" >
      <input type="hidden" name="user" value="" />
    <table cellpadding="3" cellspacing="1" border="0" class="border" style="float:left">
      <tr>
        <td class="Cmite"><input name="q" value="{q}" /></td>
        <td class="Cdark"><input type="submit" value="Suchen" /></td>
      </tr>
    </table>
    </form>
    <br />
    <br />
    <br />
    <table cellpadding="3" cellspacing="1" border="0" class="border">
      <tr>
        <td colspan="6"></td>
        <th></th><td class="Cmite" colspan="{anzmods}"><b>Modulrechte:</b></td>
      </tr>
      <tr class="Chead">
        <th>Name</th>
        <th>Recht</th>
        <th>Gruppe</th>
        <th></th>
        <th></th>
        <th></th>
        <th class="border">&nbsp;&nbsp;</th>
        {modlall}
      </tr>
     {EXPLODE}
      
    
      
      <tr class="{class}">
        <td><div onMouseOver="hiddpos('groupdiv{id}')" id="groupdiv{id}" style="position:absolute; top:50px; left:50px; display:none; width:200px;">
    <table width="100%" class="border" border="0" cellspacing="1" cellpadding="4">
      <tr>
        <td class="{class}" align="left">{grouplist}</td>
      </tr>
    </table>
    </div><strong>{name}</strong></td>
        <td><select id="recht{id}" onChange="changeUserRight({id})">{recht}</select></td>
        <td style="text-align: center;"><a onMouseOut="hiddpos('groupdiv{id}')" onMouseOver="alertpos('groupdiv{id}')" href="javascript:changeGruppen({id})" title="hier die Gruppenzugeh&ouml;rigkeit &auml;ndern">Gruppen</a></td> 
        <td>&nbsp;<a href="admin.php?user-1-{id}"><img src="include/images/icons/edit.gif" border="0" title="&auml;ndern" alt="&auml;ndern" /></a>&nbsp;</td>
        <td>&nbsp;<a href="admin.php?user-ctrl_user-{id}"><img src="include/images/icons/ctrl.jpg" border="0" title="&Uuml;bernehmen" alt="&Uuml;bernehmen" /></a>&nbsp;</td>
        <td>&nbsp;<a href="javascript:deleteUser({id})"><img src="include/images/icons/del.gif" border="0" title="l&ouml;schen" alt="l&ouml;schen" /></a>&nbsp;</td>
        <td class="border"></td>
        {modslist}
      </tr>
     {EXPLODE}
    </table>
    {MPL}
    0 Mitglieder finden den Beitrag gut.
  13. #13
    User Pic
    Mairu Coder
    Registriert seit
    16.06.2006
    Beiträge
    15.334
    Beitragswertungen
    386 Beitragspunkte
    Versuche es mal mit dieser github.com/IlchCMS/Ilch-1.1/blob/ilchClan_11o/include/admin/templates/user/user.htm


    Zuletzt modifiziert von Mairu am 21.09.2016 - 09:01:17
    Und auch immer mal ein Blick auf die FAQ werfen. | Mairus Ilchseite
    1 Mitglieder finden den Beitrag gut.
  14. #14
    User Pic
    Rammelbude Mitglied
    Registriert seit
    19.09.2016
    Beiträge
    7
    Beitragswertungen
    0 Beitragspunkte
    Danke, funktioniert.
    Vielen danlk für eure hilfe und Zeit.
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Module und Modifikationen

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten