| function echo_mess($code, $nkat, $nskat, $nsskat, $strana, $gorod, $deldate, $deldays, $datdob, $autor, $adress, $tel, $faks, $site, $email, $status, $tema, $usertext, $imag, $area)
{
global $locale;
echo "<table border='0' cellspacing='0' width='100%' cellpadding='3'><tr>\n";
echo "<td width='100%' colspan='2'>\n";
echo "<table width='10%' border='0' align='left' cellpadding='0' cellspacing='0' bgcolor='#f9fafd'><tr height='30'><td>
<b><center><font class=snew>".$datdob."</font></td></tr></table>
<table width='90%' border='0' align='left' cellpadding='0' cellspacing='0'><tr height='30'><td bgcolor='#f4e7eb'> ".$tema."</td></tr></table></td></tr>\n";
if (IMG_ECHO == "on")
{
echo "<tr><td width='20%'><div align='center'>
";
if ($imag==$locale[13]){
echo "<img src='".THEME."/images/noimage.jpg' align='absmiddle'>";
}else{
echo $imag;
}
echo"</div></td><td valign='top' width='80%'><table border=0 width=100% height=100%><tr><td height='10'><b>".$locale[17]."</b> ".$autor."</td></tr><tr><td height='100%'>".$usertext."</td></tr></table></td></tr>";
}
else
{
echo "<tr><td class='side-body' valign='top' width='80%' colspan='2'><table border=0 width=100% height=100%><tr><td height='10'><b>".$locale[17]."</b> ".$autor."</td></tr><tr><td height='100%'>".$usertext."</td></tr></table></td></tr>";
}
echo "<tr><td colspan=2><table width='100%' align=center cellpadding='0' cellspacing='0'><tr>";
echo "<td width=50% bgcolor='#daddf2'>";
echo "<img src='".THEME."/images/bullet.gif'>
".$locale[18].$nkat."<br>\n";
echo "<td width=50% bgcolor='#daddf2' align='right' class='infobar2' height='20'>";
echo $locale[19].$strana."</td></tr></table>";
echo "</td></tr></table>
";
}
//
function readfull($code, $nkat, $nskat, $nsskat, $strana, $gorod, $deldate, $deldays, $datdob, $autor, $adress, $tel, $faks, $site, $email, $status, $tema, $usertext, $imag, $area)
{
global $locale;
echo "
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta http-equiv='pragma' content='no-cache'>
<title>".$tit."</title>
<script type='text/javascript' src='".DIR."functions.js'></script>
<link rel='stylesheet' type='text/css' href='".THEME."/styles.css'>
</head>
<body topmargin='0' leftmargin='0' >
<br>";
echo "<table border='0' cellspacing='0' width='100%' cellpadding='3'><tr>\n";
echo "<td width='100%' colspan=2>\n";
echo "<table width='10%' border='0' align='left' cellpadding='0' cellspacing='0' bgcolor='#f9fafd'><tr height='30'><td>
<b><center><font class=snew>".$datdob."</font></td></tr></table>
<table width='90%' border='0' align='left' cellpadding='0' cellspacing='0'><tr height='30'><td bgcolor='#f4e7eb'> ".$tema."</td></tr></table></td></tr>\n";
if (IMG_ECHO == "on")
{
echo "<tr><td width='20%'><div align='center'>";
if ($imag==$locale[13]){
echo "<img src='".THEME."/images/noimage.jpg' align='absmiddle'>";
}else{
echo $imag;
}
echo"</div></td><td valign='top' width='80%'><table border=0 width=100% height=100%><tr><td height='10'>".$locale[17]." <b>".$autor."</b></td></tr><tr><td height='100%'>".$usertext."</td></tr></table></td></tr>";
}
else
{
echo "<tr><td class='side-body' valign='top' width='80%' colspan='2'><table border=0 width=100% height=100%><tr><td height='10' bgcolor='f6f6f6'>".$locale[17]." <b>".$autor."</b></td></tr><tr><td height='100%'>".$usertext."</td></tr></table></td></tr>";
}
echo "<tr><td colspan=2><table width='100%' align=center cellpadding='0' cellspacing='0'><tr>";
echo "<td width=50% bgcolor='#daddf2'>";
echo "<img src='".THEME."/images/bullet.gif'>
".$area."
".$locale[18].$nkat."<br>\n";
echo "<img src='".THEME."/images/bullet.gif'> ".$locale[19].$strana."<br>\n";
echo "<img src='".THEME."/images/bullet.gif'> ".$locale[20].$code."<br>\n";
echo "<img src='".THEME."/images/bullet.gif'> ".$locale[22].$deldays."<br></td>\n";
echo "<td width=50% bgcolor='#daddf2' align='right' class='infobar2'>";
echo $adress.$tel.$faks.$site.$email."</td></tr></table>";
echo "</td></tr></table>";
} | |