salut
je suis debutant en Microsft Visual Studio 2008, je voulais créer une page web avec un bon design alors j'ai telecharger un fichier de style qui parait repondre amon besoin ( la couleur du background varie temporairement )
mais...
malheusement, je n'ai pas pu l'integrer
c'est urgent pour moins, merci de proposer une solution
le code telecharger est ci-joint:
<?
//
police.utiliser?$police
="Jester";//
r,cup,rationdel'heure$h
=date("H");//
morningif(($h>=6) && ($h<8)){
echo
'<style type="text/css"><!--
body,td,th
{font-family:'.$police.';font-size: 16pt;color: #CC6633;}
body
{margin-left: 30px;margin-right: 30px;background-color: #FFF2F2;}
a:visited
{color: #CC6633;}
a:link
{color: #CC6633;}
-->
</
style>';}
//
dayif(($h>
=8) && ($h<19)){echo
'<style type="text/css"><!--
body,td,th
{font-family:'.$police.';font-size: 16pt;color: #7787c3;}
body
{background-color: #eff9fa;margin-left: 30px;margin-right: 30px;}
a:visited
{color: #7787c3;}
a:link
{color: #7787c3;}
-->
</
style>';}
//
eveningif(($h>
=19) && ($h<21)){echo
'<style type="text/css"><!--
body
{margin-left:30px;margin-right: 30px;background-color: #FFCC99;}
body
,td,th {color: #CC3300;font-family: '.$police.';font-size: 16pt;}
a:visited
{color: #cc3300;}
a:link
{color: #cc3300;}
-->
</
style>';}
//
nightif((($h>
=0) and ($h<6))or (($h>=21) and ($h<24))){echo
'<style type="text/css"><!--
body,td,th
{color:#FFFF99;font-family: '.$police.';font-size: 16pt;}
body
{background-color: #000066;margin-left: 30px;margin-right: 30px;}
a:visited
{color: #ffff99;}
a:link
{color: #ffff99;}
-->
</
style>';}
?
>