modif ui
This commit is contained in:
parent
e0296f3756
commit
2ccd3a7505
@ -155,7 +155,7 @@ class dbcore
|
|||||||
|
|
||||||
function queryVotes($idVotation)
|
function queryVotes($idVotation)
|
||||||
{
|
{
|
||||||
$query = "SELECT id, lv.libelle, ms.libelle as methode FROM liste_votes as lv LEFT JOIN methods as ms ON lv.methode=ms.id WHERE idVotation='" . $idVotation . "'";
|
$query = "SELECT lv.id, lv.libelle, ms.libelle as methode FROM liste_votes as lv LEFT JOIN methods as ms ON lv.methode=ms.id WHERE idVotation='" . $idVotation . "'";
|
||||||
$this->query($query);
|
$this->query($query);
|
||||||
$votes = $this->result->fetch_all(MYSQLI_ASSOC);
|
$votes = $this->result->fetch_all(MYSQLI_ASSOC);
|
||||||
return $votes;
|
return $votes;
|
||||||
|
61
include/entete.php
Normal file
61
include/entete.php
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="fr">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="Daniel Tartavel">
|
||||||
|
|
||||||
|
<title>Lyon Association Libre Informatique Solidaire</title>
|
||||||
|
|
||||||
|
<!-- Custom CSS -->
|
||||||
|
<link href="../css/freelancer.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Custom Fonts >
|
||||||
|
<link href="../font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css"-->
|
||||||
|
|
||||||
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||||
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="page-top" class="index">
|
||||||
|
|
||||||
|
<!-- Navigation -->
|
||||||
|
<nav class="navbar navbar-default navbar-fixed-top">
|
||||||
|
<div class="container">
|
||||||
|
<!-- Brand and toggle get grouped for better mobile display -->
|
||||||
|
<div class="navbar-header page-scroll">
|
||||||
|
<!--button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||||
|
<span class="sr-only">Toggle navigation</span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
</button-->
|
||||||
|
<a class="navbar-brand" href="#page-top">LALIS</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||||
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||||
|
<ul class="nav navbar-nav navbar-right">
|
||||||
|
<li class="page-scroll">
|
||||||
|
<a href="index.html">Accueil</a>
|
||||||
|
</li>
|
||||||
|
<li class="page-scroll">
|
||||||
|
<a href="https://lalis.fr">Site Web LALIS</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><div><a>Association loi 1901</a></div>
|
||||||
|
<!-- /.navbar-collapse -->
|
||||||
|
</div>
|
||||||
|
<!-- /.container-fluid -->
|
||||||
|
</nav>
|
@ -12,7 +12,12 @@ session_start();
|
|||||||
|
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
date_default_timezone_set("Europe/Paris");
|
date_default_timezone_set("Europe/Paris");
|
||||||
$base_path = "/var/www/html/vote";
|
$base_path = "/var/www/html";
|
||||||
set_include_path(get_include_path() . ':' .$base_path . '/include');
|
set_include_path(get_include_path() . ':' .$base_path . '/vote/include');
|
||||||
|
set_include_path(get_include_path() . ':' .$base_path . '/css');
|
||||||
|
set_include_path(get_include_path() . ':' .$base_path . '/font-awesome');
|
||||||
|
set_include_path(get_include_path() . ':' .$base_path . '/img');
|
||||||
|
set_include_path(get_include_path() . ':' .$base_path . '/js');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user