applied same caixes selection from seccions to seccions-wide

This commit is contained in:
jorge-vitrubio 2022-09-19 15:42:18 +02:00
parent 6f117f1731
commit a0c3846ddd
1 changed files with 19 additions and 15 deletions

View File

@ -55,22 +55,26 @@ get_header(); ?>
?> ?>
<?php if ($indexseccions->have_posts()) : ?> <?php if ($indexseccions->have_posts()) : ?>
<?php echo '<ul>'; $i = 0; while ($indexseccions->have_posts()) : $indexseccions->the_post(); $i++; <?php echo '<ul>'; $i = 0; while ($indexseccions->have_posts()) : $indexseccions->the_post(); $i++;
if ($pare == 2 | 58856) : //artistes residents post=2 post=58856 por cambio página el 2022 07 19 if ($pare == 2 ) : //artistes residents post=2
$tipus = 'art';
elseif ($pare == 46565) : //artistes residents estada curta post=46565
$tipus = 'art'; $tipus = 'art';
elseif ($pare == 46572) : //artistes amb beca post=46572 elseif ($pare == 58856) : //artistes residents post=58856 por cambio página el 2022 07 19
$tipus = 'art'; $tipus = 'art';
elseif ($pare == 136) : //desc+arregues post=136 elseif ($pare == 46565) : //artistes residents estada curta post=46565
$tipus = 'desc'; $tipus = 'art';
elseif ($pare == 74) : //equip post=74 elseif ($pare == 46572) : //artistes amb beca post=46572
$tipus = 'equip'; $tipus = 'art';
elseif ($pare == 40378) : //patronat post=40378 elseif ($pare == 58844) : //artistes internacionals post=58844
$tipus = 'equip'; $tipus = 'art';
else: elseif ($pare == 136) : //desc+arregues post=136
$tipus = 'pag'; $tipus = 'desc';
endif; elseif ($pare == 74) : //equip post=74
$tipus = 'equip';
elseif ($pare == 40378) : //patronat post=40378
$tipus = 'equip';
else:
$tipus = 'pag';
endif;
?> ?>
<?php include(TEMPLATEPATH . "/caixes.php"); ?> <?php include(TEMPLATEPATH . "/caixes.php"); ?>