diff --git a/classes/pref/users.php b/classes/pref/users.php
index ab1694564..5ac6a7990 100644
--- a/classes/pref/users.php
+++ b/classes/pref/users.php
@@ -38,7 +38,6 @@ class Pref_Users extends Handler_Administrative {
$sth->execute([$id]);
if ($row = $sth->fetch()) {
- print "
";
$last_login = TimeHelper::make_local_datetime(
$row["last_login"], true);
@@ -48,47 +47,62 @@ class Pref_Users extends Handler_Administrative {
$stored_articles = $row["stored_articles"];
- print "| ".__('Registered')." | $created |
";
- print "| ".__('Last logged in')." | $last_login |
";
-
$sth = $this->pdo->prepare("SELECT COUNT(id) as num_feeds FROM ttrss_feeds
WHERE owner_uid = ?");
$sth->execute([$id]);
$row = $sth->fetch();
+
$num_feeds = $row["num_feeds"];
- print "| ".__('Subscribed feeds count')." | $num_feeds |
";
- print "| ".__('Stored articles')." | $stored_articles |
";
+ ?>
- print "
";
+
- print "".__('Subscribed feeds')."
";
+
- $sth = $this->pdo->prepare("SELECT id,title,site_url FROM ttrss_feeds
- WHERE owner_uid = ? ORDER BY title");
- $sth->execute([$id]);
+
- print "";
+
- while ($line = $sth->fetch()) {
+ pdo->prepare("SELECT id,title,site_url FROM ttrss_feeds
+ WHERE owner_uid = ? ORDER BY title");
+ $sth->execute([$id]);
+ ?>
- $icon_file = ICONS_URL."/".$line["id"].".ico";
+ ";
+ ">
+ = htmlspecialchars($row["title"]) ?>
+
+
+
+
+ ".__('User not found')."";
+ print_error(__('User not found'));
}
}