0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: cfaction_debugger.php.tar
academiac/www/administrator/components/com_chronoforms/form_actions/debugger/cfaction_debugger.php 0000604 00000001611 15137463543 0031012 0 ustar 00 home <?php /** * CHRONOFORMS version 4.0 * Copyright (c) 2006 - 2011 Chrono_Man, ChronoEngine.com. All rights reserved. * Author: Chrono_Man (ChronoEngine.com) * @license GNU/GPL * Visit http://www.ChronoEngine.com for regular updates and information. **/ defined('_JEXEC') or die('Restricted access'); class CfactionDebuggerHelper{ function display_debug_block($debug = array(), $title = "Debug Data"){ if(!empty($debug)){ ?> <fieldset> <legend><?php echo $title; ?></legend> <ol> <?php foreach($debug as $k => $data): ?> <li> <?php if(is_array($data)){ $this->display_debug_block($data, $k); }else{ if(is_numeric($k)){ echo $data; }else{ ?> <fieldset> <legend><?php echo $k; ?></legend> <?php echo $data; ?> </fieldset> <?php } } ?> </li> <?php endforeach; ?> </ol> </fieldset> <?php } } } ?>