Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Bom dia Galera, esotu com um problema ...
Implatei uma NewsLetter com FCKeditor, a newsletter está funcionando na boa, o texto está sendo formatado certinho,
Quando insiro uma imagem, ela aparece no editor normal, ai quando envio a newsletter essa imagem não aparece, nem aparece o quadrinho com o X vermelho.
O texto vai normal. Mesmo inseriondo o endereço interio da imagem ela não vai...
Por que?
Alguem sabe me responder?
<?
?>
<script>
<!--
document.write(unescape("%3Cscript%20language%3D%22JavaScript%22%20type%3D%22text/javascript%22%3E%0D%0Afunction%20inserts%28text%29%20%7B%0D%0A%20%20%20window.alert%28%22Aten%E7%E3o%3A%5Cn________________________%5Cn%5CnAp%F3s%20voc%EA%20clicar%20no%20OK%20Ir%E1%20aparecer%20um%20c%F3digo%20dentro%20do%20campo%20de%20texto%2C%20nesse%20script%20exisem%20areas%20onde%20voc%EA%20vai%20precisar%20editar%20%E9%20facil%20somente%20substitua%20as%20partes%20onde%20o%20c%F3digo%20pede%2C%20Obrigado.%22%29%3B%0D%0A%09text%20%3D%20%27%20%27%20+%20text%20+%20%27%20%27%3B%0D%0A%09if%20%28document.F1.msg.createTextRange%20%26%26%20document.F1.msg.caretPos%29%20%7B%0D%0A%09%09var%20caretPos%20%3D%20document.F1.msg.caretPos%3B%0D%0A%09%09caretPos.text%20%3D%20caretPos.text.charAt%28caretPos.text.length%20-%201%29%20%3D%3D%20%27%20%27%20%3F%20text%20+%20%27%20%27%20%3A%20text%3B%0D%0A%09%09document.F1.msg.focus%28%29%3B%0D%0A%09%7D%20else%20%7B%0D%0A%09document.F1.msg.value%20%20+%3D%20text%3B%0D%0A%09document.F1.msg.focus%28%29%3B%0D%0A%09%7D%0D%0A%7D%0D%0A%3C/script%3E%0D%0A%3Cscript%3E%0D%0Afunction%20valida%28%29%7B%0D%0Aif%20%28F1.titulo.value%3D%3D%22%22%29%7B%0D%0Aalert%28%22O%20titulo%20est%E1%20em%20branco%22%29%0D%0Areturn%20false%0D%0A%7D%0D%0Aif%20%28F1.msg.value%3D%3D%22%22%29%7B%0D%0Aalert%28%22A%20mensagem%20est%E1%20em%20branco%22%29%0D%0Areturn%20false%0D%0A%7D%0D%0Aelse%7B%0D%0AF1.submit%28%29%0D%0Areturn%20true%0D%0A%7D%0D%0A%7D%0D%0A%0D%0A%0D%0A%3C/script%3E"));
//-->
</script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Newsletter</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.form {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
background-color: #EEF8F9;
border: 1px inset #33CCFF;
}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src="newsletter_logo.jpg" width="778" height="150"></td>
</tr>
<tr>
<td colspan="3"><img src="barra.jpg" width="778" height="20"></td>
</tr>
<tr>
<td width="150" bgcolor="#F7F7F7"> </td>
<td width="520" bgcolor="#F7F7F7"> </td>
<td width="111" bgcolor="#F7F7F7"> </td>
</tr>
<tr>
<td width="150" height="200" valign="top"><? include "menu.php"; ?></td>
<td height="200" colspan="2">
<form action="envia_msg.php" method="post" name="F1">
<table width="771" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<td>
<tr>
<td width="7%"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Assunto:</font></strong></td>
<td width="93%"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<input name="titulo" type="text" class="form">
</font></strong></td>
</tr>
<tr>
<td> </td>
<td><p><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<select name="formatacao" class="form">
<option value="texto">Texto</option>
<option value="html" selected>HTML</option>
</select>
</font></strong></p>
<p>
<?php
if (isset($_POST)){
echo stripslashes($);
}
include("../../fckeditor.php");
// Automatically calculates the editor base path based on the _samples directory.
// This is usefull only for these samples. A real application should use something like this:
// $oFCKeditor->BasePath = '/fckeditor/'; // '/fckeditor/' is the default value.
$sBasePath = $_SERVER['PHP_SELF'];
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) );
$oFCKeditor = new FCKeditor('msg');
$oFCKeditor->BasePath = $sBasePath;
$oFCKeditor->Width = "90%";
$oFCKeditor->Height = "300";
$oFCKeditor->Value = 'Digite seu Texto';
$oFCKeditor->Create();
?>
</p></td>
</tr>
<tr>
<td> </td>
<td bordercolor="#CCCCCC"> </td>
</tr>
<tr>
<td> </td>
<td><input name="button" type="button" class="form" value="Enviar" onClick="valida()"></td>
</tr>
</table>
</form>
<br>
<? include "[http://cidadeelshadai.com.br";](http://cidadeelshadai.com.br) ?> </td>
</tr>
<tr>
<td colspan="2" bgcolor="#F7F7F7"> </td>
<td bgcolor="#F7F7F7"> </td>
</tr>
<tr>
<td colspan="3"><img src="barra.jpg" width="778" height="20"></td>
</tr>
<tr>
<td colspan="3"><img src="redape.jpg" width="778" height="100"></td>
</tr>
</table>
</body>
</html>Carregando comentários...