message
This commit is contained in:
41
templates/smartphone/chat/block.tpl
Normal file
41
templates/smartphone/chat/block.tpl
Normal file
@@ -0,0 +1,41 @@
|
||||
<div id="mchat-style" style="width:max;height:350px; overflow:auto; background-color :#FFFFFF; border:solid #CECECE 1px; cursor:text; padding:1px">
|
||||
<div id="mchat_messages">{story}</div>
|
||||
</div>
|
||||
|
||||
[isloged]
|
||||
<div style="padding-top:1px; width:214px">
|
||||
|
||||
<form>
|
||||
|
||||
<div style="width:216px; height:25px;border:1px solid #BBB;background-image:url('/templates/default/bbcodes/bg.gif')">
|
||||
<div id="b_b" class="editor_button" onclick="DMC_simpletag('b')">
|
||||
<img title="Ïîëóæèðíûé" src="{THEME}/bbcodes/b.gif" width="23" height="25" border="0" alt="">
|
||||
</div>
|
||||
<div id="b_i" class="editor_button" onclick="DMC_simpletag('i')">
|
||||
<img title="Íàêëîííûé òåêñò" src="{THEME}/bbcodes/i.gif" width="23" height="25" border="0" alt="">
|
||||
</div>
|
||||
<div id="b_u" class="editor_button" onclick="DMC_simpletag('u')">
|
||||
<img title="Ïîä÷åðêíóòûé òåêñò" src="{THEME}/bbcodes/u.gif" width="23" height="25" border="0" alt="">
|
||||
</div>
|
||||
<div id="b_s" class="editor_button" onclick="DMC_simpletag('s')">
|
||||
<img title="Çà÷åðêíóòûé òåêñò" src="{THEME}/bbcodes/s.gif" width="23" height="25" border="0" alt="">
|
||||
</div>
|
||||
|
||||
<img src="{THEME}/bbcodes/brkspace.gif" width="5" height="25" border="0" alt="">
|
||||
|
||||
|
||||
<img title="Âñòàâêà ñìàéëèêîâ" src="{THEME}/bbcodes/emo.gif" width="23" height="25" border="0" alt="">
|
||||
|
||||
<img src="{THEME}/bbcodes/brkspace.gif" width="5" height="25" border="0" alt="">
|
||||
|
||||
<a href="/mchat/history/"><img title="Èñòîðèÿ" src="{THEME}/bbcodes/quote.gif" width="23" height="25" border="0" alt=""></a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<input type="text" name="message" class="f_input" id="message" style="width:212px; height:30px; overflow:auto; border:solid #bbbbbb 1px; padding:1px; font-size:11px; padding-left:3px" />
|
||||
|
||||
</form>
|
||||
</div>
|
||||
[/isloged]
|
||||
48
templates/smartphone/chat/mchatblock.tpl
Normal file
48
templates/smartphone/chat/mchatblock.tpl
Normal file
@@ -0,0 +1,48 @@
|
||||
<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>
|
||||
20
templates/smartphone/chat/message.tpl
Normal file
20
templates/smartphone/chat/message.tpl
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="block2" style="margin-bottom:5px; padding-bottom:20px;">
|
||||
<div>
|
||||
Ñîîáùåíèå <strong>¹{mess-id}</strong>
|
||||
<div style="float:right">
|
||||
{date} | {ip}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="padding-left:10px">
|
||||
<br />
|
||||
<strong>{author}:</strong>
|
||||
</div>
|
||||
<div style="padding-left:10px">
|
||||
{message}
|
||||
|
||||
<div style="float:right">
|
||||
[mes-edit][èçìåíèòü][/mes-edit][mes-del][óäàëèòü][/mes-del]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user