Location: PHPKode > projects > phpMyOrdering > phpMyOrdering-0.1.7-alpha/ajaxLogs.php.xml
<?xml version="1.0" encoding="UTF-8" ?>
<php:start xmlns:php="http://php.net/xsl">
<php:top_statement_list id="28">
<php:top_statement_list id="21">
<php:top_statement_list id="14">
<php:top_statement_list id="7">
<php:top_statement_list id="0">
</php:top_statement_list>
<php:ACTION1 id="2">
</php:ACTION1>
<php:top_statement id="6">
<php:statement id="5">
<php:unticked_statement id="4">
<php:T_INLINE_HTML id="3">&lt;?</php:T_INLINE_HTML>
</php:unticked_statement>
</php:statement>
</php:top_statement>
</php:top_statement_list>
<php:ACTION1 id="9">
</php:ACTION1>
<php:top_statement id="13">
<php:statement id="12">
<php:unticked_statement id="11">
<php:T_INLINE_HTML id="10">PHP
if(file_exists(&apos;scripts/inc.config.php&apos;)) {
 require &apos;scripts/inc.config.php&apos;;

 // ensure we are being called from our configured host
 if($defined[&apos;hostname&apos;]===$_SERVER[&apos;SERVER_NAME&apos;]) {

  // obtain default options
  $defined = array_merge($defined,$handles[&apos;misc&apos;]-&gt;getDefaults());
  $defined = array_merge($defined,$handles[&apos;misc&apos;]-&gt;getAuthentication());
  $accessList = $handles[&apos;misc&apos;]-&gt;g</php:T_INLINE_HTML>
</php:unticked_statement>
</php:statement>
</php:top_statement>
</php:top_statement_list>
<php:ACTION1 id="16">
</php:ACTION1>
<php:top_statement id="20">
<php:statement id="19">
<php:unticked_statement id="18">
<php:T_INLINE_HTML id="17">etAccessList();

  // copy and filter incoming data
  $get = @array_map($handles[&apos;val&apos;]-&gt;ValidateXSS,$_GET);
  $post = @array_map($handles[&apos;val&apos;]-&gt;ValidateXSS,$_POST);
  $sess = @array_map($handles[&apos;val&apos;]-&gt;ValidateXSS,$_SESSION);
  $serv = @array_map($handles[&apos;val&apos;]-&gt;ValidateXSS,$_SERVER);

  // obtain last logs and return
  echo $handles[&apos;logs&apos;]-&gt;contentlatest($serv[&apos;REQUEST_TIME&apos;]);

 } else {
 </php:T_INLINE_HTML>
</php:unticked_statement>
</php:statement>
</php:top_statement>
</php:top_statement_list>
<php:ACTION1 id="23">
</php:ACTION1>
<php:top_statement id="27">
<php:statement id="26">
<php:unticked_statement id="25">
<php:T_INLINE_HTML id="24"> echo &quot;Cannot be called from anywhere other then our defined host&quot;;
 }

} else {
 echo &quot;Configuration file not found&quot;;
}

?&gt;
</php:T_INLINE_HTML>
</php:unticked_statement>
</php:statement>
</php:top_statement>
</php:top_statement_list>
</php:start>

Return current item: phpMyOrdering