echo backoUrl(12, array('act' => 'ajouter_modele'));
?>
' method='POST' style="float:left">
    <input type='submit' name='add_domo' class='btn btn-success' value='Ajouter un modèle'/>
</form>
<form action='<?php 
echo backoUrl(12, array('act' => 'liste_critere'));
?>
' method='POST' style="float:left;margin-left:1%">
    <input type='submit' name='domc' class='btn btn-success' value='Voir les critères'/>
</form>

<div style="clear:both"></div>

<?php 
if (!is_null($flashdata = getFlashData('message'))) {
    ?>
<p class="flash_message alert alert-info"><?php 
    echo $flashdata;
    ?>
</p>
<?php 
}
?>

<table id='tab_liste_domo' class="table table-striped table-bordered table-hover" >
    <thead>
        <tr>
            <th style="width:5%"></th>
            <th style="text-align:center; width:7%">Id</th>
            <th style="text-align:center" data-toggle="tooltip" data-original-title="nom de l'item (id)">Gain Principal</th>
// -----------------------------------------------------------------------------
if (!isset($http_request['act'])) {
    $obj_page->addJS('backoffice/service_client.js');
    $obj_page->setUrlPage('service_client/service_client');
} else {
    if ($http_request['act'] == 'detail') {
        if (isset($http_request['id']) && !empty($http_request['id'])) {
            $id = intval($http_request['id']);
            $obj_question = ServiceClientManager::get($id);
            $obj_page->setData('question', $obj_question);
            $tab_sujets = ServiceClientManager::getSujets();
            $sujet = $tab_sujets[$obj_question->getSujet() - 1];
            $obj_page->setData('sujet', $sujet);
            $obj_page->setData('sujet_reponse', 'Tooki Island - ' . $sujet);
        }
        $obj_page->setData('message', getFlashData('message'));
        $obj_page->setUrlPage('service_client/service_client_detail');
    } else {
        if ($http_request['act'] == 'repondre') {
            if (isset($http_request['id']) && !empty($http_request['id'])) {
                $id = intval($http_request['id']);
                if (isset($http_request['reponse']) && !empty($http_request['reponse']) && isset($http_request['sujet_reponse']) && !empty($http_request['sujet_reponse'])) {
                    $reponse = $http_request['reponse'];
                    $sujet_reponse = $http_request['sujet_reponse'];
                    if (!is_null($obj_question = ServiceClientManager::get($id))) {
                        $obj_question->setDateReponse(now());
                        $obj_question->setReponse($reponse);
                        $tab_retour = ServiceClientManager::updateBdd($obj_question);
                        if (!$tab_retour[0]) {
                            /* TRADUCTION ************/
                            $obj_membre = MembreManager::get($obj_question->getIdMembre());