PHP:
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<title>{capture assign='collaborators'}{section name=coll_loop loop=$collaborators}{$collaborators[coll_loop]->user_displayname}{if $smarty.section.coll_loop.last != TRUE}, {/if}{/section}{/capture}{lang_sprintf id=801 1=$collaborators}</title>
<link rel="shortcut icon" href="./images/icons/favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<META HTTP-EQUIV="Set-Cookie" content="Test=Value; EXPIRES=Fri, 9 Oct 2009 00:00:00">
<meta http-equiv="Content-language" content ="{lang_print id=75400016}" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT" />
{literal}
<style type='text/css'>
html {
height:100%;
overflow:hidden;
}
body {
margin:0;
padding:0;
background-color: #f0f6ff;
height:100%;
overflow:hidden;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:12px;
line-height:16px;
}
/*KARCAS*/
div.table1 {
width:100%;
height:65%;
overflow-x:hidden;
overflow-y:scroll;
padding:0;
}
div.table2 {
width:100%;
height:3%;
overflow:hidden;
text-align:center;
color:red;
}
div.table3 {
width:100%;
height:27%;
overflow:hidden;
}
/*MESSEGESS*/
div.table1 td {
vertical-align:top;
padding:5px;
}
div.table1 p {
padding:0;
margin:0;
font-size:13px;
color:#000;
}
/*MESSEGESS BLOCK*/
td.block1 {
width:60px;
text-align:center;
vertical-align:top;
}
td.block1 img {
margin-left:7px;
margin-right:7px;
}
td.block1 p {
text-align:left;
}
a.author {
color: #4272db;
text-decoration:none;
font-weight:700;
}
td.block3 span, td.block3_frends span {
color: #80c65a;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:11px;
font-weight:700;
}
div.author_time {
margin-bottom:5px;
margin-top:1px;
float: right;
}
td.block3 {
width:100%;
color:#000;
padding:0;
margin:0;
background-color:#fff;
border:1px solid #e2e2e2;
border-right:1px solid #cfcfcf;
border-bottom:1px solid #cfcfcf;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
td.block3_frends a {
color:#f93;
}
td.block3_frends {
width:100%;
color:#000;
padding:0;
margin:0;
background-color:#f8f9f0;
border:1px solid #e2e2e2;
border-right:1px solid #cfcfcf;
border-bottom:1px solid #cfcfcf;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
/*MESSEGESS INPUT*/
td.block2 {
width:60px;
text-align:center;
padding:5px;
vertical-align:top;
}
td.button1 {
text-align:left;
font-style:italic;
color:#999;
padding-top:5px;
}
td.button2 {
width:200px;
padding-top:5px;
text-align:right;
}
input.button {
margin-right:-7px;
font-size:14px;
}
div.table3 form {
padding:0;
margin:0;
padding-right:22px;
}
textarea.input_text {
width:100%;
height:90px;
overflow: hidden;
background-color:#FFF;
border:1px solid #e2e2e2;
border-right:1px solid #cfcfcf;
border-bottom:1px solid #cfcfcf;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
padding:2px;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:13px;
}
hr {
margin-top:3px;
margin-bottom:4px;
background-color:#fff;
color:#bcc5d9;
border:none;
height:1px;
padding:0
}
</style>
<script type="text/javascript" src="./include/js/mootools12-min.js"></script>
<script type="text/javascript" src="./include/js/core.js"></script>
<script type='text/javascript'>
<!--
window.addEvent('domready', function() { textarea_autogrow('reply_body'); });
//-->
</script>
<script type="text/javascript">
Request.HTML.implement({
processHTML: function(text){
var match = text.match(/<body[^>]*>([\s\S]*?)<\/body>/i);
text = (match) ? match[1] : text;
var container = new Element('div');
return $try(function(){
var root = '<root>' + text + '</root>', doc;
doc = new DOMParser().parseFromString(root, 'text/html');
root = doc.getElementsByTagName('root')[0];
for (var i = 0, k = root.childNodes.length; i < k; i++){
var child = Element.clone(root.childNodes[i], true, true);
if (child) container.grab(child);
}
return container;
}) || container.set('html', text);
}
});
function gum_chatbox_update() {
var req = new Request.HTML({
method: 'get',
url:"user_messages_chat.php?pmconvo_id={/literal}{$pmconvo_info.pmconvo_id}{literal}&task=ajax",
onComplete: function(response) {
$('result').set('text','');
$('result').adopt(response);
var div = document.getElementById("result");
var y = (div.scrollHeight > div.offsetHeight) ? div.scrollHeight : div.offsetHeight;
div.scrollTop = y;
}
}).send();
}
gum_chatbox_update.periodical(5000);
</script>
{/literal}
</head>
<body>
<div id="result" class='table1'>
<table cellpadding='0' cellspacing='3' border='0' width='100%'>
{include file='user_messages_chat_loop.tpl'}
</table>
</div>
<div class='table2'>
<!-- <b> {if $collaborators|@count == 1}{lang_print id=802}{else}{lang_print id=803}{/if}</b> -->
<a name='reply'></a>
<div id='reply_error' style='display: none;'>{lang_print id=796}</div>
{if $blockerror}
<div id='reply_error2' style='display: {$blockerror};'>{lang_print id=1321}</div>
{/if} </div>
<div class='table3'>
<table cellpadding='0' cellspacing='3' border='0' width='100%'>
<tr>
<td class='block2'></td>
<td><form action='user_messages_chat.php#bottom' method='POST' onSubmit="{literal}if(this.reply.value.replace(/ /g, '') == '') { $('reply_error').style.display='block'; return false; } else { return true; }{/literal}">
<textarea name ='reply' name='message' id='reply_body' class='input_text' onKeyPress="{literal}if(event.keyCode==10 || (event.keyCode==13)) {submit();this.disabled=true;}{/literal}" id="coment_body"></textarea>
<script language="JavaScript">
str=document.URL
page=str.substring(str.lastIndexOf('/')+1)
if(page.indexOf("viewtopic.php")==-1)
document.getElementById("addsmile").style.display = "none";
</script>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class='button1'> </td>
<td class='button2'><input class='button' type='submit' value='{lang_print id=791}' onClick="submit(); this.disabled=true;" ></td>
</tr>
</table>
<input type='hidden' name='task' value='reply'>
<input type='hidden' name='pmconvo_id' value='{$pmconvo_info.pmconvo_id}'>
</form></td>
</tr>
</table>
</div>
</body>
</html><!-- MY SMILE END -->
{literal}
<script type="text/javascript">
// SMILE
function insert_text(text)
{
msgfield = (document.all) ? document.all.reply : ((document.getElementById('afocus') != null) ? (document.getElementById('afocus').reply) : (document.getElementById('reply_body')));
msgfield.value += text;
msgfield.focus();
return false;
}
// -->
</script>
<style>
position:relative;
width:25px;
right:6px;
bottom:1px;
float:left;
text-align:left;
}
#commentus_smile a {
display:block;
text-decoration:none
}
#commentus_smile a img {
cursor:pointer
}
#commentus_smile a p {
position:absolute;
left:0;
bottom: 27px;
background:#fff;
padding:5px;
border:1px solid #d7dff6;
width:300px;
text-align:center
}
#commentus_smile a p img {
padding:2px
}
</style>
{/literal}
<div id='commentus_smile'>
<a href='javascript:void(0);' onclick="if(document.getElementById('strk1').style.display=='none') document.getElementById('strk1').style.display='block'; else document.getElementById('strk1').style.display='none';"><img src='/images/smiles_new/smile.gif' alt=':smile:' />
<p id='strk1' style='display:none;'>
<img src='/images/smiles_new/smile.gif' alt='smile' onclick="return insert_text(' :smile: ', '')" />
<img src='/images/smiles_new/baffled.gif' alt='baffled' onclick="return insert_text(' :baffled: ', '')" />
<img src='/images/smiles_new/biggrin.gif' alt='biggrin' onclick="return insert_text(' :biggrin: ', '')" />
<img src='/images/smiles_new/confused.gif' alt='confused' onclick="return insert_text(' :confused: ', '')" />
<img src='/images/smiles_new/cool.gif' alt='cool' onclick="return insert_text(' :cool: ', '')" />
<img src='/images/smiles_new/dull.gif' alt='dull' onclick="return insert_text(' :dull: ', '')" />
<img src='/images/smiles_new/eek.gif' alt='eek' onclick="return insert_text(' :eek: ', '')" />
<img src='/images/smiles_new/frown.gif' alt='frown' onclick="return insert_text(' :frown: ', '')" />
<img src='/images/smiles_new/growl.gif' alt='growl' onclick="return insert_text(' :growl: ', '')" />
<img src='/images/smiles_new/mad.gif' alt='mad' onclick="return insert_text(' :mad: ', '')" />
<img src='/images/smiles_new/nerd.gif' alt='nerd' onclick="return insert_text(' :nerd: ', '')" />
<img src='/images/smiles_new/no.gif' alt='no' onclick="return insert_text(' :no: ', '')" />
<img src='/images/smiles_new/oo.gif' alt='oo' onclick="return insert_text(' :oo: ', '')" />
<img src='/images/smiles_new/redface.gif' alt='redface' onclick="return insert_text(' :redface: ', '')" />
<img src='/images/smiles_new/rofl.gif' alt='rofl' onclick="return insert_text(' :rofl: ', '')" />
<img src='/images/smiles_new/rolleyes.gif' alt='rolleyes' onclick="return insert_text(' :rolleyes: ', '')" />
<img src='/images/smiles_new/sad.gif' alt='sad' onclick="return insert_text(' :sad: ', '')" />
<img src='/images/smiles_new/sorry.gif' alt='sorry' onclick="return insert_text(' :sorry: ', '')" />
<img src='/images/smiles_new/tongue.gif' alt='tongue' onclick="return insert_text(' :tongue: ', '')" />
<img src='/images/smiles_new/wink.gif' alt='wink' onclick="return insert_text(' :wink: ', '')" />
<img src='/images/smiles_new/yes.gif' alt='yes' onclick="return insert_text(' :yes: ', '')" />
<img src='/images/smiles_new/good.gif' alt=':good:' onclick="return insert_text(' :good: ', '')" />
<img src='/images/smiles_new/angel.gif' alt=':angel:' onclick="return insert_text(' :angel: ', '')" />
<img src='/images/smiles_new/bad.gif' alt=':bad:' onclick="return insert_text(' :bad: ', '')" />
<img src='/images/smiles_new/winking.gif' alt=':winking:' onclick="return insert_text(' :winking: ', '')" />
<img src='/images/smiles_new/tease.gif' alt=':tease:' onclick="return insert_text(' :tease: ', '')" />
<img src='/images/smiles_new/abrupt.gif' alt=':abrupt:' onclick="return insert_text(' :abrupt: ', '')" />
<img src='/images/smiles_new/neigh.gif' alt=':neigh:' onclick="return insert_text(' :neigh: ', '')" />
<img src='/images/smiles_new/hesitate.gif' alt=':hesitate:' onclick="return insert_text(' :hesitate: ', '')" />
<img src='/images/smiles_new/surprise.gif' alt=':surprise:' onclick="return insert_text(' :surprise: ', '')" />
<img src='/images/smiles_new/cry.gif' alt=':cry:' onclick="return insert_text(' :cry: ', '')" />
<img src='/images/smiles_new/nosound.gif' alt=':nosound:' onclick="return insert_text(' :nosound: ', '')" />
<img src='/images/smiles_new/force.gif' alt=':force:' onclick="return insert_text(' :force: ', '')" />
<img src='/images/smiles_new/fool.gif' alt=':fool:' onclick="return insert_text(' :fool: ', '')" />
<img src='/images/smiles_new/xm.gif' alt=':xm:' onclick="return insert_text(' :xm: ', '')" />
<img src='/images/smiles_new/jokingly.gif' alt=':jokingly:' onclick="return insert_text(' :jokingly: ', '')" />
<img src='/images/smiles_new/diablo.gif' alt=':diablo:' onclick="return insert_text(' :diablo: ', '')" />
<img src='/images/smiles_new/meloman.gif' alt=':meloman:' onclick="return insert_text(' :meloman: ', '')" />
<img src='/images/smiles_new/nausea.gif' alt=':nausea:' onclick="return insert_text(' :nausea: ', '')" />
<img src='/images/smiles_new/tired.gif' alt=':tired:' onclick="return insert_text(' :tired: ', '')" />
<img src='/images/smiles_new/stop.gif' alt=':stop:' onclick="return insert_text(' :stop: ', '')" />
<img src='/images/smiles_new/rose.gif' alt=':rose:' onclick="return insert_text(' :rose: ', '')" />
<img src='/images/smiles_new/thumbsup.gif' alt=':thumbsup:' onclick="return insert_text(' :thumbsup: ', '')" />
<img src='/images/smiles_new/inlove.gif' alt=':inlove:' onclick="return insert_text(' :inlove: ', '')" />
<img src='/images/smiles_new/bomba.gif' alt=':bomba:' onclick="return insert_text(' :bomba: ', '')" />
<img src='/images/smiles_new/help.gif' alt=':help:' onclick="return insert_text(' :help: ', '')" />
<img src='/images/smiles_new/adrupt.gif' alt=':adrupt:' onclick="return insert_text(' :adrupt: ', '')" />
<img src='/images/smiles_new/dizziness.gif' alt=':dizziness:' onclick="return insert_text(' :dizziness: ', '')" />
<img src='/images/smiles_new/ok.gif' alt=':ok:' onclick="return insert_text(' :ok: ', '')" />
<img src='/images/smiles_new/wassup.gif' alt=':wassup:' onclick="return insert_text(' :wassup: ', '')" />
<img src='/images/smiles_new/ksorry.gif' alt=':ksorry:' onclick="return insert_text(' :ksorry: ', '')" />
<img src='/images/smiles_new/bravo.gif' alt=':bravo:' onclick="return insert_text(' :bravo: ', '')" />
<img src='/images/smiles_new/krolf.gif' alt=':krolf:' onclick="return insert_text(' :krolf: ', '')" />
<img src='/images/smiles_new/pardon.gif' alt=':pardon:' onclick="return insert_text(' :pardon: ', '')" />
<img src='/images/smiles_new/kno.gif' alt=':kno:' onclick="return insert_text(' :kno: ', '')" />
<img src='/images/smiles_new/crazy.gif' alt=':crazy:' onclick="return insert_text(' :crazy: ', '')" />
<img src='/images/smiles_new/dontknow.gif' alt=':dontknow:' onclick="return insert_text(' :dontknow: ', '')" />
<img src='/images/smiles_new/dance.gif' alt=':dance:' onclick="return insert_text(' :dance: ', '')" />
<img src='/images/smiles_new/yahoo.gif' alt=':yahoo:' onclick="return insert_text(' :yahoo: ', '')" />
<img src='/images/smiles_new/hi.gif' alt=':hi:' onclick="return insert_text(' :hi: ', '')" />
<img src='/images/smiles_new/bye.gif' alt=':bye:' onclick="return insert_text(' :bye: ', '')" />
<img src='/images/smiles_new/kyes.gif' alt=':kyes:' onclick="return insert_text(' :kyes: ', '')" />
<img src='/images/smiles_new/kwink.gif' alt=':kwink:' onclick="return insert_text(' :kwink: ', '')" />
<img src='/images/smiles_new/wall.gif' alt=':wall:' onclick="return insert_text(' :wall: ', '')" />
<img src='/images/smiles_new/write.gif' alt=':write:' onclick="return insert_text(' :write: ', '')" />
<img src='/images/smiles_new/scratch.gif' alt=':scratch:' onclick="return insert_text(' :scratch: ', '')" /></p>
</a></div>
<!-- MY SMILE END -->