PK

ADDRLIN : /HMFS2/WEB/DTC038/v0071350.ferozo.com/public_html/administrador/
FLL :
Current File : //HMFS2/WEB/DTC038/v0071350.ferozo.com/public_html/administrador/contactos.asp

<!--#include file="includes/openconn.asp" -->

<!--#include file="includes/checkadmin.asp" -->

<!DOCTYPE html>
<html lang="en">

<head>

	<!--#include file="includes/metatags.asp" -->

	<link rel="stylesheet" href="lightbox/css/bootstrap-lightbox.min.css">
	<link rel="stylesheet" href="lightbox/prettify/prettify.css">

</head>

<script type="text/javascript">
<!--
function del_confirmation(idcontacto,con_nombre) {
    var answer = confirm("Quiere borrar el cliente " + con_nombre + " ?")
     if (answer){
     	location.href="contacto_del.asp?idcontacto=" + idcontacto;
     }
}
//-->
</script>

<body>

    <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <!-- Brand and toggle get grouped for better mobile display -->
           
           	<!--#include file="includes/navup.asp" -->
            
            <!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
            <%session("seccion") = "Newsletter"%>
            <!--#include file="includes/navizq.asp" -->

            <!-- /.navbar-collapse -->
        </nav>

        <div id="page-wrapper">

            <div class="container-fluid">

                <!-- Page Heading -->
                <div class="row">
                    <div class="col-lg-12">
                        <h1 class="page-header">
                        Contactos</h1>
                        <ol class="breadcrumb">
                          Lista de contactos
                            <li class="active"></li>
                        </ol>
                    </div>
                     
                </div>
                                       
                <!-- /.row -->
                
                <div class="row">
                    <div class="col-lg-12">
<div class="table-responsive">
                      
                      <%dim sqlstr
                  'sqlstr="SELECT Fups.*, Usuarios.nombre, Usuarios.idusuario, Usuarios.apellido FROM Fups LEFT JOIN Usuarios ON Fups.autor = Usuarios.idusuario ORDER BY idFups DESC"
				  sqlstr="SELECT * FROM Contactos ORDER BY con_now DESC"
                  
                  
                  rs.open sqlstr,conn,3,1
				  if rs.EOF then%>
                   <div class="alert alert-danger">
                    <strong>No se encontraron Contactos </strong>Intente nuevamente
                </div>
                <%else
						dim xcant, cantstr
						rs.movefirst%>
                        
                      <table class="table table-bordered table-hover">
                        <thead>
                          <tr>
                            <th>Fecha</th>
                            <th>IP</th>
                            <th>Nombre</th>
                            <th>Email</th>
                            <th>Telefono</th>
                            <th>Comentarios</th>
                            <th width="70px"></th>
                          </tr>
                        </thead>
                        <tbody>
                          <%do until rs.EOF%>
                          <tr>
                            <td><%=rs("con_now")%></td>
                            <td><%=rs("con_ip")%></td>
                            <td><%=rs("con_nombre")%></td>
                            <td><a href="mailto:<%=rs("con_email")%>"><%=rs("con_email")%></a></td>
                            <td><%=rs("con_telefono")%></td>
                            <td><%=rs("con_texto")%></td>
                            <td><a href="contacto_edit.asp?idcontacto=<%=rs("idcontacto")%>" title="Editar Contacto"><i class="fa fa-pencil-square fa-2x"></i></a>&nbsp;<a href="#" onclick="del_confirmation(<%=rs("idcontacto")%>,'<%=rs("con_nombre")%>');" title="Eliminar Contacto"><i class="fa fa-times-circle fa-2x"></i></a></td>
                          </tr>
                          <%rs.movenext
					      loop%>
                        </tbody>
                      </table>
                      <%end if
					  rs.close%>
                    </div>
                      
                	</div>
                </div>
                
                


            </div>
            <!-- /.container-fluid -->

        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->

    <!-- jQuery -->
    <script src="js/jquery.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="js/bootstrap.min.js"></script>

    <!-- LightBox JavaScript -->
	<script src="lightbox/js/scale.fix.js"></script>
	<script src="lightbox/prettify/prettify.js"></script>
	<script src="lightbox/js/bootstrap-lightbox.min.js"></script>
	
</body>

</html>

<!--#include file="includes/closeconn.asp" -->


PK 99