This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $("#selectedall").click(function(e){ // Funcion para seleccionar todos | |
| e.preventDefault(); | |
| var elements = document.getElementsByClassName("myitem"); // Obtenemos los elementos checkbox | |
| for(var i=0;i<elements.length;i++){ // Recorremos los elementos | |
| elements[i].checked = true; // Hacemos TRUE los elementos, para que se activen los checkboxes | |
| } | |
| }); // Termina la funcion para seleccionar todos | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a href="index.php?view=index&opt=new" class="btn btn-default"><i class='glyphicon glyphicon-user'></i> Nuevo</a> | |
| <a href="javascript:void()" id="selectedall" class="btn btn-default"><i class='glyphicon glyphicon-th-list'></i> Seleccionar todos</a> | |
| <a href="javascript:void()" id="delselected" class="btn btn-default"><i class='glyphicon glyphicon-remove'></i> Eliminar seleccionados</a> | |
| <br><br> | |
| <?php | |
| $users = UserData::getAll(); | |
| if(count($users)>0){ | |
| ?> | |
| <div class="box box-primary"> | |
| <table class="table table-bordered datatable table-hover"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>X-EDITABLE - Evilnapsis</title> | |
| <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css"> | |
| <script type="text/javascript" src="js/jquery.min.js"></script> | |
| <script src="js/plotly.min.js"></script> | |
| <script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script> | |
| <script src="bootstrap3-editable/js/bootstrap-editable.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $to = '[email protected]'; // aqui coloca el email de quien recibira el correo | |
| $from_email = '[email protected]'; // $_POST[email] | |
| $subject = 'Evilsys - Mail de Ejemplo'; | |
| $headers = "MIME-Version: 1.0" . "\r\n"; | |
| $headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n"; | |
| $headers .= "From: $from_email" . "\r\n" . | |
| "Reply-To: $from_email" . "\r\n" . | |
| "X-Mailer: PHP/" . phpversion(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| @author evilnapsis | |
| */ | |
| $con = new mysqli("localhost","root","","contactapp"); | |
| if(isset($_GET["opt"]) && $_GET["opt"]=="all"){ | |
| $sql = "select * from contact"; | |
| $query = $con->query($sql); | |
| $data = array(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Powered by http://evilnapsis.com --> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Aplicacion Onsen UI</title> | |
| <link rel="stylesheet" href="onsenui/css/onsenui.css"> | |
| <link rel="stylesheet" href="onsenui/css/onsen-css-components.min.css"> | |
| <script src="jquery.min.js"></script> | |
| <script src="onsenui/js/onsenui.min.js"></script> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Incluimos el archivo de conexion a la base de datos | |
| include "connect.php"; | |
| // La siguiente es la consulta para obtener los productos de la BD | |
| $sql = "select * from product"; | |
| // Nos conectamos a la BD | |
| $con = connect(); | |
| // Ejecutamos la consulta SQL | |
| $query = $con->query($sql); | |
| // Hacemos un recorrido de los resultados y guardamos todo en la variable DATA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="container"> | |
| <div class="section"> | |
| <div class="row"> | |
| <div class="col s12 m4"> | |
| <h3 class="center">EJEMPLO 1</h3> | |
| <img class="responsive-img" src="images/image1.jpg"> | |
| <p>Este es un texto de ejemplo ;)</p> | |
| <div class="center"> | |
| <a class="waves-effect waves-light btn">Button</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="section no-pad-bot" id="index-banner"> | |
| <div class="container"> | |
| <br><br> | |
| <h1 class="header center blue-text">MATERIALIZE CSS</h1> | |
| <div class="center"> | |
| <h5 class="header light">Bienvenido a este ejemplo con Materialize CSS.</h5> | |
| </div> | |
| <br><br> | |
| </div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <nav class="light-blue lighten-1" role="navigation"> | |
| <div class="nav-wrapper container"><a id="logo-container" href="./" class="brand-logo">MATERIALIZE</a> | |
| <ul class="right hide-on-med-and-down"> | |
| <li><a href="./">INICIO</a></li> | |
| <li><a href="#">LINK 1</a></li> | |
| <li><a href="#">LINK 2</a></li> | |
| <li><a href="#">LINK 3</a></li> | |
| </ul> | |
| <ul id="nav-mobile" class="sidenav"> | |
| <li><a href="./">INICIO</a></li> |