Jetzt kostenlos Anmelden!


-=LCL=-|BuLLeT| Männlich

#1.6.1 - still alive #

Beiträge: 1 356

Geschlecht: Männlich

Wohnort: Leipzig

PHPKIT Version: 1.6.1

11

Samstag, 26. Februar 2011, 21:16

richtig, aber es wird dennoch geladen
  • Zum Seitenanfang
  • Zum Seitenende

Dirk Kántor Männlich

aká Dooki

Beiträge: 2 073

Geschlecht: Männlich

PHPKIT Version: keine

12

Sonntag, 27. Februar 2011, 09:50

Na is wohl wieder jemand blind beim durchsuchen des codes @dj ^^
:thumbsup:    :thumbsup:       *tc*       :thumbsup:    :thumbsup:
8o           Achtung: Dirk Kántor ist unterwegs!           8o
Er verteilt gerne Verwarnungen ohne vorher darüber diskutiert zu haben.
  • Zum Seitenanfang
  • Zum Seitenende

DJ-Basedream

User wurde gesperrt

13

Sonntag, 27. Februar 2011, 14:11

Na bitte hier die beiden Codes

user_content.htm
usercontent.php


usercontent.php

PHP-Quelltext

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?
if(getrights(user)){
}
else{

  eval ("\$gast_content = \"".getTemplate("gast_content")."\";");
    $site_body .= '
    
    <table class="contentbody" width="800" cellspacing="1" cellpadding="0">
        <tr>
            <td class="heads">Willkommen Gast</td>
        </tr>
            <td class="even" width="800">
                 <table border=0 width="800">'.$gast_content.'</table>
            </td>
        </tr>
    </table>';
  }
?>



user_content.htm

PHP-Quelltext

1




Also was kann da noch sein, wobei ich zumal die user_content.htm komplett entfernt habe.
  • Zum Seitenanfang
  • Zum Seitenende

-=LCL=-|BuLLeT| Männlich

#1.6.1 - still alive #

Beiträge: 1 356

Geschlecht: Männlich

Wohnort: Leipzig

PHPKIT Version: 1.6.1

14

Sonntag, 27. Februar 2011, 14:40

irgendwie is der ganze code pfeffer...

PHP-Quelltext

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if($USER['status']=='guest')
{
  eval ("\$gast_content = \"".getTemplate("gast_content")."\";");
    $site_body .= '
    
    <table class="contentbody" width="800" cellspacing="1" cellpadding="0">
        <tr>
            <td class="heads">Willkommen Gast</td>
        </tr>
            <td class="even" width="800">
                 <table border=0 width="800">'.$gast_content.'</table>
            </td>
        </tr>
    </table>';
}


sollte immernoch nen freiraum sein, kommt nicht von dem code
  • Zum Seitenanfang
  • Zum Seitenende

DJ-Basedream

User wurde gesperrt

15

Sonntag, 27. Februar 2011, 17:03

Ne das hat es nicht behoben, eventuell habe ich aber eine vermutung woher es kommen könnte und zwar vom xnulcontent dieses X neue User auf der Startseite, da das HTMl direkt mit in der PHP Datei drinne ist.


PHP-Quelltext

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?php
#
# xnewusercontent für das PHPKIT v1.6.03 oder v1.6.1
# --------------------------------------------
# Copyright (c) 2007 http://www.kit-power.de
#
# Für weitere Information besuche bitte unsere 
# Webseite oder kontaktieren uns per E-Mail:
#
# Website : http://www.kit-power.de
# Mail    : leiche@leiches-gruft.de
#
# 
# Meine Scripte dürfen ohne Genehmigung NICHT selbst zum Download angeboten werden.
# Scripte von mir dürfen NICHT in kommerziellen Projekten veräußert oder angeboten werden.
# Selbst das Verändern in Teilen geht NICHT mit einem automatischen Copyrightverlust einher.
#
# Selbstverständlich dürfen Anpassungen an die jeweilige Homepage gemacht werden 
#
# Keine Haftung fuer Schaeden!!! Datensicherung anlegen!
# Vorsicht bei AddOns, genau pruefen, oder nachfragen.
# Copyrights sind nicht zu entfernen!
###############################################################
//-------------------- Config --------------------
$noavatar="noavatar.jpg";                       //Name des ALternativ Avatar wenn user kein Avatar Gewählt hat
$avatarPATH ="./images/avatar/";                //Pfad zum Avatar Ordner
$zeile ="6";                                    // Wieviel pro zeile
$anzeigeanzahl="6";                              //wie viele User angezeigt werden sollen
//-------------------- Config ende --------------------

$site_body .= '<script type="text/javascript" language="javascript" src="dropdown.js"></script>';
$i 1;
$getuserinfo=$DB->query("SELECT user_id, user_nick, user_email, user_posts, user_hpage, user_status,  signin, user_country,  user_status, user_sex, user_bd_day, user_bd_month, user_bd_year, user_avatar, user_posts  FROM ".$db_tab['user']." ORDER by user_id DESC LIMIT $anzeigeanzahl");
while ($userinfo=$DB->fetch_array($getuserinfo)) {
$sigintime=formattime($userinfo['signin']);
$user_nick=htmlentities($userinfo['user_nick']);
$id=htmlentities($userinfo['user_id']);
$status=htmlentities($userinfo['user_status']);
$geschlecht=htmlentities($userinfo['user_sex']);
$tag=htmlentities($userinfo['user_bd_day']);
$monat=htmlentities($userinfo['user_bd_month']);
$jahr=htmlentities($userinfo['user_bd_year']);
$avatar=htmlentities($userinfo['user_avatar']);
$posts=htmlentities($userinfo['user_posts']);
$land=htmlentities($userinfo['user_country']);
$mail=htmlentities($userinfo['user_email']);
$home=htmlentities($userinfo['user_hpage']);
$status=htmlentities($userinfo['user_status']);
if ($avatar=="") {$avatar="noavatar.jpg";}
if($home=="") {$home='';} else {$home ='<a href="'.$home.'"><img src="images/hpage.gif" titel="Homepage von '.$user_nick.' besuchen" alt="Homepage von '.$user_nick.' besuchen" border="0"></a>';}
$gebdat="$tag.$monat.$jahr";
if ($userinfo['user_bd_day']=="0") {
if ($userinfo['user_bd_month']=="0") {
if ($userinfo['user_bd_year']=="0") { $gebdat="N/A"; } } }
if ($userinfo['user_status']=="") { $status="N/A"; }
if ($userinfo['user_status']=="user") { $status="User"; }
if ($userinfo['user_status']=="member") { $status="Mitglied"; }
if ($userinfo['user_sex']=="") { $geschlecht="N/A"; }
if ($userinfo['user_sex']=="d") { $geschlecht="N/A"; }
if ($userinfo['user_sex']=="m") { $geschlecht="Männlich"; }
if ($userinfo['user_sex']=="w") { $geschlecht="Weiblich"; }

if ($userinfo['user_country']=="ger") { $land="Deutschland"; }
if ($userinfo['user_country']=="aut") { $land="Österreich"; }
if ($userinfo['user_country']=="ch") { $land="Schweiz"; }
if ($userinfo['user_country']=="nl") { $land="Käseköpp"; }
if ($userinfo['user_country']=="sa") { $land="Sachsen"; }
if ($userinfo['user_country']=="bay") { $land="Bayern"; }
if ($userinfo['user_country']=="b") { $land="Berlin"; }
if ($userinfo['user_country']=="bb") { $land="Brandenburg"; }
if ($userinfo['user_country']=="hb") { $land="Bremen"; }
if ($userinfo['user_country']=="hh") { $land="Hamburg"; }
if ($userinfo['user_country']=="h") { $land="Hessen"; }
if ($userinfo['user_country']=="mv") { $land="Mecklenburg-Vorpommern"; }
if ($userinfo['user_country']=="n") { $land="Niedersachsen"; }
if ($userinfo['user_country']=="nw") { $land="Nordrhein-Westfalen"; }
if ($userinfo['user_country']=="rp") { $land="Rheinland-Pfalz"; }
if ($userinfo['user_country']=="s") { $land="Saarland"; }
if ($userinfo['user_country']=="saa") { $land="Sachsen-Anhalt"; }
if ($userinfo['user_country']=="sh") { $land="Schleswig-Holstein"; }
if ($userinfo['user_country']=="t") { $land="Thüringen"; }
if ($userinfo['user_country']=="oth") { $land="anderes Land"; }
if ($userinfo['user_country']=="def") { $land="N/A"; }

$getuseronline=$DB->query("SELECT user_nick, user_id, user_avatar FROM ".$db_tab['user']."  WHERE user_activate=1 AND user_id='".$id."' ORDER by logtime  LIMIT 1");
while ($userinfo=$DB->fetch_array($getuseronline)) {
 if (isonline($userinfo['user_id'])) eval ("\$online_status= \"".getTemplate("member_os_online")."\";");
 else eval ("\$online_status= \"".getTemplate("member_os_offline")."\";");
}

$zahl_1 intval(rand(09999999999999));
$newuser .= '
<td class="standard" align="center" valign="top" >
<a href="include.php?path=login/userinfo.php&id='.$id.'"><img border="0" width="90" height="90" src="images/avatar/'.$avatar.'"></a><br>
<div id="parent_'.$zahl_1.'">
'.$user_nick.'
</div>
'.$online_status.'&nbsp;
<a href="include.php?path=login/imcenter.php&userid='.$id.'"><img src="images/sendim.gif" titel="IM Message an '.$user_nick.' versenden" alt="IM Message an '.$user_nick.' versenden" border="0"></a>&nbsp;
<a href="include.php?path=login/mailer.php&userid='.$id.'"><img src="images/email.gif" titel="Mail an '.$user_nick.' versenden" alt="Mail an '.$user_nick.' versenden" border="0"></a>&nbsp;
'.$home.'
<div id="child_'.$id.'" style="position: absolute; visibility: hidden;">
    <table class="contentbody" cellpadding="2" cellspacing="1" border="0" width="200">
        <tr>
            <td class="heads" align="center">User: '.$user_nick.'</a></td>
        </tr>
        <tr>
            <td class="standard">Profil: <a href="include.php?path=login/userinfo.php&id='.$id.'">'.$user_nick.'</a></td>
        </tr>
        <tr>
            <td class="standard">Dabei Seit: '.$sigintime.'</td>
        </tr>  
        <tr>
            <td class="standard">Geb.Datum: '.$gebdat.'</td>
        </tr>
        <tr>
            <td class="standard">User Status: '.$status.'</td>
        </tr>  
        <tr>
            <td class="standard">Geschlecht: '.$geschlecht.'</td>
        </tr>
        <tr>
            <td class="standard">Foren Posts: '.$posts.'</td>
        </tr>
        <tr>
            <td class="standard">UserID: '.$id.'</td>
        </tr>  
        <tr>
            <td class="standard">Land: '.$land.'</td>
        </tr>
     </table>
</div>
<script type="text/javascript">
at_attach("parent_'.$zahl_1.'", "child_'.$id.'", "hover", "y", "pointer");
</script>
</td>';
if ($i==$zeile) { $newuser .='</tr><td class="heads" height="5" colspan="'.$zeile.'"></td><tr>';  $i 0; }
$i++;
    }
$site_body .= '
<table class="standard" width="100%" cellspacing="1" cellpadding="2">
  <tr>
   <td class="heads" width="100%" colspan="'.$zeile.'"><b>'.$anzeigeanzahl.' Neusten User auf einem Blick:</b></td>
  </tr>
<tr>'.$newuser.'</tr>
</table>
';
?>
  • Zum Seitenanfang
  • Zum Seitenende

-=LCL=-|BuLLeT| Männlich

#1.6.1 - still alive #

Beiträge: 1 356

Geschlecht: Männlich

Wohnort: Leipzig

PHPKIT Version: 1.6.1

16

Sonntag, 27. Februar 2011, 17:22

kommt eher nicht davon... mach doch mal nen screenshot... denn extra registrieren tu ich mich nicht um zu sehen worum es geht
  • Zum Seitenanfang
  • Zum Seitenende