Comment insérer une liste de mots clé en php

<ul class="tag-list">

<?php $plxShow->archList('
<li id="#archives_id">
<a class="#tag_status" href="#archives_url" title=""#archives_name">"#archives_name (#archives_nbart)</a>
</li>
'); ?>

</ul>

[…]

Comment créer une popup?

<!-- ** début popup1 motivation avec 2 boutons ** -->
<?php
if ($qtity_medias = 20) {
?>
<div class="masonry-item col-md-6"><div class="bgc-white p-20 bd"><div class="mT-30">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">Astuce</button>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><h5 class="modal-title" id="exampleModalLabel">Modal title</h5><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button></div><div class="modal-body">
<?php
echo 'BRAVO, niveau suivant à portée de main!';
?>
</div><div class="modal-footer"><button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button> <button type="button" class="btn btn-primary">Save changes</button></div></div></div></div></div></div></div>
<?php
}
?>
<!-- ** fin popup1 motivation ** -->

******************************************************************

<!-- ** début popup1 motivation avec 2 boutons et incrustation d'image ** -->

<?php

if ($qtity_articles >= 2 AND $qtity_articles < 30) {

?>

<button type="button" style="background: transparent; color: red; padding: 5px 10px; border: 1px solid red; border-radius: 5px; vertical-align: middle; margin: 2px; font-size: 12px; font-weight: bold;" data-toggle="modal" data-target="#exampleModal">Astuce</button>

<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header">

<img src="https://mowxml.org/red-tank/sites/tutoriels/../../photos joie/joie seul.jpg" />

</div><div class="modal-body">

<?php

echo 'FELICITATIONS et BRAVO, niveau suivant à portée de main !';

?>

</div><div class="modal-footer">

<button type="button" class="btn btn-primary" data-dismiss="modal"><h3>Fermer</h3></button></div></div></div></div>

<?php

}

?>

<!-- ** fin articles popup1 motivation ** -->

*******************************************************************

<!-- ** début popup1 motivation avec img et includes ** -->

<?php

if ($qtity_articles >= 25 AND $qtity_articles < 30) {

?>

<?php include(dirname(__FILE__).'/modal1.php'); ?>

<img src="https://mowxml.org/red-tank/sites/tutoriels/../../photos joie/joie seul.jpg" />

<?php include(dirname(__FILE__).'/modal2.php');

echo 'FELICITATIONS et BRAVO, niveau suivant à portée de main !';

?>

<?php include(dirname(__FILE__).'/modal3.php');

}

?>

<!-- ** fin articles popup1 motivation avec img et includes ** →

 

les includes correspondants:

 

<!-- ** include modal1 ** -->

<?php if(!defined('PLX_ROOT')) exit; ?>

<button type="button" style="background: transparent; color: red; padding: 5px 10px; border: 1px solid red; border-radius: 5px; vertical-align: middle; margin: 2px; font-size: 12px; font-weight: bold;" data-toggle="modal" data-target="#exampleModal1">Astuce</button>

<div class="modal fade" id="exampleModal1" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header">

 

<!-- ** include modal2 ** -->

<?php if(!defined('PLX_ROOT')) exit; ?>

</div><div class="modal-body">

 

<!-- ** include modal3 ** →

<?php if(!defined('PLX_ROOT')) exit; ?>

</div><div class="modal-footer">

<button type="button" class="btn btn-primary" data-dismiss="modal"><h3>Fermer</h3></button></div></div></div></div>

 

 

 

 

 

 

 

 

 

 

 

 

 

[…]