revert delete of content

bookshelf
Marshall 2020-06-04 12:10:36 -04:00
parent 01d0567eb2
commit 9fafc567d4
1 changed files with 8 additions and 0 deletions

View File

@ -109,6 +109,14 @@ class BooksTable extends ListTable {
create_function ('$db', 'return in_array
($db->get ("fk_attriblist", SQLINT), array (240, 245, 246));'));
echo ("<a href=\"/ebooks/$pk\">" . join ("<br$config->endtag>", $a) . "</a>");
list ($a, $b) = getall ($db2, "c_title",
create_function ('$db', 'return ($db->get ("fk_attriblist", SQLINT) == 505);'));
if (count ($a)) {
echo ("<p>Contents:</p><ul><li>");
echo (join ("</li><li>", $a));
echo ("</li></ul>");
}
echo ("</td>");
$db2->exec ("select * from mn_books_langs, langs " .