Soweit ich weiss leuft das über die userdeitls htm/php, die ich mal Poste
<style type="text/css">
.pmfont
{
color:#ffffff;
}
</style>
<!--<a href="javascript:history.back(1)"><b>«</b> {_lang_back}</a>
<br />
<br />
<table width="100%" cellpadding="3" cellspacing="1" class="border">
<tr class="Chead">
<th colspan="3"><b>{_lang_detailsfrom} {NAME}</b></th>
</tr><tr>
<td class="Cmite" width="30%">{_lang_nickname}</td>
<td class="Cnorm" width="40%">{NAME}</td>
<td class="Cnorm" width="30%" rowspan="{rowspan}" valign="top" align="center">
{AVATA}
<br /><br />
<font class="smalfont">{RANG}</font>
</td>
</tr><tr>
<td class="Cmite">{_lang_regsince}</td>
<td class="Cnorm">{JOINED}</td>
</tr><tr>
<td class="Cmite">{_lang_lastactivity}</td>
<td class="Cnorm">{LASTAK}</td>
</tr><tr>
<td class="Cmite">{_lang_posts2}</td>
<td class="Cnorm">{POSTS}, {_lang_perday}: {postpday}</td>
</tr>
{profilefields}
</table>
<br />
<a href="javascript:history.back(1)"><b>«</b> {_lang_back}</a>-->
<br />
<script language="javascript" type="text/javascript">
function details()
{
if(document.getElementById('more_details').style.display=='block'){
document.getElementById('more_details').style.display='none';
}else{
document.getElementById('more_details').style.display='block';
}
}
</script>
<table width="100%" border="0" background="{BGPIC}" class="pmbg">
<tr>
<td><table width="100%" border="0">
<tr>
<td width="22%" valign="top"><table width="100%" border="0">
<tr>
<td class="pmfont"><b> • <u>Benutzerbild:</u></b></td>
</tr>
<tr>
<td class="gradualfader" align="center" height="215">{AVATA}</td>
</tr>
</table></td>
<td width="49%"><table width="99%" border="0">
<tr>
<td width="14%"> </td>
<td width="86%"><table width="100%" border="0">
<tr>
<td colspan="2" class="pmfont"><b> • <u>Persönliche Informationen</u></b></td>
</tr>
<tr>
<td width="133" class="pmfont"><img src="include/images/userdetails/user.png" class="gradualfader" border="0" height="16" width="16" /> Nickname:</td>
<td width="245" class="pmfont"><strong>{NAME}</strong></td>
</tr>
<tr>
<td width="133" class="pmfont"><img src="include/images/userdetails/sex.png" class="gradualfader" border="0" height="16" width="16"> Geschlecht:</td>
<td width="245" class="pmfont">{GESCHLECHT}</td>
</tr>
<tr>
<td width="133" class="pmfont"><img src="include/images/userdetails/gebdatum.png" class="gradualfader" border="0" height="16" width="16" /> Geburstag:</td>
<td width="245" class="pmfont">{GEBDATUM} {ALTER}</td>
</tr>
<tr>
<td width="133" class="pmfont"><img src="include/images/userdetails/sternzeichen.png" class="gradualfader" border="0" height="16" width="16" /> Sternzeichen</td>
<td width="245" class="pmfont">{STERNZEICHEN}</td>
</tr>
<tr>
<td width="133" class="pmfont"><img src="include/images/userdetails/land.png" class="gradualfader" border="0" height="16" width="16"> Land:</td>
<td width="245" class="pmfont">{WOHNORT} {STAAT}</td>
</tr>
<tr>
<td width="133" class="pmfont"><img src="include/images/userdetails/status.png" class="gradualfader" border="0" height="16" width="16"> Status:</td>
<td width="245" class="pmfont">{STATUS2}</td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><table width="100%" border="0">
<tr>
<td colspan="2" class="pmfont"><b> • <u>Kontakt</u></b></td>
</tr>
<tr>
<td width="107" class="pmfont"><img src="include/images/userdetails/email.png" class="gradualfader" border="0" height="16" width="16"> Kontakt:</td>
<td width="278" class="pmfont">{EMAIL}</td>
</tr>
<tr>
<td width="107" class="pmfont"><img src="include/images/userdetails/homepage.png" class="gradualfader" border="0" height="16" width="16"> Homepage:</td>
<td width="278" class="pmfont">{HOMEPAGE}</td>
</tr>
<tr>
<td width="107" class="pmfont"><img src="include/images/userdetails/icq.png" class="gradualfader" border="0" height="16" width="16"> ICQ:</td>
<td width="278" class="pmfont">{ICQ}</td>
</tr>
</table></td>
</tr>
</table></td>
<td width="29%" valign="top"><table width="100%" border="0">
<tr>
<td width="86%" valign="top"><table width="124%" border="0">
<tr>
<td colspan="2" class="pmfont"><b> • <u>Letzte 10 Besucher</u></b></td>
</tr>
<tr>
<td class="pmfont">{LASTUSER}</td>
</tr>
</table></td>
<td width="14%"> </td>
</tr>
</table></td>
</tr>
</table>
<br />
<table width="100%" border="0">
<tr>
<td><table width="100%" border="0">
<tr>
<th colspan="2" class="pmfont"><center>Steam von {NAME}</center></b></th></tr><tr>
</tr>
<th colspan="2" >{STEAM}</b></th>
</tr>
</table>
</td>
</tr>
</table><br />
<table width="100%" border="0">
<tr>
<td width="37%" valign="top"><table width="100%" border="0">
<tr>
<td width="98%"><table width="100%" border="0">
<tr>
<td colspan="2" class="pmfont"><b> • <u>Info</u></b></td>
</tr>
<tr>
<td width="128" class="pmfont"><img src="include/images/userdetails/titel.png" class="gradualfader" border="0" height="16" width="16"> Benutzertitel:</td>
<td width="152" class="pmfont">{USERTITEL}</td>
</tr>
<tr>
<td width="128" class="pmfont"><img src="include/images/userdetails/verwarn.png" class="gradualfader" border="0" height="16" width="16">Verwarnungen:</td>
<td width="152" class="pmfont">{VERW}</td>
</tr>
<tr>
<td width="128" class="pmfont"><img src="include/images/userdetails/reg.png" class="gradualfader" border="0" height="16" width="16"> Dabei seit:</td>
<td width="152" class="pmfont">{JOINED}</td>
</tr>
<tr>
<td width="128" class="pmfont"><img src="include/images/userdetails/letzteakt.png" class="gradualfader" border="0" height="16" width="16"> Letzte Aktivität:</td>
<td width="152" class="pmfont">{LASTAK} Uhr</td>
</tr>
</table></td>
</tr>
</table>
</td>
<td width="28%" valign="top"><table width="100%" border="0">
<tr>
<td width="14%"> </td>
<td width="86%"><table width="100%" border="0">
<tr>
<td colspan="2" class="pmfont"><b> • <u>Statistiken </u></b></td>
</tr>
<tr>
<td width="104" class="pmfont"> Forumtopics:</td>
<td width="190" class="pmfont">{FORUMTOPICS}</td>
</tr>
<tr>
<td width="104" class="pmfont">Newstopics:</td>
<td width="190" class="pmfont">{NEWSTOPICS}</td>
</tr>
<tr>
<td width="104" class="pmfont">Newsposts:</td>
<td width="190" class="pmfont">{NEWSPOSTS}</td>
</tr>
<tr>
<td width="104" class="pmfont">Forumposts::</td>
<td width="190" class="pmfont">{POSTS}</td>
</tr>
</table></td>
</tr>
</table></td>
<td width="35%" valign="top"><table width="100%" border="0">
<tr>
<td><table width="100%" border="0">
<tr>
<td colspan="2" class="pmfont"><b> •<u>Specials</u></b></td>
</tr>
<tr>
<td width="104" class="pmfont">IM Messanger:</td>
<td width="223" class="pmfont"><a href="javascript:void(0)" onClick="javascript:chatWith({UID},'{NAME}')">IM Fenster öffnen</a></td>
</tr>
<tr>
<td width="104" class="pmfont">Usergallerie:</td>
<td width="223" class="pmfont">{GALLERIE_EINTRAEGE} (<a href="index.php?user-usergallery-{UID}">ansehen</a>)</td>
</tr>
<tr>
<td width="104" class="pmfont">Gästebuch:</td>
<td width="223" class="pmfont">{GB_EINTRAEGE}</td>
</tr>
<tr>
<td width="104" class="pmfont">Private Mail:</td>
<td width="223" class="pmfont"><a href="index.php?forum-privmsg-new=0&empfid={UID}">schreiben</a></td>
</tr>
</table></td>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td><table width="100%" border="0">
<tr>
<td colspan="2" class="pmfont"><b><img src="include/images/userdetails/signatur.png" class="gradualfader" border="0" height="16" width="16"><u>Signatur</u></b></td>
</tr>
<tr>
<td class="gradualfader pmfont">{SIGNATUR}</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td><table width="100%" border="0">
<tr>
<td colspan="2" class="pmfont"><b> • <u>Computer Technik </u></b></td>
</tr>
<tr>
<td width="34%" class="pmfont"><img src="include/images/userdetails/cpu.png" class="gradualfader" border="0" height="16" width="16"> Cpu:</td>
<td width="66%" class="pmfont">{CPU}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/mainboard.png" class="gradualfader" border="0" height="16" width="16"> Mainboard:</td>
<td class="pmfont">{MAINBOARD}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/arbeitsspeicher.png" class="gradualfader" border="0" height="16" width="16"> Ram:</td>
<td class="pmfont">{RAM}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/monitor.png" class="gradualfader" border="0" height="16" width="16"> Monitor:</td>
<td class="pmfont">{MONITOR}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/grafik.png" class="gradualfader" border="0" height="16" width="16"> Grafikkarte:</td>
<td class="pmfont">{GRAFIKKARTE}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/soundkarte.png" class="gradualfader" border="0" height="16" width="16"> Soundkarte:</td>
<td class="pmfont">{SOUNDKARTE}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/festplatte.png" class="gradualfader" border="0" height="16" width="16"> Festplatte:</td>
<td class="pmfont">{FESTPLATTE}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/modem.png" class="gradualfader" border="0" height="16" width="16">Verbindung:</td>
<td class="pmfont">{I_NET_VERBINDUNG}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/tastatur.png" class="gradualfader" border="0" height="16" width="16"> Tastatur:</td>
<td class="pmfont">{TASTATUR}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/maus.png" class="gradualfader" border="0" height="16" width="16"> Maus:</td>
<td class="pmfont">{MAUS}</td>
</tr>
</table>
</td>
<td><table width="100%" border="0">
<tr>
<td colspan="2" class="pmfont"><b> • <u>Game / Sonstiges</u></b></td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/games.png" class="gradualfader" border="0" height="16" width="16"> Game/s:</td>
<td width="74%" class="pmfont">{GAME1}{GAME2}{GAME3}{GAME4}{GAME5}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/fadenkreuz.gif" class="gradualfader" border="0" height="16" width="16"> Skill:</td>
<td class="pmfont">{SPIELERFAHRUNG}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/clan.png" class="gradualfader" border="0" height="16" width="16"> Clan:</td>
<td class="pmfont">{CLAN}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/map.gif" class="gradualfader" border="0" height="16" width="16"> Map:</td>
<td class="pmfont">{MAP}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/waffe.png" class="gradualfader" border="0" height="16" width="16"> Waffe:</td>
<td class="pmfont">{WAFFE}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/essen.png" class="gradualfader" border="0" height="16" width="16"> Essen:</td>
<td class="pmfont">{ESSEN}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/trinken.png" class="gradualfader" border="0" height="16" width="16"> Trinken:</td>
<td class="pmfont">{TRINKEN}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/film.png" class="gradualfader" border="0" height="16" width="16"> Film:</td>
<td class="pmfont">{FILM}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/musik.png" class="gradualfader" border="0" height="16" width="16"> Musik:</td>
<td class="pmfont">{MUSIK}</td>
</tr>
<tr>
<td class="pmfont"><img src="include/images/userdetails/sport.png" class="gradualfader" border="0" height="16" width="16"> Sport:</td>
<td class="pmfont">{SPORT}</td>
</tr>
</table>
</td>
<td valign="top"><table width="100%" border="0">
<tr>
<td colspan="2" class="pmfont"><b> • <u>Community</u></b></td>
</tr>
<tr>
<td width="42%" class="pmfont">{JAPPY} Jappy </td>
</tr>
<tr>
<td class="pmfont">{FACEBOOK} Facebook</td>
</tr>
<tr>
<td class="pmfont">{WKW} WkW</td>
</tr>
<tr>
<td class="pmfont">{STUDIVZ} Studivz</td>
</tr>
<tr>
<td class="pmfont">{MYSPACE} MySpace</td>
</tr>
<tr>
<td class="pmfont">{YOUTUBE} Youtube</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<table width="100%" border="0">
<tr>
<td><table width="100%" border="0">
<tr>
<td> </td>
</tr>
<tr>
<td colspan="4" class="Chead"><center> <b>Medalien für {NAME}</a></b></center></td>
</tr>
<tr class="Cmite">
<td><center>Dienstzeit</center></td>
<td><center>Aktivität</center></td>
<td><center>Forenaktivität</center></td>
<td><center>Clanaward</center></td>
</tr>
<tr class="Cnorm">
<td align="center">{dze}</td>
<td align="center">{wze}</td>
<td align="center">{fze}</td>
<td align="center">{cme}</td>
</tr>
</table>
</table>
<?php
# Copyright by: Manuel Staechele
# Support: www.ilch.de
defined ('main') or die ( 'no direct access' );
$uid = $menu->get(2);
#Award Ausgabe
$awards = ''; $ax = 0;
$sqlA = db_query("SELECT a.platz, a.text, a.wofur, a.team, a.bild, DATE_FORMAT(a.`time`, '%d.%m.%Y') AS time FROM `prefix_awards` a INNER JOIN prefix_user b ON a.team = b.name WHERE b.id = ".$uid." ORDER BY `time` ASC");
while($rowA = db_fetch_assoc($sqlA))
{
$ax++; if ($ax == 8) {$awards .= "<br>"; $ax = 0;}
$awards .= (!empty($rowA['bild']) ? '<img style="padding:1px;border:0px;" src="'.$rowA['bild'].'" alt="'.$rowA['wofur'].'" title="'.$rowA['wofur'].'"/>' : $rowA['wofur']);
}
$awards = '<b><b><br><div style="text-align:center;">'.$awards.'</div>';
$lastbes_anz = 5; //Bei höhere Anzahl muss ggf. in der Datenbank die Größe der Felder bzw der Typ geändert werden
if ($_SESSION['authid'] != $uid AND $_SESSION['authid'] != 0) {
$lb = db_fetch_object(db_query('SELECT last_bes, last_user_time FROM prefix_user WHERE id = '.$uid));
$lba = explode('#',$lb->last_bes);
$lbt = explode('#',$lb->last_user_time);
$i = array_search($_SESSION['authid'],$lba);
if ($i !== false) {
unset($lba[$i]); unset($lbt[$i]);
} elseif (count($lba) >= $lastbes_anz) {
$lba = array_slice($lba,0,$lastbes_anz-1);
$lbt = array_slice($lbt,0,$lastbes_anz-1);
}
array_unshift($lba,$_SESSION['authid']);
array_unshift($lbt,time());
$i_lb = implode('#',$lba);
$i_lbt = implode('#',$lbt);
db_query("UPDATE prefix_user SET last_bes = '$i_lb', last_user_time = '$i_lbt' WHERE id = $uid");
}
include('user_infos.php');
$abf8 = "SELECT * FROM prefix_online WHERE uid = '".$uid."'";
$erg8 = db_query($abf8);
$row8 = db_fetch_assoc($erg8);
if(isset($row8['uid'])){
$online = '<img src="include/images/forum/uonline.png" alt="online" border="0"/>';
}else{
$online = '<img src="include/images/forum/uoffline.png" alt="offline" border="0" />';
}
if(empty($row['steam']))
{
$steam = ''; }else{
$steam = '<img src="http://badges.steamprofile.com/profile/extended/steam/'.$row['steam'].'.png" />';
}
$ar = array (
'STEAM' => $steam,
'UID' => $uid,
'NAME' => $row['name'],
'JOINED' => date('d.m.Y',$row['regist']),
'LASTAK' => date('d.m.Y - H:i',$row['llogin']),
'POSTS' => $row['posts'],
'postpday' => $postpday,
'RANG' => userrang ($row['posts'],$uid),
'AVATA' => $avatar,
'LASTUSER' => last_user($uid),
'STATUS2' => $online,
'USERTITEL' => $usertitel,
'EMAIL' => $email,
'HOMEPAGE' => $homepage,
'GESCHLECHT' => $geschlecht,
'GEBDATUM' => $gebdatum,
'ALTER' => $alter,
'WOHNORT' => $wohnort,
'FORUMTOPICS' => $row4['forumtopics'],
'NEWSTOPICS' => $row5['newstopics'],
'NEWSPOSTS' => $row6['newsposts'],
'FORUMPOSTS' => $row7['forumposts'],
'SIGNATUR' => bbcode($row['sig']),
'STAAT' => $staat,
'UID' => $uid,
'STERNZEICHEN' => $sternzeichen,
'GB_EINTRAEGE' => $gb_eintraege,
'GALLERIE_EINTRAEGE' => $gallery_eintraege,
'ICQ' => $icq,
'GAME' => $game,
'GAME1' => $game1,
'GAME2' => $game2,
'GAME3' => $game3,
'GAME4' => $game4,
'GAME5' => $game5,
'SPIELERFAHRUNG' => $spielerfahrungen,
'CLAN' => $clan,
'MAP' => $map,
'WAFFE' => $waffe,
'ESSEN' => $essen,
'TRINKEN' => $trinken,
'FILM' => $film,
'MUSIK' => $musik,
'SPORT' => $sport,
'CPU' => $cpu,
'MAINBOARD' => $mainboard,
'RAM' => $ram,
'MONITOR' => $monitor,
'GRAFIKKARTE' => $grafikkarte,
'SOUNDKARTE' => $soundkarte,
'FESTPLATTE' => $festplatte,
'I_NET_VERBINDUNG' => $i_net_verbindung,
'TASTATUR' => $tastatur,
'MAUS' => $maus,
'JAPPY' => $jappy,
'FACEBOOK' => $facebook,
'WKW' => $wkw,
'STUDIVZ' => $studivz,
'MYSPACE' => $myspace,
'YOUTUBE' => $youtube,
'AWARDS' => $awards,
'POINTS' =>$row['cpoints'],
'RPOINT' =>$rp,
'GAMES' => getteams($row['id']),
'VERW' => verwarnstu($row['fwarn'],0),
'dze'=>getmedal(1,$row['regist']),
'fze'=>getmedal(2,$row['posts']),
'wze'=>getmedal(3,$row['cpoints']),
'cme' =>getmedal(4,$row['medal'])
);
$title = $allgAr['title'].' :: Users :: Details von '.$row['name'];
$hmenu = $extented_forum_menu.'<a class="smalfont" href="?user">Users</a><b> » </b> <a href=index.php?user-details-'.$uid.'>Details von '.$row['name']."</a>".$extented_forum_menu_sufix;
$design = new design ( $title , $hmenu, 1);
$design->header();
$tpl = new tpl ( 'user/userdetails' );
$l = profilefields_show ( $uid );
$ar['rowspan'] = 4 + substr_count($l, '<tr><td class="');
$ar['profilefields'] = $l;
$tpl->set_ar_out($ar,0);
$design->footer();
?>
Wird das nicht oder kann man das nicht nur über die Htm machen ? Soweit ich weiss geht das oder ?
Ein Xd und ^^ und LOL und D Beweist Skill wen mans nach Jedem Satz Schreibt ^^xd LOL D