Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 27 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27 Rev 35
Line 1... Line 1...
1
<?
1
<?php
2
 
-
 
3
global $gBlock;
2
global $gBlock;
Line 4... Line 3...
4
 
3
 
5
class identite_html implements iVue {
4
class identite_html implements iVue {
6
 
5
    
7
	protected $leBlock;
6
    protected $leBlock;
8
 
7
    
9
	function __construct($unBlock)
8
    function __construct($unBlock)
10
	{
9
    {
11
		$this->leBlock = $unBlock;
10
        $this->leBlock = $unBlock;
12
	}
11
    }
13
	
12
    
14
	function serialiser()
13
    function serialiser()
15
	{
14
    {
16
		$gBlock = $this->leBlock;
15
        $gBlock = $this->leBlock;
17
?>	
16
        $retour = '';
18
<HTML>
17
        $retour .= '<html>';
19
<HEAD>
18
        $retour .= '<head>';
20
</HEAD>
19
        $retour .= '</head>';
21
<BODY>
20
        $retour .= '<body>';
22
<H3>coucou</H3>
-
 
23
<? 
21
        $retour .= '<h3>'.'coucou'.'</h3>';
24
	$gBlock->afficher();
-
 
25
?>
22
        $retour .= $gBlock->afficher();
26
</BODY>
23
        $retour .= '</body>';
27
</HTML>			
-
 
28
<?		
24
        $retour .= '</html>';
29
	}
25
    }
30
}
26
}
31
?>
27
?>