index.php 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. <?php // $Id: index.php 22269 2009-07-21 15:06:15Z juliomontoya $
  2. /* For licensing terms, see /dokeos_license.txt */
  3. /**
  4. ==============================================================================
  5. * Index of the admin tools
  6. *
  7. * @package dokeos.admin
  8. ==============================================================================
  9. */
  10. // name of the language file that needs to be included <br />
  11. $language_file=array('admin','tracking');
  12. // resetting the course id
  13. $cidReset=true;
  14. // including some necessary dokeos files
  15. require('../inc/global.inc.php');
  16. require_once(api_get_path(LIBRARY_PATH).'security.lib.php');
  17. // setting the section (for the tabs)
  18. $this_section=SECTION_PLATFORM_ADMIN;
  19. // Access restrictions
  20. api_protect_admin_script(true);
  21. $nameTools = get_lang('PlatformAdmin');
  22. // setting breadcrumbs
  23. //$interbreadcrumb[] = array('url' => 'index.php', 'name' => $nameTools);
  24. // setting the name of the tool
  25. $tool_name=get_lang('PlatformAdmin');
  26. // Displaying the header
  27. Display::display_header($nameTools);
  28. if(api_is_platform_admin())
  29. {
  30. if(is_dir(api_get_path(SYS_CODE_PATH).'install/') && is_readable(api_get_path(SYS_CODE_PATH).'install/index.php'))
  31. {
  32. Display::display_normal_message(get_lang('InstallDirAccessibleSecurityThreat'));
  33. }
  34. /*
  35. ==============================================================================
  36. ACTION HANDLING
  37. ==============================================================================
  38. */
  39. if (!empty($_POST['Register']))
  40. {
  41. register_site();
  42. Display :: display_confirmation_message(get_lang('VersionCheckEnabled'));
  43. }
  44. /*
  45. ==============================================================================
  46. MAIN SECTION
  47. ==============================================================================
  48. */
  49. $keyword_url = Security::remove_XSS((empty($_GET['keyword'])?'':$_GET['keyword']));
  50. }
  51. if (api_is_platform_admin()) {
  52. ?>
  53. <div class="admin_section">
  54. <h4><?php Display::display_icon('members.gif', get_lang('Users')); ?> <?php echo api_ucfirst(get_lang('Users')); ?></h4>
  55. <div style="list-style-type:none"><form method="get" action="user_list.php">
  56. <input type="text" name="keyword" value="<?php echo $keyword_url; ?>"/>
  57. <button class="search" type="submit"> <?php echo get_lang('Search');?>
  58. </button>
  59. </form>
  60. </div>
  61. <ul>
  62. <li><a href="user_list.php?search=advanced"><?php echo api_ucfirst(get_lang('AdvancedSearch')); ?></a></li>
  63. <li><a href="user_list.php"> <?php echo get_lang('UserList') ?></a></li>
  64. <li><a href="user_add.php"> <?php echo get_lang('AddUsers') ?></a></li>
  65. <li><a href="user_export.php"> <?php echo get_lang('ExportUserListXMLCSV') ?></a></li>
  66. <li><a href="user_import.php"> <?php echo get_lang('ImportUserListXMLCSV') ?></a></li>
  67. <?php if (api_get_setting('allow_social_tool')=='true') { ?>
  68. <li><a href="group_add.php"> <?php echo get_lang('AddGroups') ?></a></li>
  69. <li><a href="group_list.php"> <?php echo get_lang('GroupList') ?></a></li>
  70. <?php
  71. }
  72. if(isset($extAuthSource) && isset($extAuthSource['ldap']) && count($extAuthSource['ldap'])>0){
  73. ?>
  74. <!-- dynamic ldap code -->
  75. <li><a href="ldap_users_list.php"><?php echo get_lang('ImportLDAPUsersIntoPlatform');?></a></li>
  76. <!-- dynamic ldap code -->
  77. <?php
  78. }
  79. ?>
  80. <li><a href="user_fields.php"> <?php echo get_lang('ManageUserFields'); ?></a></li>
  81. </ul>
  82. </div>
  83. <?php
  84. }
  85. else
  86. {
  87. ?>
  88. <div class="admin_section">
  89. <h4><?php Display::display_icon('members.gif', get_lang('Users')); ?> <?php echo api_ucfirst(get_lang('Users')); ?></h4>
  90. <ul>
  91. <li><a href="user_list.php"> <?php echo get_lang('UserList') ?></a></li>
  92. <li><a href="../mySpace/user_add.php"><?php echo get_lang('AddUsers') ?></a></li>
  93. <li><a href="user_import.php"> <?php echo get_lang('ImportUserListXMLCSV') ?></a></li>
  94. </ul>
  95. </div>
  96. <?php
  97. }
  98. if(api_is_platform_admin()) {
  99. ?>
  100. <div class="admin_section">
  101. <h4><?php Display::display_icon('course.gif', get_lang('Courses')); ?> <?php echo api_ucfirst(get_lang('Courses')); ?></h4>
  102. <div style="list-style-type:none"><form method="get" action="course_list.php">
  103. <input type="text" name="keyword" value="<?php echo $keyword_url; ?>"/>
  104. <button class="search" type="submit"> <?php echo get_lang('Search');?>
  105. </button>
  106. </form></div>
  107. <ul>
  108. <li>
  109. <a href="course_list.php?search=advanced"><?php echo api_ucfirst(get_lang('AdvancedSearch')); ?></a>
  110. </li>
  111. <li><a href="course_list.php"><?php echo get_lang('CourseList') ?></a></li>
  112. <li><a href="course_add.php"><?php echo get_lang('AddCourse') ?></a></li>
  113. <li><a href="course_export.php"><?php echo get_lang('ExportCourses'); ?></a></li>
  114. <li><a href="course_import.php"><?php echo get_lang('ImportCourses'); ?></a></li>
  115. <!--<li><a href="course_virtual.php"><?php //echo get_lang('AdminManageVirtualCourses') ?></a></li>-->
  116. <li><a href="course_category.php"><?php echo get_lang('AdminCategories'); ?></a></li>
  117. <li><a href="subscribe_user2course.php"><?php echo get_lang('AddUsersToACourse'); ?></a></li>
  118. <li><a href="course_user_import.php"><?php echo get_lang('ImportUsersToACourse'); ?></a></li>
  119. <?php if (api_get_setting('search_enabled')=='true') { ?>
  120. <li><a href="specific_fields.php"><?php echo get_lang('SpecificSearchFields'); ?></a></li>
  121. <?php } ?>
  122. <?php
  123. if(isset($extAuthSource) && isset($extAuthSource['ldap']) && count($extAuthSource['ldap'])>0){
  124. ?>
  125. <!-- dynamic ldap code -->
  126. <li><a href="ldap_import_students.php"><?php echo get_lang('ImportLDAPUsersIntoCourse');?></a></li>
  127. <!-- dynamic ldap code -->
  128. <?php
  129. }
  130. ?>
  131. </ul>
  132. </div>
  133. <div class="admin_section">
  134. <h4><?php Display::display_icon('settings.gif', get_lang('Platform')); ?> <?php echo api_ucfirst(get_lang('Platform')); ?></h4>
  135. <ul>
  136. <li><a href="settings.php"><?php echo get_lang('DokeosConfigSettings') ?></a></li>
  137. <li><a href="special_exports.php"><?php echo get_lang('SpecialExports') ?></a></li>
  138. <li><a href="system_announcements.php"><?php echo get_lang('SystemAnnouncements') ?></a></li>
  139. <li><a href="languages.php"><?php echo get_lang('Languages'); ?></a></li>
  140. <li><a href="configure_homepage.php"><?php echo get_lang('ConfigureHomePage'); ?></a></li>
  141. <li><a href="configure_inscription.php"><?php echo get_lang('ConfigureInscription'); ?></a></li>
  142. <li><a href="statistics/index.php"><?php echo get_lang('ToolName'); ?> </a></li>
  143. <li><a href="calendar.php"><?php echo get_lang('GlobalAgenda'); ?> </a></li>
  144. <?php if(!empty($phpMyAdminPath)) { ?>
  145. <li><a href="<?php echo $phpMyAdminPath; ?>" target="_blank"><?php echo get_lang("AdminDatabases"); ?></a><br />(<?php echo get_lang("DBManagementOnlyForServerAdmin"); ?>)</li>
  146. <?php } ?>
  147. <?php
  148. if(!empty($_configuration['multiple_access_urls']))
  149. {
  150. echo '<li><a href="access_urls.php">'.get_lang('ConfigureMultipleAccessURLs').'</a></li>';
  151. }
  152. if (api_get_setting('allow_reservation')=='true') {
  153. echo '<li><a href="../reservation/m_category.php">'.get_lang('BookingSystem').'</a></li>';
  154. }
  155. if (api_get_setting('allow_terms_conditions')=='true') {
  156. echo '<li><a href="legal_add.php">'.get_lang('TermsAndConditions').'</a></li>';
  157. }
  158. ?>
  159. </ul>
  160. </div>
  161. <?php
  162. }
  163. if(api_get_setting('use_session_mode')=='true')
  164. {
  165. ?>
  166. <div class="admin_section">
  167. <h4><?php Display::display_icon('agenda.gif', get_lang('Sessions')); ?> <?php echo get_lang('Sessions') ?></h4>
  168. <div style="list-style-type:none"><form method="POST" action="session_list.php">
  169. <input type="text" name="keyword_name" value="<?php echo $keyword_url; ?>"/>
  170. <button class="search" type="submit"> <?php echo get_lang('Search');?>
  171. </button>
  172. </form>
  173. </div>
  174. <ul>
  175. <li><a href="session_list.php?search=advanced"><?php echo api_ucfirst(get_lang('AdvancedSearch')); ?></a></li>
  176. <li><a href="session_list.php"><?php echo get_lang('ListSession') ?></a></li>
  177. <li><a href="session_category_list.php"><?php echo get_lang('ListSessionCategory') ?></a></li>
  178. <li><a href="session_add.php"><?php echo get_lang('AddSession') ?></a></li>
  179. <li><a href="session_import.php"><?php echo get_lang('ImportSessionListXMLCSV') ?></a></li>
  180. <?php
  181. if(isset($extAuthSource) && isset($extAuthSource['ldap']) && count($extAuthSource['ldap'])>0){
  182. ?>
  183. <!-- dynamic ldap code -->
  184. <li><a href="ldap_import_students_to_session.php"><?php echo get_lang('ImportLDAPUsersIntoSession');?></a></li>
  185. <!-- dynamic ldap code -->
  186. <?php
  187. }
  188. ?>
  189. <li><a href="session_export.php"><?php echo get_lang('ExportSessionListXMLCSV') ?></a></li>
  190. <li><a href="../coursecopy/copy_course_session.php"><?php echo get_lang('CopyFromCourseInSessionToAnotherSession') ?></a></li>
  191. </ul>
  192. </div>
  193. <?php
  194. }
  195. else if(api_is_platform_admin())
  196. {
  197. ?>
  198. <div class="admin_section">
  199. <h4><?php Display::display_icon('group.gif', get_lang('AdminClasses')); ?> <?php echo api_ucfirst(get_lang('AdminClasses')); ?></h4>
  200. <div style="list-style-type:none"><form method="get" action="class_list.php">
  201. <input type="text" name="keyword" value="<?php echo $keyword_url; ?>"/>
  202. <input class="search" type="submit" value="<?php echo get_lang('Search'); ?>"/>
  203. </form>
  204. </div>
  205. <ul>
  206. <li><a href="class_list.php"><?php echo get_lang('ClassList'); ?></a></li>
  207. <li><a href="class_add.php"><?php echo get_lang('AddClasses'); ?></a></li>
  208. <li><a href="class_import.php"><?php echo get_lang('ImportClassListCSV'); ?></a></li>
  209. <li><a href="class_user_import.php"><?php echo get_lang('AddUsersToAClass'); ?> CSV</a></li>
  210. <li><a href="subscribe_class2course.php"><?php echo get_lang('AddClassesToACourse'); ?></a></li>
  211. </ul>
  212. <br />
  213. <br />
  214. </div>
  215. <?php
  216. }
  217. if(api_is_platform_admin()){
  218. ?>
  219. <div class="admin_section">
  220. <h4><?php Display::display_icon('visio_meeting.gif', get_lang('ConfigureExtensions')); ?> <?php echo api_ucfirst(get_lang('ConfigureExtensions')); ?></h4>
  221. <ul>
  222. <li><a href="configure_extensions.php?display=visio"><?php echo get_lang('Visioconf'); ?></a></li>
  223. <li><a href="configure_extensions.php?display=ppt2lp"><?php echo get_lang('Ppt2lp'); ?></a></li>
  224. <?php
  225. /* <li><a href="configure_extensions.php?display=ephorus"><?php echo get_lang('EphorusPlagiarismPrevention'); ?></a></li> */
  226. ?>
  227. <li><a href="configure_extensions.php?display=search"><?php echo get_lang('SearchEngine'); ?></a></li>
  228. <li><a href="configure_extensions.php?display=serverstats"><?php echo get_lang('ServerStatistics'); ?></a></li>
  229. <li><a href="configure_extensions.php?display=bandwidthstats"><?php echo get_lang('BandWidthStatistics'); ?></a></li>
  230. </ul>
  231. </div>
  232. <?php
  233. /*if(isset($extAuthSource) && isset($extAuthSource['ldap']) && count($extAuthSource['ldap'])>0){
  234. ?>
  235. <!-- dynamic ldap code -->
  236. <div class="admin_section">
  237. <h4><?php Display::display_icon('members.gif', 'LDAP'); ?> LDAP</h4>
  238. <ul>
  239. <li><a href="ldap_users_list.php"><?php echo get_lang('ImportLDAPUsersIntoPlatform');?></a></li>
  240. <li><a href="ldap_import_students.php"><?php echo get_lang('ImportLDAPUsersIntoCourse');?></a></li>
  241. <li><a href="ldap_import_students_to_session.php"><?php echo get_lang('ImportLDAPUsersIntoSession');?></a></li>
  242. <!--li><a href="ldap_users_synchro.php"><?php echo get_lang('LDAPSynchroImportUsersAndStepsInSessions');?></a></li-->
  243. </ul>
  244. </div>
  245. <!-- dynamic ldap code -->
  246. <?php
  247. }*/
  248. ?>
  249. <div class="admin_section">
  250. <h4><?php Display::display_icon('logo.gif', 'Dokeos'); ?> Chamilo.org</h4>
  251. <ul>
  252. <li><a href="http://www.chamilo.org/" target="_blank"><?php echo get_lang('ChamiloHomepage'); ?></a></li>
  253. <li><a href="http://forum.chamilo.org/" target="_blank"><?php echo get_lang('ChamiloForum'); ?></a></li>
  254. <li><a href="http://www.chamilo.org/extensions" target="_blank"><?php echo get_lang('ChamiloExtensions'); ?></a></li>
  255. <?php
  256. //try to display a maximum before we check the dokeos version and all that
  257. //session_write_close(); //close session to avoid blocking concurrent access
  258. flush(); //send data to client as much as allowed by the web server
  259. //ob_flush();
  260. echo '<br />'.get_lang('VersionCheck').': '.version_check().'';
  261. ?>
  262. </ul>
  263. </div>
  264. <?php
  265. }
  266. /**
  267. * Displays either the text for the registration or the message that the installation is (not) up to date
  268. *
  269. * @return string html code
  270. * @author Patrick Cool <patrick.cool@UGent.be>, Ghent University
  271. * @version august 2006
  272. * @todo have a 6monthly re-registration
  273. */
  274. function version_check()
  275. {
  276. $tbl_settings = Database :: get_main_table(TABLE_MAIN_SETTINGS_CURRENT);
  277. $sql = 'SELECT selected_value FROM '.$tbl_settings.' WHERE variable="registered" ';
  278. $result = Database::query($sql,__FILE__,__LINE__);
  279. $row=Database::fetch_array($result,'ASSOC');
  280. // The site has not been registered yet
  281. //if (api_get_setting('registered')=='false')
  282. $return = '';
  283. if ($row['selected_value']=='false')
  284. {
  285. $return .= '<form action="'.api_get_self().'" id="VersionCheck" name="VersionCheck" method="post">';
  286. $return .= get_lang('VersionCheckExplanation');
  287. $return .= '<input type="checkbox" name="donotlistcampus" value="1" id="checkbox" />'.get_lang('HideCampusFromPublicDokeosPlatformsList');
  288. $return .= '<button type="submit" class="save" name="Register" value="'.get_lang('EnableVersionCheck').'" id="register" />'.get_lang('EnableVersionCheck').'</button>';
  289. $return .= '</form>';
  290. }
  291. else
  292. {
  293. // The site has been registered already but is seriously out of date (registration date + 15552000 seconds)
  294. /*
  295. if ((api_get_setting('registered') + 15552000) > mktime())
  296. {
  297. $return = 'It has been a long time since about your campus has been updated on Dokeos.com';
  298. $return .= '<form action="'.api_get_self().'" id="VersionCheck" name="VersionCheck" method="post">';
  299. $return .= '<input type="submit" name="Register" value="Enable Version Check" id="register" />';
  300. $return .= '</form>';
  301. }
  302. else
  303. {
  304. */
  305. $return = 'site registered. ';
  306. $return .= check_dokeos_version2();
  307. //}
  308. }
  309. return $return;
  310. }
  311. /**
  312. * This setting changes the registration status for the campus
  313. *
  314. * @author Patrick Cool <patrick.cool@UGent.be>, Ghent University
  315. * @version August 2006
  316. *
  317. * @todo the $_settings should be reloaded here. => write api function for this and use this in global.inc.php also.
  318. */
  319. function register_site()
  320. {
  321. // Database Table Definitions
  322. $tbl_settings = Database :: get_main_table(TABLE_MAIN_SETTINGS_CURRENT);
  323. // the SQL statment
  324. $sql = "UPDATE $tbl_settings SET selected_value='true' WHERE variable='registered'";
  325. $result = Database::query($sql,__FILE__,__LINE__);
  326. //
  327. if ($_POST['donotlistcampus'])
  328. {
  329. $sql = "UPDATE $tbl_settings SET selected_value='true' WHERE variable='donotlistcampus'";
  330. $result = Database::query($sql,__FILE__,__LINE__);
  331. }
  332. // reload the settings
  333. }
  334. /**
  335. * Check if the current installation is up to date
  336. * The code is borrowed from phpBB and slighlty modified
  337. * @author The phpBB Group <support@phpbb.com> (the code)
  338. * @author Patrick Cool <patrick.cool@UGent.be>, Ghent University (the modifications)
  339. * @copyright (C) 2001 The phpBB Group
  340. * @return language string with some layout (color)
  341. */
  342. function check_dokeos_version2()
  343. {
  344. global $_configuration;
  345. $dokeos_version = trim($_configuration['dokeos_version']); // the dokeos version of your installation
  346. if (ini_get('allow_url_fopen')==1)
  347. {
  348. // the number of courses
  349. $sql="SELECT count(code) FROM ".Database::get_main_table(TABLE_MAIN_COURSE);
  350. $result=Database::query($sql,__FILE__,__LINE__);
  351. $row = Database::fetch_array($result);
  352. $number_of_courses = $row[0];
  353. // the number of users
  354. $sql="SELECT count(user_id) FROM ".Database::get_main_table(TABLE_MAIN_USER);
  355. $result=Database::query($sql,__FILE__,__LINE__);
  356. $row = Database::fetch_array($result);
  357. $number_of_users = $row[0];
  358. $version_url= 'http://version.chamilo.org/version.php?url='.urlencode(api_get_path(WEB_PATH)).'&campus='.urlencode(api_get_setting('siteName')).'&contact='.urlencode(api_get_setting('emailAdministrator')).'&version='.urlencode($dokeos_version).'&numberofcourses='.urlencode($number_of_courses).'&numberofusers='.urlencode($number_of_users).'&donotlistcampus='.api_get_setting('donotlistcampus').'&organisation='.urlencode(api_get_setting('Institution')).'&adminname='.urlencode(api_get_setting('administratorName').' '.api_get_setting('administratorSurname'));
  359. $handle=@fopen($version_url,'r');
  360. if ($handle !== false) {
  361. $version_info=trim(@fread($handle, 1024));
  362. if ($dokeos_version<>$version_info)
  363. {
  364. $output='<br /><span style="color:red">' . get_lang('YourVersionNotUpToDate') . '. '.get_lang('LatestVersionIs').' <b>Dokeos '.$version_info.'</b>. '.get_lang('YourVersionIs').' <b>Dokeos '.$dokeos_version. '</b>. '.str_replace('http://www.dokeos.com','<a href="http://www.dokeos.com">http://www.dokeos.com</a>',get_lang('PleaseVisitDokeos')).'</span>';
  365. }
  366. else
  367. {
  368. $output = '<br /><span style="color:green">'.get_lang('VersionUpToDate').': Dokeos '.$version_info.'</span>';
  369. }
  370. } else {
  371. $output = '<span style="color:red">' . get_lang('ImpossibleToContactVersionServerPleaseTryAgain') . '</span>';
  372. }
  373. }
  374. else
  375. {
  376. $output = '<span style="color:red">' . get_lang('AllowurlfopenIsSetToOff') . '</span>';
  377. }
  378. return $output;
  379. }
  380. /**
  381. * Check if the current installation is up to date
  382. * The code is borrowed from phpBB and slighlty modified
  383. * @author The phpBB Group <support@phpbb.com> (the code)
  384. * @author Patrick Cool <patrick.cool@UGent.be>, Ghent University (the modifications)
  385. * @copyright (C) 2001 The phpBB Group
  386. * @return language string with some layout (color)
  387. * @deprecated For some reason this code adds a 9 in front and a 0 at the end of what normally gets displayed by
  388. the http://www.dokeos.com/version.php page (instead of version.txt) . That's why I chose to use fopen which requires however
  389. that allow_url_open is set to true
  390. */
  391. function check_dokeos_version()
  392. {
  393. global $_configuration; // the dokeos version of your installation
  394. $dokeos_version = $_configuration['dokeos_version'];
  395. if ($fsock = @fsockopen('www.chamilo.org', 80, $errno, $errstr))
  396. {
  397. @fputs($fsock, "GET /version.php HTTP/1.1\r\n");
  398. @fputs($fsock, "HOST: www.chamilo.org\r\n");
  399. @fputs($fsock, "Connection: close\r\n\r\n");
  400. $get_info = false;
  401. while (!@feof($fsock))
  402. {
  403. if ($get_info)
  404. {
  405. $version_info .= @fread($fsock, 1024);
  406. }
  407. else
  408. {
  409. if (@fgets($fsock, 1024) == "\r\n")
  410. {
  411. $get_info = true;
  412. }
  413. }
  414. }
  415. @fclose($fsock);
  416. if (trim($dokeos_version)<>trim($version_info))
  417. {
  418. $output='<span style="color:red">' . get_lang('YourVersionNotUpToDate') . '. '.get_lang('LatestVersionIs').' <b>Dokeos '.$version_info.'</b>. '.get_lang('YourVersionIs').' <b>Dokeos '.$dokeos_version. '</b>. '.str_replace('http://www.dokeos.com','<a href="http://www.dokeos.com">http://www.dokeos.com</a>',get_lang('PleaseVisitDokeos')).'</span>';
  419. }
  420. else
  421. {
  422. $output = '<span style="color:green">'.get_lang('VersionUpToDate').': Dokeos '.$version_info.'</span>';
  423. }
  424. }
  425. else
  426. {
  427. if ($errstr)
  428. {
  429. $output = '<span style="color:red">' . get_lang('ConnectSocketError') . ': '. $errstr . '</span>';
  430. }
  431. else
  432. {
  433. $output = '<span>' . get_lang('SocketFunctionsDisabled') . '</span>';
  434. }
  435. }
  436. return $output;
  437. }
  438. /*
  439. ==============================================================================
  440. FOOTER
  441. ==============================================================================
  442. */
  443. Display::display_footer();
  444. ?>