ich arbeite gerade an einer schöneren Userdetails.htm, die profiledit gibts ja schon und die schaut richtig nice aus, mal was anderes wie das Standartzeug^^
Da ich mich mit php nur ein klein wenig und mit htm nur soweit auskenne wie ich es jetzt gemacht habe, wäre es schön wenn mir einer helfen könnte. Falls jemand Zeit erübrigen kann.
Wie kann ich es jetzt so umsetzen das die userdetails.php und die Abfrage dann aus der DB zusammen harmonieren?
Hier mal die userdetails.htm:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>user1</title> </head> <body> <a href="javascript:history.back(1)"><b>«</b> {_lang_back}</a><br> <table bgcolor="#c0c0c0" cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td colspan="2"> <table class="border" cellpadding="3" cellspacing="1" width="100%"> <tbody> <tr class="Chead"> <th colspan="2"><b>{_lang_detailsfrom} {NAME}</b></th> <th colspan="1"><b>Profilbesucher: {HITS}</b></th> </tr> <tr> <td class="Cmite" width="30%"><img src="include/images/userdetails/user.png" border="0" height="16" width="16"> {_lang_nickname}</td> <td class="Cnorm" width="40%">{NAME}</td> <td class="Cnorm" rowspan="10" align="center" valign="top" width="30%"> <div style="border: 1px solid silver; background: gainsboro none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; margin-bottom: 5px;"><b>Avatar</b></div> {AVATA} <br> <br> </td> </tr> <tr> <td class="Cmite"><img src="include/images/userdetails/reg.png" border="0" height="16" width="16"> {_lang_regsince}</td> <td class="Cnorm">{JOINED}</td> </tr> <tr> <td class="Cmite"><img src="include/images/userdetails/letzteakt.png" border="0" height="16" width="16"> {_lang_lastactivity}</td> <td class="Cnorm">{LASTAK}</td> </tr> <tr> <td class="Cmite"><img src="include/images/userdetails/titel.png" border="0" height="16" width="16"> Titel</td> <td class="Cnorm"><font color="#b22222">{TITEL}</font> <img src="include/images/adminbild/%7BTITEL%7D.gif" border="0"></td> </tr> <tr> <td class="Cmite"><img src="include/images/userdetails/forum.png" border="0" height="16" width="16"> Forumsrang</td> <td class="Cnorm"><font color="#b22222">{RANG}</font></td> </tr> <tr> <td class="Cmite"><img src="include/images/userdetails/posts.png" border="0" height="16" width="16"> Forum Posts</td> <td class="Cnorm">{POSTS}</td> </tr> <tr> <td class="Cmite"><img src="include/images/userdetails/posts.png" border="0" height="16" width="16"> Posts pro Tag</td> <td class="Cnorm">{postpday}</td> </tr> <tr> <td class="Cmite"><img src="include/images/userdetails/posts.png" border="0" height="16" width="16"> Forum Topics</td> <td class="Cnorm">{TOPICS}</td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <table class="border" cellpadding="3" cellspacing="1" width="100%"> {profilefields} </table> <table bgcolor="#c0c0c0" cellpadding="0" cellspacing="1" width="100%"> <tbody> <tr class="Cdark"> <th style="padding: 3px; font-family: Arial; font-size: 12px;" colspan="2"><b>PC-Equipment</b></th> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/cpu.png" border="0" height="16" width="16"> Prozessor</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{CPU}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/arbeitsspeicher.png" border="0" height="16" width="16"> Arbeitsspeicher</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{ARBSP}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/grafik.png" border="0" height="16" width="16"> Grafikkarte</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{GRAKA}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/soundkarte.png" border="0" height="16" width="18"> Soundkarte</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{SOUND}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/mainboard.png" border="0" height="16" width="16"> Mainboard</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{MAIN}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/festplatte.png" border="0" height="16" width="16"> Festplatte</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{FESTP}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/laufwerk.png" border="0" height="16" width="16"> Laufwerk</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{LAUFW}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/netzteil.png" border="0" height="16" width="16"> Netzteil</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{NETZ}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/kuehlung.png" border="0" height="16" width="16"> Kühlung</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{KUEHL}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/gehaeuse.png" border="0" height="16" width="16"> Gehäuse</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{GEHAE}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/monitor.png" border="0" height="16" width="16"> Monitor</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{MONI}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/tastatur.png" border="0" height="16" width="16"> Tastatur</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{TAST}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/maus.png" border="0" height="16" width="16"> Maus</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{MAUS}</td> </tr> </tbody> </table> <table bgcolor="#c0c0c0" cellpadding="0" cellspacing="1" width="100%"> <tbody> <tr class="Cdark"> <th style="padding: 3px; font-family: Arial; font-size: 12px;" colspan="2"><b>Designerfahrung / Erfahrung mit Ilch oder Webspell / sontiges können...</b></th> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/games.png" border="0" height="16" width="16"> Design-Programm(e)</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{DESIGN}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/squad.png" border="0" height="16" width="16"> Designerfahrung in Jahren</td> <td class="Cnorm" width="200"> {JAHRED}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/squad.png" border="0" height="16" width="16"> Erfahrung mit Ilch*</td> <td class="Cnorm" width="200"> {ILCH}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/squad.png" border="0" height="16" width="16"> *Erfahrung in Jahren</td> <td class="Cnorm" width="200">{JAHREI}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/war.png" border="0" height="16" width="16"> Erfahrung mit Webspell*</td> <td class="Cnorm" style="padding-left: 4px;" width="200"> {WEBSPELL}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/squad.png" border="0" height="16" width="16"> *Erfahrung in Jahren</td> <td class="Cnorm" width="200">{JAHREW}</td> </tr> <tr> <td class="Cmite" style="padding-left: 4px;" width="120"><img src="include/images/userdetails/wart.png" border="0" height="16" width="16"> ca. designte Images...</td> <td class="Cnorm" style="padding-left: 4px;" width="200">{DIMAGE}</td> </tr> </tbody> </table> </body> </html>
Es wäre schön wenn ihr mir da helfen könntet, falls es jedoch zu viel arbeit macht, versuche ich es alleine.
liebe grüße von jason
Zuletzt modifiziert von jason am 01.02.2009 - 19:03:40