begin process at 2012 05 30 19:51:37
  Trouver un code source :
 
dans
 
Accueil > Forum > 

PHP

 > 

Base de données

 > 

MySQL

 > 

intranet


Derniers messages déposésPoser une question dans le forum ou lancer une discussion

intranet

mardi 3 avril 2007 à 08:50:29 | intranet

sccm78

bonjour à tous
j'ai le site intranet il fonctionne bien sur internet explorer mais avec firefox j'ai un probléme:
le probléme c'est l'affichage de 1ere page il y a décalage entre l'imge et le text il faut soit actualiser la page ou bien il faut ouvrire une page web avec firefox avant de lancer intranet.j'espere que vous peuvez m'aider merci voila le code de la page index.php
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


<html>
<head>
<title>intranet.saint-ghislain.be...</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<STYLE type=text/css>
body
{margin-top:0px;
margin-bottom:0px;
margin: 0px;
margin-right:0px;}
A {
 FONT-WEIGHT: bold; COLOR: #3B6CEE; TEXT-DECORATION: none
}
A:hover {
 FONT-WEIGHT: bold;
 TEXT-DECORATION: underline;
 COLOR: #FF0000;
}
TD {
 FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana,Geneva,Arial,Helvetica,sans-serif
}
TD.menu {
 FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana,Geneva,Arial,Helvetica,sans-serif; FONT-WEIGHT: bold; COLOR: #FFFFFF;
}
</STYLE>
<SCRIPT language=JavaScript1.2 src="javascript/menu.js"
type=text/javascript></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">

function HeureCheckEJS()
 {
 krucial = new Date;
 heure = krucial.getHours();
 min = krucial.getMinutes();
 sec = krucial.getSeconds();
 jour = krucial.getDate();
 mois = krucial.getMonth()+1;
 annee = krucial.getFullYear();
 if (sec < 10)
  sec0 = "0";
 else
  sec0 = "";
 if (min < 10)
  min0 = "0";
 else
  min0 = "";
 if (heure < 10)
  heure0 = "0";
 else
  heure0 = "";
 DinaHeure = heure0 + heure + ":" + min0 + min + ":" + sec0 + sec;
 which = DinaHeure
 
 setTimeout("HeureCheckEJS()", 1000)
 }
window.onload = HeureCheckEJS;
</SCRIPT>
</head>

<body bgcolor="#006699" link="#f5d508">
<SCRIPT language=JavaScript1.2 type=text/javascript>
LoadMenus();
</SCRIPT>
<div id="top">
 
  <table width="780" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="69" align="center" valign="middle"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0">
          <tr>
    <td><IMG  alt=""
      src="images/BottomShadow2.gif" width="8" height="100%"> </td>
            <td width="199"><div align="left"><img src="images/log01.gif" width="200" height="100"><br><img src="images/log02.gif"  ></div></td>
   
            <td width="450" background="backgrounds/HeaderLeft.gif"><div align="center"><font color="#FFFFFF" size="+2"><font></font>Bienvenue sur l'Intranet de l'administration communale</font></div>
              <div align="center"></div></td>
   
   
            <td width="117"><script type="text/javascript" src="javascript/clock.js"></script></td>
   <td><IMG  alt=""
      src="images/BottomShadow3.gif" width="8" height="100%"></td>
          </tr>
        </table></td>
    </tr>
 <tr>
 <td>
 <table width="100%" height="100%" cellpadding="0" cellspacing="0">
 <tr>
 <td width="8"><IMG  alt=""
      src="images/BottomShadow2.gif" width="8" height="100%"> </td>
            <td width="198">&nbsp;</td>
      <td width="446" height="19">
<div align="center"><font color="#FFFFFF">......:::::
                <SCRIPT language=JavaScript>
<!-- Hide the script from non-Javascript browsers
var date_statement="";
var time_statement="";
var today=new Date();
var month="";
var day="";
function todays_date() {
var month=today.getMonth();
var day_of_week=today.getDay();
date_statement=""
document.month=""
month++; // So it's now between 1 - 12.
if(month==1) {
january(today.getDate());
document.month="janvier";
}
if(month==2) {
february(today.getDate());
document.month="février";
}
if(month==3) {
march(today.getDate());
document.month="mars";
}
if(month==4) {
april(today.getDate());
document.month="avril";
}
if(month==5) {
may(today.getDate());
document.month="mai";
}
if(month==6) {
june(today.getDate());
document.month="juin";
}
if(month==7) {
july(today.getDate());
document.month="juillet";
}
if(month==8) {
august(today.getDate());
document.month="août";
}
if(month==9) {
september(today.getDate());
document.month="septembre";
}
if(month==10) {
october(today.getDate());
document.month="octobre";
}
if(month==11) {
november(today.getDate());
document.month="novembre";
}
if(month==12) {
december(today.getDate());
document.month="décembre";
}
document.day=""
if(day_of_week==0)
document.day="dimanche";
if(day_of_week==1)
document.day="lundi";
if(day_of_week==2)
document.day="mardi";
if(day_of_week==3)
document.day="mercredi";
if(day_of_week==4)
document.day="jeudi";
if(day_of_week==5)
document.day="vendredi";
if(day_of_week==6)
document.day="samedi";
}
function january(date) {
if(date==1)
date_statement="";
if(date==26)
date_statement="";
}
function february(date) {
if(date==14)
date_statement="";
}
function march(date) {
if(date==15)
date_statement="";
if(date==17)
date_statement="";
}
function march(date) {
if(date==21)
date_statement="";
if(date==25)
date_statement="";
}
function april(date) {
if(date==1)
date_statement="";
if(date==30)
date_statement="";
}
function may(date) {
if(date==1)
date_statement="";
if(date==17)
date_statement="";
}
function june(date) {
if(date==2)
date_statement="";
if(date==5)
date_statement="";
if(date==10)
date_statement="";
if(date==17)
date_statement="";
if(date==21)
date_statement="";
if(date==23)
date_statement="";
if(date==24)
date_statement="";
}
function july(date) {
if(date==1)
date_statement="";
if(date==4)
date_statement="";
if(date==14)
date_statement="";
if(date==21)
date_statement="";
if(date==23)
date_statement="";
}
function august(date) {
if(date==1)
date_statement="";
}
function september(date) {
if(date==7)
date_statement="";
if(date==21)
date_statement="C'est l'automne !";
}
function october(date) {
if(date==3)
date_statement="";
if(date==12)
date_statement="";
if(date==31)
date_statement="Happy Halloween.";
}
function november(date) {
}
function december(date) {
if(date==21)
date_statement+="Couvrez-vous c'est l'hiver !";
if(date==23)
date_statement+="";
if(date==25)
date_statement="Joyeux Noël!";
if(date==31)
date_statement="Bon réveillon !";
}

function time_of_day() {
var time=today.getHours();
time_statement=""
if(time>=6 && time<8)
time_statement="Déja sur le Net !,"
if(time>=8 && time<12)
time_statement="Bonne matinée,"
if(time>=12 && time<13)
time_statement="Bon appétit,"
if(time>=13 && time<17)
time_statement="Bon après-midi,"
if(time>=17 && time<18)
time_statement="Bon fin d'après-midi,"
if(time>=18 && time<20)
time_statement="Bonsoir et bon appétit,"
if(time>=20 && time<22)
time_statement="Bonsoir,"
if(time>=22 || time<6)
time_statement="Salut les couche-tard,"
}
// -- End Hiding Here -->
</SCRIPT>
                <SCRIPT language=JavaScript>
  <!-- Hide the script from non-Javascript browsers
time_of_day();
todays_date();
document.writeln(""+time_statement+" nous sommes le "+document.day+" "+today.getDate()+" "+document.month+". "+date_statement+"")
// -- End Hiding Here -->
</SCRIPT>

                :::::......</font></div></td>
      <td width="118">&nbsp;</td>
    <td width="8"><IMG  alt=""
      src="images/BottomShadow3.gif" width="8"  height="100%"></td>
  
    </tr>
 </table>
 </td>
 <TR>
   
    <TD><table width="100%" height="100%" cellpadding="0" cellspacing="0">
 <tr>
 <td width="8"><IMG  alt=""
      src="images/BottomShadow2.gif" width="8" height="100%"> </td>
  
 <td><IMG height=8 alt=""
      src="images/BottomShadow.gif"
      width="100%"></td>
   <td width="8"><IMG  alt=""
      src="images/BottomShadow3.gif" width="8"  height="100%"></td>
   </tr></table></TD></TR>
    <tr>
 <td>
 <table width="100%" height="100%" cellpadding="0" cellspacing="0">
 <tr>
 <td width="8"><IMG  alt=""
      src="images/BottomShadow2.gif" width="8" height="100%"> </td>
            <td width="789" align="center"><IMG alt="" src="images/menu02.gif" width="100%"useMap=#ng_top_1
      border=0 name=up_r4_c4>
              <MAP name=ng_top_1>
                <AREA
        title="Accueil du site" shape=RECT alt="" coords=4,3,66,19
        href="index.php?acceuil.php">
          <AREA
        onmouseover="MM_showMenu(window.info,65,23,null,'up_r4_c4');"
        onmouseout=MM_startTimeout(); shape=RECT
        alt="" coords=73,3,166,20
        >
          <AREA
        onmouseover="MM_showMenu(window.neuf,165,23,null,'up_r4_c4');"
        onmouseout=MM_startTimeout(); shape=RECT
        alt="" coords=170,3,241,21
        >
          <AREA
        onmouseover="MM_showMenu(window.zoom,244,23,null,'up_r4_c4');"
        onmouseout=MM_startTimeout(); shape=RECT
        alt="" coords=248,3,312,20
        >
  
          <AREA
        onmouseover="MM_showMenu(window.annonce,310,23,null,'up_r4_c4');"
        onmouseout=MM_startTimeout(); shape=RECT
        alt="" coords=319,3,386,19
        >
          <AREA
        onmouseover="MM_showMenu(window.concerne,385,23,null,'up_r4_c4');"
        onmouseout=MM_startTimeout(); shape=RECT
        alt="" coords=394,2,502,19
        >
  
          <AREA
        onmouseover="MM_showMenu(window.projets,499,23,null,'up_r4_c4');"
        onmouseout=MM_startTimeout(); shape=RECT
        alt="" coords=506,2,589,20
        >
  
          <AREA
        onmouseover="MM_showMenu(window.rire,589,23,null,'up_r4_c4');"
        onmouseout=MM_startTimeout(); shape=RECT
        alt="" coords=597,3,671,19
        >
  
          <AREA
        title="Accueil du site" shape=RECT alt="" coords=678,3,780,20
        href="index.php?acceuil.php">
              </map>
            
   </td>
   <td width="8"><IMG  alt=""
      src="images/BottomShadow3.gif" width="8"  height="100%"></td>
  </tr></table></td>
    </tr>
    <tr>
      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
    <td width="8"><IMG  alt=""
      src="images/BottomShadow2.gif" width="8" height="100%">
     </td>
     
            <td width="140" align="left" valign="top" background="backgrounds/BlockRContent.gif">
  <br><br><br>
  
  <?php
  include("boite.php");
  echo "<br>";
  //include("mot du jour.php");
  include("annonces/administrateur.php");?>
  
        </td>
     
            <td width="480" align="right" height="600" valign="top">
   <?
   if(@$_GET["main"])
   {
   $page=$_GET["main"];
   }
   else
   {
   $page='acceuil.php';
   }
   ?>
   <!-- LISTE DEROULANTE DE LA PAGE D'ACCEUIL -->
   
              <iframe src="<? echo $page; ?>" width=100% height=100%  marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=auto  name="main" id="main"></iframe>
            </td>
   
            <td width="140" align="left" valign="top" background="backgrounds/BlockRContent.gif">
   <MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=2 scrollDelay=20 direction=up height=200 align="center">
   <div align="center"><font color="#000000">
<?//-------------------------------Bloc du tempo Flash-------------------------------------?>   
      <font size="4" color="#3B6CEE"><u>Tempo Flash</u></font><br><br><br>
   <a href="flash/" target="_blanc"></a><BR><BR>
   <font color="#006699">********** </font><br><br>   
 
   
 
       

<?//---------------------------------------------------------------------------------------?>    

<?//------------------------------------NEWS-----------------------------------------------?>    
    <font size="4" color="#3B6CEE"><u>News</u></font><br><br><br>  
       
 <a href="notes de service/nfoconseillercommunal.pdf"  target="_blanc"> Note de service</a><BR><br>
 <font color="#006699">********** </font><br><br>  
 <a href="notes de service/vestesecurite.pdf"  target="_blanc"> Les vestes de sécurité obligatoires</a><BR><br>
 <font color="#006699">********** </font><br><br>  
 <a href="notes de service/CC260207.pdf"  target="_blanc"> Changement de date pour le prochain Conseil communal</a><BR><br>
 <font color="#006699">********** </font><br><br>
 
 <?//------------------------------------DOSSIER-----------------------------------------------?>    
    <font size="4" color="#3B6CEE"><u>Dossier de la semaine</u></font><br><br><br>  
 
 <a href="Dossier de la semaine/cinqminutesderepit.pdf"  target="_blanc">5 minutes de répit pour la planète</a><BR><br>
 <font color="#006699">********** </font><br><br> 
 
 <!-- FIN DE LISTE DEROULANTE DE LA PAGE D'ACCEUIL -->
         </font></div>
         </marquee>
   </td>
   <td width="8"><IMG  alt=""
      src="images/BottomShadow3.gif" width="8"  height="100%"></td>
          </tr>
        </table></td>
    </tr>
    <tr><td>
 <table width="100%" height="100%" cellpadding="0" cellspacing="0">
 <tr>
 <td><IMG height=8 alt=""src="images/BottomShadow.gif" width="100%"></td></tr>
   </table></td>
    </tr>
  </table>
 
</div>
</div>

</body>
</html>

mardi 3 avril 2007 à 17:41:21 | Re : intranet

vilhjalms

Saell og blesuð

Il faudrait peut etre voir a mieux situer le probleme parce que la :/


Vilhjálms Sigurðsdóttir aka Frëyjá


Cette discussion est classée dans : date, document, month, day, statement


Répondre à ce message

Sujets en rapport avec ce message

Date Heure en temps réel + message selon date [ par Anakinele ] Est-ce qu'il est possible de faire la même chose que le script en vert (voir plus bas) (trouvé il y a longtemps) avec date et heure (qui défile en tem pouvez vous corriger ce script svp? [ par jerrrrrry ] voila je bidouille j'essaye de custumiser un script d'agenda avec une base de donnéeet c'est un peu coton,en effet ma bdd stocke les date en timestamp Affciher les infos du jour... [ par mirtil ] Bonjour, J'aurai voulu savoir comment modifier ce code afin que l'agenda affiche directement les infos du jour lorsque l'on arrive sur l'index... / Date et heure d'un fichier sur un serveur. MySQL [ par bouffard ] Bonjour,J'utilise une base de données MySQL, avec différent champs (entre autre un champ "datecrea" format datetime).Je suis entrain de construire un Calendrier et lien [ par bernhardjo ] Salut, J'ai réaliser un petit calendrier pour mon site, j'ai cependant un petit problème. Je ne vois pas comment faire pour avancer d'un mois ou recul Erreur de conversion la date anglais vers francais [ par abdeslam2009 ] Bonjour, voilà le code suivant if(isset($_SESSION['v_tr_f_stk'])){ $v_tr_f_stk=$_SESSION['v_tr_f_stk']; list($day,$month,$year) = explode('/', $v Condition dans une requéte [ par d9thc ] Bien le bonjour,bon déja voila ma requéte: $query="SELECT * FROM event WHERE month_d='$m' && day_d<= en fr agenda [ par wallysub ] Bonjour, svp est ce qu'il y aurait quelqu'un qui pourait m'aider à passer les jours et mois de cet agenda en francais : <? $Host = ""; $U Récupérer date dans un datepiker [ par vargas ] Bonjour je chercher depuis des heures comment récupérer la date d'un datepiker qui se trouve dans un des mes formulaire pour l'enregistrer dans une b requette mysql avec YEAR MONTH et DAY [ par hdh ] Bonjour !Je me heurte à une requette... j'imagine que c'est moi qui suis en tort... mais là je ne vois pas trop...quand je fais requete : select * fro


Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Mai 2012
LMMJVSD
 123456
78910111213
14151617181920
21222324252627
28293031   

Consulter la suite du CalendriCode

Photothèque

A découvrir



 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 0,499 sec (3)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales