<%@ $Language=JScript /* PARA COLORES PHP */ %><% include("../includes/DB_Conectar.php"); //include("../includes/inc_auth.php"); include("../includes/funciones.php"); //aca proceso las posibilidades if($template!="" && $accion=="Guardar") { //actualizo y desactivo $squpdate = "update cssTemplates set temActivo = 'N'"; $qrupdate = $conn->execute($squpdate); //ahora actualizo y activo el que queda $squpdate = "update cssTemplates set temActivo = 'S' where temID = '$template'"; $qrupdate = $conn->execute($squpdate); $msje=$I_dataupdated; } %> <%=$I_administration%> <%include("menu.php");%>
<%if($msje!=""){%> <%}%>

<%=$I_templates%>

<%=$msje%>
 
<% $sql = "select * from cssTemplates"; $qry = $conn->execute($sql) %>
 
<%=$I_template%>
<% while(!$qry->eof) { %> <% $qry->movenext(); } %>
field(temActivo)=="S"){ echo " checked"; } %> name=template value='<%=$qry->field(temID)%>'><%=$qry->field(temNombre)%>


<%if($id!=""){%> <%} else{%> <%}%>