dbh->query("SELECT login, ".SUBSTRING_FOR_DATE."(last_login,1,16) AS last_login, access_level, (SELECT COUNT(int_id) FROM ttrss_user_entries WHERE owner_uid = id) AS stored_articles, ".SUBSTRING_FOR_DATE."(created,1,16) AS created FROM ttrss_users WHERE id = '$uid'"); if ($this->dbh->num_rows($result) == 0) { print "
".__('Registered')." | $created |
".__('Last logged in')." | $last_login |
".__('Subscribed feeds count')." | $num_feeds |
".__('Stored articles')." | $stored_articles |
".__('Login')." | ".__('Access Level')." | ".__('Subscribed feeds')." | ".__('Registered')." | ".__('Last login')." | |
"; $onclick = "onclick='editUser($uid, event)' title='".__('Click to edit')."'"; print " | " . $line["login"] . " | "; if (!$line["email"]) $line["email"] = " "; print "" . $access_level_names[$line["access_level"]] . " | "; print "" . $line["num_feeds"] . " | "; print "" . $line["created"] . " | "; print "" . $line["last_login"] . " | "; print "
"; if (!$user_search) { print_warning(__('No users defined.')); } else { print_warning(__('No matching users found.')); } print "
"; } print "