1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
$additional_user_fields['plz'] = array($lang['plz'], "text", 1);
if (!empty($user_row['user_email']) && (!isset($user_row['user_showemail']) || (isset($user_row['user_showemail']) && $user_row['user_showemail'] == 1))) {
$user_email = $user_row['user_email'];
$user_email_save = str_replace("@", " at ", $user_row['user_email']);
if (!empty($url_mailform)) {
$user_mailform_link = $site_sess->url(preg_replace("/{user_id}/", $user_row['user_id'], $url_mailform));
}
else {
$user_mailform_link = $site_sess->url(ROOT_PATH."member.php?action=mailform&".URL_USER_ID."=".$user_row['user_id']);
}
$user_email_button = "<a href=\"".$user_mailform_link."\"><img src=\"".get_gallery_image("email.gif")."\" border=\"0\" alt=\"".$user_email_save."\" /></a>";
}
else {
$user_email = REPLACE_EMPTY;
$user_email_save = REPLACE_EMPTY;
$user_mailform_link = REPLACE_EMPTY;
$user_email_button = REPLACE_EMPTY;
}
// PLZ 2 Stellen
$max_string_laenge = 3;
if(strlen($user_row['plz'])>$max_string_laenge) $postleitzahl = substr($user_row['plz'],0,($max_string_laenge-1))."...";
else $postleitzahl = $user_row['plz'];
// PLZ 1 Stelle
$max_string_laenge = 2;
if(strlen($user_row['plz'])>$max_string_laenge) $postleitzahl_1 = substr($user_row['plz'],0,($max_string_laenge-1));
else $postleitzahl_1 = $user_row['plz'];
// PLZ Ende
$site_template->register_vars(array(
"user_id" => $user_row['user_id'],
"user_name" => (isset($user_row['user_name'])) ? format_text($user_row['user_name'], 2) : REPLACE_EMPTY,
"postleitzahl" => $postleitzahl,
"postleitzahl_1" => $postleitzahl_1,
<tr>
<td class="row1"><b>{lang_email}</b></td>
<td class="row1">
<input type="text" name="user_email" size="30" class="input" value="{user_email}" />
</td>
</tr>
add this <tr>
<td class="row1"><b>{lang_plz}</b></td>
<td class="row1">
<input type="text" maxlength="5" name="plz" class="input_register_plz" value="{plz}">
</td>
</tr>
$site_template->register_vars(array(
"lang_site_stats" => $lang['site_stats'],
"lang_plz" => $lang[plz],
$lang['plz'] = "PLZ";
<tr>
<td class="row2"><b>{lang_icq}</b></td>
<td class="row2">{if user_icq}<a href="http://www.icq.com/people/about_me.php?uin={user_icq}" target="_blank">{user_icq}</a> (<b>{user_icq_status}</b>){endif user_icq}</td>
</tr>
<tr>
<td class="row1"><b>{lang_plz}</b></td>
<td class="row1">{postleitzahl}</td>
</tr>
<tr>
<td class="row1"> </td>
<td class="row1"><img src="{template_url}/images/plz/{postleitzahl_1}.png"></td>
</tr>
$user_online_list .= "<option value=\"".$site_sess->url($user_profile_link)."\">".$username."".$invisibleuser."</option>";
<img src="templates/default/images/{sex}.gif" height="14">
$user_online_list .= "<option value=\"".$site_sess->url($user_profile_link)."\">".$username."".$invisibleuser."</option>";
Wo muss ich diesen Code (zum Anzeigen des Geschlechtes) <img src="templates/default/images/{sex}.gif" height="14">
platzieren damit diese hinter dem Usernamen steht? Und wie muss das ganze dann aussehen ? Wäre um Hilfe echt dankbar !<table cellspacing="2" cellpadding="8" border="0" width="390">
.
.
.
<table cellspacing="0" cellpadding="8" border="0" width="100%" >
<tr>
<td class=box_list_f><strong>e-Mail:</strong></td>
<td class=box_list>{user_email_save} </td>
</tr>
</table>
.
.
.
</rable>