Location: PHPKode > projects > Quick Guestbook > quicktalk/qtg_msg_inc.php
<?php

// QuickTalk Guestbook 2.5 build:20100731
// Included in qtg_index.php, qtg_msg_view.php

// Build signature (with extra fields)

$strSign = '<span class="msg_sign">'.$oPost->name.'</span>';
if ( $qtg_use_age && $oPost->userage>0 ) $strSign .= '&nbsp;<span class="msg_age" title="'.$L['Age'].'">('.$oPost->userage.')</span>';
if ( $qtg_use_email && !empty($oPost->useremail) ) $strSign .=  QT_MAILSEPARATOR.AsEmails($oPost->useremail,$id,'img'.($qtg_javamail ? 'java' : ''),true,$qtg_skin,'Java protected email','');
if ( !empty($qtg_gkey) ) {
if ( $oPost->x!=0 && $oPost->y!=0 ) {
  $y = floatval($oPost->y);
  $x = floatval($oPost->x);
  $strSign .= ' <a href="javascript:void(0)" onclick="map.setCenter(new GLatLng('.$y.','.$x.')); return false;" title="'.$L['map']['Coord'].': '.round($y,8).','.round($x,8).'"><img class="ico" src="'.$qtg_skin.'/ico_map.gif" alt="G" title="'.$L['map']['Coord_latlon'].' '.QTdd2dms($y).','.QTdd2dms($x).'"/></a>';
}}

// Show message

echo '
<div class="shadow">
<div class="msg">
<p class="msg_title">',( $qtg_use_from && !empty($oPost->postfrom) ? '<span class="msg_loc">'.$oPost->postfrom.',&nbsp;</span>' : '' ),'<span class="msg_date">',QTdatestr($oPost->issuedate,'$','$',true),'</span></p>
<p class="msg_body"><span class="msg_txt">',IQTbbc($oPost,'<br/>',$qtg_show_size,null,null,$qtg_skin,$page),'</span></p>
<p class="msg_sign">',$strSign,'</p>
</div>
</div>
';

?>
Return current item: Quick Guestbook