######### CONFIGURATION STARTS HERE ############################ # URL of this script, ie WWW address $path_to_script="sortingtool.cgi"; # Relative path to the data file. You can specify only the file name if # this data file is in the same folder as this script. $data_file="activetable.txt"; # Relative path to template file. You can specify only the file name if # this template file is in the same folder as this script. $template="template.htm"; # The title fields of your database. Eg. "Bank|Telephone|BLR|Loan|Max|Remarks" # If the title fields are already specified in the data file, leave it empty and # the script will automatically use the first row as the titles. $title=""; # Type of delimiter used in data file. # If you are using MS-Excel or MS-Access and export the data (Save As >> Tab-Delimited) # as *.txt file, you should use "Tab" as the delimiter. Currently these MS products # do not support export as pipe-delimited ( | ) or colon-delimited ( : ). # # Comma $delimiter="\,"; # Tab $delimiter="\t"; # Pipe $delimiter="\|"; # Colon $delimiter="\:"; $delimiter="\t"; # $default_order=1; for Asceding # $default_order=2; for Desceding $default_order="2"; # Delfault column to be sorted $default_column=1; # Title bold (On or Off) $title_bold="On"; # Title Underline (On or Off) $title_underline="Off"; # Which colums to ignore while displaying table, separate each by commas # Example $column_off="2,4,6"; $column_off=""; # Path to image files # Arrow upwards # - Unselected $arrow_up="arrow_up.gif"; # - Selected $arrow_up_d="arrow_up_d.gif"; # Arrow Downwards # - Unselected $arrow_down="arrow_down.gif"; # - Selected $arrow_down_d="arrow_down_d.gif"; # Color of sorted column, if you want to disable this feature, # just keep it empty: $shading_color=""; $shading_color="#B7D9FB"; # Other Table config variables... $tablewidth = "100%"; $cellspacing = "2"; $cellpadding = "2"; $border = "0"; $font = "Verdana, arial"; $fontsize = "1"; $tablealign = "center"; $cell_v_align = "top"; $cell_h_align = "center"; $cellbgcolor = "#DDEDFD"; $bgcolor = "#FFF2E1";