Your IP : 216.73.216.187


Current Path : /home/photograt/gerard-clavet-photos.com/AutreJML4/SauveDec22/STIP/
Upload File :
Current File : /home/photograt/gerard-clavet-photos.com/AutreJML4/SauveDec22/STIP/index.php3

<HTML>
<HEAD>
  <META NAME="GENERATOR" CONTENT="Adobe PageMill 3.0 Win">
  <TITLE>&lt;?php print $name; ?&gt;</TITLE>
</HEAD>
<BODY BACKGROUND="../Ressources/lemouvement/robotique/lemeux/fondenerg1.GIF">

<FORM METHOD="POST" ACTION="index.php3" ENCTYPE="x-www-form-urlencoded">
<P>&lt;?php // Wiki ! // Par plam (220@chez.com - http://forum-scpo.com/wiki)
// Si n&eacute;cessaire, cr&eacute;er un fichier wiki.db dans
le r&eacute;pertoire courant function format_html($text) { $text
= ereg_replace(&quot;\n&quot;, &quot;<BR>
\n&quot;, $text); $text = ereg_replace(&quot;'''(('?[^\n'])*)'''&quot;,
&quot;<B>\\1</B>&quot;, $text); $text = ereg_replace(&quot;''(('?[^\n'])*)''&quot;,
&quot;<I>\\1</I>&quot;, $text); $text = str_replace(&quot;----&quot;,
&quot;<HR ALIGN=LEFT>&quot;, $text); $text = ereg_replace(&quot;[[:&lt;:]][A-Z][a-z]+([A-Z][a-z]+)+[[:&gt;:]]&quot;,
&quot;<A HREF="%5C" index.php3?name="\\0\">\\0</A>&quot;, $text);
$text = eregi_replace(&quot;([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&amp;=])&quot;,
&quot;<A HREF="%5C" TARGET="\" \\1://\\2\\3\" _blank\">\\1://\\2\\3</A>&quot;,
$text); $text = eregi_replace(&quot;([_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+)&quot;,
&quot;<A HREF="%5C" mailto:\\1\">\\1</A>&quot;, $text); return
$text; } if ($name == &quot;&quot;) $name=&quot;FrontPage&quot;;
if ($editmode != &quot;done&quot;) { $db = dbmopen(&quot;wiki.db&quot;,
&quot;r&quot;); $text = dbmfetch($db, $name); if ($text == &quot;&quot;)
$text = &quot;D&eacute;crivez $name en cliquant sur le bouton.&quot;;
dbmclose($db); } else { $date = date(&quot;d M Y - H:i&quot;);
$text = str_replace(&quot;<d>&quot;,$date,$text); $db = dbmopen(&quot;wiki.db&quot;,
&quot;w&quot;); dbmreplace($db, $name, $text); dbmclose($db);
} $text = stripslashes($text); $htmltext = htmlspecialchars($text);
?&gt; <html><head> <STYLE><!--
 body,td,a	{font-family:Arial,Helvetica;}
 a		{color:red;}
 a:hover	{color:blue;text-decoration:none;}
 //--></STYLE></head> <body>&lt;?php if ($editmode == &quot;&quot;)
{ ?&gt;<BR>
</P>

<UL>
  <P><h1>&lt;?php print $name; ?&gt;</h1>
</UL>

<P><BR>
</P>

<P><CENTER><TABLE BORDER="0" WIDTH="95%" ALIGN="CENTER" BGCOLOR="#EEEEEE"
CELLSPACING="0" CELLPADDING="0">
  <TR>
    <TD>
    <P>&lt;?php print format_html($htmltext); ?&gt;</P>

    <P><HR ALIGN=LEFT NOSHADE><INPUT TYPE="submit" VALUE="Editer la Page">
    <INPUT TYPE="hidden" NAME="name" VALUE="&lt;?php print $name; ?&gt;">
    <INPUT TYPE="hidden" NAME="editmode" VALUE="edit"> &lt;?php }
    else if ($editmode == &quot;edit&quot;){ ?&gt; <BR>
    </P>

    <UL>
      <P><h1>Edition de &lt;?php print $name; ?&gt;</h1>
    </UL>

    <P><BR>
    </P>

    <P><CENTER><body><html><BODY><HTML><TABLE BORDER="0" WIDTH="95%"
    ALIGN="CENTER" BGCOLOR="#EEEEEE" CELLSPACING="0" CELLPADDING="0">
      <TR>
        <TD>
        </FORM>
<FORM METHOD="POST" ACTION="file:///D:/STIP/supportwiki/index.php3"
        ENCTYPE="x-www-form-urlencoded">
        <INPUT TYPE="hidden" NAME="editmode" VALUE="done"> <INPUT TYPE="hidden"
        NAME="name" VALUE="&lt;?php print $name; ?&gt;"> <TEXTAREA ROWS="18"
        COLS="70" NAME="text"
>&lt;?php print $htmltext; ?&gt;</TEXTAREA><BR>
        <INPUT TYPE="submit" VALUE="Enregistrer"></TD>
        <TD VALIGN="TOP">
        <B>Attention, vous allez modifier cette page !</B><BR>
<BR>
        N'oubliez pas que :<BR>
        - ''exemple'' affiche <I>exemple</I><BR>
        - '''exemple''' affiche <B>exemple</B><BR>
        - quatre tirets (----) dessinent une ligne horizontale<BR>
        - &lt;d&gt; inscrit la date et l'heure d'&eacute;dition</TD>
      </TR>
      <TR>
        <TD COLSPAN="2">
        <P><HR ALIGN=LEFT NOSHADE>&lt;?php } else { ?&gt; <BR>
        </P>

        <UL>
          <P><h1>Merci d'avoir &eacute;dit&eacute; &lt;?php print $name;
          ?&gt;</h1>
        </UL>

        <P><BR>
        </P>

        <P><CENTER><TABLE BORDER="0" WIDTH="95%" ALIGN="CENTER" BGCOLOR="#EEEEEE"
        CELLSPACING="0" CELLPADDING="0">
          <TR>
            <TD>
            <P>&lt;?php print format_html($htmltext); ?&gt;</P>

            <P><HR ALIGN=LEFT NOSHADE>&lt;?php } ?&gt; <FONT SIZE="-1">Retour
            &agrave; <A HREF="index.php3?name=FrontPage">Frontpage</A></FONT></TD>
          </TR>
        </TABLE></CENTER></TD>
      </TR>
    </TABLE></CENTER></TD>
  </TR>
</TABLE></CENTER></FORM>

</BODY>
</HTML>