<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Resources par tag</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.autocomplete.js"></script> <?php require_once 'folksoClient.php'; require_once 'folksoFabula.php'; require_once 'folksoAdmin.php'; $loc = new folksoFabula(); $fk = new folksoAdmin(); /** If basic authentication info is present, we send it back to the browser for use in ajax requests **/ print $fk->BasicAuthJSScript(); print "<script type='text/javascript'>\n\n"; print $loc->WebPathJS(); print "</script>\n"; ?> <script type="text/javascript" src="js/folkso.js"></script> <script type="text/javascript" src="js/resview.js"> </script> <link rel="stylesheet" type="text/css" href="http://www.fabula.org/commun3/template.css" media="screen"> </link>
* @subpackage webinterface */ /** Since DB connection etc. are used both in the <head> and <body>, all the initialization stuff goes here. **/ require_once 'folksoDBconnect.php'; require_once 'folksoDBinteract.php'; require_once 'folksoFabula.php'; require_once 'folksoAdmin.php'; $loc = new folksoFabula(); $dbc = new folksoDBconnect($loc->db_server, $loc->db_user, $loc->db_password, $loc->db_database_name); /* * We could just do a simple connect here, but it seems safer to * connect through our standard connection system. */ $i = new folksoDBinteract($dbc); $fk = new folksoAdmin(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Language" content="fr-FR"/> <title>Taggons des pages</title> <script type="text/javascript" src="js/jquery.js"> </script> <script type="text/javascript" src="js/jquery.autocomplete.js"> </script> <script type="text/javascript"> <?php