Changeset 1077
- Timestamp:
- 09/26/08 07:13:20 (2 months ago)
- Files:
-
- trunk/admin/Public/card-history.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/admin/Public/card-history.php
r1050 r1077 13 13 14 14 15 getpost_ifset(array('posted', 'Period', 'frommonth', 'fromstatsmonth', 'tomonth', 'tostatsmonth', 'fromday', 'fromstatsday_sday', 'fromstatsmonth_sday', 'today', 'tostatsday_sday', 'tostatsmonth_sday','entercustomer' ));15 getpost_ifset(array('posted', 'Period', 'frommonth', 'fromstatsmonth', 'tomonth', 'tostatsmonth', 'fromday', 'fromstatsday_sday', 'fromstatsmonth_sday', 'today', 'tostatsday_sday', 'tostatsmonth_sday','entercustomer','id_cc_card')); 16 16 17 17 … … 25 25 26 26 // The variable FG_TABLE_NAME define the table name to use 27 $FG_TABLE_NAME="cc_card_history ch ";27 $FG_TABLE_NAME="cc_card_history ch LEFT JOIN cc_card ON cc_card.id=id_cc_card"; 28 28 29 29 … … 39 39 // First Name of the column in the html page, second name of the field 40 40 $FG_TABLE_COL = array(); 41 $FG_TABLE_COL[]=array (gettext(" Card Number"), "id_cc_card", "15%", "center", "sort", "", "30", "", "", "", "", "linktocustomer");41 $FG_TABLE_COL[]=array (gettext("Merde"), "username", "15%", "center", "sort", "", "30", "", "", "", "", "linktocustomer"); 42 42 $FG_TABLE_COL[]=array (gettext("Date"), "datecreated", "20%", "center", "SORT"); 43 43 $FG_TABLE_COL[]=array (gettext("Description"), "description", "60%", "center", "SORT"); … … 48 48 49 49 // This Variable store the argument for the SQL query 50 $FG_COL_QUERY=' ch.id_cc_card, ch.datecreated, ch.description';50 $FG_COL_QUERY='username, ch.datecreated, ch.description'; 51 51 52 52 … … 361 361 <?php 362 362 $record_display = $recordset[$i]; 363 echo stripslashes($record_display); ?> 363 if($FG_TABLE_COL[$i][11] == "linktocustomer") echo linktocustomer(stripslashes($record_display)); 364 else echo stripslashes($record_display); ?> 364 365 </TD> 365 366 <?php } ?>
