示例#1
0
<footer>  

   <div id="contact" class="center">
        <div class="homestead blueDark" style="height:250px;">
        	<?php 
$cornerDev = !PHDB::checkMongoDbPhpDriverInstalled(false) ? null : Yii::app()->mongodb->cornerDev->findOne(array("url" => "/" . Yii::app()->controller->id . "/" . Yii::app()->controller->action->id));
if ($cornerDev) {
    ?>
       		 <ul class="cornerDev pull-right" style="position:relative; top:0px; right:0px;list-style:none;min-width:150px;">
            	<li><a class="label" href="javascript:filterType('participant')">Inscrits <span class="badge badge-info"><?php 
    echo isset($group["participants"]) ? count($group["participants"]) : 0;
    ?>
</span></a></li>
            	<li><a class="label" href="javascript:filterType('brainstorm')">Brainstorms <span class="badge badge-inverse"><?php 
    echo isset($group["participants"]) ? count($group["participants"]) : 0;
    ?>
</span></a></li>
            	<li><a class="label" href="javascript:filterType('discussion')">Discussions <span class="badge badge-info"><?php 
    echo isset($group["participants"]) ? count($group["participants"]) : 0;
    ?>
</span></a></li>
            	<li><a class="label" href="javascript:filterType('event')">Evenements <span class="badge badge-inverse"><?php 
    echo isset($group["participants"]) ? count($group["participants"]) : 0;
    ?>
</span></a></li>
            	<li><a class="label" href="javascript:filterType('project')">Projets <span class="badge badge-info"><?php 
    echo isset($group["participants"]) ? count($group["participants"]) : 0;
    ?>
</span></a></li>
            	<li><a class="label" href="javascript:filterType('post')">Annonces <span class="badge badge-inverse"><?php 
    echo isset($group["participants"]) ? count($group["participants"]) : 0;
示例#2
0
if (PHDB::checkMongoDbPhpDriverInstalled(false)) {
    foreach (iterator_to_array(Yii::app()->mongodb->groups->find(array("type" => "entreprise"), array("name" => 1))) as $a) {
        array_push($names, $a['name']);
    }
}
//$assoNames[$a['name']] = $a['name'] ;
$this->widget('yiiwheels.widgets.select2.WhSelect2', array('asDropDownList' => false, 'name' => 'listEntreprise', 'id' => 'listEntreprise', 'value' => $entreprise && isset($entreprise['entreprises']) ? implode(",", $entreprise['entreprises']) : "", 'pluginOptions' => array('tags' => $names, 'placeholder' => "Nom(s) d'association(s)", 'width' => '100%', 'tokenSeparators' => array(',', ' '))));
?>
        		    </td>
    		    </tr>
                
    		    <tr >
                    <td class="txtright">Type d'action </td>
                    <td>
                        <?php 
$cursor = !PHDB::checkMongoDbPhpDriverInstalled(false) ? null : Yii::app()->mongodb->lists->findOne(array("name" => "tags"), array('list'));
$this->widget('yiiwheels.widgets.select2.WhSelect2', array('asDropDownList' => false, 'name' => 'tagsEntreprise', 'id' => 'tagsEntreprise', 'value' => $entreprise && isset($entreprise['tags']) ? implode(",", $entreprise['tags']) : "", 'pluginOptions' => array('tags' => $cursor['list'], 'placeholder' => "Mots clefs descriptif", 'width' => '100%', 'tokenSeparators' => array(',', ' '))));
?>
        		    </td>
    		    </tr>
          </table>
             
        </section>
        
    </form>
  </div>
  <div class="modal-footer">
    <button class="btn" data-dismiss="modal" aria-hidden="true">Fermer</button>
    <button class="btn btn-primary" id="submitAccount" onclick="$('#register2').submit();">Enregistrer</button>
  </div>
</div>
示例#3
0
echo $folder = substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], "/") + 1) . " ::  SCRIPT_NAME / <br/>";
echo $k_path_url . $_SERVER['SERVER_NAME'] . substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], "/") + 1) . " :: SERVER_NAME / SCRIPT_NAME<br/>";
/*if(isset($m)){
$cursor = $collection->find();
foreach ($cursor as $document) {
    echo $document["name"] . "<br/>";
}

    }*/
?>
        <input type="text" class="dateInput"/>
    	<div  id="coco" style="display:block">
        	<h2>TEST</h2>    	
        	  <?php 
if (isset($m)) {
    $test = !PHDB::checkMongoDbPhpDriverInstalled(false) ? null : Yii::app()->mongodb->test->findOne(array("ki" => "lo"));
}
/*$newInfos = array("api" =>array(
          "scenario" => array('label' => "Scenario", "key"=>"scenario","onclick"=>"toggleScenario('scenario')",
          "hide"=>true,
          "blocks"=>array(
                  array("label"=>"Inscription / Creation","children"=>array(
                                                              "EGPC envoie une invitation par campagne mail contenant un lien d'inscription",
                                                              "Le nouveau venu s'inscrit en citoyen : email + cp ",
                                                              "peut creer une association + mot clef",
                                                              "peut creer une entreprise + mot clef",
                                                              "peut creer un groupe + mot clef",
                                                              "peut inviter qlq'un dans chacune de ces entités",
                                                              "peut creer un evenement en tant que citoyen ou pour son entité",
                                                              "peut inviter qlq'un à un evenement",
                                                              )
示例#4
0
     
        
        
        
    <div class="hero-unit">
    	<div class="center">
    		<span class="icon-infinity blue" style="font-size:300%"></span><br/><br/>
    	</div>
    	<h2 class="homestead"> Objectifs Tangibles court Terme  </h2>
        <div class="accordion" id="accordion3">
            
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle fsxl fb" data-toggle="collapse" data-parent="#accordion3" href="#collapseOne">
                Communecter 10 000 citoyens francais (pour le moment <?php 
echo !PHDB::checkMongoDbPhpDriverInstalled(false) ? null : Yii::app()->mongodb->citoyens->count(array('cp' => array('$ne' => null)));
?>
)
              </a>
            </div>
            <div id="collapseOne" class="accordion-body collapse ">
              <div class="accordion-inner">
                <p>
                Le Bonhomme des bonhommes est le symbol du PH, il est le porte parole des citoyens regroupé 
                par commune, donc du départemetn et de la Region, etc...
                La 1ere étape du projets ressemble à une pétition, en parallele nous continuons à 
                développer les outils qui feront du P.H un veritable outils de communication locale.
                
                </p>
                <blockquote >
                Le Pixel Humain n'est que le corp du projet