Hallo erstma!
Ich habe folgendes Prob
Und zwar, das die User vor ihren Charnamen plötzlich einen Punkt stehen haben, seitdem ich die Uhrzeit vor den Posts eingebaut habe. Da man meine Source ja nicht sehen kann, weil ich nen Prob mit dem Sourceviewer habe -.- stelle ich nen Auszug meiner Common hier mal so rein.
$op[$i] = $timest.str_replace("&","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n`& "
.str_replace("&","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
else
$op[$i] = $timest.str_replace("&","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n`& "
.str_replace("&","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
}
}
/*Landschaft-Emote Ende*/ elseif ($ft=="::" || $ft=="/me" || $ft==":") {
$x = strpos($row[comment],$ft);
if ($x!==false){
if ($linkbios)
$op[$i] = $timest.str_replace("&","&",HTMLEntities(substr($row[comment],0,$x)))
."`0<a href='$link' style='text-decoration: none'>\n`&$row[name]`0</a>\n`& "
.str_replace("&","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
else
$op[$i] = str_replace("&","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n`&$row[name]`0\n`& "
.str_replace("&","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
}
}
if ($op[$i]=="")
if ($linkbios)
$op[$i] = "$timest.`0<a href='$link' style='text-decoration: none'>`&$row[name]`0</a>`3 sagt: \"`#"
.str_replace("&","&",HTMLEntities($row[comment]))."`3\"`0`n";
else
$op[$i] = $timest."`0`&$row[name]`0`3 sagt: \"`#"
.str_replace("&","&",HTMLEntities($row[comment]))."`3\"`0`n";
if ($message=="X") $op[$i]="`0($row[section]) ".$op[$i];
$loggedin=(date("U") - strtotime($row[laston]) < getsetting("LOGINTIMEOUT",900) && $row[loggedin] && $row[location]==0);
if ($row['postdate']>=$session['user']['recentcomments']) $op[$i]=($loggedin?"<img src='images/new-online.gif' alt='>' width='3' height='5' align='absmiddle'> ":"<img src='images/new.gif' alt='>' width='3' height='5' align='absmiddle'> ").$op[$i];
addnav("",$link);
Thx Rantanplan
|