MindTouch Developer Center > Sandbox > Building Sand Castles

Building Sand Castles

Table of contents
No headers

The enjoyment from building sand castles is akin to a potter shaping a bowl of clay. the only difference is the castle builder will have a much better tan.

Test

   

  • First
  • Second
    • Third
    • Fourth
      • Fifth
      • blua

bljlajf

  • Sixth
  • Seventh
  1. First

   

Third

Fourth

  1. Second

Fifth

  1. blua
  2. bljlajf

fal;sdjf

  1. Sixth
  2. Seventh

  //sanitize revision
  $REV = preg_replace('/[^0-9]/','',$REV);  //we accept the do param as HTTP header, too:
  if(!empty($_SERVER['HTTP_X_DOKUWIKI_DO'])){
    $ACT = trim(strtolower($_SERVER['HTTP_X_DOKUWIKI_DO']));
  }  if(!empty($IDX)) $ACT='index';
  //set default #FIXME not needed here? done in actions?
  if(empty($ACT)) $ACT = 'show';  //make infos about the selected page available
  $INFO = pageinfo();  // handle debugging
  if($conf['allowdebug'] && $ACT == 'debug'){
    html_debug();
    exit;
  }

   

Lorem ipsum blah blah

sfcsad

sadca

asdcsa

 Lorem ipsu

sad

as

das

dasm blah blah

  

   

C1 C2 C3 C4
cool stuff 01 10
               
               

  

<?php

  if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/');
  require_once(DOKU_INC.'inc/init.php');
  require_once(DOKU_INC.'inc/common.php');
  require_once(DOKU_INC.'inc/events.php');
  require_once(DOKU_INC.'inc/pageutils.php');
  require_once(DOKU_INC.'inc/html.php');
  require_once(DOKU_INC.'inc/auth.php');
  require_once(DOKU_INC.'inc/actions.php');

  //import variables
  $QUERY = trim($_REQUEST['id']);
  $ID    = getID();
  $NS    = getNS($ID);
  $REV   = $_REQUEST['rev'];
  $ACT   = $_REQUEST['do'];
  $IDX   = $_REQUEST['idx'];
  $DATE  = $_REQUEST['date'];
  $RANGE = $_REQUEST['lines'];
  $HIGH  = $_REQUEST['s'];
  if(empty($HIGH)) $HIGH = getGoogleQuery();

  $TEXT  = cleanText($_POST['wikitext']);
  $PRE   = cleanText($_POST['prefix']);
  $SUF   = cleanText($_POST['suffix']);
  $SUM   = $_REQUEST['summary'];

  //sanitize revision
  $REV = preg_replace('/[^0-9]/','',$REV);

  //we accept the do param as HTTP header, too:
  if(!empty($_SERVER['HTTP_X_DOKUWIKI_DO'])){
    $ACT = trim(strtolower($_SERVER['HTTP_X_DOKUWIKI_DO']));
  }

  if(!empty($IDX)) $ACT='index';
  //set default #FIXME not needed here? done in actions?
  if(empty($ACT)) $ACT = 'show';

  //make infos about the selected page available
  $INFO = pageinfo();

  // handle debugging
  if($conf['allowdebug'] && $ACT == 'debug'){
    html_debug();
    exit;
  }

  //send 404 for missing pages if configured
  if($conf['send404'] &&
     ($ACT == 'show' || substr($ACT,0,7) == 'export_') &&
     !$INFO['exists']){
    header('HTTP/1.0 404 Not Found');
  }

  //prepare breadcrumbs (initialize a static var)
  breadcrumbs();

  // check upstream
  checkUpdateMessages();

  trigger_event('DOKUWIKI_STARTED',$tmp=array());

  //close session
  session_write_close();

  //do the work
  act_dispatch($ACT);

  trigger_event('DOKUWIKI_DONE', $tmp=array());

//  xdebug_dump_function_profile(1);
?>

  

  

  

   

Tag page
You must login to post a comment.
Powered by MindTouch Deki v.8.08