N Sensey N ОК, ты не злися
))
Цитата: Что значит там все в HTML ?
Я этого не писал. Фантазия твоя. Вот оригинал:
Цитата: оказалось шо и там есть ХТМЛ, причем в файле comments.php, который практически полностью из ХТМЛ состоит
так идем дальше... Вот те часть кода коментс.пхп я подтверждаю свои слова фактическим материалом:
Код: /* Внешний вид формы комментариев. */
OpenTable();
?>
<table width="538" border="0" cellspacing="1" cellpadding="0" bgcolor="<? echo $bgcolor6; ?>"><tr>
<td width="541">
<table width="124" border="0" cellspacing="1" cellpadding="8" bgcolor="<? echo $bgcolor7; ?>"><tr>
<td width="523">
<table border="0" cellpadding="5" cellspacing="1" width="522">
<form name ="comment" method="post" action="modules.php?name=News&file=comments" onSubmit="return checK()"><tr>
<td width="156"><font class="content"><?php echo _YOURNAME; ?>:</font></td>
<td width="343"><input type="text" name="postername" value="<?php echo $autoname; ?>" size="20" maxlength="20" style="border-width:1pt; border-color:silver; border-style:dashed;"></td>
</tr><tr>
<td width="156"><font class="content"><?php echo _YOURMAIL; ?>:</font></td>
<td width="343"><input type="text" name="email" value="<?php echo $autoemail; ?>" size="20" maxlength="40" style="border-width:1pt; border-color:silver; border-style:dashed;"></td>
</tr><tr>
<td class="row1" valign="top" width="156">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td valign="middle" align="center" style="font-family: Verdana, Arial, Helvetica, sans-serif"><br>
<table width="100" border="0" cellspacing="0" cellpadding="5" style="background-color:white; border-width:1pt; border-color:silver; border-style:dashed;">
<tr align="center" valign="middle"><td>
<script language="JavaScript">
function InstaSmilie () {
return;
}function AddSmile(SmileCode) {
var SmileCode;
var newPost;
var oldPost = document.comment.comment.value;
newPost = oldPost+SmileCode;
document.comment.comment.value=newPost;
document.comment.comment.focus();
return;
}</script>
<a href="javascript:InstaSmilie('
')" onClick="AddSmile('
');">
<img src="modules/News/smiles/icon_biggrin.gif" border="0" alt="Very Happy" title="Very Happy"></a>
</td>
<td>
<a href="javascript:InstaSmilie('
')" onClick="AddSmile('
');">
<img src="modules/News/smiles/icon_smile.gif" border="0" alt="Smile" title="Smile"></a>
</td>
<td>
<a href="javascript:InstaSmilie('
')" onClick="AddSmile('
');">
<img src="modules/News/smiles/icon_sad.gif" border="0" alt="Sad" title="Sad"></a>
</td>
<td>
<a href="javascript:InstaSmilie(':surprised:')" onClick="AddSmile(' :surprised: ');">
<img src="modules/News/smiles/icon_surprised.gif" border="0" alt="Surprised" title="Surprised"></a>
</td></tr>
<tr align="center" valign="middle">
<td>
<a href="javascript:InstaSmilie('
')" onClick="AddSmile('
');">
<img src="modules/News/smiles/icon_eek.gif" border="0" alt="Shocked" title="Shocked"></a>
</td>
<td>
<a href="javascript:InstaSmilie(':conf:')" onClick="AddSmile(' :conf: ');">
<img src="modules/News/smiles/icon_confused.gif" border="0" alt="Confused" title="Confused"></a>
</td>
<td>
<a href="javascript:InstaSmilie('
')" onClick="AddSmile('
');">
<img src="modules/News/smiles/icon_cool.gif" border="0" alt="Cool" title="Cool"></a>
</td>
<td>
<a href="javascript:InstaSmilie('
')" onClick="AddSmile('
');">
<img src="modules/News/smiles/icon_lol.gif" border="0" alt="Laughing" title="Laughing"></a>
</td>
</tr>
<tr align="center" valign="middle">
<td>
<a href="javascript:InstaSmilie('
')" onClick="AddSmile('
');">
<img src="modules/News/smiles/icon_mad.gif" border="0" alt="Mad" title="Mad"></a>
</td>
<td>
<a href="javascript:InstaSmilie(':razz:')" onClick="AddSmile(' :razz: ');">
<img src="modules/News/smiles/icon_razz.gif" border="0" alt="Razz" title="Razz"></a>
</td>
<td>
<a href="javascript:InstaSmilie(':oops:')" onClick="AddSmile('
ops: ');">
<img src="modules/News/smiles/icon_redface.gif" border="0" alt="Embarassed" title="Embarassed"></a>
</td>
<td>
<a href="javascript:InstaSmilie(':cry:')" onClick="AddSmile(' :cry: ');">
<img src="modules/News/smiles/icon_cry.gif" border="0" alt="Crying or Very sad" title="Crying or Very sad"></a>
</td></tr>
<tr align="center" valign="middle">
<td>
<a href="javascript:InstaSmilie(':evil:')" onClick="AddSmile(' :evil: ');">
<img src="modules/News/smiles/icon_evil.gif" border="0" alt="Evil or Very Mad" title="Evil or Very Mad"></a>
</td>
<td><a href="javascript:InstaSmilie(':twisted:')" onClick="AddSmile(' :twisted: ');">
<img src="modules/News/smiles/icon_twisted.gif" border="0" alt="Twisted Evil" title="Twisted Evil"></a>
</td>
<td>
<a href="javascript:InstaSmilie(':roll:')" onClick="AddSmile(' :roll: ');">
<img src="modules/News/smiles/icon_rolleyes.gif" border="0" alt="Rolling Eyes" title="Rolling Eyes"></a>
</td>
<td>
<a href="javascript:InstaSmilie('
')" onClick="AddSmile('
');">
<img src="modules/News/smiles/icon_wink.gif" border="0" alt="Wink" title="Wink"></a>
</td></tr>
<tr align="center" valign="middle">
<td>
<a href="javascript:InstaSmilie(':ex:')" onClick="AddSmile(' :ex: ');">
<img src="modules/News/smiles/icon_exclaim.gif" border="0" alt="Exclamation" title="Exclamation"></a>
</td>
<td>
<a href="javascript:InstaSmilie(':quest:')" onClick="AddSmile(' :quest: ');">
<img src="modules/News/smiles/icon_question.gif" border="0" alt="Question" title="Question"></a>
</td>
<td>
<a href="javascript:InstaSmilie('
')" onClick="AddSmile('
');">
<img src="modules/News/smiles/icon_idea.gif" border="0" alt="Idea" title="Idea"></a>
</td>
<td>
<a href="javascript:InstaSmilie(':arr:')" onClick="AddSmile(' :arr: ');">
<img src="modules/News/smiles/icon_arrow.gif" border="0" alt="Arrow" title="Arrow"></a>
</td>
</tr>
</table>
</td></tr>
</table></td>
<td class="row2" valign="top" width="343">
<table border="0" cellspacing="0" cellpadding="2">
<td colspan="4">
<textarea name="comment" rows="10" cols="40" wrap="virtual" style="border-width:1pt; border-color:silver; border-style:dashed;"></textarea>
</td></tr></table></td></tr><tr>
<td align="center" height="28" width="156">
<input type="submit" name="op" value="<?php echo _OK; ?>">
<input type="hidden" name="sid" value="<?php echo $sid; ?>"></td>
<td align="center" height="28" width="343">
<p align="left">
<?php
echo "<input type=\"checkbox\" name=\"remember\" value=\"1\" style=\"float: left\" $sel1>"._COKREM."</td>";
?>
</tr></form></table>
</td></tr></table></td></tr></table>
<?php
CloseTable();
}