~/tmp/ZF/knext/layouty.phtml.html
1 <!-- layout.phtml -->
2
3 <?php
4 echo $this->doctype(); echo "\n";
5 ?>
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <head>
8 <?php echo $this->headMeta(); echo "\n"; ?>
9 <?php echo $this->headTitle(); echo "\n"; ?>
10 <?php echo $this->headLink()->prependStylesheet($this->baseUrl().'/styles/style.css');echo "\n"; ?>
11 </head>
12
13
14 <body>
15 <div id="content">
16 <?php echo $this->layout()->content; ?>
17 </div>
18 </body>
19 </html>
20
21
22
23 <!-- layout1.phtml -->
24
25 <?php
26 echo $this->doctype(); echo "\n";
27 ?>
28 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
29 <head>
30 <?php echo $this->headMeta(); echo "\n"; ?>
31 <?php echo $this->headTitle(); echo "\n"; ?>
32 <?php echo $this->headLink()->prependStylesheet($this->baseUrl().'/styles/style.css');echo "\n"; ?>
33 </head>
34
35 <body>
36 <div id="content">
37 <div class="linki">
38 <a class="lin1" href="<?php echo $this->url(
39 array('controller'=>'index','action'=>'logout'));?>">logout</a>
40 <a class="lin1" href="<?php echo $this->url(
41 array('controller'=>'zalogowani','action'=>'index'));?>">zalogowany(index)</a>
42 <a class="lin1" href="<?php echo $this->url(
43 array('controller'=>'zalogowani','action'=>'zwykly'));?>">zalogowany(zwykly)</a>
44
45 </div>
46 <hr/>
47 <?php echo $this->layout()->content; ?>
48 <table class="layout">
49 <tr><td class="layout1">Layout zalogowanego</td></tr>
50 </table>
51 </div>
52 </body>
53 </html>
54
55
56
57 <!-- layout2.phtml -->
58
59 <?php
60 echo $this->doctype(); echo "\n";
61 ?>
62 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
63 <head>
64 <?php echo $this->headMeta(); echo "\n"; ?>
65 <?php echo $this->headTitle(); echo "\n"; ?>
66 <?php echo $this->headLink()->prependStylesheet($this->baseUrl().'/styles/style.css');echo "\n"; ?>
67 </head>
68
69 <body>
70 <div id="content">
71 <div class="linki">
72 <a href="<?php echo $this->url(
73 array('controller'=>'index','action'=>'logout'));?>">logout</a>
74 <a href="<?php echo $this->url(
75 array('controller'=>'zalogowani','action'=>'admin'));?>">zalogowany(admin)</a>
76 <a href="<?php echo $this->url(
77 array('controller'=>'zalogowani','action'=>'index'));?>">zalogowany(index)</a>
78 <a href="<?php echo $this->url(
79 array('controller'=>'zalogowani','action'=>'zwykly'));?>">zalogowany(zwykly)</a>
80 </div>
81 <hr/>
82 <?php echo $this->layout()->content; ?>
83 <table class="layout">
84 <tr><td class="layout">Layout administratora</td></tr>
85 </table>
86 </div>
87 </body>
88 </html>
Wyszukiwarka
Podobne podstrony:
layout phtmllayout phtmllayout 1 phtmllayout phtmlpodolski publikacje phtml (2)layoutdno kwatery Layout2podolski podziekowania phtml (2)podolski tlumaczenia phtmlDrawing1 recover000 recover recover Layout1 (1)w obronie wiary 44 phtmlw obronie wiary 49 phtmlw obronie wiary 08 phtmlLayoutManagerDIY Crafts Cross Stitch Birdhouse Layoutwięcej podobnych podstron