echo "<script src='../view/js/classie.js'></script>"; echo "<script src='../view/js/notificationFx.js'></script>"; echo '<script>(function(){ var bttn= document.getElementById("btntemp"); var svgshape = document.getElementById( "notification-shape" ); $(document).ready(function(){ setTimeout( function() { var notification = new NotificationFx({'; echo "wrapper: svgshape,"; echo "message : '"; echo '<p>Usuario registrado correctamente</p>'; echo "',"; echo "layout : 'other',\r\n\t\t\t\t\t\t\t\tttl : 6000,\r\n\t\t\t\t\t\t\t\teffect : 'loadingcircle',\r\n\t\t\t\t\t\t\t\ttype : 'notice',\r\n\t\t\t\t\t\t\t\tonClose : function() {\r\n\t\t\t\t\t\t\t\t\tdocument.location='../index.html#tologin';\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tnotification.show();\r\n\t\t\t\t\t\t}, 300);\r\n\t\t\t\t\t} );\r\n\t\t\t\t})();\r\n\t\t\t\t</script>"; } } else { $users = new csUsers(array($_POST['txtusuario1'], $password, 'usuario', $_POST['txtnombre'], $_POST['txtapellidos'], $_POST['txtcorreo'], '')); $users->addUser(); echo "\r\n\t\t\t\t<link rel='stylesheet' href='../view/styles/normalize.css'/>\r\n\t\t\t\t<link rel='stylesheet' href='../view/styles/ns-default.css'/>\r\n\t\t\t\t<link rel='stylesheet' href='../view/styles/ns-style-other.css'/>\r\n\t\t\t\t<link rel='stylesheet' href='../view/styles/login.css'/>\r\n\t\t\t\t<script type='text/javascript'src='../view/js/modernizr.custom.js'></script>\r\n\t\t\t\t<script type=text/javascript src='../view/js/jquery-1.7.min.js'></script>\r\n\t\t\t\t<script type=text/javascript src='../view/js/jquery.easing.1.3.js'></script>"; echo "<div id='content' style='width:100%;height:100%; position:absolute'>"; echo '<div class="notification-shape shape-progress" id="notification-shape"> <svg width="70px" height="70px"><path d="m35,2.5c17.955803,0 32.5,14.544199 32.5,32.5c0,17.955803 -14.544197,32.5 -32.5,32.5c-17.955803,0 -32.5,-14.544197 -32.5,-32.5c0,-17.955801 14.544197,-32.5 32.5,-32.5z"/></svg> </div>'; echo "<button type='button' id='btntemp' style='display:none'></button></div>"; echo "<script src='../view/js/classie.js'></script>"; echo "<script src='../view/js/notificationFx.js'></script>"; echo '<script>(function(){ var bttn= document.getElementById("btntemp"); var svgshape = document.getElementById( "notification-shape" ); $(document).ready(function(){ setTimeout( function() { var notification = new NotificationFx({';
</li> <li><a href="../content.php"><span class="fa fa-home"></span>Inicio</a></li> <li><a href="#" class="active"><span class="fa fa-gears"></span>Administración</a></li> </ul> <!----> <div class="actions-container"> <div class="col-md-11 animate fadeIn" id="admusers"> <div class="grid simple"> <div class="grid-title no-border"> <h4>Administrar <span class="semi-bold">usuarios</span></h4> <div class="tools"> <a href="javascript:;" class="collapse"></a></div> </div> <div class="grid-body no-border"> <? include_once('../../model/csUsers.php'); $users= new csUsers(NULL); $userstable= $users->listUsers('select*from Users order by iduser'); echo '<table class="data-table" id="userstable"> <thead> <tr> <th></th> <th id="image"></th> <th id="name">Nombre</th> <th id="lastname">Apellido(s)</th> <th id="username">Usuario</th> <th id="level">Perfil</th> <th id="email">e-mail</th> <th id="active">Activo</th> </tr> </thead> <tbody>';