wiki
[ class tree: wiki ] [ index: wiki ] [ all elements ]

Source for file page_loader.php

Documentation is available at page_loader.php

  1. <?php
  2. /**
  3.  * Copyright (c) 2004 bitweaver.org
  4.  * Copyright (c) 2003 tikwiki.org
  5.  * Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
  6.  * All Rights Reserved. See below for details and a complete list of authors.
  7.  * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details
  8.  *
  9.  * @package wiki
  10.  * @subpackage functions
  11.  */
  12.  
  13. /**
  14.  * required setup
  15.  */
  16. include_once'../../kernel/setup_inc.php' );
  17. include_once (HTML_PKG_PATH.'htmlpages_lib.php');
  18. $refresh 1000 $_REQUEST["refresh"];
  19. ?>
  20. <html>
  21.     <head>
  22.         <script language = 'Javascript' type = 'text/javascript'>
  23.         <?php
  24.         $zones $htmlpageslib->list_html_page_content($_REQUEST["title"]0-1'zone_asc''');
  25.         $cmds array();
  26.         for ($i 0$i count($zones["data"])$i++{
  27.             $cmd 'top.document.getElementById("' $zones["data"][$i]["zone"'").innerHTML="' $zones["data"][$i]["content"'";';
  28.             echo $cmd;
  29.         }
  30.         ?>
  31.         </script>
  32.     </head>
  33.     <body onLoad = "window.setInterval('location.reload()','<?php echo $refresh ?>');">
  34.         <?php
  35.         //print_r($cmds);
  36.         ?>
  37.     </body>
  38. </html>

Documentation generated on Wed, 29 Jul 2015 13:57:14 +0000 by phpDocumentor 1.5.0-lsces