'.$user_info['clanz_pre'] . ' ' . $nickname;
}
if($user_info['clanz_suff'] !== NULL && $user_info['clanz_suff'] != '' && $showClanTags) {
$nickname = $nickname . ' ' . $user_info['clanz_suff'] . '';
}
if($color == ''){
return $nickname;
} else{
return ''.$nickname.'';
}
}
/**
* use generateUserLinkByID instead
* @deprecated
*/
function displayUserLinkByID($userid, $showClanTags = TRUE){
return generateUserLinkByID($userid, $showClanTags);
}
function generateUserLinkByID($userid, $showClanTags = TRUE){
return ''.displayUserNameByID($userid, $showClanTags).'';
}
function generateAttackLinkByID($attackid) {
$sql = 'SELECT * from attacken WHERE id = ' .$attackid;
$qry = mysql_query($sql);
$row = mysql_fetch_assoc($qry);
return ''.$row['name'].'';
}
function displayClanLink($clanid, $clanname = NULL){
if($clanname === NULL) {
$qry = mysql_query('SELECT clanname FROM clan WHERE id = ' . $clanid);
$row = mysql_fetch_assoc($qry);
$clanname = $row['clanname'];
}
return ''.$clanname.'';
}
function displayHistoryBackLink(){
return 'zurück';
}
function displayIndexBackLink(){
return 'zurück';
}
function displayCharLink($charid, $charname, $img = NULL, $clanpre = NULL, $clansu = NULL){
if($clanpre !== NULL && $clansu !== NULL){
$charname = $clanpre.' '.$charname.' '.$clansu;
}
if($img === NULL){
return ''.$charname.'';
} else{
return ''.$charname.'
';
}
}
function displayItemLink($tablename, $itemid, $itemname){
if($itemname != 'Geheim!'){
return ''.$itemname.'';
}
return $itemname;
}
function displayAuktionsLink($kategorie,$itemnamepart,$itemname,$entriesPerSite,$pageNumber,$maxPrice){
return 'Hier Klicken um Auktionen des Items '.$itemname.' anzeigen zu lassen!';
}
// Soll die alte displayPagelinks ersetzen
function displayPagelinksNew($entriesPerPage, $totalEntries, $aktualPage, $url){
$maxPages = ceil($totalEntries/$entriesPerPage);
return displayPagelinks($aktualPage, $maxPages, $url);
}
function displayPagelinks($aktualPage, $maxPages, $url){
// Erstmal die link vorher/nachher
$vorher = '