Viewing file: contenido_links_traduccion_administracion.php (14.47 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$ia = isset($accion);
if ($ia == false) {
$accion = "x";
}
include('setup_administracion.php');
include('../clases_herramientas/include_acciones.php');
include('pass.php');
$id_app = 63;
?>
<script language="Javascript1.2">
//Directory must end with a '/'
//Examples:
// AK_editor_url = "TextAreaPro/";
AK_editor_url = "";
document.write('<scr' + 'ipt src="' + AK_editor_url+ 'wysiwyg.js" language="Javascript1.2"></scr' + 'ipt>');
</script>
<link href="<?php echo $archivo_css; ?>" rel="stylesheet" type="text/css">
<title><?php echo $nombre_pagina; ?></title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<body bgcolor="<?php echo $color_fondo; ?>" leftmargin="0" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td bgcolor="<?php echo $color_fondo_banner; ?>">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" valign="bottom"><img src="<?php echo $imagen_banner; ?>" width="<?php echo $ancho_banner; ?>" height="<?php echo $alto_banner; ?>"></td>
<td width="50%" valign="bottom" class="texto"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="texto">
<tr>
<td width="25%"><?php include('light_bus.php'); ?><img src="../imagenes/user.gif" width="22" height="28">UR:
<?php echo $user; ?></td>
<td width="25%" align="right"><a href="<?php echo $home_administrador; ?>"><img src="../imagenes/home.gif" alt="Ir al menú principal" width="32" height="29" border="0"></a><a href="#" onClick="MM_callJS('history.go(-1);')"><img src="../imagenes/back.gif" alt="Regresar" width="32" height="29" border="0"></a><a href="#"><img src="../imagenes/help_big.gif" alt="Ayuda General" width="34" height="29" border="0" onClick="MM_openBrWindow('aviso.php?tipo=2&idapp=<?php echo $id_app; ?>','','scrollbars=yes,width=400,height=300')"></a></td>
</tr>
</table></td>
<td width="25%" align="right" valign="bottom" class="texto"> </td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="<?php echo $color_fondo_cuerpo; ?>"><table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
<?php if ($accion == "ins_" or $accion == "edi_") { ?>
<tr>
<td align="center"><a href="contenido_links_administracion.php?user=<?php echo $user; ?>&x_y=<?php echo $x_y; ?>&links_id=<?php echo $o_links_id; ?>&accion=-1&id_app=21">Regresar
a la Edición del Contenido</a></td>
</tr>
<?php } ?>
<?php if ($accion == "x") { ?>
<tr>
<td><form name="form1" method="post" action="contenido_links_traduccion_administracion.php">
<table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
<tr>
<td> </td>
<td colspan="2" align="left" bgcolor="#0099FF"><strong><font color="#FFFFFF">Agregar
Contenido en Otro Idioma</font></strong></td>
<td> </td>
</tr>
<tr>
<td width="25%"> </td>
<td width="25%" align="right" bgcolor="#ECF5FF">Nombre:<font color="#FF0000">*</font></td>
<td width="25%" bgcolor="#ECF5FF">
<input type="text" name="links_traduccion_nombre"></td>
<td width="25%"> </td>
</tr>
<tr>
<td> </td>
<td align="right" bgcolor="#ECF5FF">Idioma:</td>
<td bgcolor="#ECF5FF">
<select name="idioma_id">
<?php $control = new select_v1(0, "idioma_id, idioma_nombre", "contenido_idioma", "idioma_id != 0", 2, 0, "(id)-(nombre)", "<option value=\"(id)\">(nombre)</option>", ""); ?>
</select></td>
<td> </td>
</tr>
<tr>
<td width="25%"> </td>
<td width="25%" align="right" bgcolor="#ECF5FF">Descripción
en lengua foranea:</td>
<td width="25%" bgcolor="#ECF5FF">
<textarea name="links_traduccion_descripcion" id="links_perfil_propiedades"></textarea></td>
<td width="25%"> </td>
</tr>
<tr>
<td> </td>
<td colspan="2" align="center" bgcolor="#ECF5FF">Texto Foraneo:</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td colspan="2" align="center" bgcolor="#ECF5FF">
<textarea cols="40" rows="20" name="MyTextAreaName">
<font size="2" color="#000000">Inserte su texto aqui...</font>
</textarea>
<script language="JavaScript">
//comment any button that you want to hide
var AK_DisplayedButtons = Array(
'FontName',
'FontSize',
'SelectAll',
'Delete',
'Cut',
'Copy',
'Paste',
'SaveAs',
'Print',
'Separator',
'Bold',
'Italic',
'Underline',
'Strikethrough',
'Separator',
'JustifyLeft',
'JustifyCenter',
'JustifyRight',
'JustifyFull',
'Separator',
'InsertOrderedList',
'InsertUnorderedList',
'Outdent',
'Indent',
'Separator',
'SuperScript',
'SubScript',
'Separator',
'InsertHorizontalRule',
'CreateLink',
'Unlink',
'Image',
'Table',
'SpecialChars',
'Separator',
'Forecolor',
'Backcolor',
'Separator',
'Date',
'ChangeMode',
'Separator',
'Help' //the last one has NO comma
);
var AK_width = 600;
var AK_height = 300;
// All fields are optional. Place "null" where you don't want to specify.
//ak_wysiwyg_generator(width, height, "TextAreaName", DisplayedButtonList);
ak_wysiwyg_generator(AK_width, AK_height, "MyTextAreaName", AK_DisplayedButtons);
//Examples:
// ak_wysiwyg_generator(null, null, "MyTextAreaName", AK_DisplayedButtons);
// ak_wysiwyg_generator(AK_width, AK_height, null, AK_DisplayedButtons);
// ak_wysiwyg_generator(AK_width, AK_height, "MyTextAreaName", null);
// It can be no parameter at all
// ak_wysiwyg_generator();
</script></td>
<td> </td>
</tr>
<tr>
<td width="25%"> </td>
<td colspan="2" align="center" bgcolor="#ECF5FF">
<input name="o_links_id" type="hidden" id="id_app3" value="<?php echo $links_id; ?>">
<input name="id_app" type="hidden" id="accion4" value="<?php echo $id_app; ?>">
<input name="accion" type="hidden" id="accion" value="ins_">
<input type="submit" name="Submit" value="Agregar..."> <input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID; ?>">
<input name="user" type="hidden" id="accion" value="<?php echo $user; ?>"></td>
<td width="25%"> </td>
</tr>
</table>
</form></td>
</tr>
<?php } ?>
<?php
$bloqueado = 1;
if ($bloqueado == 0) { ?>
<tr>
<td><strong>2.</strong> Seleccionar Contenido en Otro Idioma</td>
</tr>
<tr>
<td><form name="form2" method="post" action="contenido_idioma_administracion.php">
<table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
<tr>
<td width="25%"> </td>
<td width="50%" align="center">
<select name="links_traduccion_id">
<?php $control = new select_v1(0, "links_traduccion_id, links_traduccion_nombre", "contenido_links_traduccion", "links_traduccion_id != 0", 2, 0, "(id)-(nombre)", "<option value=\"(id)\">(nombre)</option>", ""); ?>
</select>
<select name="accion">
<option value="-1">Editar</option>
<option value="del_">Borrar</option>
</select>
<input type="submit" name="Submit2" value="Ir...">
<input name="id_app" type="hidden" id="id_app" value="<?php echo $id_app; ?>">
<input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID; ?>">
<input name="user" type="hidden" id="accion" value="<?php echo $user; ?>">
</td>
<td width="25%"> </td>
</tr>
</table>
</form></td>
</tr>
<?php } ?>
<?php
if ($accion == "-1") { ?>
<tr>
<td><form name="form3" method="post" action="contenido_links_traduccion_administracion.php">
<table width="100%" border="0" cellspacing="0" cellpadding="6" class="texto">
<tr>
<td> </td>
<td colspan="2" align="left" bgcolor="#0099FF"><font color="#FFFFFF"><strong>Editar
Contenido en Otro Idioma</strong></font></td>
<td> </td>
</tr>
<tr>
<td width="25%"> </td>
<td width="25%" align="right" bgcolor="#ECF5FF">Nombre:</td>
<td width="25%" bgcolor="#ECF5FF">
<input name="links_traduccion_nombre" type="text" value="<?php echo $arreglo->RESULTADOS[0][3]; ?>"></td>
<td width="25%"> </td>
</tr>
<tr>
<td> </td>
<td align="right" bgcolor="#ECF5FF">Idioma:</td>
<td bgcolor="#ECF5FF">
<select name="idioma_id" id="select8">
<?php $control_f = new filtrar_select_edicion("idioma_id, idioma_nombre", "contenido_idioma", "idioma_id != 0", "", "", "links_traduccion_id", "idioma_id", $arreglo->RESULTADOS[0][0], "contenido_links_traduccion", "formato_id"); ?>
</select></td>
<td> </td>
</tr>
<tr>
<td width="25%"> </td>
<td width="25%" align="right" bgcolor="#ECF5FF">Descripción:</td>
<td width="25%" bgcolor="#ECF5FF">
<textarea name="links_traduccion_descripcion" id="textarea"><?php echo $arreglo->RESULTADOS[0][4]; ?></textarea></td>
<td width="25%"> </td>
</tr>
<tr>
<td> </td>
<td colspan="2" align="center" bgcolor="#ECF5FF">Texto:</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td colspan="2" align="center" bgcolor="#ECF5FF">
<textarea cols="40" rows="20" name="MyTextAreaName">
<?php echo $arreglo->RESULTADOS[0][5]; ?>
</textarea>
<script language="JavaScript">
//comment any button that you want to hide
var AK_DisplayedButtons = Array(
'FontName',
'FontSize',
'SelectAll',
'Delete',
'Cut',
'Copy',
'Paste',
'SaveAs',
'Print',
'Separator',
'Bold',
'Italic',
'Underline',
'Strikethrough',
'Separator',
'JustifyLeft',
'JustifyCenter',
'JustifyRight',
'JustifyFull',
'Separator',
'InsertOrderedList',
'InsertUnorderedList',
'Outdent',
'Indent',
'Separator',
'SuperScript',
'SubScript',
'Separator',
'InsertHorizontalRule',
'CreateLink',
'Unlink',
'Image',
'Table',
'SpecialChars',
'Separator',
'Forecolor',
'Backcolor',
'Separator',
'Date',
'ChangeMode',
'Separator',
'Help' //the last one has NO comma
);
var AK_width = 600;
var AK_height = 300;
// All fields are optional. Place "null" where you don't want to specify.
//ak_wysiwyg_generator(width, height, "TextAreaName", DisplayedButtonList);
ak_wysiwyg_generator(AK_width, AK_height, "MyTextAreaName", AK_DisplayedButtons);
//Examples:
// ak_wysiwyg_generator(null, null, "MyTextAreaName", AK_DisplayedButtons);
// ak_wysiwyg_generator(AK_width, AK_height, null, AK_DisplayedButtons);
// ak_wysiwyg_generator(AK_width, AK_height, "MyTextAreaName", null);
// It can be no parameter at all
// ak_wysiwyg_generator();
</script></td>
<td> </td>
</tr>
<tr>
<td width="25%"> </td>
<td colspan="2" align="center" bgcolor="#ECF5FF">
<input name="o_links_id" type="hidden" id="id_app3" value="<?php echo $arreglo->RESULTADOS[0][1]; ?>">
<input name="links_traduccion_id" type="hidden" id="accion3" value="<?php echo $arreglo->RESULTADOS[0][0]; ?>">
<input name="accion" type="hidden" id="accion2" value="edi_">
<input type="submit" name="Submit3" value="Editar..."> <input name="id_app" type="hidden" id="id_app2" value="<?php echo $id_app; ?>">
<input name="x_y" type="hidden" id="accion" value="<?php echo $uid->UID; ?>">
<input name="user" type="hidden" id="accion" value="<?php echo $user; ?>"></td>
<td width="25%"> </td>
</tr>
</table>
</form></td>
</tr>
<?php } ?>
</table></td>
</tr>
<tr>
<td align="center" bgcolor="<?php echo $color_fondo_pie; ?>" class="textopequeno"><?php echo $nombre_cliente; ?><br>
Todos los Derechos Reservados para NRG<br>
Bogotá, Colombia, S.A. <?php echo $ano_vig; ?><br>
<a href="../../documentacion/terminos.htm">Terminos de Uso</a> <strong>I</strong>
<a href="../../documentacion/terms.htm">Terms of Use</a></td>
</tr>
</table>
|