function user_rules() { ?>
=MSG_forum_rules;?> |
$fh=fopen($GLOBALS['opt_dir']."/langs/".$GLOBALS['inuser']['ln_file']."/rules.txt","r");
while ($buffer=fgets($fh)) echo $buffer." "; fclose($fh); ?> |
if (!$GLOBALS['opt_noquickreg']) { ?> } ?> |
if ($GLOBALS['opt_activate']==1) { ?> |
} ?> |
=MSG_user_list;?>
=$pages;?>
| |||||||||||
=MSG_name;?> | =MSG_title;?> | =MSG_level;?> | =MSG_p_count;?> | =MSG_rating;?> | =MSG_gender;?> | =MSG_location;?> | =MSG_email;?> | =MSG_homepage;?> | ICQ | =MSG_regdate;?> | =MSG_lastvisit;?> } function user_list_entry(&$udata) { ?> |
=user_out($udata['u__name'],$udata['u_id']);?> | =$udata['u__title'];?> | =$udata['l_title'];?> | =intval($udata['pcount']);?> | =intval($udata['urating']);?> | if ($udata['u_gender']==1) { ?>=MSG_user_male;?> } elseif ($udata['u_gender']==0) { ?>=MSG_user_female;?> } else { ?>=MSG_user_nogender;?> } ?> | =$udata['u_location'];?> | =show_email_q($udata['u__email'],$udata['u_showmail'],$udata['u_id']);?> | if ($udata['u_homepage'] && $udata['u_homepage']!="http://") { ?>=MSG_have;?> } else { ?>=MSG_none;?> } ?> | if ($udata['u_icq']) { ?> } else { ?>=MSG_none;?> } ?> | =short_date_out($udata['u__regdate']);?> | =short_date_out($udata['lastvisit']);?> } function user_list_end() { ?> |
=MSG_us_search;?> |
=MSG_user_profile;?> =$udata['u__name'];?>
| |||||||||
=MSG_user_name;?>: | =$udata['u__name'];?> | ||||||||
=MSG_user_realname;?>: | =$udata['u_realname'];?> if ($udata['u_avatartype']>0) { ?> | ||||||||
=MSG_user_avatar;?>: | =show_avatar($udata);?> } if ($udata['u__photo_id']) { ?> | ||||||||
=MSG_user_photo;?>: | } ?> | ||||||||
=MSG_user_customtitle;?>: | =$udata['u__title'];?> | ||||||||
=MSG_user_basiclevel;?>: | =$udata['l_title'];
?> if ($udata['l_pic']) { ?> } ?> | ||||||||
=MSG_user_gender;?>: | if ($udata['u_gender']==1) { ?>=MSG_user_male;?> } elseif ($udata['u_gender']==0) { ?>=MSG_user_female;?> } else { ?>=MSG_user_nogender;?> } ?> if ($udata['u_bmode'] && $udata['u_bday'] && $udata['u_bmonth'] && $udata['u_byear']) { ?> | ||||||||
if ($udata['u_bmode']==1 || $udata['u_bmode']==3) { ?>=MSG_user_birthdate;?> } else { ?>=MSG_user_age;?> } ?> | if ($udata['u_bmode']==1 && $udata['u_bday'] && $udata['u_bmonth']) { ?>=$udata['u_bday'];?> =month_replace(date("F",mktime(0,0,0,$udata['u_bmonth'],$udata['u_bday'],1980)));?> } elseif ($udata['u_bmode']==2 && $udata['u_byear']) { ?>=date("Y",$GLOBALS['curtime'])-$udata['u_byear']-1;?> =MSG_or;?> =format_word(date("Y",$GLOBALS['curtime'])-$udata['u_byear'],MSG_user_age1,MSG_user_age2,MSG_user_age3);?> } elseif ($udata['u_bmode']==3) { ?>=month_replace(date("d F",mktime(0,0,0,$udata['u_bmonth'],$udata['u_bday'],1980)));?> =$udata['u_byear'];?> } ?> } ?> | ||||||||
=MSG_user_location;?>: | =$udata['u_location'];?> | ||||||||
=MSG_user_interests;?>: | =$udata['u_interests'];?> | ||||||||
=MSG_user_email;?>: | show_email_f($udata['u__email'],$udata['u_showmail'],$udata['u_id']);?> | ||||||||
=MSG_user_homepage;?>: | if ($udata['u_homepage'] && $udata['u_homepage']!="http://") { ?>=$udata['u_homepage'];?> } else { ?>=MSG_no;?> } ?> | ||||||||
ICQ: | if ($udata['u_icq']) { ?>=$udata['u_icq'];?> } else { ?>=MSG_no;?> } ?> | ||||||||
=MSG_user_aol;?>: | if ($udata['u_aol']) { ?>=$udata['u_aol'];?> } else { ?>=MSG_no;?> } ?> | ||||||||
=MSG_user_yahoo;?>: | if ($udata['u_yahoo']) { ?>=$udata['u_yahoo'];?> } else { ?>=MSG_no;?> } ?> | ||||||||
=MSG_user_msn;?>: | if ($udata['u_msn']) { ?>=$udata['u_msn'];?> } else { ?>=MSG_no;?> } ?> | ||||||||
=MSG_user_jabber;?>: | if ($udata['u_jabber']) { ?>=$udata['u_jabber'];?> } else { ?>=MSG_no;?> } ?> | ||||||||
=MSG_user_diary;?>: | if ($udata['u_diary']) { ?>=$udata['u_diary'];?> } else { ?>=MSG_no;?> } ?> if ($GLOBALS['opt_rating']==0) { ?> | ||||||||
=MSG_user_rating;?>: | =intval($udata['u_rating']) ?> if ($GLOBALS['inuserid']>3 && $GLOBALS['inuserid']!=$udata['u_id'] && $allowrate) { ?> =MSG_user_ratepro;?> =MSG_user_ratecontra;?> } ?> } if ($GLOBALS['opt_reputation']==0 || $GLOBALS['inuserbasic']>=1000) { ?> | ||||||||
=MSG_user_reputation;?>: | =intval($udata['uw_count']);?> | ||||||||
=MSG_user_onforum;?> | if ($GLOBALS['opt_topiccount']!=1) { ?>=MSG_user_created;?> =format_word($udata['u_tcount'],MSG_t1,MSG_t2,MSG_t3);?> } ?> =MSG_user_posted;?> =format_word($udata['u_pcount'],MSG_p1,MSG_p2,MSG_p3);?> if ($GLOBALS['opt_topiccount']!=1) { ?>=MSG_user_polled;?> =format_word($udata['u_plcount'],MSG_pl1,MSG_pl2,MSG_pl3);?> } ?> =MSG_user_voted;?> =format_word($udata['u_vcount'],MSG_vt1,MSG_vt2,MSG_vt3);?> } ?> | ||||||||
=MSG_user_regdate;?>: | =long_date_out($udata['u__regdate']);?> | ||||||||
=MSG_user_lastprofile;?>: | =long_date_out($udata['u__profileupdate']);?> | ||||||||
=MSG_user_lastvisit;?>: | =long_date_out($udata['u_lastvisit']);?> if ($GLOBALS['opt_topiccount']!=1) { ?> | ||||||||
=MSG_user_lastpost;?>: | if (!$lmsg) { ?>=MSG_none;?> } elseif ($lmsg['f_lview']<=$GLOBALS['inuserlevel']) { long_date_out($lmsg['p__time']);?> =MSG_intopic;?> "=$lmsg['t_title'];?>" =MSG_inforum;?> "=$lmsg['f_title'];?>" } ?> } } function user_profile_list() { ?> | ||||||||
=MSG_user_perforum;?>: | |||||||||
| |||||||||
=MSG_user_connect;?> if ($GLOBALS['inuserid']>3) { ?> | |||||||||
=MSG_user_pm;?> } ?> | |||||||||
=MSG_user_sendmail;?> | |||||||||
=MSG_user_searchtopic;?> | |||||||||
=MSG_user_searchposts;?> |
}
else { ?>
} |