« Programmation PHP/Exemples/MiniCMS » : différence entre les versions

Contenu supprimé Contenu ajouté
Ligne 2 228 :
 
 
<b>On a pour résultatrendu en sortie :</b>
 
[[image:MyTinyCms_001.GIF]]
<?xml version="1.0" encoding="UTF-8"?>
<source lang="xml">
<body onload="feedContent()">
<input id="iCounter" type="hidden" value="0" name="nCounter"/>
<div id="frameContent" class="toFeed" ondblclick="feedContainer(this)">
<table id="table1" width="100%" border="0">
<tbody>
<tr>
<td>
<div id="topContent">
<table width="100%" cellspacing="0" cellpadding="0" border="1">
<tbody>
<tr>
<td width="40%">
<div id="loginPane" ondblclick="feedContainer(this) ;">
<div>
<div>
<input id="iUsr" type="text" value=" "/>
<br/>
<input id="iPwd" type="text" value=" "/>
</div>
</div>
</div>
</td>
<td width="60%">
<div>My Tiny CMS</div>
<div id="menuPane" ondblclick="feedContainer(this) ;">
<div> :: menuPane - new :: </div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<td>
<div id="mainContent" ondblclick="feedContainer(this) ;">
<div id="1|1|title"> les légumes du potager </div>
<div id="1|2|table">
<table>
<tbody>
<tr>
<td> le potagé contient : </td>
<td>
<ul>
<li>une terre molle.</li>
<li>Parsemé ça et là, on Test carottes, </li>
<li>petits poids et potirons</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
<div id="1|3|bottom"> le potagé contient une terre molle2. Parsemé ça et là, on trouve carottes, petits poids et potirons </div>
</div>
</td>
</tr>
<tr>
<td>
<div id="bottomContent" ondblclick="feedContainer(this) ;">
<table width="100%" cellspacing="0" cellpadding="0" border="1">
<tbody>
<tr height="100">
<td>
<div align="center"> THIS IS THE BOTTOM CONTENT</div>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</source>
 
=== Intégration des gestionnaires dans un premier noyau ===