Changeset 8604 for extensions/FacebookPlug/Server/trunk/admin
- Timestamp:
- Jan 11, 2011, 6:43:50 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/FacebookPlug/Server/trunk/admin/view_list.php
r8548 r8604 22 22 23 23 $view_version = (isset($_GET['v']) ? $_GET['v'] : FBP_VERSION); 24 $max_rows = (isset($_GET['r']) ? $_GET['mr'] : 1000); 25 $max_group_rows = (isset($_GET['r']) ? $_GET['mgr'] : 10); 24 $max_group_rows = (isset($_GET['mgr']) ? $_GET['mgr'] : 10); 25 26 $max_history_rows = (isset($_GET['mhr']) ? $_GET['mhr'] : 1000); 27 $history_filter = (isset($_GET['hf']) ? $_GET['hf'] : 'do_upload_photo'); 26 28 27 29 ?> … … 73 75 </tr> 74 76 <?php 75 $result = fbp_db_query("select * from FBP_HISTORY where VERSION = '".mysql_real_escape_string($view_version)."' and SCRIPT_NAME = ' do_upload_photo' order by ID desc limit 0 , ".mysql_real_escape_string($max_rows).";");77 $result = fbp_db_query("select * from FBP_HISTORY where VERSION = '".mysql_real_escape_string($view_version)."' and SCRIPT_NAME = '".mysql_real_escape_string($history_filter)."' order by ID desc limit 0 , ".mysql_real_escape_string($max_history_rows).";"); 76 78 77 79 // Mettre le count et le titre de l'image
Note: See TracChangeset
for help on using the changeset viewer.