/usr/share/php/xajax/tests/suite/frame_right.php is in php-xajax 0.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | <?php
$sBaseFolder = dirname(dirname(dirname(__FILE__)));
$sCoreFolder = '/xajax_core';
$sCtrlFolder = '/xajax_controls';
include $sBaseFolder . $sCoreFolder . '/xajaxControl.inc.php';
foreach (array(
'/document.inc.php',
'/structure.inc.php',
'/content.inc.php',
'/form.inc.php',
'/group.inc.php',
'/misc.inc.php') as $sFile)
include $sBaseFolder . $sCtrlFolder . $sFile;
$objDocument = new clsDocument(array(
'children' => array(
new clsDoctype('HTML', '4.01', 'TRANSITIONAL'),
new clsHtml(array(
'children' => array(
new clsHead(array(
'children' => array(
new clsTitle(array(
'child' => new clsLiteral('Title')
))
)
)),
new clsBody(array(
'child' => new clsDiv(array(
'child' => new clsParagraph(array(
'child' => new clsLiteral('This is the right side frame (PHP)')
))
))
))
)
))
)
));
$objDocument->printHTML();
|