|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/logicswapweb/aplicaciones/admon/noticias/tb_relaciones/ |
Upload File : |
<?
include("../../generales/config_panel.php");
include("../../generales/config_permisos.php");
include("../../generales/operabd.php");
include("met_relaciones.php");
if(isset($insrelacion)) ins_relacion($noticia_id, $noticia_idrelacion);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>adicionar relaciones</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../../css/panel2.css" rel="stylesheet" type="text/css">
<link href="../../css/panel2Contenido.css" rel="stylesheet" type="text/css">
<link href="../../css/scrollbar2.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="610" border="0" align="left" cellpadding="0" cellspacing="0" >
<tr>
<td>
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="1" >
<tr valign="top" bgcolor="#FFFFFF">
<td width="100%" height="20" bgcolor="#CCCCCC" class="migasactivo">
<a id="iniMenu" class="migas" href="../../contenido.php" style="cursor:hand; " onMouseOver="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);" title="Indice de Aplicaciones">Beginning</a>
<span class="migas">/</span>
<a id="op1Menu" class="migas" href="../menu.php" style="cursor:hand; " onMouseover="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);" title="Men� de Noticias">Menu</a>
<span class="migas">/</span>
<a id="op2Menu" class="migas" href="relaciones.php" style="cursor:hand;" onMouseover="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);" >Relaciones </a>
<span class="migas">/</span>Adicionar relaciones
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border=0 align="left" cellpadding=0 cellspacing=0 bgcolor=000099 class="texto1" id="campos">
<tbody>
<tr>
<td align="left" valign="top" bgcolor=#ffffff>
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
<form name="form1">
<tr>
<td height="30" colspan="4"><? btn_aplnoticias($apl_permisos);?></td>
</tr>
<tr>
<td colspan="4">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr align="center" class="filatitulo">
<td width="2%" bgcolor="#000099"><div align="left" class="nombreColum"><b><a onClick="javascript: document.location.href= 'relaciones.php'" title="Volver" style="cursor:hand; width:40"><img src="../../img/atras.gif" style="cursor:hand "></a></b></div></td>
<td width="50%" bgcolor="#000099"><b class="titular1">Título</b></td>
<td width="28%" bgcolor="#000099"><b class="titular1">Tema</b></td>
<td width="20%" bgcolor="#000099" ><b class="titular1">Seleccionar</b></td>
</tr>
<? distitulotema($noticia_id);
listar_relaciones($noticia_id);
?>
<tr>
<td width="2%"> </td>
<td width="50%">----------------------------------------</td>
<td width="20%">---------------------</td>
<td width="28%"> </td>
</tr>
<tr>
<td width="2%"> </td>
<td width="50%" align="center" class="texto1"><strong>Noticias para relacionar</strong></td>
<td width="20%"> </td>
<td width="28%"> </td>
</tr>
<tr>
<td width="2%"> </td>
<td width="50%"> </td>
<td width="20%"> </td>
<td width="28%"> </td>
</tr>
<?
listar_notixrelaciones($noticia_id);
?>
<tr align="center" class="filatitulo">
<td width="2%" bgcolor="#000099"><div align="left" class="nombreColum"><b></b></div></td>
<td width="50%" bgcolor="#000099"> </td>
<td width="20%" bgcolor="#000099"> </td>
<td width="28%" bgcolor="#000099"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
<tr>
<td colspan="4" align="center">
<font size="3" face="Arial, Helvetica, sans-serif">
<input type="button" onClick = envia_datos(<? echo $noticia_id;?>) name="ingresar" value="Ingresar" class="boton1">
<input type="button" onClick = "javascript: document.location.href ='relaciones.php'" name="cancel" value="Cancelar" class="boton1">
</font>
</td>
</tr>
</form>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</body>
<script src="../../generales/genjavascript.js" language="javascript"></script>
<script>
function envia_datos(noticia_id){
notid=GetRadioValue( document.form1.seleccion );
if(notid==null) alert('Debe seleccionar una noticia');
else{
document.form1.submit();
window.location.href='adi_relaciones.php?noticia_id='+noticia_id+'¬icia_idrelacion='+notid+'&insrelacion=1';
}
}
</script>
</html>