49 lines
3.0 KiB
Smarty
49 lines
3.0 KiB
Smarty
<div id="mchat-style" style="width:max;height:300px; overflow:auto;">
|
|
<div id="mchat_messages">{story}</div>
|
|
</div><br />
|
|
|
|
[isloged]
|
|
<center>
|
|
<div style="padding-top:5px">
|
|
<input type="text" name="message" class="f_input" id="message" style="width:400px"/>
|
|
</div>
|
|
</center>
|
|
<center><div style="padding-top:4px">
|
|
<input type="button" class="bbcodes" onclick="mChat_Display('mchat-smiles', 'fast'); return false;" value="Ñìàéëû" />
|
|
<input type="button" class="bbcodes" onclick="mChat_Display('mchat-bbcodes', 'fast'); return false;" value="BB-Cods" />
|
|
<input type="button" class="bbcodes" onclick="SendMessage()" value="»" />
|
|
</div>
|
|
</center><div id="mchat-style" style="padding: 1px; text-align: center;"><br /><a href="/mchat/"><b>Ñòðàíèöà ÷àòà</b> </a> è <a href="/mchat/history/"><b>Àðõèâ</b></a></div>
|
|
[/isloged]
|
|
|
|
[notloged]
|
|
[guestyes]
|
|
</center><table><tr>
|
|
<td><input type="text" value="Âàøå èìÿ" onclick="AWclear(this, 'Âàøå èìÿ'); return false;" name="mc_name" class="f_input" id="mc_name" style="width:80px"/> </td>
|
|
<td><input type="text" name="mc_email" value="E-mail" onclick="AWclear(this, 'E-mail'); return false;" class="f_input" id="mc_email" style="width:85px"/></td></tr></table></center>
|
|
<center><div style="padding-top:5px">
|
|
<input type="text" name="message" value="Ñîîáùåíèå" onclick="AWclear(this, 'Ñîîáùåíèå'); return false;" class="f_input" id="message" style="width:168px"/>
|
|
</div></center>
|
|
<center><div style="padding-top:4px">
|
|
<input type="button" class="bbcodes" onclick="mChat_Display('mchat-smiles', 'fast'); return false;" value="Ñìàéëû" />
|
|
<input type="button" class="bbcodes" onclick="mChat_Display('mchat-bbcodes', 'fast'); return false;" value="BB-Cods" />
|
|
<input type="button" class="bbcodes" onclick="SendMessage()" value="»" />
|
|
</div>
|
|
</center>
|
|
[/guestyes]
|
|
[guestno]
|
|
<center>
|
|
<div id="mchat-style" style="padding: 1px; text-align: center;"><br />Òîëüêî çàðåãèñòðèðîâàííûå ïîëüçîâàòåëè ìîãóò îòïðàâëÿòü ñîîáùåíèÿ <a href="/index.php?do=login">âîéäèòå </a> èëè <a href="/index.php?do=register">çàðåãèñòðèðóéòåñü</a>.</div>
|
|
</center>
|
|
[/guestno]
|
|
[/notloged]
|
|
|
|
<div id="mchat-smiles">{smiles}</div>
|
|
<div style="padding-center:67px" id="mchat-bbcodes">
|
|
<div style="width:100%; height:25px; border:1px solid #BBB; background-image:url('{THEME}/bbcodes/bg.gif')">
|
|
<div id="b_b" class="editor_button" onclick="DMC_simpletag('b');mChat_Display('mchat-bbcodes', 'fast');"><img title="" src="{THEME}/bbcodes/b.gif" width="23" height="25" border="0"></div>
|
|
<div id="b_i" class="editor_button" onclick="DMC_simpletag('i');mChat_Display('mchat-bbcodes', 'fast');"><img title="" src="{THEME}/bbcodes/i.gif" width="23" height="25" border="0"></div>
|
|
<div id="b_u" class="editor_button" onclick="DMC_simpletag('u');mChat_Display('mchat-bbcodes', 'fast');"><img title="" src="{THEME}/bbcodes/u.gif" width="23" height="25" border="0"></div>
|
|
<div id="b_s" class="editor_button" onclick="DMC_simpletag('s');mChat_Display('mchat-bbcodes', 'fast');"><img title="" src="{THEME}/bbcodes/s.gif" width="23" height="25" border="0"></div>
|
|
</div></div>
|