Ejemplo n.º 1
0
<div id="gglms_container">

    <ul class="breadcrumb">
        <li><a href="index.php">Home</a><span class="divider"></span></li>
        <?php
        echo gglmsHelper::getBreadcrumb(NULL, NULL, $this->elemento['id']);
        ?>
        <li class="active"><?php echo $this->elemento['titolo']; ?></li>
    </ul>


    <!-- INIZIO COL -->
    <div id="gglms_menu">
        <?php
        echo outputHelper::menu(); 
        ?>
    </div>
    <!-- FINE COL -->


    <div id="gglms_content">
        <div class="box_info_contenuto  col-xs-12">
            <h3> <?php
                echo  $this->elemento['titolo'];
                ?> 
            </h3>
            <h5>
            <?php
            echo  $this->elemento['descrizione'];
            ?> 
Ejemplo n.º 2
0
 public function setNotifiche()
 {
     FB::log($_REQUEST, " _REQUEST setNotifiche");
     $contenuti = outputHelper::getContenutiTipology();
     //FB::log($contenuti, " contenuti setNotifiche");
     $i = 0;
     foreach ($contenuti as $item) {
         if ($_REQUEST[$item['tipologia']] != '') {
             $idTipologys[$i] = $_REQUEST[$item['tipologia']];
         }
         $i++;
         FB::log($_REQUEST[$item['tipologia']], " setNotifiche dentro foreach  ");
     }
     FB::log($idTipologys, " idTipologys setNotifiche");
     outputHelper::deleteNotificheUtente();
     outputHelper::setNotificheUtente($idTipologys);
 }
Ejemplo n.º 3
0
 public static function buildmenu($items, $level = 0, $active = null)
 {
     // FB::log($items, "items build menu") ;
     $classlevel = "level" . $level;
     $level++;
     $badge = "";
     $out = "";
     if (sizeof($items) > 0) {
         $out = "<ul class='{$classlevel} list-group'>";
         foreach ($items as $item) {
             if (isset($item->titolo)) {
                 // FB::log($active."-".$item->id, "active - item id");
                 $activeclass = $active && $active == $item->id ? " active " : "";
                 $out .= "<li class='list-group-item" . $activeclass . "'>";
                 $subUnit = outputHelper::getUnitmenu($item->id);
                 if (sizeof($subUnit) > 0) {
                     $badge = ' <span class="badge">' . sizeof($subUnit) . '</span>';
                 }
                 $out .= '<a class="link' . $activeclass . '" href="' . JURI::base() . "component/gglms/unita/" . $item->alias . '">' . $item->titolo . $badge . '</span></a>';
                 $out .= outputHelper::buildmenu($subUnit, $level, $active);
                 $out .= "</li>";
             }
         }
         $out .= "</ul>";
     }
     return $out;
 }
Ejemplo n.º 4
0
    
$(function () {
	$('#rt-transition').replaceWith($('#gglms_container'))
});

</script>

<div id="gglms_container" class="container">
    
        <?php
            echo outputHelper::setGestioneNotificheJS()
        ?>

    
    <div>
            <form method="post"  role="notifiche" action="<?php echo JURI::root(); ?>component/gglms/search">
               <?php
               if(empty($this->results))
                  echo outputHelper::setTipologieContenuti(); 
               ?>
                <input hidden type="text" name="notifiche" value="Yes" />
                <button id = "btnNotifiche" class="btn btn-default" type="submit"> Imposta </button>
            </form>
        </div>   
    
    
</div>



Ejemplo n.º 5
0

  <!-- INIZIO COL -->
  <div id="gglms_menu">
    <?php
    echo outputHelper::menu($this->unita['categoriapadre'], $this->unita['id']); 
    ?>
  </div>
  <!-- FINE COL -->



  <?php
  $unit = gglmsHelper::getSubUnit($this->unita['id']);
  $contenuti = gglmsHelper::getContenuti($this->unita['id']);

  $all = array_merge($unit, $contenuti);


  ?>
  <div id="gglms_content">
    <?php
    echo outputHelper::getTabbedView($all);
    ?>

  </div>




</div>
Ejemplo n.º 6
0
                    <?php echo outputHelper::getbox(gglmsHelper::getContenuti(78)); ?>
                </div>

                <div class="boxhome">
                    <h3 class="title">

                        <button type="button" class="btn btn-default showhide espandi" aria-label="Right Align">
                            <span class=" glyphicon glyphicon-plus" aria-hidden="true"></span>
                        </button>

                        <button type="button" class="btn btn-default showhide comprimi" aria-label="Right Align">
                            <span class=" glyphicon glyphicon-minus" aria-hidden="true"></span>
                        </button>

                        I Più votati

                    </h3>

                    <?php echo outputHelper::getbox(gglmsHelper::getTopRated()); ?>
                </div>




            </div>

   
</div>


Ejemplo n.º 7
0
                                 
                                echo outputHelper::resultsListAttributes($this->resultsCountAttributes4filters,$this->attributeSearchParam,$this->search,$this->uri);
                                    }
			?>
            
        </div> 
                     
	<!-- FINE COLONNA -->
        
        
	<div id="gglms_content">

		<?php

		echo "<h1>Hai cercato: <i>".$_REQUEST["search"]."</i></h1>";
		if(empty($this->results))
			echo "<h3> La ricerca non ha prodotto risultati </h3>";
                
                    echo outputHelper::getTabbedView4TextSearch($this->results4AttributesFilters); 
		?>

	</div>
        
            
             
</div>