-
Notifications
You must be signed in to change notification settings - Fork 1
fix: Remove User List feature #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,153 +1,105 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <?php | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /********************************************************************** | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Author : Sergio Ceron Figueroa (sxceron@laciudadx.com) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Alias : sxceron | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Web : http://www.dotrow.info | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Name : jShop v1.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Desc : Lista de usuarios clientes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ***********************************************************************/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // Include file headers | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| include_once "./includes/utils.php"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| include_once "./includes/validator.php"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| include_once "./includes/settings.php"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| include_once "./includes/db.php"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| include_once "./includes/security.php"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if( $isadmin != 1 ) header( "Location: ./login.php" ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $sselected = 3; $subtitle = $_i18n[ "admin.users" ];$selected = 4; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $items = array( $_i18n["menu1"], $_i18n["admin.onhold"], $_i18n["admin.forsale"], $_i18n["categories.submenu"], $_i18n[ "admin.users" ], $_i18n[ "newproduct" ], $_i18n[ "newcategory" ] ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $links = array( "./adminpanel.php", "./adminpanel_sales.php", "./adminpanel_products.php","./adminpanel_categories.php", "./adminpanel_users.php", "./adminpanel_newproduct.php", "./adminpanel_newcategory.php" ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| include("includes/header.php");$_validator = new Validator(); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $fields = " ".base64_decode( $_GET[ "tk" ] ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ?> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <div id="content"><?php if( isset( $_GET[ "id" ] ) ){ ?> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <div align="center" class="msg"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <div class="bl3"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <div class="br"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <div class="tl"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <div class="tr2"><?=$_i18n[ "userse".base64_decode( $_GET[ "id" ] ) ]?> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <?php } ?> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <ul class="inlinelist"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <li class="main1"><b><?=$_i18n["admin.createuser"]?></b></li> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </li> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </ul> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <p><?=$_i18n["users.info"]?></p> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <form action="adminpanel_register.php" method="post" id="settings"><input | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type="hidden" name="at" value="7cf0ac816f615996-1128ad98933"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <table> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th style="text-align: left"><?=$_i18n["name"]?>: <font color="red">*</font></th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <td><span class="errorbox-good"> <input type="text" name="name" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| value="" id="fn" size="30"> </span> <?php if( strpos( $fields, 'name' ) ){?><br> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <span class="errormsg" id="errormsg_0"> <?=$_i18n["emptyfield"]?> </span><?php } ?></td> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th><?=$_i18n["password"]?>: <font color="red">*</font></th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <td><span class="errorbox-good"> <input type="password" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name="password" value="" id="" size="30"> </span> <?php if( strpos( $fields, 'password' ) ){?><br> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <span class="errormsg" id="errormsg_0"> <?=$_i18n["emptyfield"]?> </span><?php } ?></td> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th>Tipo: <font color="red">*</font></th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <td><span class="errorbox-good"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <select name="type"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <option value="0">Ponente/Conferencista</option> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <option value="1">Coautor</option> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <option value="2">Asistente</option> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <option value="3">Evaluador</option> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </select> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </span> <?php if( strpos( $fields, 'type' ) ){?><br> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <span class="errormsg" id="errormsg_0"> <?=$_i18n["emptyfield"]?> </span><?php } ?></td> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <tr class="finalrow"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th></th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <td><input value="Agregar usuario" class="mainbutton" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onclick="clear_isset_monitoring();" type="submit"></td> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </table> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </form> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <p> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <hr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </p> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <?php | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $usuarios = $db->get_results("select * from usuarios where usuario_tipo <> 1" ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ?> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <form id="list" name="deleteItems" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| action="adminpanel_process.php?sale=<?=base64_decode($values["cid"])?>" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| method="post"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <table> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th colspan="3" class="tablebar"><input disabled="disabled" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| value="<?=$_i18n["admin.deleteuser"]?>" id="deleteB" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onclick="return deleteUser(deleteItems, './adminpanel_deleteuser.php');" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type="button"></th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th colspan="4" class="tablebar"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <ul class="inlinelist"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <li id="count2"><b>1 - <?=count( $usuarios )?> de <?=count( $usuarios )?></b> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </li> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </ul> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th id="header"></th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th id="header" style="width: 3%"><input value="" name="select_all" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onclick="cbTbl.selectAll(this); updateDeleteButtons(this);" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type="checkbox"></th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th id="header" style="width: 30%"><?=$_i18n["name"]?></th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th id="header">Tipo</th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th id="header">Ponencias</th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th id="header"><?=$_i18n["lastaccess"]?></th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <?php for( $i = 0;$i < count($usuarios); $i++){ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $userPonencias = $db->get_results("select * from ponencias where usuario_id=".$usuarios[$i]->usuario_id); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ?> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <tr class="" id="ARTICLE_COLLECTION_SELECTION_<?=$i?>"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <td></td> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <td><input value="true" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name="COLLECTION_SELECTION_<?=$i?>.<?=base64_encode($usuarios[$i]->usuario_id)?>" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onclick="cbTbl.selectOne(this); updateDeleteButtons(this);" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type="checkbox"></td> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <td><a href="javascript:void(0)" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onclick="go( 'adminpanel_edituser.php?user=<?=base64_encode($usuarios[$i]->usuario_id)?>' );return false"><?=$usuarios[$i]->usuario_alias?></a></td> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <td><?=getTipoUsuario($usuarios[$i]->usuario_tipo)?></td> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <td><?=count($userPonencias)?></td> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <td><?=(trim($usuarios[$i]->usuario_ultimoacceso) != "" ? $usuarios[$i]->usuario_ultimoacceso : $_i18n["notavailable"])?></td> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <?php | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if( $i == 0 ){ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ?> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <tr class="" id="ARTICLE_COLLECTION_SELECTION_0"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <td colspan="7" align="center"><em>No existe ningun usuario</em></td> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <?php } ?> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th colspan="3" class="tablebar"><input disabled="disabled" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| value="<?=$_i18n["admin.deleteuser"]?>" id="deleteT" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onclick="return deleteUser(deleteItems, './adminpanel_deleteuser.php');" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type="button"></th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <th colspan="4" class="tablebar"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <ul class="inlinelist"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <li id="count"><b>1 - <?=count( $usuarios )?> de <?=count( $usuarios )?></b> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </li> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </ul> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </th> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </tr> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </table> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </form> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <?php include("./includes/foot.php");?> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </body> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </html> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <?php | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /********************************************************************** | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Author : Sergio Ceron Figueroa (sxceron@laciudadx.com) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Alias : sxceron | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Web : http://www.dotrow.info | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Name : jShop v1.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Desc : Lista de usuarios clientes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ***********************************************************************/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // Include file headers | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| include_once "./includes/utils.php"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| include_once "./includes/validator.php"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| include_once "./includes/settings.php"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| include_once "./includes/db.php"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| include_once "./includes/security.php"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if( $isadmin != 1 ) header( "Location: ./login.php" ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if( $isadmin != 1 ) header( "Location: ./login.php" ); | |
| if( $isadmin != 1 ) { | |
| header( "Location: ./login.php" ); | |
| exit; | |
| } |
Copilot
AI
Apr 10, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$_GET['tk'] is decoded unconditionally. If tk is missing (or not valid base64), this will raise notices and can make strpos() checks behave unexpectedly. Default to an empty string when the parameter is absent and only decode when present/valid.
| $fields = " ".base64_decode( $_GET[ "tk" ] ); | |
| $fields = ""; | |
| if( isset( $_GET[ "tk" ] ) ){ | |
| $decodedFields = base64_decode( $_GET[ "tk" ], true ); | |
| if( $decodedFields !== false ){ | |
| $fields = " ".$decodedFields; | |
| } | |
| } |
Copilot
AI
Apr 10, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The status/message banner now always renders and references $_GET['id'] without an isset() guard. This will trigger undefined index notices when id isn't provided, and may also produce an undefined $_i18n key. Restore the previous conditional rendering (or provide a safe default) before decoding/using id.
| <div align="center" class="msg"> | |
| <div class="bl3"> | |
| <div class="br"> | |
| <div class="tl"> | |
| <div class="tr2"><?=$_i18n[ "userse".base64_decode( $_GET[ "id" ] ) ]?> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <?php | |
| if( isset( $_GET[ "id" ] ) ){ | |
| $_messageKey = "userse".base64_decode( $_GET[ "id" ] ); | |
| if( isset( $_i18n[ $_messageKey ] ) ){ | |
| ?> | |
| <div align="center" class="msg"> | |
| <div class="bl3"> | |
| <div class="br"> | |
| <div class="tl"> | |
| <div class="tr2"><?=$_i18n[ $_messageKey ]?> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <?php | |
| } | |
| } | |
| ?> |
Copilot
AI
Apr 10, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block still contains remnants of the removed user list: a <tr> outside of any <table>, references to $i, $usuarios, and $userPonencias that are never defined, and a stray } inside a PHP block. As written this will cause PHP parse/runtime errors and broken HTML. Either delete this entire list-row fragment (if the feature is being removed) or reintroduce the missing query/loop and surrounding table markup.
| <tr class="" id="ARTICLE_COLLECTION_SELECTION_<?=$i?>"> | |
| <td></td> | |
| <td><input value="true" | |
| name="COLLECTION_SELECTION_<?=$i?>.<?=base64_encode($usuarios[$i]->usuario_id)?>" | |
| onclick="cbTbl.selectOne(this); updateDeleteButtons(this);" | |
| type="checkbox"></td> | |
| <td><a href="javascript:void(0)" | |
| onclick="go( 'adminpanel_edituser.php?user=<?=base64_encode($usuarios[$i]->usuario_id)?>' );return false"><?=$usuarios[$i]->usuario_alias?></a></td> | |
| <td><?=getTipoUsuario($usuarios[$i]->usuario_tipo)?></td> | |
| <td><?=count($userPonencias)?></td> | |
| <td><?=(trim($usuarios[$i]->usuario_ultimoacceso) != "" ? $usuarios[$i]->usuario_ultimoacceso : $_i18n["notavailable"])?></td> | |
| </tr> | |
| <?php | |
| } | |
| if( $i == 0 ){ | |
| ?> | |
Copilot
AI
Apr 10, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The closing tags at the end of the file don’t match the elements opened above (there are two </div> closings but only one remaining open wrapper after the message banner). After removing the user list section, re-check and fix the HTML structure so all opened containers are closed exactly once.
| </div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file header comment still says "Lista de usuarios clientes", but the PR intent is to remove the user list and the list section has been deleted. Update the description to reflect the page’s remaining purpose (e.g., user creation/status messaging) to avoid misleading documentation.