Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
<?php
if ($is_logged == TRUE){
$guestcom = <<<HTML
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TR>
<TD vAlign=top width=14><IMG height=12 src="{THEME}/images/1.gif" width=14 border=0></TD>
<TD vAlign=top width=100% background={THEME}/images/2.gif></TD>
<TD vAlign=top width=14><IMG height=12 src="{THEME}/images/3.gif" width=14 border=0></TD></TR>
<TR>
<TD width=14 background={THEME}/images/4.gif></TD>
<TD><div align="left"><b>{title}</b></div></TD>
<TD width=14 background={THEME}/images/6.gif></TD></TR>
<tr>
<TD width=14 background={THEME}/images/4.gif><IMG height=12 src="{THEME}/images/8-2.gif" width=14 border=0></TD>
<TD background={THEME}/images/10.gif></TD>
<TD width=10 background={THEME}/images/6.gif><IMG height=12 src="{THEME}/images/9-2.gif" width=14 border=0></TD></tr>
<tr>
<TD width=14 background={THEME}/images/4.gif height="49">
<img border="0" src="{THEME}/images/spacer.gif" width="14" height="14"></TD>
<TD><table width="100%">
<tr>
<td class="news" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="newstext" >
[not-logged]<br>
<tr>
<td width="200" height="25"></td>
<td width="659">Ваше Имя: <input style="width:400px" type="text" name="name" id="name" class="love" /></td>
</tr>
<tr>
<td width="200" height="25"></td>
<td width="659">Ваш E-Mail: <input style="width:400px" type="text" name="mail" id="mail" class="love" /><br></td>
</tr>
[/not-logged]
[not-wysywyg]
<tr>
<td colspan="2" ><center><br>{bbcode}</center></td>
</tr>
[/not-wysywyg]
<tr>
<td colspan="2"><center>[not-wysywyg]<textarea style="width:462px; height:150px;" name="message" id="comments" class="love" onclick="setNewField(this.name,document.getElementById( 'dle-comments-form' ))"/>{text}</textarea>[/not-wysywyg]{wysiwyg}<br /></center></td>
</tr>
[sec_code]
<tr>
<td colspan="2"><center><br>{sec_code}<br><br><input type="text" name="sec_code" id="sec_code" style="width:120px;" class="love" /></center></td>
</tr>
[/sec_code]
<tr>
<td colspan="2">
<center><br><input onclick="doAddComments();return false;" name="submit" type="image" src="{THEME}/images/shit.jpg" /><br><br></center></td>
</tr>
</table>
</td></tr></table></TD>
<TD width=10 background={THEME}/images/6.gif >
<img border="0" src="{THEME}/images/spacer.gif" width="14" height="14"><img border="0" src="{THEME}/images/spacer.gif" width="1" height="1"></TD></tr>
<TR>
<TD vAlign=top width=14><IMG height=12 src="{THEME}/images/8.gif" width=14 border=0></TD>
<TD vAlign=top width=100% background={THEME}/images/10.gif></TD>
<TD vAlign=top width=14><IMG height=12 src="{THEME}/images/9.gif" width=14 border=0></TD></TR></TABLE>
HTML;
echo ("$guestcom");
} else {
$guestcom = <<<HTML
<center><h1>Уважаемый посетитель, чтобы оставить запись в гостевой вы должны зарегистрироваться либо зайти на сайт под своим именем.</h1></center><br />
HTML;
echo ("$guestcom");
}
?>
echo $tpl->result['main'];
eval (' ?' . '>' . $tpl->result['main'] . '<' . '?php ');
вот эти строчки:те это какие строчки.
# Модуль Гостевой Книги
RewriteRule ^guestbook(/?)+$ index.php?do=guestbook [L]
RewriteRule ^guestbook/page/([0-9]+)(/?)+$ index.php?do=guestbook&cstart=$1 [L]
RewriteRule ^guestbook/proceed/com_update.html$ index.php?do=guestbook&proceed=com_update [L]
RewriteRule ^guestbook/action/del.html$ index.php?do=guestbook&action=del [L]
RewriteRule ^guestbook/action/edit/([0-9]+).html$ index.php?do=guestbook&action=edit&id=$1 [L]
RewriteRule ^guestbook/action/del/([0-9]+)(/?)+$ index.php?do=guestbook&action=del&id=$1 [L]]
# Модуль Гостевой Книги
RewriteRule ^guestbook(/?)+$ index.php?do=guestbook [L]
RewriteRule ^guestbook/page/([0-9]+)(/?)+$ index.php?do=guestbook&cstart=$1 [L]
RewriteRule ^guestbook/proceed/com_update.html$ index.php?do=guestbook&proceed=com_update [L]
RewriteRule ^guestbook/action/del.html$ index.php?do=guestbook&action=del [L]
RewriteRule ^guestbook/action/edit/([0-9]+).html$ index.php?do=guestbook&action=edit&id=$1 [L]
RewriteRule ^guestbook/action/del/([0-9]+)(/?)+$ index.php?do=guestbook&action=del&id=$1 [L]