Subversion Repositories Applications.papyrus

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
433 ddelon 1
 
2
 
3
<div class="footer">
4
<?php
5
echo  $this->FormOpen("", "RechercheTexte", "get");
6
echo  $this->HasAccess("write") ? "<a href=\"".$this->href("edit")."\" title=\"Cliquez pour &eacute;diter cette page.\">&Eacute;diter cette page</a> ::\n" : "";
7
echo  $this->GetPageTime() ? "<a href=\"".$this->href("revisions")."\" title=\"Cliquez pour voir les derni&egrave;res modifications sur cette page.\">".$this->GetPageTime()."</a> ::\n" : "";
8
	// if this page exists
9
	if ($this->page)
10
	{
11
		// if owner is current user
12
		if ($this->UserIsOwner())
13
		{
14
			print
15
			"Propri&eacute;taire&nbsp;: vous :: \n".
16
			"<a href=\"".$this->href("acls")."\" title=\"Cliquez pour &eacute;diter les permissions de cette page.\">&Eacute;diter permissions</a> :: \n".
17
			"<a href=\"".$this->href("deletepage")."\">Supprimer</a> :: \n";
18
		}
19
		else
20
		{
21
			if ($owner = $this->GetPageOwner())
22
			{
23
				print "Propri&eacute;taire : ".$this->Format($owner);
24
			}
25
			else
26
			{
27
				print "Pas de propri&eacute;taire ".($this->GetUser() ? "(<a href=\"".$this->href("claim")."\">Appropriation</a>)" : "");
28
			}
29
			print " :: \n";
30
		}
31
	}
32
?>
33
<a href="<?php echo $this->href("referrers") ?>" title="Cliquez pour voir les URLs faisant référence à cette page.">
34
References</a> ::
35
Recherche : <input name="phrase" size="15" class="searchbox" />
36
<?php echo  $this->FormClose(); ?>
37
</div>
38
 
39
 
40
<div class="copyright">
41
<a href="http://validator.w3.org/check/referer">Valid XHTML 1.0</a> ::
42
<a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a> ::
43
-- powered by <?php echo $this->Link("WikiNi:PagePrincipale", "", "WikiNi ".$this->GetWikiNiVersion()) . "\n"; ?>
44
</div>
45
 
46
 
47
<?php
48
	if ($this->GetConfigValue("debug")=="yes")
49
	{
50
		print "<span class=\"debug\"><b>Query log :</b><br />\n";
51
		$t_SQL=0;
52
        foreach ($this->queryLog as $query)
53
		{
54
			print $query["query"]." (".round($query["time"],4).")<br />\n";
55
			$t_SQL = $t_SQL + $query["time"];
56
		}
57
		print "</span>\n";
58
 
59
		print "<span class=\"debug\">".round($t_SQL, 4)." s (total SQL time)</span><br />\n";
60
 
61
		list($g2_usec, $g2_sec) = explode(" ",microtime());
62
		define ("t_end", (float)$g2_usec + (float)$g2_sec);
63
		print "<span class=\"debug\"><b>".round(t_end-t_start, 4)." s (total time)</b></span><br />\n";
64
 
65
		print "<span class=\"debug\">SQL time represent : ".round((($t_SQL/(t_end-t_start))*100),2)."% of total time</span>\n";
66
	}
67
?>
68
 
69
 
70
</body>
71
</html>