Stud.IP  3.2 Revision
index.php File Reference

Variables

 $count = count($smileys)
 
 $columns = min(3, ceil($count / 5))
 
 $max = $columns ? floor($count / $columns) : 0
 
 $spillover = $columns ? $count % $columns : 0
 
 $data = array()
 
if( $favorites_activated)( 'smileys/index/favorites') ?>"> <? endif = _('Favoriten')
 
foreach(array_keys( $characters) as $char)( 'smileys/index', $char) ?>"><? endforeach = strtoupper($char)
 
if(! $count)( 'Keine Favoriten vorhanden.')( 'Keine Smileys vorhanden.') ?></strong ><? else( $data as $smileys)( 'Bild') ?></th >< th ><? if($SMILEY_COUNTER)</th ><? endif;?><? if( $favorites_activated):?>< th ><?=_( 'Favorit') ?></th ><? endif;?></tr ></thead ><? foreach( $smileys as $smiley):?>< tr id="smiley<?= $smiley-> id if ( $SMILEY_COUNTER)if ($favorites_activated) ('smileys/favor', $smiley->id, $view) ?>" class else = _('Als Favorit entfernen')
 

Variable Documentation

◆ $columns

$columns = min(3, ceil($count / 5))

◆ $count

$count = count($smileys)

◆ $data

for ( $i=0;$i< $columns;$i++) $data = array()

◆ $max

$max = $columns ? floor($count / $columns) : 0

◆ $spillover

$spillover = $columns ? $count % $columns : 0

◆ else

if(!$count)('Keine Favoriten vorhanden.') ('Keine Smileys vorhanden.') ?> </strong> <? else ($data as $smileys) ('Bild') ?></th> <th><? if ( $SMILEY_COUNTER)</th><? endif; ?><? if ($favorites_activated): ?><th><?= _('Favorit') ?></th><? endif; ?></tr></thead><? foreach ($smileys as $smiley): ?><tr id="smiley<?= $smiley-> id if ( $SMILEY_COUNTER)if ($favorites_activated) ('smileys/favor', $smiley->id, $view) ?>" class else = _('Als Favorit entfernen')

◆ endforeach

endforeach = strtoupper($char)

◆ endif

endif = _('Favoriten')