2011-05-15 01:32:47 +02:00
|
|
|
<?php
|
2014-09-04 17:52:18 +02:00
|
|
|
/**
|
|
|
|
* This software is governed by the CeCILL-B license. If a copy of this license
|
|
|
|
* is not distributed with this file, you can obtain one at
|
|
|
|
* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
|
|
|
|
*
|
|
|
|
* Authors of STUdS (initial project): Guilhem BORGHESI (borghesi@unistra.fr) and Raphaël DROZ
|
|
|
|
* Authors of Framadate/OpenSondate: Framasoft (https://github.com/framasoft)
|
|
|
|
*
|
2014-07-04 11:21:31 +02:00
|
|
|
* =============================
|
2014-09-04 17:52:18 +02:00
|
|
|
*
|
|
|
|
* Ce logiciel est régi par la licence CeCILL-B. Si une copie de cette licence
|
|
|
|
* ne se trouve pas avec ce fichier vous pouvez l'obtenir sur
|
|
|
|
* http://www.cecill.info/licences/Licence_CeCILL-B_V1-fr.txt
|
|
|
|
*
|
2014-07-04 11:21:31 +02:00
|
|
|
* Auteurs de STUdS (projet initial) : Guilhem BORGHESI (borghesi@unistra.fr) et Raphaël DROZ
|
2014-09-04 17:52:18 +02:00
|
|
|
* Auteurs de Framadate/OpenSondage : Framasoft (https://github.com/framasoft)
|
2014-07-04 11:21:31 +02:00
|
|
|
*/
|
2014-09-04 17:52:18 +02:00
|
|
|
namespace Framadate;
|
|
|
|
|
|
|
|
use Framadate\Utils;
|
|
|
|
|
|
|
|
include_once __DIR__ . '/app/inc/init.php';
|
|
|
|
|
2011-05-15 03:56:54 +02:00
|
|
|
if (is_readable('bandeaux_local.php')) {
|
2014-09-04 17:52:18 +02:00
|
|
|
include_once('bandeaux_local.php');
|
2011-05-15 03:56:54 +02:00
|
|
|
} else {
|
2014-09-04 17:52:18 +02:00
|
|
|
include_once('bandeaux.php');
|
2011-05-15 03:56:54 +02:00
|
|
|
}
|
2011-05-15 01:32:47 +02:00
|
|
|
|
|
|
|
session_start();
|
|
|
|
|
2014-09-04 17:52:18 +02:00
|
|
|
// affichage de la page
|
|
|
|
Utils::print_header( _("Home") );
|
2011-05-29 05:13:58 +02:00
|
|
|
bandeau_titre(_("Organiser des rendez-vous simplement, librement."));
|
2014-09-04 17:52:18 +02:00
|
|
|
echo '
|
|
|
|
<div class="row text-center">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<p><a href="'.Utils::get_server_name().'infos_sondage.php?choix_sondage=date" role="button">
|
|
|
|
<img class="opacity" src="'.Utils::get_server_name().'images/date.png" alt="" />
|
|
|
|
<br /><span class="btn btn-warning btn-lg"><span class="glyphicon glyphicon-calendar"></span>
|
|
|
|
'. _('Schedule an event') . '</span>
|
|
|
|
</a></p>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<p><a href="'.Utils::get_server_name().'infos_sondage.php?choix_sondage=autre" role="button">
|
|
|
|
<img alt="" class="opacity" src="'.Utils::get_server_name().'images/classic.png" />
|
|
|
|
<br /><span class="btn btn-primary btn-lg"><span class="glyphicon glyphicon-stats"></span>
|
|
|
|
'. _('Make a poll') . '</span>
|
|
|
|
</a></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row text-center">
|
|
|
|
<p>'. _("or") .' <a href="' . Utils::getUrlSondage('aqg259dth55iuhwm').'">'. _("view an example") .'</a></p>
|
|
|
|
</div>'."\n";
|
2011-05-15 01:32:47 +02:00
|
|
|
|
|
|
|
bandeau_pied();
|