Appel des fichiers includecss et includejs pour la génération des styles et javascripts
This commit is contained in:
parent
f45e5d1dc6
commit
0844ad10b9
21
www/includecss.php
Normal file
21
www/includecss.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
//Inclusion des css en fonction de la variable page
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" href="./css/infogreffe_base.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/infogreffe.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/main.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/menu.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/jquery.autocomplete.css" />
|
||||
<?php
|
||||
if($page=='international_recherche' || $page=='international_identite' || $page=='international_identitec'){
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" href="./css/international.css" />
|
||||
<?php
|
||||
}
|
||||
if($page=='saisie'){
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" href="./css/jquery.autocomplete2.css" />
|
||||
<link rel="stylesheet" href="./css/saisie.css" type="text/css" />
|
||||
<link rel="stylesheet" href="./css/thickbox.css" type="text/css" />
|
||||
<?php
|
||||
}
|
24
www/includejs.php
Normal file
24
www/includejs.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
//Inclusion des js en fonction de la variable page
|
||||
?>
|
||||
<script type="text/javascript" src="./js/jquery.js"></script>
|
||||
<script type="text/javascript" src="./js/jquery.bgiframe.min.js"></script>
|
||||
<script type="text/javascript" src="./js/jquery.autocomplete.js"></script>
|
||||
<?php
|
||||
/*
|
||||
<script type="text/javascript" src="./js/jquery.dimensions.js"></script>
|
||||
<script type="text/javascript" src="./js/jquery.easing.js"></script>
|
||||
<script type="text/javascript" src="./js/jquery-ui.js"></script>
|
||||
*/
|
||||
?>
|
||||
<script type="text/javascript" src="./js/dropDownOverlapping.js"></script>
|
||||
<script type="text/javascript" src="./js/menu.js"></script>
|
||||
<script type="text/javascript" src="./js/scripts.js"></script>
|
||||
<?php
|
||||
//Ajout script ajax pour la saisie
|
||||
if($page=='saisie'){
|
||||
?>
|
||||
<script type="text/javascript" src="./js/saisieajax.js"></script>
|
||||
<?php
|
||||
}
|
||||
?>
|
@ -3,60 +3,23 @@ if (!$_SESSION['connected']) die('Erreur 11000 : Not connected');
|
||||
|
||||
//Affectation de valeur par défaut pour arriver sur la page de recherche
|
||||
if (!isset($page2)){
|
||||
$title='Recherche';
|
||||
$page2='recherche.php';
|
||||
$vueRecherche = 'ent';
|
||||
}
|
||||
|
||||
require_once(realpath(dirname(__FILE__).'/../../includes/siren.php'));
|
||||
require_once 'siren.php';
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<title>Extranet Scores & Décisions - <?=$title?></title>
|
||||
<link rel="stylesheet" type="text/css" href="./css/infogreffe_base.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/infogreffe.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/main.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/menu.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/jquery.autocomplete.css" />
|
||||
<?php
|
||||
if($page=='international_recherche' || $page=='international_identite' || $page=='international_identitec'){
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" href="./css/international.css" />
|
||||
<?php
|
||||
}
|
||||
|
||||
if($sortie!='prt'){
|
||||
?>
|
||||
<script type="text/javascript" src="./js/jquery.js"></script>
|
||||
<script type="text/javascript" src="./js/jquery.bgiframe.min.js"></script>
|
||||
<script type="text/javascript" src="./js/jquery.autocomplete.js"></script>
|
||||
|
||||
<?php
|
||||
/*
|
||||
<script type="text/javascript" src="./js/jquery.dimensions.js"></script>
|
||||
<script type="text/javascript" src="./js/jquery.easing.js"></script>
|
||||
<script type="text/javascript" src="./js/jquery-ui.js"></script>
|
||||
*/
|
||||
?>
|
||||
<script type="text/javascript" src="./js/dropDownOverlapping.js"></script>
|
||||
<script type="text/javascript" src="./js/menu.js"></script>
|
||||
<script type="text/javascript" src="./js/scripts.js"></script>
|
||||
|
||||
<?php
|
||||
//Ajout script ajax pour la saisie
|
||||
if($page2=='saisie.php'){
|
||||
?>
|
||||
<script type="text/javascript" src="./js/saisieajax.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="./css/jquery.autocomplete2.css" />
|
||||
<link rel="stylesheet" href="./css/saisie.css" type="text/css" />
|
||||
<link rel="stylesheet" href="./css/thickbox.css" type="text/css" />
|
||||
<?php
|
||||
}
|
||||
}
|
||||
require_once 'includecss.php';
|
||||
if($sortie!='prt') require_once 'includejs.php';
|
||||
?>
|
||||
</head>
|
||||
<?php
|
||||
if ($sortie!='prt')
|
||||
{
|
||||
if ($sortie!='prt') {
|
||||
?>
|
||||
<body onResize="JSFX_FloatTopDiv()">
|
||||
<?php
|
||||
|
Loading…
x
Reference in New Issue
Block a user