PHP Classes

File: third_party/DevelBar/views/develbar/session.php

Recommend this page to a friend!
  Classes of Simo  >  CodeIgniter Develbar  >  third_party/DevelBar/views/develbar/session.php  >  Download  
File: third_party/DevelBar/views/develbar/session.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: CodeIgniter Develbar
CodeIgniter library to show a developer toolbar
Author: By
Last change: New Tab for Ajax Requests

New Tab for Ajax Requests
Date: 4 years ago
Size: 766 bytes
 

Contents

Class file image Download
<img src="<?php echo $icon ?>"
     alt="<?php echo lang('session') ?>" title="<?php echo lang('session') ?>"/> <?php echo count($session) ? lang('session') : 'N/A' ?>
<?php
if (count($session)): ?>
<div class="detail config">
        <div class="scroll">
            <?php
           
foreach ($session as $key => $val) {
                if (
is_array($val) OR is_object($val)) {
                   
$val = print_r($val, true);
                }
                echo
'<p>';
                echo
'<span class="left-col" style="width:50%">' . $key . ':</span>';
                echo
'<span class="right-col" style="width:50%">' . htmlspecialchars($val) . '</span>';
                echo
'</p>';
            }
           
?>
</div>
    </div>
<?php endif ?>

For more information send a message to info at phpclasses dot org.