This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bottom without sql * Syntax 1 * Factorisation headers * Factorisation bottom * Good header * Unused fonctions * Unused 2 * Move test to Tests * Suite review * Syntax (codacy) * Refacto index * Added css * Functions * Review codacy * Closed scope config * Scope utilisateur * Scope responsable * Scope config export hr * Scope edition
- Loading branch information
1 parent
1e3b0ff
commit cd4e2b6
Showing
38 changed files
with
2,363 additions
and
2,916 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
debug/ | ||
cfg/env.php | ||
cfg/dbconnect.php | ||
cfg/config_ldap.php | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,3 @@ | ||
<?php | ||
$querys = \includes\SQL::getQuerys(); | ||
$total = 0; | ||
?> | ||
</div> | ||
<footer> | ||
<?php if(SHOW_SQL): ?> | ||
<div id="show-sql"> | ||
<table class="table table-striped table-hover"> | ||
<thead> | ||
<tr> | ||
<th>#</th> | ||
<th>Time</th> | ||
<th>Total</th> | ||
<th>Results</th> | ||
<th>File</th> | ||
<th>Line</th> | ||
<th>Query</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php | ||
foreach ($querys as $num => $v): | ||
$time = $v['t2'] - $v['t1']; | ||
$total += $time; | ||
?> | ||
<tr> | ||
<td><?= $num ?></td> | ||
<td><?= $time ?></td> | ||
<td><?= $total ?></td> | ||
<td><?= $v['results'] ?></td> | ||
<td><?= $v['back']['file'] ?></td> | ||
<td><?= $v['back']['line'] ?></td> | ||
<td><?= $v['query'] ?></td> | ||
</tr> | ||
<?php endforeach; ?> | ||
</tbody> | ||
</table> | ||
</div> | ||
<?php endif; ?> | ||
</footer> | ||
</body> | ||
</html> | ||
<?php | ||
include_once 'bottom.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<?php | ||
defined( '_PHP_CONGES' ) or die( 'Restricted access' ); | ||
include TEMPLATE_PATH . 'template_define.php'; | ||
global $environnement; | ||
?> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title><?= $title; ?></title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<?php /* FAVICONS */ ?> | ||
<link rel="apple-touch-icon" href="<?= IMG_PATH ?>Favicons/apple-touch-icon.png"> | ||
<link rel="apple-touch-icon" sizes="57x57" href="<?= IMG_PATH ?>Favicons/apple-touch-icon-57x57.png"> | ||
<link rel="apple-touch-icon" sizes="60x60" href="<?= IMG_PATH ?>Favicons/apple-touch-icon-60x60.png"> | ||
<link rel="apple-touch-icon" sizes="72x72" href="<?= IMG_PATH ?>Favicons/apple-touch-icon-72x72.png"> | ||
<link rel="apple-touch-icon" sizes="76x76" href="<?= IMG_PATH ?>Favicons/apple-touch-icon-76x76.png"> | ||
<link rel="apple-touch-icon" sizes="114x114" href="<?= IMG_PATH ?>Favicons/apple-touch-icon-114x114.png"> | ||
<link rel="apple-touch-icon" sizes="120x120" href="<?= IMG_PATH ?>Favicons/apple-touch-icon-120x120.png"> | ||
<link rel="apple-touch-icon" sizes="144x144" href="<?= IMG_PATH ?>Favicons/apple-touch-icon-144x144.png"> | ||
<link rel="apple-touch-icon" sizes="152x152" href="<?= IMG_PATH ?>Favicons/apple-touch-icon-152x152.png"> | ||
<link rel="apple-touch-icon" sizes="180x180" href="<?= IMG_PATH ?>Favicons/apple-touch-icon-180x180.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="<?= IMG_PATH ?>Favicons/favicon-16x16.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="<?= IMG_PATH ?>Favicons/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="96x96" href="<?= IMG_PATH ?>Favicons/favicon-96x96.png"> | ||
<link rel="icon" type="image/png" sizes="192x192" href="<?= IMG_PATH ?>Favicons/android-chrome-192x192.png"> | ||
<link rel="manifest" href="<?= IMG_PATH ?>Favicons/manifest.json"> | ||
<link rel="mask-icon" href="<?= IMG_PATH ?>Favicons/safari-pinned-tab.svg" color="#5bbad5"> | ||
<meta name="msapplication-TileColor" content="#da532c"> | ||
<meta name="msapplication-TileImage" content="<?= IMG_PATH ?>Favicons/mstile-144x144.png"> | ||
<meta name="theme-color" content="#ffffff"> | ||
<?php /* BOOTSTRAP */?> | ||
<link type="text/css" href="<?= NODE_PATH ?>bootstrap/dist/css/bootstrap.min.css?v=<?= $config_php_conges_version ?>" rel="stylesheet" media="screen,print"> | ||
<link type="text/css" href="<?= NODE_PATH ?>bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css?v=<?= $config_php_conges_version ?>" rel="stylesheet" media="screen"> | ||
<link type="text/css" href="<?= NODE_PATH ?>bootstrap-timepicker/css/bootstrap-timepicker.min.css?v=<?= $config_php_conges_version ?>" rel="stylesheet" media="screen" /> | ||
<?php /* FONT AWESOME */ ?> | ||
<link href="<?= ASSETS_PATH ?>font-awesome/css/font-awesome.min.css?v=<?= $config_php_conges_version ?>" rel="stylesheet"> | ||
<?php /* REBOOT STYLE */ ?> | ||
<link type="text/css" href="<?= CSS_PATH ?>reboot.css?v=<?= $config_php_conges_version ?>" rel="stylesheet" media="screen,print"> | ||
<?php /* JQUERY */ ?> | ||
<script> | ||
var _rollbarConfig = { | ||
accessToken: "<?= LOGGER_TOKEN ?>", | ||
captureUncaught: true, | ||
captureUnhandledRejections: true, | ||
payload: { | ||
environment: "<?= $environnement ?>", | ||
code_version : "<?= $config_php_conges_version ?>" | ||
} | ||
}; | ||
</script> | ||
<script type="text/javascript" src="<?= JS_PATH ?>rollbar.js?v=<?= $config_php_conges_version ?>"></script> | ||
<script type="text/javascript" src="<?= NODE_PATH ?>jquery/dist/jquery.min.js?v=<?= $config_php_conges_version ?>"></script> | ||
<script type="text/javascript" src="<?= NODE_PATH ?>bootstrap/dist/js/bootstrap.min.js?v=<?= $config_php_conges_version ?>"></script> | ||
<script type="text/javascript" src="<?= NODE_PATH ?>bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js?v=<?= $config_php_conges_version ?>"></script> | ||
<script type="text/javascript" src="<?= NODE_PATH ?>bootstrap-datepicker/dist/locales/bootstrap-datepicker.fr.min.js?v=<?= $config_php_conges_version ?>"></script> | ||
<script type="text/javascript" src="<?= NODE_PATH ?>bootstrap-timepicker/js/bootstrap-timepicker.min.js?v=<?= $config_php_conges_version ?>"></script> | ||
<script type="text/javascript" src="<?= JS_PATH ?>reboot.js?v=<?= $config_php_conges_version ?>"></script> | ||
<script language="JavaScript" type="text/javascript"> | ||
<!-- | ||
// Les cookies sont obligatoires | ||
if (! navigator.cookieEnabled) { | ||
document.write("<font color=\'#FF0000\'><br><br><center>'. _('cookies_obligatoires') .'</center></font><br><br>"); | ||
} | ||
//--> | ||
</script> | ||
<noscript> | ||
<font color="#FF0000"><br><br><center>'. _('javascript_obligatoires') .'</center></font><br><br> | ||
</noscript> | ||
<?= $additional_head ?> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,2 @@ | ||
<?php | ||
$querys = \includes\SQL::getQuerys(); | ||
$total = 0; | ||
?> | ||
<footer> | ||
<?php if(SHOW_SQL): ?> | ||
<div id="show-sql"> | ||
<table class="table table-striped table-hover"> | ||
<thead> | ||
<tr> | ||
<th>#</th> | ||
<th>Time</th> | ||
<th>Total</th> | ||
<th>Results</th> | ||
<th>File</th> | ||
<th>Line</th> | ||
<th>Query</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php foreach($querys as $num => $v): | ||
$time = $v['t2'] - $v['t1']; | ||
$total += $time; | ||
?> | ||
<tr> | ||
<td><?= $num ?></td> | ||
<td><?= $time ?></td> | ||
<td><?= $total ?></td> | ||
<td><?= $v['results'] ?></td> | ||
<td><?= $v['back']['file'] ?></td> | ||
<td><?= $v['back']['line'] ?></td> | ||
<td><?= $v['query'] ?></td> | ||
</tr> | ||
<?php endforeach; ?> | ||
</tbody> | ||
</table> | ||
</div> | ||
<?php endif; ?> | ||
</footer> | ||
</body> | ||
</html> | ||
include_once 'bottom.php'; |
Oops, something went wrong.