#
#----------[ OPEN ]-------------------------------------
#
groupcp.php
#
#----------[ FIND ]-------------------------------------
#
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email
#
#----------[ INLINE FIND ]------------------------------
#
user_email
#
#----------[ INLINE AFTER, ADD ]------------------------
#
, user_allow_viewprofile_2
#
#----------[ FIND ]-------------------------------------
# Kommt 2x vor
$sql = "SELECT u.username, u.user_id, u.user_viewemail, u.user_posts, u.user_regdate, u.user_from, u.user_website, u.user_email
#
#----------[ INLINE FIND ]------------------------------
#
u.user_email
#
#----------[ INLINE AFTER, ADD ]------------------------
#
, u.user_allow_viewprofile_2
#
#----------[ FIND ]-------------------------------------
#
$profile = '<a href="' . $temp_url . '">' . $lang['Read_profile'] . '</a>';
#
#----------[ AFTER, ADD ]-------------------------------
#
// <!-- BEGIN easyUCP -->
$second_page_allowed = false;
if ( $row['user_allow_viewprofile_2'] != '-2' )
{
if ( $row['user_allow_viewprofile_2'] == '-1' || $userdata['user_level'] == ADMIN ) // Gäste
{
$second_page_allowed = true;
}
else if ( $userdata['session_logged_in'] && $row['user_allow_viewprofile_2'] == '0' || $userdata['user_level'] == MOD ) // User
{
$second_page_allowed = true;
}
else
{
$second_page_allowed = false;
$page = '';
}
}
( $second_page_allowed ) ? $second_profile_img = ' <img src="' . $images['icon_second_profile'] . '" alt="' . $lang['Second_profilepage'] . '" title="' . $lang['Second_profilepage'] . '" border="0" /> ' : $second_profile_img = '';
// <!-- END easyUCP -->
#
#----------[ FIND ]-------------------------------------
#
'MOD_PROFILE' => $profile,
#
#----------[ AFTER, ADD ]-------------------------------
#
// <!-- BEGIN easyUCP -->
'EX_PROFILE_IMG' => $second_profile_img,
// <!-- END easyUCP -->
#
#----------[ FIND ]-------------------------------------
#
'PROFILE' => $profile,
#
#----------[ AFTER, ADD ]-------------------------------
#
// <!-- BEGIN easyUCP -->
'EX_PROFILE_IMG' => $second_profile_img,
// <!-- END easyUCP -->
#
#----------[ OPEN ]-------------------------------------
#
templates/subSilver/memberlist_body.tpl
#
#----------[ FIND ]-------------------------------------
#
<td class="row1" align="center"><span class="gen"><a href="{U_MOD_VIEWPROFILE}" class="gen">{MOD_USERNAME}</a></span></td>
#
#----------[ INLINE FIND ]------------------------------
#
class="gen">{USERNAME}
#
#----------[ INLINE AFTER, ADD ]------------------------
#
{EX_PROFILE_IMG}
#
#----------[ FIND ]-------------------------------------
#
<td class="{member_row.ROW_CLASS}" align="center"><span class="gen"><a href="{member_row.U_VIEWPROFILE}" class="gen">{member_row.USERNAME}</a></span></td>
#
#----------[ INLINE FIND ]------------------------------
#
class="gen">{member_row.USERNAME}
#
#----------[ INLINE AFTER, ADD ]------------------------
#
{member_row.EX_PROFILE_IMG}
#
#----------[ SAVE AND CLOSE ALL FILES ]-----------------
#
# EoM
Mitglieder in diesem Forum: 0 Mitglieder und 16 Gäste