예제 #1
0
    echo (string) $C->Title() ? $C->Title() : $P->Title();
    ?>
</a>
		
		<?php 
    if ($Cont->SET['breadcrumb']->setType('bool')->v) {
        ?>
			<div class=-breadcrumb>
				<?php 
        $all = array();
        foreach (Page($id)->Path() as $PathP) {
            if ($PathP->id === 1) {
                continue;
            }
            //if ($PathP === $P) continue;
            $all[] = qgCms_link($PathP);
        }
        echo implode($separator, $all);
        ?>
			</div>
		<?php 
    }
    ?>

		<a href="<?php 
    echo $href;
    ?>
" class=-content>
			<?php 
    echo cutSearch1($r['text'], $search, 7);
    ?>
예제 #2
0
?>
; // not inherit ? set it to what it was inherited
		$fn('page::setPublic')(<?php 
echo $Cont;
?>
, value); cms.panel.tabs.show('access.grp')
	});
	</script>
</label>
<br>

<?php 
if ($Cont->vs['access'] === null) {
    ?>
	Vererbt von <?php 
    echo qgCms_link($Cont->accessInheritParent());
} else {
    ?>
	<div style="overflow:auto; max-height:500px">
	  <table id="cmsGrpAccessTable" class="content" style="width:100%">
	  	<thead>
	  		<tr>
	  			<td><b><?php 
    echo L('Gruppenname');
    ?>
</b>
	  			<td style="text-align:center"><b><?php 
    echo L('kein Zugriff');
    ?>
</b>
	  			<td style="text-align:center"><b><?php 
예제 #3
0
<?php

if ($Cont->vs['type'] === 'c') {
    echo L('Inhalt ###2### der Seite ###2###', '<b>' . $Cont->vs['module'] . ' (' . $Cont . ')</b>', qgCms_link($Cont->Page));
} else {
    echo L('Seite ###1### der Seite ###2###', '<b>' . strip_tags($Cont->title()) . '</b> (' . $Cont . ')', qgCms_link($Cont->Parent()));
}
예제 #4
0
$sql = "SELECT * FROM page ORDER BY log_id_ch DESC LIMIT 70";
foreach (D()->query($sql) as $vs) {
    if (Page($vs['id'])->access() < 2) {
        continue;
    }
    $Ls[$vs['id']] = D()->log->Entry($vs['log_id_ch']);
}
?>
<table style="width:100%" class=noWrap>
<?php 
foreach ($Ls as $pid => $L) {
    ?>
	<tr>
		<td>
			<?php 
    echo qgCms_link($pid);
    ?>
		<td style="width:160px; color:<?php 
    echo Usr()->id == $L->sess()->usr()->id ? 'red' : '';
    ?>
" title="<?php 
    echo hee($L->sess()->usr()->firstname . ' ' . $L->sess()->usr()->lastname);
    ?>
">
			<?php 
    echo $L->sess()->usr()->email;
    ?>
		<?php 
    $d = strftime('%d', $L->time);
    $m = strftime('%m', $L->time);
    $Y = strftime('%Y', $L->time);
예제 #5
0
<?php

$sql = "SELECT log.* FROM log, sess WHERE log.sess_id = sess.id AND log.page_id AND sess.usr_id = " . Usr() . " ORDER BY log.id DESC LIMIT 1,30";
?>
<table style="width:100%">
<?php 
foreach (D()->query($sql) as $vs) {
    $L = D()->log->Entry($vs['id']);
    ?>
	<tr>
		<td>
			<?php 
    echo qgCms_link($vs['page_id']);
    ?>
		<?php 
    $d = strftime('%d', $L->time);
    $m = strftime('%m', $L->time);
    $Y = strftime('%Y', $L->time);
    $H = strftime('%H', $L->time);
    $M = strftime('%M', $L->time);
    $nd = strftime('%d');
    $nm = strftime('%m');
    $nY = strftime('%Y');
    $nH = strftime('%H');
    $nM = strftime('%M');
    ?>
		<td>
			<span style="color:<?php 
    echo $d === $nd ? 'red' : '';
    ?>
"><?php