/* créé par FK 2016 */
/**
* Style de mise en couleur des codes pour GESHI (http://qbnz.com/highlighter/)
* Version PHP
*
* [old] pour utiliser ces styles, il faut placer le code php suivant dans la page :
*
	$source='... contenu du source ...';	// Créer la variable avec le source brut
	$geshi = new GeSHi($source, 'php'); 	// Créer un objet « GeSHi »
	$geshi->enable_classes(); 				// Utiliser les classes
	echo $geshi->parse_code(); 				// Afficher le résultat de la mise en couleur
*
* [new, custom] pour utiliser ces styles, il faut placer le code php suivant dans la page :
*
	$source='... contenu du source ...';	// Créer la variable avec le source brut
	echo efka_highlight($source, 'php', false, true); //ici : false=don't use <code> tag but <pre> & true=use classes="..." and not style="..."
* ou 
	echo efka_highlight($source, 'sql');
*
* Placer ce code dans une div avec la classe 'code' et le nom du langage, c'est pour être sûr d'appliquer le bon style
*
*
* Modifs : 
	FIX001 30/05/2016 reprise depuis le contexte cours web de fréférence
*/
/* ==================================================================================== */
/* définitions globales, communes à tous le langages */
/* ==================================================================================== */
/* 
.code, code	{background:#444;padding:5px;}	/* base * /
.code * 	{color:#fff;font-style:normal;font-weight:normal;text-decoration:none}	/* base * /
.code .co1 	{color:#afa;font-style:italic;}		/* comment 1 * /
.code .coMULTI 	{color:#afa;font-style:italic;}		/* comment 2 * /
.code .co4 	{color:#afa;font-style:italic;}		/* comment 4 * /
.code .kw1 	{color:#55f;font-weight:bold;}		/* keyword 1 ; reserved, integrated functions * /
.code .kw2 	{color:#77f;font-weight:bold;}		/* keyword 2 ; builtins * /
.code .kw3	{color:#55f;font-weight:normal;text-decoration:underline;}		/* keyword 3 ; standard library, imported/included functions * /
.code .kw4 	{color:#f55;}						/* keyword 4 ; ouverture/fermeture php * /
.code .br0 	{color:#f88;font-weight:bold;}		/* brackets 0 * /
.code .sy0 	{color:#ff9;}						/* symbol 0 * /
.code .nu0 	{color:#f92;}						/* number 0 * /
.code .me1 	{color:#ffa;}						/* method 0 * /
.code .st0 	{color:#ccc;}						/* string 0 ; avec des ""* /
.code .st_h	{color:#ccc;}						/* string 0 ; avec des ''* /
.code .es0 	{color:plum;}						/* escape chars ; * /
.code .es4 	{color:#88a;font-weight:bold;}		/* escape chars ; variable intégrée dans du SQL* /
.code .re0 	{color:#eee;font-weight:bold;}		/* regular expression ; variable * /
.code .sc0 	{color:plum;}						/* script ; * /
 */
 /* version dark light */
.php	{background:#eee;}	/* couleur de fond, base np++ : fdf8e3 */
.php * 	{color:#fff;font-style:normal;font-weight:normal;text-decoration:none}	/* base */
.php .co1 	{color:#080;font-style:italic;}		/* comment 1*/
.php .coMULTI 	{color:#080;font-style:italic;}	/* comment 2*/
.php .co2 	{color:#080;font-style:italic;}		/* comment 2 non utilisé */
.php .co3 	{color:#080;font-style:italic;}		/* comment 3 non utilisé */
.php .co4 	{color:#080;font-style:italic;}		/* comment 4*/
.php .kw1 	{color:#05f;font-weight:normal;}	/* keyword 1 ; reserved, integrated functions : if, break, while ...*/
.php .kw2 	{color:#00f;font-weight:bold;}		/* keyword 2 ; builtins : kw for POO, function, var, ... */
	.php a	{color:#55f;text-decoration:underline;}		/* keyword 3 ; standard library, imported/included functions */
.php .kw3	{color:#00f;font-weight:normal;}	/* keyword 3 ; standard library, imported/included functions */
.php .kw4 	{color:#f00;font-weight:normal;}	/* keyword 4 ; constantes du langage */
.php .kw5 	{color:#f00;font-weight:bold;}		/* keyword 5 ; ouverture/fermeture php (ajouté par FK)*/
.php .br0 	{color:#a55;font-weight:normal;}		/* brackets 0*/
.php .sy0 	{color:#a0f;font-weight:normal;}	/* symbol 0 */
.php .sy1 	{color:#f00;font-weight:normal;}	/* symbol 1 ; ouverture code, fermeture php*/
.php .nu0 	{color:#f80;font-weight:normal;}	/* number 0 */
.php .me0 	{color:#000;font-weight:normal;}	/* method 0 */
.php .me1 	{color:#55f;font-weight:normal;}	/* method 1 */
.php .me2 	{color:#000;font-weight:normal;}	/* method 0 ; MYSQL keywords ? 0 */
.php .st0 	{color:#888;font-weight:normal;}	/* string 0 ; avec des ""*/
.php .st_h	{color:#888;font-weight:normal;}	/* string 0 ; avec des ''*/
.php .es0 	{color:plum;font-weight:normal;}	/* escape chars ; */
/* escape chars es2-es3, es5-es6 non définis */
.php .es4 	{color:#028;font-weight:bold;}		/* escape chars ; variable intégrée dans du SQL*/
.php .re0 	{color:#008;font-weight:bold;}		/* regular expression ; variable */
.php .sc0 	{color:plum;}						/* script ; */
/* scrits sc1-sc5 non définis */