\n";
- print "";
-
- print "\n";
+ echo "\n";
+ echo " ".__("Comments")." \n";
+ echo " \n";
+ echo " \n";
$comments = package_comments($row["ID"]);
if (!empty($comments)) {
while (list($indx, $carr) = each($comments)) {
- print "\n";
- print " ";
- print " | \n";
-
- print "\n";
- print " ";
- print "";
- print "";
+
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " ";
if (canDeleteComment($carr["ID"], account_from_sid($SID), $SID)) {
$durl = "";
- print $durl . " ";
+ echo $durl . " ";
}
if ($SID) {
- print __("Comment by: %h%s%h on %h%s%h",
+ echo __("Comment by: %h%s%h on %h%s%h",
array("",$carr["UserName"],"",
"",gmdate("Ymd [H:i:s]",$carr["CommentTS"]),""));
} else {
- print __("Comment by: %h%s%h on %h%s%h",
+ echo __("Comment by: %h%s%h on %h%s%h",
array("",$carr["UserName"],"",
"",gmdate("Ymd [H:i:s]",$carr["CommentTS"]),""));
}
- print "";
- print " | ";
- print "\n";
- print str_replace("\n", " ", str_replace('"',""", htmlspecialchars(strip_tags(stripslashes($carr["Comments"])))));
- print " \n";
- print " | \n";
- print " \n";
- print " | \n";
- print " \n";
+ echo " | \n";
+ echo " \n";
+ echo " \n";
+ echo " ";
+ echo "\n";
+ echo str_replace("\n", " ", str_replace('"',""", htmlspecialchars(strip_tags(stripslashes($carr["Comments"])))));
+ echo " | \n";
+ echo " \n";
+ echo " \n";
+ echo " | \n";
+ echo " \n";
}
}
- print "\n";
- print " ";
- print " | \n";
- print "\n";
- print " ";
- print "\n";
- print " | ";
- print " \n";
-
- print " \n";
-
-
- print " \n";
+ echo " |
\n"; - print str_replace("\n", "
\n"; - print "", str_replace('"',""", htmlspecialchars(strip_tags(stripslashes($carr["Comments"]))))); - print "
\n"; + echo str_replace("\n", "
", str_replace('"',""", htmlspecialchars(strip_tags(stripslashes($carr["Comments"]))))); + echo "