Box im Profil |
Son-Goten
Mitglied
Dabei seit: 31.05.04
Beiträge: 235
Fähigkeiten: WBB2 Fortgeschritten; WBB Lite 1 Fortgeschritten Herkunft: Bremen Forenversion: 2.3; 2.1
|
|
Hallo,
ich möchte gerne eine Box, neben den Angabe haben, dort wo dann der Benutzertext stehen soll. Ich habe es im Screen mal vereinfacht.
Ich habe schon versucht mit dem colspan ein wenig herumzuspielen, aber dann bricht entweder das Profil aus dem Design heraus oder es sind mehrere Spalten zu sehen. Der Benuzertext ist bis jetzt komplett raus genommen - möchte ihn ja, wie gesagt in einer Box haben.
Hier ist ebenfalls der Code:
code: |
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:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
|
<?xml version="1.0" encoding="{$lang->items['LANG_GLOBAL_ENCODING']}"?>
<!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" dir="{$lang->items['LANG_GLOBAL_DIRECTION']}" lang="{$lang->items['LANG_GLOBAL_LANGCODE']}" xml:lang="{$lang->items['LANG_GLOBAL_LANGCODE']}">
<head>
<title>$master_board_name | {$lang->items['LANG_MEMBERS_PROFILE_TITLE']}</title>
$headinclude
<script type="text/javascript">
<!--
function rating(userid) {
window.open("misc.php?action=userrating&userid="+userid+"&sid=$session[hash]", "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=350,height=205");
}
//-->
</script>
</head>
<body>
$header
<table cellpadding="0" cellspacing="0" border="0" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td align="left" style="background-color: #434343; height: 46px;" colspan="2">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
<td style="width:100%;" align="left"><span class="smallfont" style="margin-left: 20px;"><b>{$lang->items['LANG_MEMBERS_PROFILE_TITLE']}</b></span></td>
<td style="width:200px;" align="center" nowrap="nowrap"></td>
</tr>
</table>
</td>
</tr>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}">
<tr>
<td align="left" colspan="2" style="background-color: #f2f2f2;">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
<td rowspan="2">$useravatar</td>
<td style="width:100%; height: 32px;" class="tablea" align="left">
<span class="schrift">
<span class="schrift" style="margin-left: 80px;"></span>
</span>
</td>
</tr>
<tr>
<td style="width:25%; background-color: #f2f2f2; height: 46px;">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
<td style="width:25%" align="center">
<span class="schrift">
<span class="schrift"><b>$username</b></span>
<br />[ $gender ] </td>
<td style="width:25%" align="center"><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_RANK']}</b> $user_info[ranktitle] <br /> $rankimages</span></td>
<td style="width:25%" align="center"><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_REGDATE']}</b> $regdate<br /><b><b>{$lang->items['LANG_MEMBERS_PROFILE_POSTS']}</b> $user_info[userposts] ({$lang->items['LANG_MEMBERS_PROFILE_POSTSPERDAY']})<br /></then></if>
</span>
</td>
<td style="width:25%" align="center">
<span class="schrift"><b>Status:</b>
<if($user_online==1)>
<then>
<img src="{$style['imagefolder']}/user_online.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" />
</then>
<else>
<img src="{$style['imagefolder']}/user_offline.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" />
</else>
</if>
<br />
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</tr>
<tr>
<td valign="top" style="width:100%; background-color: #f2f2f2;" colspan="2">
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:100%; border-top: 1px solid black;" class="tableinborder">
<tr>
<td style="width:100%; background-color: #f2f2f2;" align="left">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
<td class="schrift" align="left">
</tr>
<tr align="left">
<td><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_LASTACTIVITY']}</b></span></td>
<td><span class="schrift">$la_date <span class="{time}">$la_time</span></span></td>
</tr>
<if($userlocation!="")>
<then>
<tr align="left">
<td><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_LOCATION']}</b></span></td>
<td><span class="schrift">$userlocation</span></td>
</tr>
</then>
</if>
<if($showlastpost==1)>
<then>
<tr align="left">
<td><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_LASTPOST']}</b></span></td>
<td><span class="schrift"><b>» <a href="thread.php?postid=$lastpost[postid]&sid=$session[hash]#post$lastpost[postid]">$lastpost[topic]</a></b></span>
<br />
<span class="schrift">{$lang->items['LANG_MEMBERS_PROFILE_POSTED_ON']} $lastpostdate <span class="time">$lastposttime</span>
<br />
{$lang->items['LANG_MEMBERS_PROFILE_FORUM']} <b><a href="board.php?boardid=$lastpost[boardid]&sid=$session[hash]">$lastpost[title]</a></b></span></td>
</tr>
</then>
</if>
<tr align="left">
<td><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_ICQ']}</b></span></td>
<td><span class="schrift">$user_info[icq]</span></td>
</tr>
<tr align="left">
<td><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_AIM']}</b></span></td>
<td><span class="schrift">$user_info[aim]</span></td>
</tr>
<tr align="left">
<td><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_YIM']}</b></span></td>
<td><span class="schrift">$user_info[yim]</span></td>
</tr>
<tr align="left">
<td><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_MSN']}</b></span></td>
<td><span class="schrift">$user_info[msn]</span></td>
</tr>
<tr align="left">
<td><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_EMAIL']}</b></span></td>
<td><span class="schrift">$useremail</span></td>
</tr>
<tr align="left">
<td><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_HOMEPAGE']}</b></span></td>
<td><span class="schrift">$userhomepage</span></td>
</tr>
<tr align="left">
<td><span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_BIRTHDAY']}</b></span></td>
<td><span class="schrift">$birthday</span></td>
</tr>
$profilefields
</table>
</td>
</tr>
<tr>
<td class="tablea" colspan="2">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tabletitle_fc">
<td align="left">
<span class="schrift"><b>{$lang->items['LANG_MEMBERS_PROFILE_CONTACT']}</b></span></td>
<td align="right">
<if($user_info['showemail']==0 && $user_info['usercanemail']==1)>
<then>
<a href="formmail.php?userid=$user_info[userid]&sid=$session[hash]"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$lang->items['LANG_MEMBERS_SENDEMAIL']}" title="{$lang->items['LANG_MEMBERS_SENDEMAIL']}" /></a>
</then>
</if>
<if($user_info['receivepm']==1 && $wbbuserdata['can_use_pms']==1)>
<then>
<a href="pms.php?action=newpm&userid=$user_info[userid]&sid=$session[hash]"><img src="{$style['imagefolder']}/pm.gif" border="0" alt="{$lang->items['LANG_MEMBERS_PM']}" title="{$lang->items['LANG_MEMBERS_PM']}" /></a>
</then>
</if>
<a href="search.php?action=user&userid=$user_info[userid]&sid=$session[hash]"><img src="{$style['imagefolder']}/search.gif" border="0" alt="{$lang->items['LANG_MEMBERS_SEARCH']}" title="{$lang->items['LANG_MEMBERS_SEARCH']}" /></a>
<a href="usercp.php?action=buddy&add=$user_info[userid]&sid=$session[hash]"><img src="{$style['imagefolder']}/homie.gif" border="0" alt="{$lang->items['LANG_MEMBERS_BUDDY']}" title="{$lang->items['LANG_MEMBERS_BUDDY']}" /></a></td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<if(checkAdminPermissions("a_can_users_edit") || checkAdminPermissions("a_can_users_delete"))>
<then>
<p align="center"><span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_ADMINOPTIONS']}</b>
<if(checkAdminPermissions("a_can_users_edit"))><then><a href="acp/index.php?url=users.php%3Faction%3Dedit%26userid%3D$user_info[userid]" target="_blank">{$lang->items['LANG_MEMBERS_PROFILE_USEREDIT']}</a></then></if>
<if(checkAdminPermissions("a_can_users_edit") && checkAdminPermissions("a_can_users_delete"))><then> | </then></if>
<if(checkAdminPermissions("a_can_users_delete"))><then><a href="acp/index.php?url=users.php%3Faction%3Ddelete%26userid%5B%5D%3D$user_info[userid]" target="_blank">{$lang->items['LANG_MEMBERS_PROFILE_USERDEL']}</a></then></if></span></p>
</then>
</if>
$footer
</body>
</html> |
|
Danke!
__________________
|
|
14.07.10 01:04 |
E-Mail
Finden
Als Freund hinzufügen
|
|
mkkcs
Mitglied
Dabei seit: 06.10.04
Beiträge: 2.051
Fähigkeiten: WBB2 Profi; WBB2 Fortgeschritten; WBB Lite 1 Profi Herkunft: aus Mamas Bauch Forenversion: 2.3; 2.2
|
|
|
14.07.10 20:49 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Son-Goten
Mitglied
Dabei seit: 31.05.04
Beiträge: 235
Fähigkeiten: WBB2 Fortgeschritten; WBB Lite 1 Fortgeschritten Herkunft: Bremen Forenversion: 2.3; 2.1
Themenstarter
|
|
|
14.07.10 21:00 |
E-Mail
Finden
Als Freund hinzufügen
|
|
mkkcs
Mitglied
Dabei seit: 06.10.04
Beiträge: 2.051
Fähigkeiten: WBB2 Profi; WBB2 Fortgeschritten; WBB Lite 1 Profi Herkunft: aus Mamas Bauch Forenversion: 2.3; 2.2
|
|
|
14.07.10 23:18 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Son-Goten
Mitglied
Dabei seit: 31.05.04
Beiträge: 235
Fähigkeiten: WBB2 Fortgeschritten; WBB Lite 1 Fortgeschritten Herkunft: Bremen Forenversion: 2.3; 2.1
Themenstarter
|
|
Ah, ok, habe mich dann doch falsch ausgedrückt.
Die Box will ich einfach kleiner haben, nicht den Inhalt.
__________________
|
|
14.07.10 23:39 |
E-Mail
Finden
Als Freund hinzufügen
|
|
mkkcs
Mitglied
Dabei seit: 06.10.04
Beiträge: 2.051
Fähigkeiten: WBB2 Profi; WBB2 Fortgeschritten; WBB Lite 1 Profi Herkunft: aus Mamas Bauch Forenversion: 2.3; 2.2
|
|
|
15.07.10 07:21 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Son-Goten
Mitglied
Dabei seit: 31.05.04
Beiträge: 235
Fähigkeiten: WBB2 Fortgeschritten; WBB Lite 1 Fortgeschritten Herkunft: Bremen Forenversion: 2.3; 2.1
Themenstarter
|
|
Danke dir, läuft alles.
__________________
|
|
15.07.10 08:41 |
E-Mail
Finden
Als Freund hinzufügen
|
|
|