Partage
  • Partager sur Facebook
  • Partager sur Twitter

pourquoi j'ai pas la main sur css mobile?

css mob ne reponds pas

Sujet résolu
    20 avril 2017 à 13:43:59

    bonjour

    je n'arrive pas à comprendre pourquoi le css ne répond pas sur la partie mobile de ma partie "pro" du site... :-(

    si quelqu'un a une idée...merci

    Ici le code CSS smartphone, et la partie qui nous interesse est en fin de feuille

    Et le code des/ la page qui nous interesse (notez que même la page d'acceuil "pro inscription ne réagit pas au CSS)

    http://youresto.com/contact.php?type_user=pro

    http://youresto.com/moncompte.php

    
    /*************/
    /*************/
    /**MEDIA QUERIES SMARTPHONES**/
    /**SMARTPHONES 10.1 PORTRAIT**/
    /*************/
    /*************/
    @media all and (min-width: 320px)and (max-width: 600px){
    #mobile{width:100%;}
    .nomobile{display:none;}
    .header-slide { display:none;}
    .left-side{ display:none;}
    
    
    /*************/
    /*navigation.inc*/
    /*************/
    #pagination-bottom {height:8px;padding:1px 7px;color:#C7007D;display:inline;float:right;margin-bottom:30px;margin-top:20px;}
    .logo-texte-header{clear:left;position:absolute;margin-left:20%;margin-top:2.5%;font-size:0.6em;}
    #recherche{
    clear:both;
    background-color:#fff;
    float:left;
    width:100%;
    margin:0 0 5px 0;
    -moz-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    -webkit-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);}
    #recherchetext{padding-left:10px;}
    .recherche{
    font-size:0.9em;
    float:right;
    margin:2px 10px;
    border-radius:2%;
    width:165px;
    height:30px;
    background:#109400;
    border:1px solid #777;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1) ;
    color:#fff;}
    .advsearchbuttondown{
    width:150px;
    height:30px;
    float: left;
    margin-left:10px;
    background-image: url('../images/icones/btn-avancee-1.jpg');
    background-repeat:no-repeat;
    }
    .advsearchbuttondown a:hover{
    margin-left:8px;
    background-image: url('../images/icones/btn-avancee-2.jpg');
    cursor: pointer;
    }
    .advsearchbuttonup {
    text-transform:uppercase;
    color:#ffffff;
    font-size:12px;
    	float: left;
    	background:#743c82;
    	padding:0px;
    	margin-left:8px;
    }
    	input:-ms-input-placeholder {
    	   color:#acacac;
    	    font-size:14px;
    	}
    	
    	input::-webkit-input-placeholder {
    	   color:#acacac;
    	    font-size:14px;
    	}
    	
    	input:-moz-placeholder {
    	   color:#acacac;
    	    font-size:14px;
    	}
    	
    	/* firefox 19+ */
    	input::-moz-placeholder {
    	   color:#acacac;
    	   font-size:14px;
    	}
    
    #option1{
    clear:both;
    width:360px;
    margin:15px 15px;
    }
    .searchbarA{
    border: 1px solid purple; border-radius:6px;width: 98%;margin: 20px 5px ;font-size: 12px; padding: 8px;}
    .searchtable {border: 1px solid purple; border-radius:6px;width: 99%;margin-top:24px;}
    .searchtable-B{font-size: 16px;border: 1px solid purple; border-radius:6px;width: 99%;margin-top:24px;}
    
    .tr-search{width:600px;}
    .td-search{width:65px;}
    .radio-search{width:300px;}
    .input-radio{width:25px;height:25px;margin:5px;}
    .span-radio {font-size:23px;}
    .span-radio-A {font-size:23px;letter-spacing:5px;}
    .input-search{border: solid 1px #7b318e;
    font-size:18px;margin:7px 4px 4px 8px;width:95%;height:40px;float:left;display:inline;
    }
    #barre_navigation_top{margin-bottom:2px;font-weight:lighter;clear:both;height:12px;font-size:0.5em;background-color:#7b318e;color:#810051;box-shadow:3px 2px 4px #888;text-transform: uppercase;opacity:0.7; }
    #navigation_top li a:hover{background:#9f2295;border-right:1px solid #fff;}
    #navigation_top li a{display:block;float:left;color:#fff;text-decoration:none;padding:0px 5px;}
    #navigation_top ul li{list-style-type:none;display:inline;font-weight:600;}
    #navigation_top ul{margin:0;padding:0;}
    #navigation_top{margin:0 auto;width:100%;}
    
    #barre_navigation{display:none; }
    #navigation{display:none; }
    #Mbarre_navigation{margin-top:28%;padding:0;background-color:#7b318e; }
    #Mnavigation{margin:0;padding:0;background-color:#7b318e;font-size:2em;clear:both;text-transform: uppercase;  -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;}
    #Mnavigation  ul{
    margin:0px;padding:0;  -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;}
    #Mnavigation  li{
    padding:20% 1.5%;text-align:center;list-style-type:none;background-color:#7b318e;border:1px solid white;}
    #Mnavigation  a{
    text-decoration:none;}
    nav  .first {
    width:50%;height:60%;background-color:#7b318e;float:left;color:#fff;font-size:90%;padding-bottom:1%;}
    nav .second {padding:1% 0.5%;width:50%;background-color:#7b318e;float:left;color:#fff;font-size:88%;}
    #Mnavigation li a:hover{background:#9f2295;}
    
    #Bbarre_navigation{margin-top:28%;padding:0;background-color:#7b318e; }
    #Bnavigation{margin:0;padding:0;background-color:#7b318e;font-size:2em;clear:both;text-transform: uppercase;  -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;}
    #Bnavigation  ul{
    margin:0px;padding:0;  -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;}
    #Bnavigation  li{
    padding:5% 1.5%;text-align:center;list-style-type:none;background-color:#7b318e;border:1px solid white;}
    #Bnavigation  a{
    text-decoration:none;}
    nav  .Bfirst {
    width:33%;height:20%;background-color:#7b318e;float:left;color:#fff;font-size:50%;padding-bottom:1%;}
    nav .Bsecond {padding:1% 0.5%;width:33%;background-color:#7b318e;float:left;color:#fff;font-size:50%;}
    #Mnavigation li a:hover{background:#9f2295;}
    
    /*************/
    /****INDEX SMARTPHONES****/
    /*************/
    .image-title h1{ 
    position:absolute;
    width:90%;
    text-transform: uppercase;
    font-size:4.5em;
    line-height: 90%;
    letter-spacing: -5px;
    z-index:3;
    text-align:center;
    top:150px;
    margin:20px auto;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    }
    #content-top{ background-color:#f8f8f8;width:100%;float:left;margin: 0px;padding:0px;}
    #content{
    	background-color:#f8f8f8;width:100%;float:left;margin-top: 3px;padding:5px;}
    	.D,.E,.I,.J,.K  {display:none;}
    #article-index-top{background-color:#fff;width:100%;margin-bottom:4% ;
    -moz-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    -webkit-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);padding:10px;}
    #article-index-top img{width:100%;padding:0px;}
    #article-index-top h3{padding:10px 20px;font-size:.95em;color:#777;}
    
    .titre-chapeau{color:white;background-color:#a4579e;font-size:1.5em;padding:0.6em 0.4em;}
    #article-sample-top{background-color:#fff;width:100%;margin-bottom:4% ;
    -moz-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    -webkit-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);padding:10px;}
    #article-sample-top img{width:100%;padding:0px;}
    #article-sample-top h3{padding:10px 20px;font-size:.95em;color:#777;}
    
    .article-sample-medium{display:inline-block;
        margin: 1.1em 0.3em;
        width: 98%;  float:left;
    -moz-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    -webkit-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
     box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
     border-radius:5px;
      box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;}
    .article-sample-medium img{width:100%; height:45%;padding:20px;}
    .article-sample-medium h3{margin-top:-10px;padding:2% 5%;font-size:1em;color:#777;}
    .article-sample-surligne-top {text-align:left;height:30px;border: 1px solid #ddd; background-color:#b97bb4;padding:4px 30px;color:white;font-size:.8em;}
    .article-sample-surligne-top p{margin-top: -20px;}
    .article-sample-surligne-medium {text-align:left;height:auto;border: 1px solid #ddd; background-color:#a4579e;padding:5px 20px;font-size:1.3em;color:white;}
    .titre-chapeau-medium{color:white;background-color:#a4579e;font-size:1.5em;padding:0.6em 0.4em;}
    .bouton-medium{width:50%;clear:left;float:right;color:white;background-color:#a4579e;font-size:1.5em;padding:0.6em 0.4em;}
    .bouton-medium a{color:white;}
    .agrafe-medium{position:absolute;width:auto;clear:left;opacity:0.85;color:white;background-color:#a4579e;font-size:1em;margin-top:20px;margin-left:-0.22em;padding:0.5em 0.4em;
    -moz-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    -webkit-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    border-top:solid 1px #515151;
    border-bottom:solid 1px #515151;}
    .bouton-large{margin-top:100px;width:100%;height:100%;color:white;background-color:#a4579e;font-size:2em;padding-top:20px;text-align:center; text-transform:uppercase;}
    .bouton-large a{color:white;text-decoration:none;}
    /*************/
    /**RESULTATS SMARTPHONES**/
    /*************/
    /*
    .cadre-resultat{
    width:100%;
    margin:0px;
    float: left;
    }
    */
    #total{margin:20px 0;height:10px;width:100%;float:left;} 
    .cadre-resultat{
    	width:100%;background-color:#eeeeee;margin-top: %;padding:2%;
    }
    .bloc1 {
     -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
        -moz-column-gap: 1em;
        -webkit-column-gap: 1em;
        column-gap: 1em;
    	background-color:#f8f8f8;width:100%;float:left;margin-top: 10%;
    	border: solid 1px grey;
    box-shadow: 1px 1px 12px #555;
    font-family: 'Bree Serif', serif;
    }
    .bloc2{
    min-height: 70px;
    color: white;
    background-color: #d18fe2;
    font-family: 'Lato', sans-serif;
    letter-spacing:1.5px;
    text-transform:capitalize;
    
    padding:8px 10px;
    clear:both;
    }
    div.bloc2> h1{
    float:left;
    font-size: 18px;
    padding:0px 5px;
    margin:0px;
    width:auto;
    }
    
    .bloc2 a {color:white;text-decoration:none;}
    .bloc2_a{
    	clear:left;
    float:left;
    min-width:40px;
    padding: 1px 7px;
    margin-top: 5px;
    margin-left:5px;
    font-size: 0.5em;
    text-align:center;
    color:#fff;
    border: solid 1px; border-radius:1px;
    -webkit-box-sizing: border-box;
         -moz-box-sizing: border-box;
              box-sizing: border-box;
    }
    .bloc2_b{
    float:left;
    padding-left: 2px;
    font-size: 0.7em;
    color:#e3e3e3;
    letter-spacing:1px;
    clear:left;
    }
    .bloc3 img{
    float:left;
    margin-right:4px;
    width: 30%;
    height:28%;
    box-shadow: 1px 1px 10px #555;
    }
    .logo-video{
    position:absolute;
    height: 330px;
    width: 330px;}
    .bloc4 {
    margin:1px 0px;
    text-align: center;
    display: inline-block;
    height: auto;
    width: 68.8%;
    }
    .bloc4_a {
    
    float:left;
    height: 33px;
    width: 80.5%;
    margin-bottom:1px;
    border: solid 2px #d18fe2;
    color: #d18fe2;
    padding:0px;
    }
    .bloc4_a p{
    margin:0px;
    font-size: 0.9em;
    color: #d18fe2;
    padding:0px;
    }
    
    .bloc4_a_2 {
    height: 30px;
    width: 100%;
    margin:2px 0px;
    padding:2px ;
    border: solid 2px #d18fe2;
    font-size: 0.9em;
    color: #d18fe2;
    }
    .bloc4_b {
    float:left;
    height: 33px;
    width: 45px;
    background-color:#d18fe2;
    padding:0px;
    margin:0px;
    }
    .bloc4_c{
    padding:0px;
    margin-top:-8px;
    color: white;
    font-size: 1.9em;
    letter-spacing:-3px;
    -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;}
    
    sub.bloc4_c {
    color: white;
    font-size: 16px;
    position: relative;
    line-height: 0;
    letter-spacing:0px;
    top: -2px;
    left:8px;
    -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;}
    
    sup { 
    font-size: 10px;
    margin:0px;
    -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;}
    
    .left-side-resultat{display: none;}
    .bloc6 {
    	clear:both;
    position: ;
    top:-2px;
    left:150px;
    float:right;
    height: 20px;
    width: 55px;
    background-color: #d18fe2;
    margin: 4px 2px;
    border-radius: 3px;
    }
    .bloc6_a {
    
    padding:1px;
    
    margin-bottom:0px;
    color: white;
    letter-spacing:-2px;
    }
    sub.bloc6_a {
    color: #be62b7;
    font-size: .8em;
    float:right;
    margin-top:-25px;
    
    }
    .bloc6_b {
    float:left;
    color: white;
    font-size: 1.1em;
    margin:-4px 0px 4px 0px;
      vertical-align:middle;
      line-height:normal; /* on rétablit le line-height */
      text-align:left; /* ... et l'alignement du texte */
    letter-spacing:-1px;
    }
    #tag{
    width:100%;background-color:#f8f8f8;margin-top: 3px;padding:2%;
     -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
        -moz-column-gap: 1em;
        -webkit-column-gap: 1em;
        column-gap: 1em;
    background-color: yellow;
    }
    
    .bloc6_d img{
    margin:1px 1.5px ;
    height: 80px;
    float:left;
    }
    .bloc7 img {
    width:150px;
    padding:5px 3px 5px 8px;
    clear: left;
    float:left;
    }
    .bloc7_a img {
    width:150px;
    margin:5px 3px;
    float:left;
    }
    
    .bloc7_b img {
    width:40px;
    margin:5px 3px;
    float:left;
    }
    .bloc8{
    
    font-size: 0.75em;
    margin:1px 1px 20px 5px;
    }
    .bloc8 img {
    display: inline-block;
    width:30px;
    height:30px;
    margin:0px 1px;
    float:left;
    }
    .tag-visite{
    			display:block;
    			float:right;
    			border-radius: 4px;
    			text-align:center;
    			color:white;
    			margin: 2px;
    			width:auto;
    			height:20px;
    			background-color:#119400;
    			}
    .tag-visite p{
    			margin-top:1px;
    			padding:0 5px;
    			font-size: .9em;
    			text-transform: uppercase;
    						}
    .tag-violet-result{
    display:inline-block;
    float:left;
    			font-size: 0.9em;
    			border-radius: 4px;
    			text-align:center;
    			color:white;
    			padding:3px;
    			margin: 4px 5px 0px 2px;
    			max-width:58px;
    			min-height:28px;
    			line-height:9px;
    			background-color:#be62b7;
    			}
    .tag-article{
    			display:none;
    			}
    			
    .grey{color:grey;}
    .petit-violet{display:inline-block;margin: 4px 3px 0px 2px;padding:2px 4px;font-size:.9em;border-radius: 3px;text-align:center;color:white;
    height:auto;width:auto;background-color:#d18fe2;}
    .petit-rouge{display:inline-block;margin: 4px 3px 0px 2px;padding:2px 4px;font-size:.9em;border-radius: 4px;text-align:center;color:white;
    height:auto;width:auto;background-color:#bf072a;}
    .tag-specialite{display:inline-block;margin: 4px 3px 0px 2px;padding:2px 4px;font-size:.9em;border-radius: 4px;text-align:center;color:white;
    height:auto;width:auto;background-color:#be62b7;}
    		
    .bloc10 {
    clear:both;
    width: 100%;
    font-size: .9em;
    padding:5px 30px;
    font-family: 'Roboto';
    margin:10px auto;
    text-align:justify;
    font-weight: 500;
    }
    .bloc10 a{
    text-decoration:none;
    color:#a0a0a0;
    }
    .bloc10 a:hover {text-decoration:underline;}
     #resultats-restaurant{background-color:#fff;width:80%;margin:3% 0 0 3%;
    -moz-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    -webkit-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);padding:0px; padding-bottom:5px; border-bottom:2px solid #efefef;}
    #resultats-restaurant img{height:125px;padding:0px;margin-right:15px;float:left;}
    .resultats-restaurant  h3{padding:5px 20px;color:#777;text-decoration:none;}
    .resultats-restaurant a {color:#777;text-decoration:none;font-size:1.6em;}
    .resultat_barre_violet {font-family:'open sans'; font-weight:lighter;letter-spacing:1px;margin:0px;text-align:left;height:16px;border: 1px solid #ddd; background-color:#b97bb4;padding:10px 20px 18px;color:white;font-size:1.3em;}
    .resultat_barre_violet a{text-decoration:none;color:white;}
     #barre-infos-restaurant{background-color:#fff;
    -moz-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    -webkit-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);padding:10px;color:#d3d3d3;
    }
    #barre-infos-restaurant img{height:12px;vertical-align: middle;}
    #resultat-satisfaction img{vertical-align: middle;margin-top:-20px;float:right;}
    #resultat-logo-video img{position:relative;height:30px;left:-90px;float:right;}
    #resultat-article-info img{position:relative;vertical-align: middle;height:25px;margin-top:-25px;left:-140px;float:right;}
    #resultat-mange-info img{position:relative;vertical-align: middle;height:25px;margin-top:-25px;left:-250px;float:right;}
    #resultat-info{display:inline;}
    
    /*************/
    /**fiche SMARTPHONES**/
    /*************/
    .top-bar{
    	height:50px;
    	background-color:#9b5c84;
    }
    .top-bar h2{
    	padding:10px 20px;
    }
    .top-bar a{text-decoration: none; color:#fff;}
    
    .transparent-box{color:#ccc;text-align:center;background:#ffffff;border: 1px solid #ccc;width:100%;height:auto;margin:15px auto ;padding:10px;}
    .transparent-box p{color:#ccc;font-size:1.2em;}
    .transparent-box a{color:#ccc;text-decoration:none;}
    
    
    .red-box{color:#ffffff;text-align:center;background:#ef4747;width:100%;height:auto;margin:0 auto ;padding:0 px;}
    .red-box p{color:#ffffff;font-size:2em;}
    .red-box a{color:#ffffff;text-decoration:none;}
    .red-box h1{font-family:'raleway', sans-serif;color:#ffffff;font-size:3.5em;text-transform: uppercase;line-height: 90%;
    letter-spacing: -5px;padding:40px;margin:0px;}
    
    .white-box{color:#808080;text-align:center;background:#ffffff;border: 1px solid #ccc;width:50%;height:auto;margin:15px auto ;padding:15px;}
    .white-box p{color:#808080;font-size:3em;}
    .white-box a{color:#808080;text-decoration:none;}
    .white-box h1{font-family:'raleway', sans-serif;color:#ffffff;font-size:1.5em;text-transform: uppercase;line-height: 90%;
    letter-spacing: -5px;padding:40px;margin:0px;}
    
    .white-box-third{float:left;color:#ccc;text-align:center;background:#ffffff;border: 1px solid #ccc;width:30%;height:auto;margin:15px ;padding:15px;}
    .white-box-third p{color:#ccc;font-size:2em;}
    .white-box-third a{color:#ccc;text-decoration:none;}
    .white-box-third h1{font-family:'raleway', sans-serif;color:#ffffff;font-size:3.5em;text-transform: uppercase;line-height: 90%;
    letter-spacing: -5px;padding:40px;margin:0px;}
    
    .border{border:1px solid grey;float:left;}
    .image-pro-float{
    z-index:1;
    width:100%;
    }
    
    .mobile{
    clear:left;
    width: 100%;
    margin: 20px 0px;
    padding: 15px;
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius:4px;
    }
    
     #article-fiche-top{background-color:#fff;width:99%;margin:3% 0 0 3%;
    -moz-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    -webkit-box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);
    box-shadow:0px 3px 5px 0px rgba(119, 119, 119, 0.7);padding:0px;}
    #article-fiche-top img{width:100%;height:465px;padding:0px;margin:0px;}
    #article-fiche-top h3{padding:10px 20px;font-size:.95em;color:#777;}
    .fiche_barre_violet {margin:0px;text-align:left;height:22px;border: 1px solid #ddd; background-color:#b97bb4;padding:15px 30px;color:white;font-size:1.6em;}
    .fiche_barre_violet h1{font-size:1.2em;}
    #fiche_description {font-size:1.1em;width:96%;padding:16px;text-align:justify;background-color:#ffffff;}
    *, *:after, *:before {
    	-webkit-box-sizing: border-box;
    	-moz-box-sizing: border-box;
    	box-sizing: border-box;
    }
    
    [class*='col-'] {
    	float: left;
    	padding-right: 20px;
    }
    
    [class*='col-']:last-of-type {
    	padding-right: 0px;
    }
    
    .grid {
    	width: 100%;
    	max-width: 1140px;
    	min-width: 755px;
    	margin: 0 auto;
    	overflow: hidden;
    }
    
    .grid:after {
    	content: "";
    	display: table;
    	clear: both;
    }
    
    .grid-pad {
    	padding: 20px 0 0px 20px;
    }
    
    .grid-pad > [class*='col-']:last-of-type {
    	padding-right: 20px;
    }
    
    .push-right {
    	float: right;
    }
    /*************/
    /* Content Columns */
    /*************/
    .col-2-3{
    	width: 50%;
    }
    .col-5-12 {
    	width: 41.66%;
    }
    
    .col-7-12 {
    	width: 58.33%
    }
    .col-2-3, .col-8-12 {
    	width: 100%;
    	margin: auto 2.5%;
    }
    
    .col-1-2, .col-6-12 {
    	width: 50%;
    	float: left;
    }
    
    .col-1-3, .col-4-12 {
    	width: 100%;
    	margin: auto 2.5%;
    }
    
    .mobile hr{
    margin: 10px 0px;
    }
    .align-left{
    text-align: left;
    }
    
    .margintop-15{
    margin: 15px 0px 8px 0px;
    
    }
    
    .left-60{ margin-left: 60px;}
    .minus-20{ margin-top: -20px;}
    .paddingtop-10{ padding-top: 10px;}
    .violet{background-color:#e4a2df;}
    .left-50{ margin-left: 50px;}
    
    div .aside{
    display:none;
    }
    .small{
    width: 169px ;
    color: #fff;
    background-color: #000;
    margin: 10px 0px;
    padding: 15px;
     border-radius: 5px;
    }
    
    .medium{
    width: 100% ;
    color: #7e7e7e;
    background-color: #fff;
    margin: 20px 0px;
    padding: 15px;
    border: solid 1px #ccc;
    border-radius: 5px;
    }
    .medium img {
    width: 100%;
    padding: 15px;
    }
    .medium-right{
    clear:both;
    width: 100% ;
    color: #7e7e7e;
    background-color: #fff;
    margin: 20px 0px;
    padding: 25px;
    -moz-box-shadow:0px 3px 4px 1px rgba(119, 119, 119, 0.7);
    -webkit-box-shadow:0px 3px 4px 1px rgba(119, 119, 119, 0.7);
     box-shadow:0px 3px 4px 1px rgba(119, 119, 119, 0.7);
     border-radius: 4px;
    }
    .img-large {
    width: 100% ;
    }
    .large{
    width: 100% ;
    color: #7e7e7e;
    background-color: #fff;
    margin: 1% 0px;
    padding: 0px 2%;
    -moz-box-shadow:0px 3px 5px 1px rgba(119, 119, 119, 0.7);
    -webkit-box-shadow:0px 3px 5px 1px rgba(119, 119, 119, 0.7);
     box-shadow:0px 3px 5px 1px rgba(119, 119, 119, 0.7);
     border-radius: 5px;
    }
    .large a{
    color:#fff;
    text-decoration: none;
    }
    .large a:hover{
    color:#fff;
    text-decoration: underline;
    }
    
    .left{
    float: left;
    }
    
    .right{
    float: right;
    margin-left:8px;
    }
    .clearleft{
    clear: left;
    }
    .clearright{
    clear: right;
    }
    .tag-pic{
    width: 17%;
    display: inline;
    margin:1% 1.5% ;
    -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;}
    .tag-grey{
    			font-size: 1em;
    			border-radius: 3px;
    			text-align:center;
    			color:white;
    			padding:0px 4px;
    			margin: 4px;
    			height:auto;
    			background-color:#d9dde0;
    			}
    .tag-rouge {
    	font-size: 1em;
    			border-radius: 4px;
    			text-align:center;
    			color:white;
    			padding:4px 10px;
    			margin: 5px;
    			height:auto;
    			background-color:#bf072a;
    			}
    .tag-violet{
    			font-size: 1em;
    			border-radius: 4px;
    			text-align:center;
    			color:white;
    			padding:4px 10px;
    			margin: 5px;
    			height:auto;
    			background-color:#be62b7;
    			}
    .tag-prix-big{
    display:inline-block;
    			border-radius: 5px;
    			text-align:center;
    			color:white;
    			padding:5px 15px;
    			margin: 1% 2% 4% 2%;
    			height:auto;
    			background-color:#be62b7;
    			font-size: 2.5em;
    			}
    .title-xs-prix{
    	font-size: 0.4em;
    	color:#fff;
    	font-variant: small-caps;
    	}
    .tag-prix-small{
    			display:inline-block;
    			border-radius: 5px;
    			text-align:center;
    			color:white;
    			padding:5px 8px;
    			margin: -6% 2% 0 0;
    			height:auto;
    			background-color:#be62b7;
    			font-size: 3em;
    			}
    .tag-reservation{
    				display: block;
    				clear: both;
    			border-radius: 5px;
    			text-align:center;
    			color:white;
    			padding:5px 10px;
    			margin: 30px 0px 50px 0px;
    			height:auto;
    			background-color:#be62b7;
    			font-size: 1.5em;
    			width: 95%;
    			}
    .tag-reservation a{color: #fff;
    			}
    					.tag-reservation-on{
    				display: block;
    				clear: both;
    			border-radius: 5px;
    			text-align:center;
    			color:white;
    			padding: 20px 10px;
    			margin: 0px 20px 0px 0px;
    			height:auto;
    			background-color:#be62b7;
    			font-size: 3.2em;
    			text-transform: uppercase;
    			width: 100%;
    			text-shadow: rgba(0,0,0,.4) 0 1px 0;
    			}
    			.tag-reservation-on a{color: #fff;
    			}
    							.tag-reservation-on-B{
    				display: block;
    				clear: both;
    			border-radius: 5px;
    			text-align:center;
    			color:white;
    			padding: 20px 10px;
    			margin: 0px 20px 0px 0px;
    			height:auto;
    			background-color:#be62b7;
    			font-size: 2.2em;
    			text-transform: uppercase;
    			width: 100%;
    			text-shadow: rgba(0,0,0,.4) 0 2px 0;
    			}
    			.tag-reservation-on-B a{color: #fff;
    			}
    .oui{
    font-size:.8em;
       border-radius: 5px;
    			text-align:center;
    			float:right;
    			color:white;
    			padding:4px;
    			margin:0px;
    			width:100px;
    			background-color:#be62b7;
    			}
    .title-l{
    margin: 0px;
    text-align: center;
    font-size: 40px;
    color:#7e7e7e;
    font-variant: small-caps;
    	}
    .title-l a{
    	color:#7e7e7e;
    	}
    .title-l a:hover{
    	color:#cbaa35;
    	}	
    .large h1{
    font-size:38px;
    color:#7e7e7e;
    font-variant: small-caps;
    }
    .title-m {
    clear:both;
    padding: 0px;
    font-size: 1.5em;
    color:#7e7e7e;
    font-variant: small-caps;
    	}
    .large>.title-s{
    	font-size: 1.2em;
    	color:#7e7e7e;
    	font-variant: small-caps;
    	margin:-50px 0px 30px;
    	}
    	.title-s h4{
    	font-size:1.2em;}
    .title-s a{
    	color:#7e7e7e;	
    	}
    .title-s a:hover{
    	color:#be62b7;
    	}
    .title-s img{
    	height:30px;
    	display:inline-block;
    	}
    div.title-xs {
    	text-align: left;
    	font-size: 1em;
    	color:#7e7e7e;
    	font-variant: small-caps;
    	}
    h3.title-xs {
    	text-align: left;
    	font-size: 1em;
    	color:#7e7e7e;
    	font-variant: small-caps;
    	font-weight:500;
    	}
    .title-xs img{
    	float: right;
    	height:20%;
    	margin-top:0px;
    	}
    .title-xs a{
    	color:#7e7e7e;
    	
    	}
    .title-xs a:hover{
    	color:#be62b7;
    	
    	}
    p.title-xs {
    	text-align: left;
    	font-size: 1em;
    	text-decoration:underline;
    	font-weight:500;
    	}
    .title-xxs{
    	font-size: 0.9em;
    	color:#7e7e7e;
    	font-variant: small-caps;
    	font-style: oblique ;
    	text-align: right;
    	padding-top:2px;
    	}
    .title-xxs p{
    	text-align: right;
    	}
    .desc {
    	font-size: 1em;
    	text-align: justify;
    	padding:0px 12px 20px 12px;
    	font-weight: normal;
    	}
    
    .vert{ border-top: 1px solid #98b02c;
       background: #0e8c3e;
       background: -webkit-gradient(linear, left top, left bottom, from(#539c3e), to(#0e8c3e));
       background: -webkit-linear-gradient(top, #539c3e, #0e8c3e);
       background: -moz-linear-gradient(top, #539c3e, #0e8c3e);
       background: -ms-linear-gradient(top, #539c3e, #0e8c3e);
       background: -o-linear-gradient(top, #539c3e, #0e8c3e);
       padding: 20px 40px;
       -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
       border-radius: 5px;
       -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
       -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
       box-shadow: rgba(0,0,0,1) 0 1px 0;
       text-shadow: rgba(0,0,0,.4) 0 1px 0;
       color: #ffffff;
        text-decoration: none;
       vertical-align: middle;
       text-align: center;
    font-size:1em;
    text-transform:uppercase;
    padding:10px 0px;
    }
     /**********/
     /**FOOTER**/
     /**********/
    #footer{clear:both;width:100%;background-color:#a4579e;margin-top:50px;}
    #footer ul {float:left;}
    #floating_footer_container{box-shadow:0 0 5px #888;height:50px;background:#b66eb0; border-bottom-color-ltr-source:physical;border-bottom-color-rtl-source:physical; border-bottom-color-value: #dda0dd;
        border-bottom-style-ltr-source: physical;
        border-bottom-style-rtl-source: physical;
        border-bottom-style-value: solid;
        border-bottom-width-ltr-source: physical;
        border-bottom-width-rtl-source: physical;
        border-bottom-width-value: 1px;}
    #floating_footer{width:98%;margin:10px;}
    #floating_footer a.facebook{background-image:url(../images/logo-facebook.png); background-attachment: scroll;
        background-clip: border-box;
        background-origin: padding-box;
        background-position: 0 0;
        background-repeat: no-repeat;
        background-size: auto auto;
        display: block;
        float: left;
        height: 50px;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 5px;
        margin-top: 5px;
        text-indent: -9999px;
        width: 50px;}
    #floating_footer a.twitter{background-image:url(../images/logo-twitter.png); background-attachment: scroll;
        background-clip: border-box; 
        background-origin: padding-box;
        background-position: 0 0;
        background-repeat: no-repeat;
        background-size: auto auto;
        display: block;
        float: left;
        height: 50px;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        margin-top: 5px;
        text-indent: -9999px;
        width: 50px;}
    #floating_footer .allvideos{
    font-size:.7em;
    background-attachment: scroll;
        background-clip: border-box;
      text-decoration:none;
      color:white;
      font-family:Helvetica;
      font-weight:400;
     text-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
     text-align:justify;
        display: block;
        float: right;
        height: 30px;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 8px;
        margin-top: 1%;
    width: 40%;}
    .footer_list{clear:both;position:relative;width:98%;height:100px;margin:8px;background-color:#a4579e;font-size:.9em;}
    .footer_list a{color:#fff;}
    #footer_main .right {float:right;color:white;height: 25px;}
    
    /**---PRO SMARTPHONES---**/
    .pb6{float:right; width:200px;}
    .bloc-big{
    			display: inline-block;
    			width: 100%;
    			height: auto;
    			padding: 25px 20px;
    			margin: .5em 0em;
    			line-height: 1.5em;
    			background: -webkit-linear-gradient(#e5e5e5, #cFcFcF);
    			background: -moz-linear-gradient(#e5e5e5, #cFcFcF);
    			background: linear-gradient(#e5e5e5, #cFcFcF);
    			background-color:#ddd;
    			color: #444;
    		}
    .label_contact h4{
    	text-align: left;
    	text-decoration:underline;
    	font-weight:500;
    	font-size:5em;
    	}
    	#moncomptec p{font-size:20px; color:#b7b7b7;}
    #moncomptec h3{font-size:16px; color:#b7b7b7;}
    #moncomptec h2{font-size:3em; color:#b7b7b7;}
    .button_top{font-size:1.2em;color:#ffffff;text-align:center;background:#ef4747;width:100%;height:auto;margin:0 auto ;padding:0 px;}
    .button {color:#ffffff;text-align:center;background:#6ed3cf;width:100%;height:auto;margin:3px auto ;padding:10px;font-size:2em;}
    .button:hover{background:#88e8e4;}
    .button:focus {background:#319b96; color:red;}
    .button:active {background:#319b96; color:red;}
    .button a{text-decoration:none;color:#fff;}
    }

    Page contact

    <?
    include("header.inc.php");
    
    $tmpself=$_SERVER["PHP_SELF"];
    $tab_tmpself=split('/',$tmpself);
    $selfurl='http://'.$_SERVER["SERVER_NAME"].ereg_replace($tab_tmpself[(count($tab_tmpself)-1)],'',$tmpself);
    
    if ($_POST["submit_mdp"])
    {
    		$qexists = mysql_query("SELECT * FROM users WHERE email='$email'");
    		$rexists = mysql_fetch_assoc($qexists);
    		if (($rexists["id_user"]>0)==false)
    		{
    		?>
            <script type="text/javascript">
    		alert('Cette adresse email n\'est associée à aucun compte !');
    		</script>
            <?
    		}
    		}
    ?>
    
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
    	<head>
    		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    		<title>Publicité et Marketing pour restaurateurs</title>
    		<meta name="keywords" content="publicité pour restaurant, communication restaurant,video restaurant, marketing restaurant, photo restaurant" />
    <meta name="description" content="YouResto pour votre restaurant, c'est différent, c'est plus cool. Solutions Marketing et apport réservations pour restaurants" />
    <link rel="stylesheet" type="text/css" href="css/main-style.css"/>
    <meta name="author" content="youresto.com" />
    
    </head>
    <body>
    <div class="big-bloc">
            
    	<div class="logo-youresto-header">
    	<a href="index.php" title="Trouvez votre restaurant avec Youresto.com">
    	<img src="../images/logo-small.png" alt="Guide des restaurants sur youresto" title="Trouvez votre restaurant avec Youresto.com">
    	</a>
    	</div>
    	<div id="header">
    		<? include("headerhtml.inc.php"); ?>
    		</div>
    		<div class="clear"></div> 
    			
    	<div class="red-box">
    	<a href="">
    <h1 class="red-box">Inscrivez gratuitement votre restaurant</h1>
    </a>
    	</div>
    		<div class="clear"></div> 
    	
    <div class="bloc-big nomobile">
    <h1 class="white">Proposez GRATUITEMENT votre restaurant 
     et vos Menus à nos internautes Gastronomes </h1>
    <h3 class="white">Connectez-vous ou créez votre compte, et postez directement votre fichier PDF</h3>
    <h4><i>La page Spéciale Noël 2016 a été vue par près de 20.000 personnes de la région. Demandez à Google "menus noel cannes" par exemple, pour voir où se place YouResto. Fonctionne aussi sur "meilleur burger nice" ;-)</i></h4>
    </div>
      <?
    	if ($_GET["type_user"]=="pro" || $_GET["type_user"]=="internaute") { 
    	?>
    		<div class="medium left">
    	  	<h2><? if ($_GET["type_user"]=="pro") { ?>J'inscris mon restaurant gratuitement<? } else { ?>Gagnez des points à chaque fois!<? } ?></h2><hr>
    		
    		<form name="form_resto" action="#" method="post">
    			<h4 class="label_contact">Nom: <span>*</span> <span class="pb6"><input type="text" name="nom" value="<?=htmlentities(stripslashes($_POST["nom"]));?>"/></span></h4>
    	
    			<h4>Adresse email: <span>*</span> <span class="pb6"> <input type="text" name="email" value="<?=htmlentities(stripslashes($_POST["email"]));?>"/></span></h4>
    
                 <?
    			if ($_GET["type_user"]=='pro')
    			{
    			?>
                <h4>Votre restaurant * <span class="pb6"><input type="text" name="restaurant" value="<?=htmlentities(stripslashes($_POST["restaurant"]));?>"/>
    			</span></h4>
                <?
    			}
    			?>
                
               <h4>Votre mot de passe *
    			(<em style="font-size:9px;">entre 6 et 15 caractères</em>)<span class="pb6"><input type="password" name="pwd" value=""/></span></h4>
    			
    			<center><input class="bloc-bouton" type="submit" name="submit_inscription" value="J'inscris mon restaurant"/></center>
    			</form>
    		<br>
    			</div>
    				<div class="medium right">
    		<form name="form_resto" action="#" method="post">
    		<h2>Me connecter</h2><hr>
    			<h4><strong>Email:</strong><span class="pb6"><input type="text" name="email" value="<?=htmlentities(stripslashes($_POST["email"]));?>"/></span></h4>
    			
    			<h4><strong>Mot de passe:</strong><span class="pb6"><input type="password" name="pwd" value=""/></span></h4>
    
    			<center><input class="bloc-bouton" type="submit" name="submit_identification" value="Go!" /></center>
    		</form>
    
    	<h5><a class="inline right" href="#mdp_oublie">Mot de passe oublié ?</a></h5>
    	<div style="display:none" id="mdp_oublie">
            <form name="form_mdp" action="#" method="post">
                <div class="popupf" style="height:350px;">
                    <h2 style="font-size:13px; padding-bottom:10px;"><strong>Vous avez perdu votre mot de passe</strong></h2>
                    <p class="pb6">Afin de retrouver votre mot de passe, renseignez ci-dessous votre adresse email utilisée de votre inscription sur youresto.com:</p>
                    <p class="pb6"><strong>Email</strong></p>
                    <p style="padding-bottom:15px"><strong><input type="text" name="email2" id="email2" style="width:200px; border:1px solid #AAAAAA;"/></strong></p>
                    <p><input type="submit" value="Valider ma demande" name="submit_mdp" id="email2"/></p>
                </div>
            </form>
    	</div>
    </div>
    
    			<article class="clear">
     
    	
    				<?
    	}
    	else 
    	{
    		?>
            <div id="form" style="background-image:url(img/fond_contact.png);">
            	<ul id="rubs-home">
    		
                	<li>. </li><li>. </li><li>. </li><li class="last">   
    		        <p><select name="type_user" style="font-size:16px;" onchange="if (this.value!='0') { window.location='contact.php?type_user='+this.value; }"><option value="0">Sélectionnez...</option><option value="pro">Je suis Restaurateur</option><option value="internaute">Devenir Restonaute</option></select></p></li></ul>
                
            </div>
    				
            <?
    	}	
    	?>
    
    </article>
    
    <hr>
    <div class="espace50"></div>
    	<div class="bloc100">
    	<h1>Utilisez le guide spécialisé YouResto pour votre restaurant !</h1>
    	<p>YouResto offre une visibilité complète pour faire connaître encore mieux votre restaurant !<br>Tous les jours, nous avons des gastronomes qui cherchent de bonnes adresses à vous faire rencontrer...</p>
    	<div class="espace50"></div>
    	<div class="bloc-bouton">
    		<a href="http://youresto.com/restaurant-pro-bienvenue.html">
    		Pourquoi inscrire votre restaurant sur YouResto
    		</a>
    		</div>
    		<div class="espace50"></div>
    	</div>
    
    	<div class="espace50"></div>	
    <div class="bloc-big">
    	<p>Une mise en place <strong>facile</strong></p>
    		<p>Une communication <strong>efficace</strong></p>
    		<p>Jusqu'à <strong>60 000 vues/mois</strong></p>
    	
    	<p>Nous sommes présents sur Twitter <a href="http://twitter.com/youresto" target="_blank"><img src="/images/logo-twitter.jpg" title="Rejoignez YouResto sur Twitter"/></a> 
             et sur Facebook <a href="http://www.facebook.com/pages/Youresto/161703980544524" target="_blank"><img src="/images/logo-facebook.jpg" title="Rejoignez YouResto sur Facebook"/></a></p>
    	
    			</div>
    	 </div>
    </body>
    </html>

    page mon compte

    <?
    include("header.inc.php");
    if(!isset($_SESSION['config_user']) || round($_SESSION['config_user']['id_user'])<=0)
    {
    	header("location:identification.php");
    }
    $tmpself=$_SERVER["PHP_SELF"];
    $tab_tmpself=split('/',$tmpself);
    $selfurl='http://'.$_SERVER["SERVER_NAME"].ereg_replace($tab_tmpself[(count($tab_tmpself)-1)],'',$tmpself);
    
    /* Nombre de restos de ce membre */
    
    	$q=mysql_query('SELECT COUNT(*) FROM users_restos WHERE id_user=\''.$_SESSION['config_user']['id_user'].'\' AND valid=\'n\'');
    	$r=mysql_fetch_row($q);
    	$nb_users_restos_non_valides = $r[0];
    
    	$q=mysql_query('SELECT COUNT(*) FROM users_restos WHERE id_user=\''.$_SESSION['config_user']['id_user'].'\' AND valid=\'y\'');
    	$r=mysql_fetch_row($q);
    	$nb_users_restos_valides = $r[0];
    
    	$nb_users_restos = $nb_users_restos_non_valides + $nb_users_restos_valides;
    	
    	// echo 'nb_users_restos_non_valides : ',$nb_users_restos_non_valides,'<br />';
    	// echo 'nb_users_restos_valides : ',$nb_users_restos_valides,'<br />';
    	// echo 'nb_users_restos : ',$nb_users_restos,'<br />';
    	
    /* FIN Nombre de restos de ce membre */
    
    /* Chargement du resto en session */
    
    	if(isset($_GET['charge_resto']))
    	{
    		$new_id_resto = round($_GET['charge_resto']);
    		if($new_id_resto==0)
    		{
    			$_SESSION['config_user']['id_resto'] = 0;
    			unset($_SESSION['config_user']['id_resto']);
    		}
    		else
    		{
    			$_SESSION['config_user']['id_resto'] = $new_id_resto;
    		}
    		header("location:moncompte.php");
    	}
    
    	if($_SESSION['config_user']['id_user']=='pro')
    	{
    		// Aucun resto dans la BDD
    		$choix_resto = '<i>Vous devez tout d\'abord <a href="moncompte.php?menu=ajouter-un-restaurant">ajouter</a> votre restaurant.</i>';
    		$erreur_choix_resto = $choix_resto;
    	}
    	elseif($nb_users_restos>=1 && $nb_users_restos_valides==0)
    	{	
    		// Au moins 1 resto dans la BDD, mais aucun validé
    		$choix_resto = '<i>Merci. votre restaurant va être bientôt validé, connectez-vous à nouveau sous peu.</i>';
    		$erreur_choix_resto = $choix_resto;
    		
    	}
    	elseif($nb_users_restos_valides==1 && $nb_users_restos_non_valides==0)
    	{
    		$q=mysql_query('SELECT resto.title,users_restos.id_resto FROM users_restos,resto WHERE users_restos.id_user=\''.$_SESSION['config_user']['id_user'].'\' AND resto.id=users_restos.id_resto');
    		$r=mysql_fetch_assoc($q);
    		$choix_resto = $r['title'];
    		$_SESSION['config_user']['id_resto'] = $r['id_resto'];
    	}
    	elseif($nb_users_restos_valides>=1)
    	{
    		$choix_resto = '<select name="select_choix_resto" onchange="if(this.value==\'n\'){alert(\'Ce restaurant est en cours de validation, vous devez patienter le temps que notre équipe le valide.\');window.location=\'moncompte.php?charge_resto=0\';}else{window.location=\'moncompte.php?charge_resto=\'+this.value;}">';
    		$choix_resto .= '<option value="">Choisir votre restaurant dans la liste</option>';
    		
    		$q=mysql_query('SELECT resto.title,users_restos.id_resto,users_restos.valid FROM users_restos,resto WHERE users_restos.id_user=\''.$_SESSION['config_user']['id_user'].'\' AND resto.id=users_restos.id_resto AND users_restos.valid=\'y\' ORDER BY resto.title ASC');
    		while($r=mysql_fetch_assoc($q))
    		{
    			if($_SESSION['config_user']['id_resto']==$r['id_resto']){$sel='selected="selected"';}else{$sel='';}
    			$choix_resto .= '<option value="'.$r['id_resto'].'" '.$sel.'>'.$r['title'].'</option>';
    		}
    		$q=mysql_query('SELECT resto_tmp.title,users_restos.id_resto,users_restos.valid FROM users_restos,resto_tmp WHERE users_restos.id_user=\''.$_SESSION['config_user']['id_user'].'\' AND resto_tmp.id=users_restos.id_resto AND users_restos.valid=\'n\' ORDER BY resto_tmp.title ASC');
    		while($r=mysql_fetch_assoc($q))
    		{
    			$choix_resto .= '<option value="n" '.$sel.'>'.$r['title'].' - En cours de validation</option>';
    		}
    		
    		$choix_resto .= '</select>';
    		
    		if($_SESSION['config_user']['id_resto']==0)
    		{
    			$erreur_choix_resto = '<i>Vous devez sélectionner un restaurant pour pouvoir effectuer les modifications.</i>';
    		}
    	}
    
    	if($_SESSION['config_user']['id_resto']>=1)
    	{
    		$q_resto = mysql_query("SELECT * FROM resto WHERE id='".$_SESSION['config_user']['id_resto']."'");
    		$array_resto = mysql_fetch_assoc($q_resto);
    	}
    
    /* FIN Chargement du resto en session */
    
    
    $menu_title='';
    if($_SESSION['config_user']['id_resto']>=1)
    { 
    	 $tab_menu = array("ma-fiche-resto" => array("ma-fiche-resto","Fiche restaurant"), 
    	  "mes-visites" => array("mes-visites","Mes visites"), 
    	  "offres-noel-jourdelan" => array("offres-noel-jourdelan","Noël Jour de L'An"), 
    	  "saint-valentin" => array("saint-valentin","Saint Valentin"), 
    	  "fete-des-meres" => array("fete-des-meres","Fêtes des Mères"), 
    	  "14-juillet" => array("14-juillet","Le 14 Juillet"), 
    	  "mes-infos" => array("mes-infos","Mes informations personnelles"), 
    	  "fidelite" => array("fidelite","Mes points de fidélité"), 
    	  "offres" => array("offres","Offres spéciales"), 
    	  "ajouter-un-restaurant" => array("ajouter-un-restaurant","Ajouter un restaurant"),
    	  "chef" => array("chef","Le Chef"),
    	  "mes-commentaires" => array("mes-commentaires","Mes commentaires"), 
    	  "mon-ardoise" => array("mon-ardoise","Mon ardoise"), 
    	  "ma-carte" => array("ma-carte","Ma carte"), 
    	  "reservations" => array("reservations","Réservations"), 
    	  "mes-photos-videos" => array("mes-photos-videos","Mes photos &amp; vidéos"), 
    	  "mdp" => array("mdp","Mon mot de passe"),
    "deal" => array("deal","Faire une Offre"),	  
    	  "campagnes" => array("campagnes","Mes annonces"), 
    	  "campagnes2" => array("campagnes2","Modifier une annonce"), 
    	  "campagnes_budgets" => array("campagnes_budgets","Budgets des annonces"), 
    	  "campagnes_statistiques" => array("campagnes_statistiques","Statistiques des annonces"), 
    	  "campagnes_new" => array("campagnes_new","Nouvelle annonce"),
    	  "crediter-mon-compte" => array("crediter-mon-compte","Créditer mon compte")
    	  );
    }
    else
    {
    	$tab_menu = array("mes-infos" => array("mes-infos","Mes informations personnelles"), 
    	  "fidelite" => array("fidelite","Mes points de fidélité"), 
    	  "offres" => array("offres","Offres spéciales"), 
    	  "ajouter-un-restaurant" => array("ajouter-un-restaurant","Ajouter un restaurant"), 
    	  "mdp" => array("mdp","Mon mot de passe"),
    "deal" => array("deal","Faire une Offre"),	  
      	  "campagnes" => array("campagnes","Mes annonces"), 
    	  "campagnes2" => array("campagnes2","Modifier une annonce"), 
    	  "campagnes_budgets" => array("campagnes_budgets","Budgets des annonces"), 
    	  "campagnes_statistiques" => array("campagnes_statistiques","Statistiques des annonces"), 
    	  "campagnes_new" => array("campagnes_new","Nouvelle annonce"),
    	  "crediter-mon-compte" => array("crediter-mon-compte","Créditer mon compte")
    	  );
    }
    
    $getmenu=$_GET["menu"];
    if ($tab_menu[$getmenu][0]==$_GET["menu"] && array_key_exists($getmenu,$tab_menu)) 
    {
    	$include="moncompte/".$getmenu.".php";
    	$menu_title=$tab_menu[$getmenu][1];
    }
    else $include="moncompte/accueil.php";
    
    /* Chargement des credits du membre pour affichage */
    $q_credits = mysql_query("SELECT credits, points, type_user FROM users WHERE id_user='".$_SESSION['config_user']['id_user']."'");
    $r_credits = mysql_fetch_assoc($q_credits);
    ?>
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>YouResto.com - Mon Compte</title>
    <link rel="stylesheet" type="text/css" href="css/main-style.css"/>
    </head>
    <body>
    <div id="cadre_principal">
    <div class="top-bar white"><h2><a href="http://youresto.com">youresto.com </a><span class="right">Gérez votre compte restaurateur</span></h2></div>
    	<div id="header">
    		<? include("headerhtml.inc.php"); ?>
    		</div>
    		<div class="clear"></div> 
    <div id="main" class="clair">
    	  <h1 style="padding-top:4px;">Mon Restaurant :::  <?=$choix_resto;?></h1>
    	  	
    	<h6><a href="<? echo $selfurl; ?>">Accueil</a> ::: <? if ($menu_title!='') { echo '<a href="moncompte.php" title="Mon compte">Mon compte</a> ::: <strong>'.$menu_title.'</strong>'; } else { echo '<strong>Mon compte</strong>'; } ?></h6>
    	
    		<table width="98%" cellpadding="0" cellspacing="0" border="0">
            	<tr>
                	<td valign="top" width="215">
    				 <?
    			if ($r_credits["type_user"]=='pro')
    			{
    			?>
            	<p class="button_top">Votre Fiche Restaurant</p>
    			<p class="button "> <a href="moncompte.php?menu=ajouter-un-restaurant">Ajouter un restaurant</a></p>
    				<?
    			}
    			?>
    			<?
    			if($_SESSION['config_user']['id_resto']>=1)
    			{
    				?>
    				<p class="button "> <a href="moncompte.php?menu=ma-fiche-resto">Ma fiche resto</a></p>
    				<p class="button "> <a href="moncompte.php?menu=chef">Le Chef</a></p>
    				<p class="button "> <a href="moncompte.php?menu=mon-ardoise">Extrait de ma Carte</a></p>
    				<p class="button "> <a href="moncompte.php?menu=ma-carte">Ma carte complète en PDF</a></p>
    				<p class="button "> <a href="moncompte.php?menu=mes-photos-videos">Mes photos &amp; vidéos</a></p>
    				<p class="button "> <a href="moncompte.php?menu=mes-visites">Visites sur ma fiche</a></p>
    				<!--<p class="button "> <a href="moncompte.php?menu=mes-commentaires">Voir les commentaires postés</a></p>-->
    <br>
    <br>
    <p class="button_top">Mes Offres Spéciales</p>
    <p class="button "> <a href="moncompte.php?menu=offres-noel-jourdelan">Noël Jour de L'An</a></p>
    <p class="button "> <a href="moncompte.php?menu=saint-valentin">Saint Valentin</a></p>
    <p class="button "> <a href="moncompte.php?menu=fete-des-meres">Fêtes des Mères</a></p>
    <p class="button "> <a href="moncompte.php?menu=14-juillet">Le 14 Juillet</a></p>
    <br>
    <br>
                <p class="button_top solid">Propositions de Réservations en ligne</p>
                <p class="button "> <a href="moncompte.php?menu=reservations">Configurer les horaires</a></p>
    			<?
    			}
    			?>
    			<!--
                <?
    			if ($r_credits["type_user"]=='pro')
    			{
    			?>
                <p class="button_top dotted">Régie pub <span style="padding-left:10px; color:#000000; font-size:11px;">Mes crédits: <?=number_format($r_credits['credits'], 0, ',', ' ');;?></span></p>
                <p class="button "> <a href="moncompte.php?menu=deal">LANCER UNE PROMO</a></p>
                <p class="button "> <a href="moncompte.php?menu=campagnes">Mes annonces</a></p>
                <p class="button "> <a href="moncompte.php?menu=campagnes_new">Nouvelle annonce</a></p>
                <p class="button "> <a href="moncompte.php?menu=campagnes_budgets">Budgets</a></p>
                <p class="button "> <a href="moncompte.php?menu=campagnes_statistiques">Statistiques</a></p>
                <p class="button "> <a href="moncompte.php?menu=crediter-mon-compte">Acheter des crédits</a></p>
    			<?
    			}
    			?>
    			-->
    			<br>
    <br>
                <p class="button_top solid">Mon compte</p>
                <!--<p class="button "> <a href="moncompte.php?menu=fidelite">Mes points de fidélité</a> <strong>(<?=$r_credits['points'];?>)</strong></p>
                <p class="button "> <a href="moncompte.php?menu=offres">Offres spéciales</a> <strong></strong></p>
                -->
    			<p class="button "> <a href="moncompte.php?menu=mes-infos">Mes informations</a></p>
                <p class="button "> <a href="moncompte.php?menu=mdp">Modifier mon mot de passe</a></p>
                <p class="button "> <a href="moncompte.php?action=deconnexion">Déconnexion</a></p>
            		</td>
                	<td valign="top" align="left" style="padding-left:20px;">
            <?
    		include($include);
    		?>
    				</td>
    			</tr>
    			
    		</table>
    		<div class="marg-top70"><br><br></div>
    	</div>
    	<div class="marg-top70"><br><br></div>
    </div>
    <? include("footer.inc.php"); ?>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-17691176-4']);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    
    </script>
    </body>
    </html>
    
    • Partager sur Facebook
    • Partager sur Twitter

    pourquoi j'ai pas la main sur css mobile?

    × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
    × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
    • Editeur
    • Markdown