コード例 #1
0
ファイル: index.php プロジェクト: greeg4/ProjetWebFinal2
<?php 
include './lib/php/Jliste_include.php';
$db = connexion::getInstance($dsn, $user, $pass);
session_start();
$styles = array();
$i2 = 0;
foreach (glob('./admin/lib/css/*.css') as $css) {
    $styles[$i2] = $css;
    $i2++;
}
$scripts = array();
$i = 0;
foreach (glob('../admin/lib/js/jquery/*.js') as $js) {
    $fichierJs[$i] = $js;
    $i++;
}
?>

<html>
    <head>
        <meta charset="utf-8">
        <title> DVD en folie </title>        
        <link rel="stylesheet" type="text/css" href="./admin/lib/css/bootstrap-3.3.5-dist/css/bootstrap.min.css"/>
        <link rel="stylesheet" type="text/css" href="./admin/lib/css/bootstrap-3.3.5-dist/css/bootstrap-theme.min.css"/>
        <?php 
foreach ($styles as $css) {
    ?>
<link rel="stylesheet" type="text/css" href="<?php 
    print $css;
    ?>