+----------------------------------------------------+ | Addon News run module main.php | Version 3.2.5 SQLite/MySQL +----------------------------------------------------+ | Released under the terms & conditions of v2 of the | GNU General Public License. For details refer to | the included gpl.txt file or visit http://gnu.org +----------------------------------------------------*/ global $set, $newsmessage; if (file_exists("addons/news/lang/lang_" . $set['language'] . ".php")) { require_once "addons/news/lang/lang_" . $set['language'] . ".php"; } else { require_once "addons/news/lang/lang_en_US.php"; } if ($_POST['submit'] == "sendcomment") { $message = sendcomment(); } if ($_POST['submit'] == "deletecomment") { $message = deletecomment(); } if ($message != "") { $out .= "<p style=\"color: red; font-weight: 600; \">{$message}</p>\n"; } // this function shows the news function shownews($post_integra = 1, $post_cabecalho = 9, $comenta = 0, $categ = -1) { global $newsmessage, $set, $pagenum, $prefix; if ($_GET['action'] == "delete" && is_intval($_GET['id']) && is_intval($_GET['commentid']) && $_SESSION['adminlevel'] > 3) { dbquery("DELETE FROM " . $prefix . "comments WHERE id=" . $_GET['commentid']); } if (isset($_GET['id'])) {
<li><a href="vinos.php">Vinos</a></li> <li><a href="listarecetas.php">Libro de Recetas</a></li> <li><a href="Contacts.php">Contáctos</a></li> <li><a href="user.php">Crear Usuarios</a></li> <li><a href="recetas.php">Agregar Recetas</a></li> </ul> </nav> </header> <article id="content" style="margin-top:65px"> <div class="wrap"> <div class="box" style="width: 482px; margin-left: 246px;"> <div> <h2 class="letter_spacing">Formulario de <span>Contacto</span></h2> <form id="ContactForm" action="<?php sendcomment(); ?> " method="post" enctype="multipart/form-data" onsubmit="return false;"> <thead> <tr> <th> <?php if (!empty($exito)) { echo $exito; } else { return false; } ?> </th> </tr> </thead>