anpera.net
https://anpera.dyndns.org/phpbb3/

Probs über Probs...
https://anpera.dyndns.org/phpbb3/viewtopic.php?f=25&t=3579
Seite 1 von 1

Autor:  Rantanplan [ Do 12 Apr, 2007 15:06 ]
Betreff des Beitrags:  Probs über Probs...

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("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
else
$op[$i] = str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n`&$row[name]`0\n`& "
.str_replace("&amp;","&",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("&amp;","&",HTMLEntities($row[comment]))."`3\"`0`n";
else
$op[$i] = $timest."`0`&$row[name]`0`3 sagt: \"`#"
.str_replace("&amp;","&",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='&gt;' width='3' height='5' align='absmiddle'> ":"<img src='images/new.gif' alt='&gt;' width='3' height='5' align='absmiddle'> ").$op[$i];
addnav("",$link);

Thx Rantanplan

Autor:  Rantanplan [ Fr 13 Apr, 2007 16:25 ]
Betreff des Beitrags: 

Sooo in meine Source könnt ihr jetzt auch wieder gucken^^

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/