Пример #1
0
 // Gestion de l'affichage des dates
 echo "  <tr>\n";
 $toto = affiche_date($date_crea);
 echo "<td class=\"loginFFFFFF\" align=\"center\" width=\"10%\">{$toto}</td>\n";
 echo "    <td class=\"loginFFFFFF\" align=\"center\" width=\"25%\">\n";
 taille($taille, $num_article, "articles", "gere");
 echo "    {$titre_art}&nbsp;</a></td>\n";
 echo "    <td class=\"loginFFFFFF\" align=\"center\" width=\"25%\">{$sujet}&nbsp;</td>\n";
 if ($publica != '') {
     echo "    <td class=\"loginFFFFFF\" align=\"center\" width=\"10%\">Oui</td>\n";
 } else {
     echo "    <td class=\"loginFFFFFF\" align=\"center\" width=\"10%\">&nbsp;</td>\n";
 }
 echo "    <td class=\"loginFFFFFF\" align=\"center\" width=\"10%\" bgcolor=FFCC66>\n";
 if ($publica == '') {
     taillemod($taille, $num_article, "articles");
     echo "    <img src=\"../images_pop/modification.gif\" border=\"0\"></a></td>\n";
 } else {
     echo "&nbsp;";
 }
 $tata = $num_article . "supp";
 $toto = $num_article . "arch";
 if ($publica == '') {
     echo "    <td class=\"loginFFFFFF\" align=\"center\" width=\"5\"><INPUT TYPE=\"CHECKBOX\" name=\"{$tata}\" value=\"supp\"></td>\n";
 } else {
     echo "    <td width=\"5\">&nbsp;</td>\n";
 }
 if ($archive == 'oui') {
     echo "    <td class=\"loginFFFFFF\" align=\"center\" width=\"5\"><INPUT TYPE=\"CHECKBOX\" name=\"{$toto}\" value=\"oui\" checked></td>\n";
 } else {
     if ($publica == '') {
Пример #2
0
liens_court($num_article);
?>
            </table>
</td>
        </tr>
        <tr bgcolor="#FFCC66" align="center" valign="middle">
          <td colspan="2" class="loginFFCC66"><br>
<?php 
if ($pub == "pub" or $pub == "gere") {
    $tyty = "-1";
} else {
    $tyty = "-3";
}
echo "<a href=index.php><img src=\"../zimages/retour-j.gif\" width=\"130\" height=\"20\" border=\"0\"></a>\n";
if ($pub == "pub") {
    taillemod(1, $num_article, "articles");
    echo " <img src=\"../lib/images/bouton_modification.gif\" border=\"0\"></a>\n";
    //echo"<div align=right>";
    echo "<form action=\"../adminagis/article_publier.php?publication=ok&num_article={$num_article}\" method=\"post\">";
    /* echo"Position Homepage ";
       echo ("<select name=\"homepage\">\n");
       echo ("<option value=\"4\">en liste</option>");
           echo ("<option value=\"1\">central gauche</option>");
               echo ("<option value=\"2\">haut droite</option>");
                   echo ("<option value=\"3\">bas droite</option>");
       echo ("</select>\n"); */
    echo "<input type=image src=\"../images_pop/publier.gif\" border=0>";
    echo "</form>";
    //echo"</div> ";
}
if ($insertion == 'insertion' && $modification == 'modification') {