root/public/index.php

36
1
<?php
1
<?php
2
require_once( "debug.php" );
2
3
3
require_once( '../classes/_start.php' );
4
$intZoom = (integer)CorujaArrayManipulation::getArrayField( $_POST , "zoom" , 50 );
5
$strXml = CorujaArrayManipulation::getArrayField( $_POST , "xml" , file_get_contents( 'sequence.xml' ) );
4
6
5
6
$intZoom = (integer)getArrayElement( $_POST , "zoom" , 50 );
7
$strXml = getArrayElement( $_POST , "xml" , file_get_contents( 'sequence.xml' ) );
8
9
$objXmlSequence = new XmlSequence();
7
$objXmlSequence = new XmlSequence();
10
$objXmlSequence->setZoom( $intZoom);
8
$objXmlSequence->setZoom( $intZoom);
11
$objXmlSequence->setXml( $strXml );
9
$objXmlSequence->setXml( $strXml );
...
...
14
<html>
12
<html>
15
    <head>
13
    <head>
16
        <style>
14
        <style>
15
17
            form label
16
            form label
18
            {
17
            {
19
                display: block;
18
                display: block;
...
...
77
                warranty. Use it at your own risk. It's not for the faint of heart.
76
                warranty. Use it at your own risk. It's not for the faint of heart.
78
            </p>
77
            </p>
79
            <p>
78
            <p>
80
                For external use <a href="caller.php"> try this link </a> and see the HTML code.               
79
                For external use <a href="caller.php"> try this link </a> and see the HTML code.
80
                To internal use download from <a href="SequenceDiagram.rar">here</a>.
81
            </p>
81
            </p>
82
            <p>
82
            <p>
83
                Special thanks to Raphael Melo and 
83
                Special thanks to Raphael Melo and 
...
...
113
        </div>
113
        </div>
114
    </body>
114
    </body>
115
</html>
115
</html>
116
<pre>
117
<?php
118
print htmlentities( html_entity_decode( DebugRefletionReceiver::showLog() ) );
119
?>
120
</pre>