} $pin = 0; if (isset($repuesta->i) && $repuesta->i == 1) { $pin = 1; } $block = 0; if (isset($repuesta->l) && $repuesta->l == 1) { $block = 1; } $_SESSION['allowdelete'] = 1; //$w= addslashes($w); //$w=addcslashes($w, "'"); //die("prueba ".addslashes($w)); echo '<a class="aTool" id="cf' . $xr . '" title="Eliminar ' . $strReMe . '" OnMouseUP="fConfirmDelete(this.id,' . $xr . ',\'' . $cnfHome . 'w.php?q=4&t=' . $xr . '&w=' . $pathForumTotal . $auxBlog . fReconvert(utf8_encode($w), 1) . '&y=' . $pin . '\')" >Eliminar ' . $strReMe . '</a>'; echo '<div style="float:left;" id="dc' . $xr . '" ></div>'; echo '<a class="aTool" id="ed' . $xr . '" title="Editar ' . $strReMe . '" OnMouseUP="fEdit(\'' . fReconvert($repuesta->t, 1) . '\',' . $pin . ',' . $block . ',\'' . fReconvert($repuesta->g, 1) . '\',this.id,' . $xr . ',\'' . $cnfHome . 'w.php?q=5&t=' . $xr . '&w=' . $pathForumTotal . $auxBlog . utf8_encode(fReconvert($w, 1)) . '\')" > Editar ' . $strReMe . '</a> '; echo '</div>'; } } } } $xr++; } if ($alg == 0) { header("refresh:0;url=" . $cnfHome . $pathForumTotal . "/?" . $w); } if (isset($_SESSION['iduserx'])) { if ($repuesta->l != "1" || $_SESSION['iduserx'] == $cnfAdm || $_SESSION['iduserx'] == $forumMod) { ?> <form class="formBlitz2" name="answer" id="answer" method="post" action="<?php echo $cnfHome . "w.php?q=2&t=" . $xr . "&w=" . $pathForumTotal . $auxBlog . utf8_encode($w);
$xml2->appendChild($xml_document2); } $xml2->save("i.xml"); } } unset($_SESSION['answer']); unset($_SESSION['body']); unset($_SESSION['title']); unset($_SESSION['tag']); unset($_SESSION['uploadedText']); unset($_SESSION['onclickMultiple']); if (str_word_count($e, 0) > 199) { header("refresh:2;url=" . $cnfHome . utf8_decode($_GET['t']) . "/" . $strLink . html_entity_decode(fReconvert($fileName), 0) . $strLinkEnd); die($lngSwarnVote . ' :)'); } else { die(header("refresh:0;url=" . $cnfHome . utf8_decode($_GET['t']) . "/" . $strLink . html_entity_decode(fReconvert($fileName), 0) . $strLinkEnd)); } } else { if ($q == 2) { //MAILKIN if ($no != "0" && strpos($xml->getElementsByTagName("n")->item(0)->nodeValue, $_SESSION['iduserx'] . ",", 0) === false) { $xml->getElementsByTagName("n")->item(0)->nodeValue = $xml->getElementsByTagName("n")->item(0)->nodeValue . "," . $_SESSION['iduserx']; } $notification = $xml->getElementsByTagName("n")->item(0)->nodeValue; if ($notification != "0") { foreach (explode(",", $notification) as $line) { if ($line != $_SESSION['iduserx']) { $titulo = '' . $lngNewAnswer . ''; $mensaje = $lngNewAnswer2 . ': ' . $cnfHome . str_replace("/", "/" . $strLink, utf8_decode($_GET['w'])) . $strLinkEnd . "#" . $t; $cabeceras = 'From: ' . $cnfEmail . '' . "\r\n" . 'Reply-To: ' . $cnfEmail . '' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); $emailNot = fGetUser($line, 3);