Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/03/2004, 06:37
Chusito
 
Fecha de Ingreso: enero-2004
Mensajes: 10
Antigüedad: 20 años, 3 meses
Puntos: 0
Problema. Agradeceria me echarais una mano. ¡¡¡Graciaasss!!!

Tego esta funcion:


function WeditStory($autonumerico,$ok) {//inicio funcion
global $user, $bgcolor1, $bgcolor2, $autonumerico, $prefix, $dbi, $multilingual, $subject, $descripcionerror, $descripcionsolucion, $observaciones, $fechasubidoinforma, $topic, $notes, $secciondit ;

include ('ZheaderAdministrador.php');
OpenTable();
echo "<br><a href=\"ZsearchAdministradores.php\"><b><U>Atrás</U></b></a></font><br><font class=\"content\">";
echo "<center><font class=\"titulo\"><b>EDICION DE INCIDENCIAS</b></font></center>";
CloseTable();
echo "<br>";
$result = sql_query("SELECT catid, aid, time, title, hometext, bodytext, topic, informant, notes, haspoll, pollID FROM $prefix"._gesstories." where sid=$autonumerico", $dbi);
list($catid, $aid, $time, $title, $hometext, $bodytext, $topic, $informant, $notes, $haspoll, $pollID) = sql_fetch_row($result, $dbi);

OpenTable();
echo "<center><font class=\"option\"><b>INCIDENCIA Nº: $sid</b></font></center><br>"
."<table width=\"80%\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>"
."<table width=\"100%\" border=\"0\" cellpadding=\"8\" cellspacing=\"1\" bgcolor=\"$bgcolor1\"><tr><td>";
//la funcion themepreview esta en mainfile.php
themepreview($title, $hometext, $bodytext, $notes);
echo "</td></tr></table></td></tr></table><br><br>";
echo "<form action=\"ZsearchAdministradores.php\" method=\"post\">";
echo "<br>";
echo "<b>"._TITLE."</b><br>";
echo "<input type=\"text\" name=\"subject\" size=\"125\" value=\"$title\">";
echo "</select>";
echo "<br>";
$cat = $catid;
echo "<br><br><b>DESCRIPCION ERROR</b><br>";
echo "<textarea wrap=\"virtual\" cols=\"125\" rows=\"7\" name=\"descripcionerror\">$hometext</textarea><br><br>";
echo "<b>DESCRIPCION SOLUCION</b><br>";
echo "<textarea wrap=\"virtual\" cols=\"125\" rows=\"10\" name=\"descripcionsolucion\">$bodytext</textarea><br><br>";
echo "<b>OBSERVACIONES</b><br>";
echo "<textarea wrap=\"virtual\" cols=\"125\" rows=\"10\" name=\"observaciones\">$notes</textarea><br><br>";

/////////////////////////////////////////////////////
echo "<br><br>"
//."<textarea wrap=\"virtual\" cols=\"50\" rows=\"4\" name=\"notes\">$notes</textarea><br><br>"
."<input type=\"hidden\" NAME=\"autonumerico\" size=\"50\" value=\"$autonumerico\">"
."<input type=\"hidden\" name=\"op\" value=\"ChangeStory\">"
."<input type=\"submit\" value=\""._SAVECHANGES."\">"
."</form>";

CloseTable();
include ('Zfooter.php');

}//fin funcion


No se porque razon el boton no ejecuta la llamada a ChangeStory. Agradeceria vuestra ayuda.

Gracias