[go: up one dir, main page]

Menu

[3e0f85]: / custom.php  Maximize  Restore  History

Download this file

50 lines (40 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<HTML>
<head>
<link rel="stylesheet" type="text/css" href="global.css">
</head>
<BODY>
<?php
include('comment.php');
$comment->TABLE='web_comment_demo';
if ( $ok != "ok" && ($clear || $invisible || $delete || $purge ) )
{
if ( $clear )
{
$comment->clear($opts);
}
else if ( $invisible || $delete || $purge )
{
if ( $ok != "ok" && !isset($opts) )
{
// Aucunes Selection.
echo $GLOBALS['lang_no_select'];
if ($id || $status) echo " pour : " . deencapsuletags($id?$id:$status);
echo "<BR>";
}
else
{
if ($delete || $purge) $comment->delete($opts);
else if ($invisible) $comment->invisible($opts);
#else if ($clear) $comment->clear($opts);
#for($i = 0; $i <= count($opts); $i ++) { printf("L: %s\n", $opts[$i]); }
}
}
p( href( sprintf("%s?id=%s", getenv("REQUEST_URI"), encapsuletags($id) ), $GLOBALS['lang_back'] ) );
}
else
{
$comment->custom( $id );
}
?>
</BODY>
</HTML>