ldc-boutique-cnc/integration/partials/tunnelstepper.php

33 lines
1.6 KiB
PHP
Raw Normal View History

<div class="steps wrapper order__stepper">
<div class="steps__list section" style="">
<div class="steps__item order__step <?php echo(($activestep == 1)? "active": (($activestep>1)? "step__done" : "")) ?>">
<span class="step--label">
<?php echo (($activestep>1 && $activestep<4)? '<a href="tunnel-1.php">' : '') ?>
1 Connexion
<?php echo (($activestep>1 && $activestep<4)? "</a>" : "") ?>
</span>
</div>
<div class="steps__item order__step <?php echo(($activestep == 2)? "active": (($activestep>2)? "step__done" : "")) ?>">
<span class="step--label">
<?php echo (($activestep>2 && $activestep<4)? '<a href="tunnel-2.php">' : '') ?>
2 Validation
<?php echo (($activestep>2 && $activestep<4)? "</a>" : "") ?>
</span>
</div>
<div class="steps__item order__step <?php echo(($activestep == 3)? "active": (($activestep>3)? "step__done" : "")) ?>">
<span class="step--label">
<?php echo (($activestep>3 && $activestep<4)? '<a href="tunnel-3.php">' : '') ?>
3 Réservation
<?php echo (($activestep>3 && $activestep<4)? "</a>" : "") ?>
</span>
</div>
<div class="steps__item order__step <?php echo(($activestep == 4)? "active": (($activestep>4)? "step__done" : "")) ?>">
<span class="step--label">
<?php echo (($activestep>4)? '<a href="tunnel-4.php">' : '') ?>
4 Confirmation
<?php echo (($activestep>4)? "</a>" : "") ?>
</span>
</div>
</div>
</div>