Meti el este codigo:
<html>
<body>
<style type="text/css">
html, body
{
font-family: Arial; margin-top:0px; margin-bottom:0px;
}
td.g11
{
width: 11px;
height: 31px;
font-size: 1px;
background-image: url('b11.gif');
background-repeat: no-repeat;
}
td.g12
{
height: 31px;
font-size: 1px;
background-image: url('b12.gif');
background-repeat: repeat-x;
}
td.g13
{
width: 11px;
height: 31px;
font-size: 1px;
background-image: url('b13.gif');
background-repeat: no-repeat;
}
td.g21
{
width: 11px;
font-size: 1px;
background-image: url('b21.gif');
background-repeat: repeat-y;
}
td.g22
{
text-align: center;
vertical-align: top;
}
td.g23
{
width: 11px;
font-size: 1px;
background-image: url('b23.gif');
background-repeat: repeat-y;
}
td.g31
{
width: 11px;
height: 11px;
font-size: 1px;
background-image: url('b31.gif');
background-repeat: no-repeat;
}
td.g32
{
height: 11px;
font-size: 1px;
background-image: url('b32.gif');
background-repeat: repeat-x;
}
td.g33
{
width: 11px;
height: 11px;
font-size: 1px;
background-image: url('b33.gif');
background-repeat: no-repeat;
}
input.button{
font-size: 11px;
}
</style>
<script type="text/javascript">
function checkDisabled()
{
if (document.getElementById('anrphonenr').value!="" && document.getElementById('bnrphonenr').value!="" && document.getElementById('callbutton').disabled)
{
document.getElementById('callbutton').disabled = false;
}
else if (!document.getElementById('callbutton').disabled && (document.getElementById('anrphonenr').value=="" || document.getElementById('bnrphonenr').value==""))
{
document.getElementById('callbutton').disabled = true;
}
return true;
}
</script>
<form method="post" action="callpanel.php" style="padding: 0px; margin: 0px;">
<input type="hidden" name="action" value="initcall">
<table border="0" cellpadding="0" cellspacing="0" style="height: 164px;">
<tr>
<td nowrap width="100%" style="vertical-align: top; width: 100%;">
<span style="font-family: Arial;font-size: 12px; font-weight: bold;">Tu numero de telefono </span></td>
</tr>
<tr>
<td style="width: 100%;">
<input type="text" class="textfield" style="border: 1px solid #000000;" name="anrphonenr" size="20" value="" onkeyup="return checkDisabled();" onchange="return checkDisabled();" id="anrphonenr">
</td>
</tr>
<tr>
<td style="font-size: 1px;"> <br></td>
</tr>
<tr>
<td nowrap>
<span style="font-family: Arial;font-size: 12px; font-weight: bold;">Su numero de telefono </span></td>
</tr>
<tr>
<td style="width: 100%;">
<input type="text" class="textfield" style="border: 1px solid #000000;" name="bnrphonenr" size="20" value="" onkeyup="return checkDisabled();" onchange="return checkDisabled();" id="bnrphonenr">
<input class="button" type="submit" value="Call!" id="callbutton">
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</form>
<script type="text/javascript">
checkDisabled();
</script>
Y lo convirtio en este:
<?php
#### Generated by Block Creator by Disipal Site (
www.disipal.net) ###
if (eregi("block-Block_Creator.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content = " <html>";
$content .= "body>";
$content .= "<style type=\"text/css\">";
$content .= " html, body ";
$content .= " { ";
$content .= " font-family: Arial; margin-top:0px; margin-bottom:0px;";
$content .= " }";
$content .= " td.g11";
$content .= " {";
$content .= " width: 11px;";
$content .= " height: 31px;";
$content .= " font-size: 1px;";
$content .= " background-image: url('b11.gif');";
$content .= " background-repeat: no-repeat;";
$content .= " }";
$content .= " td.g12";
$content .= " { ";
$content .= " height: 31px;";
$content .= " font-size: 1px;";
$content .= " background-image: url('b12.gif');";
$content .= " background-repeat: repeat-x;";
$content .= " } ";
$content .= " td.g13";
$content .= " {";
$content .= " width: 11px;";
$content .= " height: 31px;";
$content .= " font-size: 1px;";
$content .= " background-image: url('b13.gif');";
$content .= " background-repeat: no-repeat;";
$content .= " }";
$content .= " td.g21";
$content .= " { ";
$content .= " width: 11px;";
$content .= " font-size: 1px;";
$content .= " background-image: url('b21.gif');";
$content .= " background-repeat: repeat-y;";
$content .= " } ";
$content .= " td.g22";
$content .= " {";
$content .= " text-align: center;";
$content .= " vertical-align: top; ";
$content .= " }";
$content .= " td.g23";
$content .= " { ";
$content .= " width: 11px;";
$content .= " font-size: 1px;";
$content .= " background-image: url('b23.gif');";
$content .= " background-repeat: repeat-y;";
$content .= " } ";
$content .= " ";
$content .= " td.g31";
$content .= " {";
$content .= " width: 11px;";
$content .= " height: 11px;";
$content .= " font-size: 1px;";
$content .= " background-image: url('b31.gif');";
$content .= " background-repeat: no-repeat;";
$content .= " }";
$content .= " td.g32";
$content .= " { ";
$content .= " height: 11px;";
$content .= " font-size: 1px;";
$content .= " background-image: url('b32.gif');";
$content .= " background-repeat: repeat-x;";
$content .= " } ";
$content .= " td.g33";
$content .= " {";
$content .= " width: 11px;";
$content .= " height: 11px;";
$content .= " font-size: 1px;";
$content .= " background-image: url('b33.gif');";
$content .= " background-repeat: no-repeat;";
$content .= " } ";
$content .= " input.button{";
$content .= " font-size: 11px;";
$content .= " }";
$content .= "</style>";
$content .= "script type=\"text/javascript\">";
$content .= "function checkDisabled()";
$content .= "";
$content .= "if (document.getElementById('anrphonenr').value!=\"\" && document.getElementById('bnrphonenr').value!=\"\" && document.getElementById('callbutton').disabled)";
$content .= "{";
$content .= " document.getElementById('callbutton').disabled = false; ";
$content .= "}";
$content .= "else if (!document.getElementById('callbutton').disabled && (document.getElementById('anrphonenr').value==\"\" || document.getElementById('bnrphonenr').value==\"\"))";
$content .= "{";
$content .= " document.getElementById('callbutton').disabled = true;";
$content .= "} ";
$content .= "return true;";
$content .= "";
$content .= "/script> ";
$content .= "form method=\"post\" action=\"callpanel.php\" style=\"padding: 0px; margin: 0px;\">";
$content .= "input type=\"hidden\" name=\"action\" value=\"initcall\">";
$content .= " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"height: 164px;\">";
$content .= " <tr>";
$content .= " <td nowrap width=\"100%\" style=\"vertical-align: top; width: 100%;\">";
$content .= " <span style=\"font-family: Arial;font-size: 12px; font-weight: bold;\">Tu numero de telefono </span></td>";
$content .= " </tr>";
$content .= " <tr>";
$content .= " <td style=\"width: 100%;\">";
$content .= " <input type=\"text\" class=\"textfield\" style=\"border: 1px solid #000000;\" name=\"anrphonenr\" size=\"20\" value=\"\" onkeyup=\"return checkDisabled();\" onchange=\"return checkDisabled();\" id=\"anrphonenr\">";
$content .= " </td>";
$content .= " </tr>";
$content .= " <tr>";
$content .= " <td style=\"font-size: 1px;\"> <br></td>";
$content .= " </tr>";
$content .= " <tr>";
$content .= " <td nowrap>";
$content .= " <span style=\"font-family: Arial;font-size: 12px; font-weight: bold;\">Su numero de telefono </span></td>";
$content .= " </tr>";
$content .= " <tr>";
$content .= " <td style=\"width: 100%;\">";
$content .= " <input type=\"text\" class=\"textfield\" style=\"border: 1px solid #000000;\" name=\"bnrphonenr\" size=\"20\" value=\"\" onkeyup=\"return checkDisabled();\" onchange=\"return checkDisabled();\" id=\"bnrphonenr\">";
$content .= " <input class=\"button\" type=\"submit\" value=\"Call!\" id=\"callbutton\">";
$content .= " </td>";
$content .= " </tr>";
$content .= " <tr>";
$content .= " <td> </td> ";
$content .= " </tr> ";
$content .= " </table>";
$content .= "</form>";
$content .= "script type=\"text/javascript\">";
$content .= "heckDisabled();";
$content .= "/script> ";
$content .= "/body>";
$content .= "/html>";
?>
Pero en el bloque me sale:
body>script type="text/javascript">function checkDisabled()if (document.getElementById('anrphonenr').value!="" && document.getElementById('bnrphonenr').value!="" && document.getElementById('callbutton').disabled){ document.getElementById('callbutton').disabled = false; }else if (!document.getElementById('callbutton').disabled && (document.getElementById('anrphonenr').value=="" || document.getElementById('bnrphonenr').value=="")){ document.getElementById('callbutton').disabled = true;} return true;/script> form method="post" action="callpanel.php" style="padding: 0px; margin: 0px;">input type="hidden" name="action" value="initcall">
Tu numero de telefono
Su numero de telefono
script type="text/javascript">heckDisabled();/script> /body>/html>
me sobra todo eso menos lo de tu numero de telefono y su numero de telefono, checalo por favor.