$(document).attr("title","' . $title . '");'; } function listActive($pageName) { ?> prepare("select * from loveway_config where name = ?"); $stmt->bindValue(1, $name); if ($stmt->execute()) { $rows = $stmt->fetchAll(); return $rows[0]['value']; } else { return 'database connection failed'; } } catch (Exception $e) { include('./pages/err.php'); //echo $e->getMessage(); } } function hideSomethings() { ?>