Показать сообщение отдельно

  #1  
Старый 03.10.2009, 10:30
crazy~driver
Познающий
Регистрация: 21.12.2008
Сообщений: 93
С нами: 9152066

Репутация: 39
По умолчанию

Цитата:
Сообщение от Pashkela  
http://tutorials.haxansweb.com/PHP/introduction_to_PHP/Smarty-templates-for-beginners--By-david
Спасибо Pashkela, но это не то.

PHP код:
<!--menu.tpl-->
<
table width="100%"  border=0 bordercolor="#eeffff">      
<
tr bgcolor="#000099">              
<
td width="200 px" align="center">
<
a href='index.php?cl=CPeople&sc=showlist' onFocus="this.blur()">      
<
font color="#ffffff"><h1>Просмотреть</font></a>              
<
td width="200 px" align="center">
<
a href='index.php?cl=CPeople&sc=red' onFocus="this.blur()">      
<
font color="#ffffff"><h1>Редактировать</font></a>
<
td width="200 px" align="center">
<
a href='index.php?cl=CPeople&sc=editForm' onFocus="this.blur()">          
<
font color="#ffffff"><h1>Добавить</font></a>              
<
td width="200 px" align="center"><a href='index.php?cl=CPeople&sc=about' onFocus="this.blur()">          
<
font color="#ffffff"><h1>Об авторе</font></a>  </table
 {
php
 include 
"auth/auth.php";  
//echo $as; 
 
{/php}    
<!-- 
вот здесь нужно выдернуть переменную и константу -->
<
table width="5%"  border=3 bordercolor="#C400C4">      <tr>                 
<
td width="100px" align="center">
<
a href='index.php?cl=CPeople&sc=poisk' onFocus="this.blur()">      
<
font color="#C400C4"><h1>Поиск</font></a>
</
table
Мне нужно после вставляемого кода php выдернуть средствами смарти константу и глобальную переменную.
 
Ответить с цитированием