Exemple #1
0
<?php

include '../vendor/autoload.php';
include 'partials/header.php';
use Debug\Debug;
use Form\Form;
?>

<div class="well col-sm-6" style="margin-top: 40px; margin-left: 20px;">
	<?php 
echo Debug::getDataPost();
?>
</div>

<form class="form-horizontal" role="form" style="margin-top: 20px;" action="#" method="post">
	<div class="well col-sm-6" style="margin-left: 20px;">
	  <div class="form-group">
	    <label for="username" class="col-sm-2 control-label">Username</label>
	    <div class="col-sm-8">
	      <?php 
echo Form::input('username');
?>
	    </div>
	  </div>
	  <div class="form-group">
	    <label for="password" class="col-sm-2 control-label">Password</label>
	    <div class="col-sm-8">
	      <input type="password" class="form-control" id="password" name="password">
	    </div>
	  </div>
	  <div class="form-group">
    </div>
  </div>
</div>

<div class="row">
  <div style="margin-top: 15px;">
    <div class="col-sm-4 well" style="word-wrap: break-word; margin-left: 20px;">
      <h2>SERVER</h2>
      <?php 
echo Debug::getDataServer();
?>
    </div>

    <div class="col-sm-4 well" style="word-wrap: break-word; margin-left: 20px;">
      <h2>CONSTANTES</h2>
      <?php 
echo Debug::getDataConst();
?>
    </div>

    <div class="col-sm-3 well" style="word-wrap: break-word; margin-left: 20px;">
      <h2>SESSIONS</h2>
      <?php 
echo Debug::getDataSession();
?>
    </div>
  </div>
</div>

<?php 
include 'partials/footer.php';
Exemple #3
0
function see()
{
    Debug::setCallDepth(3);
    call_user_func_array(['\\Debug\\Debug', 'show'], func_get_args());
}