Esempio n. 1
0
</link>
			</image>
			<?php 
foreach ($data as $dat) {
    ?>
				<item>
					<title><?php 
    echo CHtml::encode($dat["title"]);
    ?>
</title>
					<link><?php 
    echo RISTools::bracketEscape(CHtml::encode(yii::app()->getBaseUrl(true) . $dat["link"]));
    ?>
</link>
					<guid><?php 
    echo RISTools::bracketEscape(CHtml::encode(yii::app()->getBaseUrl(true) . $dat["aenderung_guid"]));
    ?>
</guid>
					<description><![CDATA[<?php 
    echo $dat["content"];
    ?>
]]></description>
					<pubDate><?php 
    echo date(str_replace("y", "Y", DATE_RFC822), $dat["dateCreated"]);
    ?>
</pubDate>
				</item>
			<?php 
}
?>
		</channel>
        }
        $str .= "</a></li>";
        $antrag_typ[] = $str;
    }
}
if (count($antrag_typ) > 0) {
    $facet_groups["Dokumenttypen"] = $antrag_typ;
}
$wahlperiode = array();
$facet = $ergebnisse->getFacetSet()->getFacet('antrag_wahlperiode');
foreach ($facet as $value => $count) {
    if ($count > 0) {
        if (in_array($value, array("", "?"))) {
            continue;
        }
        $str = "<li><a href='" . RISTools::bracketEscape(CHtml::encode($krits->cloneKrits()->addWahlperiodeKrit($value)->getUrl())) . "'>";
        $str .= $value . ' (' . $count . ')';
        $str .= "</a></li>";
        $wahlperiode[] = $str;
    }
}
if (count($wahlperiode) > 0) {
    $facet_groups["Wahlperiode"] = $wahlperiode;
}
$has_facets = false;
foreach ($facet_groups as $name => $facets) {
    if (count($facets) > 1) {
        $has_facets = true;
    }
}
if ($has_facets) {
Esempio n. 3
0
            $del_form_name = AntiXSS::createToken("del_ben") . "[" . RISTools::bracketEscape(CHtml::encode(json_encode($ben->krits))) . "]";
            $such_url = $ben->getUrl();
            ?>
                            <li>
                                <div class='del_holder'>
                                    <button type='submit' class='del' name='<?php 
            echo $del_form_name;
            ?>
'><span class='glyphicon glyphicon-minus-sign'></span></button>
                                </div>
                                <div class='krit_holder'><?php 
            echo $ben->getTitle();
            ?>
</div>
                                <div class='such_holder'><a href='<?php 
            echo RISTools::bracketEscape(CHtml::encode($ben->getUrl()));
            ?>
'><span
                                            class='glyphicon glyphicon-search'></span></a>
                                </div>
                            </li>
                        <?php 
        }
        ?>
                    </ul>
                <?php 
    }
    if (count($abo_vorgaenge) > 0) {
        ?>
                    <h3>Abonnierte Anträge / Vorgänge</h3>
                    <ul class="benachrichtigungsliste">