##################################################################### # e-Classifieds(TM) # Copyright © Hagen Software Inc. All rights reserved. # # By purchasing, installing, copying, downloading, accessing or otherwise # using the SOFTWARE PRODUCT, or by viewing, copying, creating derivative # works from, appropriating, or otherwise altering all or any part of its # source code (including this notice), you agree to be bound by the terms # of the EULA that accompanied this product, as amended from time to time # by Hagen Software Inc. The EULA can also be viewed online at # "http://www.e-classifieds.net/support/license.html" ##################################################################### # user.cfg # This file contains all of the user-configurable variables, with the exception # that you need to set two variables at the beginning of the classifieds.cgi file. # Most of these variables are in the following format: # $variable = "value"; # The # symbol will not be in front of the actual variables, however, as this # is used to "comment out" lines in Perl. In other words, lines that begin with # the # symbol are ignored by Perl when it executes the program. The $ sign # is used to indicate variables in Perl, while the items in between the quotation # marks represent the assigned value of that variable. The semicolon indicates # the end of the statement. Therefore, in the example above, if you wanted to # change the value for that variable, the only thing that you should change is # the portion in between the quotation marks. For example, to change the value # of the variable $variable to "red", you would edit it as follows: # $variable = "red"; # Again, you would not put the # symbol in front of $variable. We did that # here only because this is an example that we do not want the program to # actually execute. # Two other things you should note are that if you use quotation marks as part # of the value (in other words, inside of the quotation marks that define the # value), then you must "comment them out" by putting a back slash symbol (the # "\" symbol) in front of them. For example: # $variable = "The \"red\" light"; # Also, if you use the @ symbol in any of your value statements, you must # similarly comment it out by putting a backslash symbol in front of it, # such as in the following: # $my_email_address = "me\@mydomain.com"; # The variables are defined below. ######################################################################## # $mail_program should be set to the correct mail program for your server. # There are only four valid values here: # "sendmail" indicates that you are running on a Unix server and that you # will be using the Unix Sendmail program. # "blat" indicates that you are running on a Windows NT server and that you # will be using the Blat mail program (we've tested this using Blat 1.4). # If you are unfamiliar with this program, # Blat is a freeware e-mail program that runs on Windows NT servers and performs # a similar function to the UNIX sendmail program. More information on Blat is # available at "http://gepasi.dbs.aber.ac.uk/softw/Blat.html". # "windmail" indicates that you are running on a Windows NT server and that # you will be using the Windmail program (we've tested this using Windmail 3.0). # If you are unfamiliar with this program, Windmail is a commercial e-mail # program that runs on Windows NT servers and performs a similar function # to the Unix Sendmail program. Windmail is made by GeoCel, and more information # is available at "http://www.geocel.com/". # "smtp" indicates that you want to use the sockets-based e-mail subroutines. # These can be used on either Unix or Windows NT web servers, provided that you # have an SMTP mail server and that you have properly specified it in the # $location_of_mail_program variable below. $mail_program = "sendmail"; # $location_of_mail_program should be set to the full server path to the # mail program that you defined above in the $mail_program variable. # For sendmail, common locations include "/usr/lib/sendmail" or "/usr/sbin/sendmail", # but it could be located somewhere else, depending on your server. # If you don't know the location of sendmail on your Unix server, you might # try typing "whereis sendmail" or "which sendmail" from a Telnet prompt. # For Blat, this may be "c:/blat/blat.exe" or something else. For Windmail, # this may be "c:/windmail/windmail.exe" or something else. Please note that # you should use forward slashes when referencing the paths to Blat or # Windmail on your Windows NT server. # The above are just examples, so you may need to contact your web hosting # company or your system administrator to get the exact path to this program # on your server. # If you are using SMTP mail and have set the $mail_program variable equal to # "smtp", then you should set the $location_of_mail_program variable equal to the # domain name of your SMTP server, such as "yourdomain.com" or "smtp.yourdomain.com" # If you see the "Can't connect socket" error message after certain operations, # or if you aren't receiving e-mail from the program, this means that the value # that you have specified below is incorrect. # Also, make sure that you have the correct permissions to execute the # designated mail program in the location that you specify below. $location_of_mail_program = "/usr/sbin/sendmail"; # If you are using the Unix Sendmail program, you have the option of # telling sendmail not to use the alias list for the Unix server. This is a # security measure to keep outsiders from using the alias list of the web # server. Thus, in most cases, you will want to leave this set equal to "on". # If your e-mail address is being aliased on the server, however, then you will # need to set this equal to "" in order to allow aliasing. $block_sendmail_aliasing = "on"; # If you are having problems with certain routines (such as posting, modifying, or # deleting ads), this could be because your server does not allow outgoing e-mail # messages to have a FROM address of anyone other than a user that is known to the # server. If the administrative e-mail address that you are using for this program # is known to the server, you can try setting the following variable equal to "on", $require_admin_from_address = ""; # The following variable will disable all e-mailing by the program. Normally, you # would leave this set to "", but if you are having problems installing the program # or with certain functions, these problems may relate to the e-mail features, so # you can temporarily turn off all e-mailing by setting this equal to "on". If # that clears up the problem, then the problem is related to your e-mail settings # either in this program or on the server. $disable_email = ""; # The following variable specifies the administrative password. You can # (and should) change this to whatever you want. $admin_password = "1251"; # If set to "on", the following variable will cause all new ads to be assigned # to the group status "temp", and they will not be viewable by general users # until they have been approved by the admin through a special form. This form # can be used to approve or delete the new ads. You might want to use this if # you want to screen new ads before allowing them into your system, or if you # want to temporarily block a spammer from flooding your system with lots of # junk ads. The downside is that you will have to screen the new ads quite often, # or else no new ads will show up on your system until you do. If you don't want # to be bothered with this, you can simply set this variable equal to "". $require_admin_approval = "on"; # The following array should contain all of the categories that you want your # classifieds site to have. Each item should be surrounded by quotation @categories = ("Automóviles", "Camionetas y Camiones", "Venta de Inmuebles", "Renta de Inmuebles", "Traspasos", "Acciones y Valores", "Mascotas", "Muebles y Decoración", "Electrónicos", "Motos y Lanchas", "Maquinas", "Materiales", "Boutiques y Zapaterias", "Deportes", "Servicios", "Eventos", "Enseñanza", "Empleos", "Viajes", "Entretenimiento", "Varios"); # The following array will list the descriptions that should appear on the front page # beneath each of the categories that you defined in the @categories array above. # Each item in the following array should correspond with the category in this same location in # the @categories array above. For example, the first item in this array would be the description # that will appear on the front page beneath the first category that you defined in the @categories # array above, and so forth. @category_desc = ("Chevrolet, Ford, Nissan, VW, etc", "Chevrolet, Ford, Nissan, VW, etc", "Casas, Departamentos, Locales, etc", "Acciones, Valores, etc", "Perros, Gatos, etc", "Casa, Oficina, etc", "Computadoras, TV, Video, Audio, etc", "Industriales, De Construcción, etc", "Materiales, Acabados, Decoración, etc", "Ropa, Blancos, etc", "Acuaticos, Terrestres, etc", "Salones, Ambientación, Banquetes, etc", "Academica, Cursos, Diplomados, etc", "Agencias, Tiempos Compartidos, etc", "Prestación de Servicios, Oficios, etc", "Op. de Empleo, Recursos Humanos, etc", "Todo lo demás"); # If set to "on", the following variable will cause the program to display # a "Category" drop-down box beneath the "See All Ads" button in the Quick # Search section of the search page. $show_quick_search_categories = "on"; # Set the following variable equal to "on" if you want the program to write to log # files whenever users post, modify, or delete ads. $uselogs = "on"; # The following variable determines whether or not the program will display # a default list of phrases that users can choose from as headers for their # caption when posting an ad. $use_caption_headers = ""; # The following array should contain all of the caption headers that you want # item should NOT have a comma after it. @caption_headers = ("VENDO:", "BUSCO:", "RENTO:", "TRASPASO:", "OTRO:"); # The following variable specifies the e-mail address of the master admin. # Be sure to "escape" the "@" sign in your e-mail address by putting the # "\" symbol in front of "@", such as "webmaster\@yourdomain.com". $master_admin_email_address = "info\@anunciosdeocasion.com"; # If you are running on a Unix/Linux server and your system supports the flock # utility for file-locking, you should set $flock equal to "on". Flock should # be available on almost all Unix/Linux servers. If you are running on a # Windows NT server, or if you are not sure whether your system supports flock, # you should set this to "" so that the script will use its own built-in # file-locking routines. If flock is available on your system, you definitely # want to use it, because it's a much better system for file locking than the # built-in routines. If flock is unavailable and you are forced to use the # program's built-in file locking routines, please be aware that if your site # gets a lot of activity, you will likely experience data corruption at some # point. Windows NT users should set this to "" even if flock is available on # your system, because the methods that the program uses to open, close, and # rename files in conjunction with the flock utility can cause problems on Windows NT. $flock = ""; # You can change the number of ads to be displayed per page in the search # results by changing the $max_rows_returned variable. $max_rows_returned = "10"; # The following variable determines the default method for displaying the # ads when a user conducts a search. To display them as headlines only, # with a link to the full ad, you should set this variable equal to # "headlines". Otherwise, to display the full ads by default, you can # set this value equal to "". $default_results_format = "headlines"; # The following variable should point to the full URL of the classifieds.cgi file. $script_url = "http://www.anunciosdeocasion.com/cgi-local/anuncios/anuncios.cgi"; # If you want to display and store dates using the European format (day/month/year) # instead of the standard (month/day/year) format, you should set the following # variable equal to "on". $european_date_format = "on"; # The following variable should specify the directory on your site where the # graphics files that are included with this script will be # stored on your server. These files include the various graphic buttons and # icons used by the program. This variable should specify the full # URL path to that directory, but without the trailing slash. $graphics_dir = "http://www.anunciosdeocasion.com/cgi-local/anuncios/graphics"; # The following array should contain the choices for users as to how many days # their ad will remain posted before it expires and is purged. If you only # want to give them one choice, then just include one value in this array. @ad_duration = ("15", "30", "60", "120", "180", "365"); # The following variable should be set to "on" if you wish to operate a # fee-based classifieds system. If you wish to operate a non-fee-based # (free) classifieds program, then leave this variable set to "". $fee = ""; # The following variable specifies the cost for placing an ad in one category. # This will only be charged if you have set the $fee variable equal to "on". # Do NOT include dollar signs or any other currency symbol in front of this # value, which should be a numeric value only. $first_ad_cost = 4.99; # The following variable specifies the cost for each additional category that # an ad is placed in. This will only be charged if you have set the $fee # variable equal to "on". Do NOT include dollar signs or any other currency # symbol in front of this value, which should be a numeric value only. $multiple_ad_cost = 1.99; # The following variable specifies the currency unit that will be placed in front # of all currency values listed by the program. Please note that if you are using # dollars, you will need to place a backslash in front of the dollar symbol, because # the dollar symbol is a special reserved character that normally is used to # indicate a variable. $currency = "\$"; # The following variable should contain the postal address where you want users # to mail their payments for the classified ads that they post. This will be # displayed only if you are using a fee-based system and have set the $fee # variable equal to "on". $postal_address = "Anuncios de Ocasion Monterrey. NL, Mexico"; # The following variable specifies the number of days in which users who have posted # ads on your site must mail in their payments to the address above. $mail_payment_days = 5; # The following variable specifies whether or not the program will charge users who # renew their classified ads. To enable charging for renewals, set this variable # equal to "on". Otherwise, set it to "". $charge_for_renewals = ""; # If you have enabled charging for renewals by setting the $charge_for_renewals # variable above equal to "on", the following variable specifies the amount of # the charge. Do NOT include dollar signs or any other currency symbol in front # of this value, which should be a numeric value only. $renewal_charge = 1.99; # Set the $use_personal_inbox variable to "on" if you want to hide the # e-mail addresses of people who have posted ads. Viewers will instead # see a clickable link that says "Reply to Ad". If they click on it, they # will see a response form where they can enter their name, e-mail address, # and brief message to send to the person who posted the ad. That person's # e-mail address is never revealed to the viewer. If you would rather just # have all e-mail addresses publicly viewable, set this equal to "". $use_personal_inbox = "on"; # If set to "on", the following variable will allow URLs that are included with # the ads to be displayed as clickable links. Otherwise, the URLs will be # displayed, but they will not be clickable links. $allow_clickable_urls = "on"; # If set to "on", the following variable will allow users to include HTML in their # ads. In most cases, this should probably be set to "". $allow_html = ""; # If $limit_ads is set to "on", the program will limit the number of categories # that a specific ad can be posted in. $limit_ads = ""; # If the $limit_ads variable above is set to "on", then $max_ads will determine # the maximum number of categories that a specific ad can be placed in. $max_ads = 5; # If set to "on", the following variable will limit the number of times that # a specific classified ad can be renewed. $limit_renewals = ""; # The following variable specifies the maximum number of times that a user may # renew his or her ad. This is applicable only if you have set $limit_renewals # equal to "on". $max_renewals = 2; # The $maxwords variable defines the maximum number of words that may be # included in the Text section of each ad. If the number of words exceeds # this amount, all words after the 100th word are stripped out from the # ad. This is useful for preventing people from writing novels in their # ads and thereby clogging up your system. $maxwords = 50; # If set to "on", the $check_duplicates variable will cause the program to check # for existing ads that duplicate the ad that the user is currently attempting to # post. If a duplicate ad is found, the program will not post the new ad and will # display an error message indicating that this ad duplicates an ad that is already # in the ads database. This is useful for preventing spammers from attempting to # post multiple copies of the same ad, or to inform people who seem to want to hit # the "Submit" button several times that their ad has already been posted. It's not # foolproof, however, as clever spammers could get around this by modifying a few # words in each new ad. Moreover, since this causes the program to search through all # existing ads each time a new ad is posted, if your ads database gets large, this # could start to significantly slow down the process of posting a new ad. $check_duplicates = "on"; # The @blocked_ip_addresses array contains the list of IP addresses of users # that you want to block access to. If you don't want to block access to any # users, you can leave this set to (). Since some users may have dynamic IP # addresses (IP addresses that are different each time they logon to the Internet), # you may want to set this equal to the first 3 sections of digits of their IP # address (such as 111.222.333 for an IP address of 111.222.333.444). In most # cases, the only part of this person's IP address that will change each time is # the last section of digits. If so, this strategy will block their access because # the program checks to see if the combination that you specify here appears # anywhere in the IP address of the user. Please keep in mind, however, that # you may also unintentionally block access for other innocent users who also # happen to use the same ISP for Internet access. @blocked_ip_addresses = (); # The @badwords array contains the list of "bad words" that you want to prevent # users from being able to enter into their ads. If you don't want to censor # your users in any way, you can set this to (). You can also put personal # names, company names, phone numbers, e-mail addresses, or other information # that may be specific to a user whom you want to block from posting "spam" ads. # Please keep in mind that censoring out "bad words" is far from an exact science, # and can have unintended consequences. For example, blocking "ass" will also # block words such as "glass". Therefore, you may want to put a space before # and after such words in order to block only that word as a standalone word. # For example, you would list "ass" as " ass ". @badwords = ("pendejo", " puto ", "guey", "chinga", "joto", "maricon", " culero ", " tetas ", " culo ", " puta ", " prostituta ", " cabron ", " pinche ", " verga ", " puñetas "); # $use_builtin_warn should be set to "on" only if you are not using the separate # WARN.PL file and you cannot or do not want to have to manually run the warn # program each day. If this is set to "on", the script will periodically warn # users whose ads are about to expire (the interval depends on the number of days # that you specify in the $warn_runtime_interval below). If you are running Unix # and have access to "cron" jobs, # we strongly suggest you use cron to automatically run the warn.???.pl files to # send out the warning notices and that you leave the $use_builtin_warn variable # here set to "". This is because the builtin version # will cause additional server overhead and may not run at the exact time periods # that you like because it is dependent on user actions (it can run only when # the program is actually being used). As a result, some of your users may not # receive warning notices before their ads expire. Therefore, you should set # this to "on" only if you have no other choice and cannot or do not want to # manually run the warn program on a regular, periodic basis (meaning every 3 days, # every 7 days, etc.). $use_builtin_warn = ""; # $use_builtin_purge should be set to "on" only if you are not using the separate # PURGE.PL file and you want the script to automatically purge ads that # are older than the number of days set in the $expiration_days variable below. # If you are running Unix and have access to "cron" jobs, # we strongly suggest you use cron to automatically run the purge.???.pl files to # purge old ads and that you leave the $use_builtin_purge variable # here set to "". This is because the builtin version # will cause additional server overhead and may not run at the exact time periods # that you like because it is dependent on user actions (it can run only when # the program is actually being used). $use_builtin_purge = ""; # The following variable sets the minimum number of days before each # user's ad is about to expire that the program should send this user the e-mail # notice warning him or her of the ad's imminent expiration. If you are able to run # the "warn" program daily (either as a cron job, manually, or because your site # gets enough traffic that the classifieds program will be run in each section # on each day so that # the built-in warn program for that section is run each day) and thus have set # the $warn_runtime_interval variable # below equal to "1" (very strongly recommended), then all of your users will # receive this warning notice # exactly on the number of days before the ad expires that you specify here. # Otherwise, if you are not able to run the program daily, some users may # receive this notice even sooner (giving them # a greater number of warning days). This is because the program needs to # adjust for the fact that the warning program is not being run daily in order to # ensure that all users are warned before their ads expire and that no user receives # more than one such warning. It makes this adjustment by sending warning notices # to all users whose ads will expire in at least $minimum_warning_days days and # not more than ($minimum_warning_days + ($warn_runtime_interval -1)) days. # Please keep in mind, however, that even with this adjustment, if the program is # not run on a regular, periodic basis (this means exactly every 3 days, 7 days, # or some other interval) either through a cron job or manually, # some of your users may not receive warning notices before their ads expire. This # is extremely likely if you are relying on the built-in warn program, because if # your classifieds program isn't being run every day, the warn # program will not run on those days when your classifieds site gets no traffic. # If you find all of this confusing, the best setup is to run the separate # WARN.PL program daily as a cron job, to set $minimum_warning_days equal # to 7, and to set $warn_runtime_interval equal to 1. $minimum_warning_days = 7; # The following variable specifies the minimum number of days in between each # time that you want to run the "warn" program that sends out warning notices # to those users whose ads are about to expire. That way, it won't be run # more often, causing unnecessary system overhead for your server and causing # your users to receive multiple, annoying e-mail messages. If you are running # the warn program as a cron job, the value here should be exactly the same as # the number of days in between each time that you are running the cron job. In # other words, if it runs each day, this value should be set equal to "1". If it # runs once a week (every 7 days), this value should be set equal to "7". We # strongly suggest that you run the cron job once a day and set the value here # equal to "1". $warn_runtime_interval = 1; # The following variable specifies the minimum number of days in between each # time that you want to run the "purge" program that purges all ads that are # older than the number of days that you specified in the $expiration_days # variable. That way, it won't be run more often, causing unnecessary system # overhead for your server. If you're not sure how to set this, we suggest # that you leave it set equal to "1". $purge_runtime_interval = 1; # The following variable specifies the minimum number of days in between each # time that you want to run the "autonotify purge" program that purges all # autonotify profiles that have expired. That way, it won't be run more often, # causing unnecessary system overhead for your server. If you're not sure how # to set this, we suggest that you leave it set equal to "1". $autonotify_purge_runtime_interval = 1; # Banner Variables # If $usebanner is set to "on", the script will use the banner_rotator subroutine # at the end of this file to rotate banners throughout the classified ads. $usebanner = ""; # If you set $usebanner to "on", then you'll want to set the variables below # for the optional rotating banners. # $basedir is the URL of the directory where the images are stored # @images contains the filenames for the banners that you want to display # @urls contains the URLs that you want to link to # @alt contains the ALT tags that would be displayed on text-based browsers # The first graphic in @images will be a link to the first URL in @urls # and will display the first ALT tag in @alt, and so forth # $align can be set to "left", "center", or "right", depending on how you want # to align the banners. It can also be left set to "". # $border determines the size of the border around the banners. If you don't # want a border, then set $border equal to 0. $basedir = "http://www.yourdomain.com/"; @images = ("banner1.gif", "banner2.gif"); @urls = ("http://www.advertiser1.com/", "http://www.advertiser2.com/"); @alt = ("Visit Advertiser 1", "Visit Advertiser 2"); $align = ""; $border = "2"; # Keyword Notify variables # The following variable determines whether the program will run the Keyword # Notify program immediately after an ad is posted. The advantage of setting # this to "on" is that subscribers will be notified of new ads matching their # search criteria immediately. The disadvantage is that the Keyword Notify # routines will run every time a new ad is posted, which could start to use a # lot of system resources if you get a lot of new ads. In that case, you # might want to set this to "" and then run the Keyword Notify program at # regular timed intervals using the variables below. If this is set to "on", # the regular version of Keyword Notify that runs at timed, periodic intervals # and that is defined by the variables below will automatically be disabled by # the program in order to prevent subscribers from receiving multiple notices # for the same new ad. Also, please note that if you are requiring administrative # approval of new ads and thus have set the $require_admin_approval variable equal # to "on", you should set the $use_instant_autonotify variable equal to "", as # there's no point in running it since it won't send ads that have not yet been # approved out to subscribers. $use_instant_autonotify = ""; # The following variable specifies the number of days in between each time that you # want to run the Keyword Notify program. That way, it won't be run more often, # causing your users to receive multiple, annoying e-mail messages. If you wanted # to run Keyword Notify once a week, for example, you would set this variable equal # to "7", for a 7 day interval. This also specifies the number of days back that ads # will be included in the periodic notices. In other words, if you set this equal # to "7", then the search agent will retrieve only those ads that match the user's # search criteria and that were posted within the past 7 days. $autonotify_days_interval = 3; # The following variable determines whether the program will send an e-mail # message to the admin notifying that person whenever a user signs up for the # Keyword Notify feature. $notify_autonotify_add = ""; # The following variable determines whether the program will send a reply e-mail # message to new users who sign up for the Keyword Notify feature. $autonotify_reply_user = "on"; # The following variable determines whether the program will automatically use # its built-in Keyword Notify feature. If you have access to "cron jobs" or some # other process that can automatically run the separate autonotify.pl files, you # should set this equal to "". $use_builtin_autonotify = ""; # The following variable determines whether the program will automatically use $use_builtin_autonotify_purge = ""; # The following array should contain the choices for users as to how many days @autonotify_duration = ("30", "60", "90"); # The following variable determines whether the program will display a checkbox # that allows people posting ads to select whether they want to have their # name and e-mail address added to your mailing list. $collect_email_addresses = "on"; # The following two variables specify the location of the text file where the # names and e-mail addresses of people selecting to be added to your mailing $location_of_email_list = "$path/data/maillist.txt"; $location_of_mailinglist_lock_file = "$path/data/maillist.lock"; # The following variables are for sending automated responses to yourself or # to users when someone adds, modifies, or deletes an ad. # These variables should be set to "" if your system # does not have a built-in e-mail program such as sendmail for Unix, # or if you don't want to use these options. # If set to "on", $notify_add, $notify_modify, and $notify_delete will send an # e-mail message to the administrator (as defined below) when a user does one of # these things. # If set to "on", $reply_user will send the user an e-mail message thanking them # for posting an ad on your site. $notify_add = ""; $notify_modify = ""; $notify_delete = ""; $reply_user = "on"; # $classifieds_name is the name of your classifieds section # $sitename is the name of your web site. You need to set this even if you aren't # going to use automated responses # $admin_name is the name of the administrator of your web site # $admin_title is the title of the administrator, such as "Webmaster" or "Admin" # $siteurl is the URL of your web site # $slogan is optional and would contain your slogan or byline $classifieds_name = "AnunciosdeOcasion.com"; $sitename = ""; $admin_name = "Juan Pablo Mtz"; $admin_title = "Webmaster"; $siteurl = "http://www.anunciosdeocasion.com"; $slogan = "\"Clasificados en Línea.\""; # between the
and tags on each page. This could include meta tags # or JavaScript, but in most cases, you'll probably just want to leave this set # equal to "". Be sure to put a backslash in front of any quotation marks that # appear inside of your header code, and in front of the @ symbol anywhere that # it appears. $head_code = ""; # The following variable defines the background color of all pages. $bgcolor = "#ffffff"; # The following variable defines the background graphic (if any) to be used on # all pages. $background = ""; # The following variable defines the default text color. $text_color = "#000000"; # The following variable defines the color for hypertext links. $link_color = "#0000ff"; # The following variable defines the color for visited links. $vlink_color = "#ff0000"; # The following variable defines the color for active links. $alink_color = "#ffff00"; # The following variable defines the HTML that will appear in the upper left hand # corner of the pages. Please begin your HTML code on the # line after the <
END_OF_HTML
# The following variable defines the HTML that will appear at
# the top of the main section of the pages. Please begin your HTML code on the
# line after the <
END_OF_HTML
# The following variable defines the HTML that will appear at
# the bottom of the main section of the pages. Please begin your HTML code on the
# line after the <
Términos de Uso | Política de Privacidad
Copyright © 2000 AnunciosdeOcasion.com. Derechos Reservados.
END_OF_HTML
# The following variable sets the background color for many of the forms that are
$primary_large_table_color = "#e8e8e8";
# The following variable sets the background color for many of the forms that are
# displayed throughout the program. In many cases, forms on a page may alternate
# between the $primary_table_color and the $secondary_table_color, so if you want
# all forms to use the same color, you can set the values for both of these variables
# to the same color.
$secondary_large_table_color = "#ccccff";
# The following variable sets the background color for a few of the forms that are
# displayed throughout the program, including the user registration form and the
# bottom portions of the Advanced Search form. If you want
# all forms to use the same color, you can set the value for this variable that you
# used for the $primary_large_table_color and $secondary_large_table_color variables.
$tertiary_large_table_color = "#ffffcc";
# The following variable sets the color for the dividers in the toolbar.
$toolbar_divider_color = "#00056C";
# The following variable sets the color for the text that appears in the dividers in
# the toolbar ("Ad Options", etc.).
$toolbar_text_color = "#ffffff";
# The following variable determines the background color for the System Info section
# of the administrative Control Panel.
$system_info_color = "#ddeeee";
# The following variable sets the background color for the various logon forms.
$logon_background_color = "#efefef";
# The following variable sets the color for the bar at the top of the various logon
# forms.
$logon_bar_color = "navy";
# The following variable sets the color for the text that appears in the bar at the
# top of the various logon forms.
$logon_bar_text_color = "ivory";
# The following variable sets the background color for some of the tables in the toolbar.
$navbar_legend_color = "#ddeeee";
# The following variable determines the background color for the table that contains the
# guidebar at the top of the pages.
$guidebar_color = "#ffffff";
# Ad Display variables
# The following variable sets the color for the header bar above the ads table in the
# short results (headlines) format.
$short_results_header_color = "#ffffff";
# The following variable sets the background color for the ads that are displayed
# in the short results (headlines) format.
$short_results_background_color = "#ddddff";
# $table_width should be set to the pixel width of the tables that display the ads
$table_width = "470";
# $table_border determines the size of the border for each ad
$table_border = "0";
# $bar_color determines the color of the bar that goes across the top of each
# and that contains the caption for that ad. This will also be the color of
# the "Description" header
$bar_color = "#000F99";
# The following variable can optionally point to the URL of the background
# graphic that will be displayed in the bar at the top of each ad. If you
# specify a background, it will override the color that you chose for the
# $bar_color variable. If you don't want to use a background, you can
# simply set this to "".
$ad_bar_background = "$graphics_dir/blueblack.gif";
# $ad_bar_text_color determines the color of the text (the subject
# or caption for the ad) that is displayed in the bar at the top of each ad
$ad_bar_text_color = "#ffffff";
# $table_color determines the background color for the main portion of the table
# (everything except for the bar at the top)
$table_color = "#ffffff";
# $category_color determines the color of the values listed for the "Category"
# and "Date Posted" sections
$category_color = "#CC0000";
# $label_color determines the color of the labels for the various fields, such
# as Categories, Contact, etc.
$label_color = "#008000";
# $text_font determines the font for all of the text contained in the ad tables
$text_font = "Arial";
# Photo Upload variables
# The following variable should be set to "on" if you want to allow your users
# to upload photos with their ads. If you ever want to turn this feature off
# and disallow photo uploads, simply set this variable equal to "".
# Turning this feature off will also cause the ads to no longer display the
# photos that were previously uploaded. These photos will remain on your server
# until the ads are purged or deleted, however, so they will appear with the ads
# again if you ever turn this feature back on.
$allow_photo_uploads = "on";
# The $ad_photo_size variable determines how the photos will be displayed in
# the ads. There are four possible choices here. Setting this variable equal
# to "full" will cause the photos to be displayed at their full size in each
# ad. If you are allowing large-sized photos, this could cause the display
# to become unwieldy. The second possible value is "thumbnail", which will
# cause the photos to be displayed as square thumbnails. The size of these
# square thumbnails will be determined by the value that you choose for the
# $thumbnail_size variable below. The third possible value is "icon", which
# will cause the program to display an icon instead of the photos. Clicking
# on this icon (or on the photos in the first two scenarios above) will show
# the viewer the ad with the full-size photo. The final possible value is
# "", which will turn off the display of photos on your system (but users
# will still be able to upload photos unless you have set $allow_photo_uploads
# equal to "".
$ad_photo_size = "full";
# This variable specifies the size in pixels for the width and height of the
# square thumbnails of the photos that will be displayed if you set the
# $ad_photo_size variable above equal to "thumbnail".
$thumbnail_size = 60;
# The following variable specifies the full server path to the directory where the
# photos that users upload with their classified ads will be permanently stored once
# the uploads have been approved by the program. This directory should have its
# permissions set to 777. Some servers don't allow users to view graphics or HTML
# files from within the cgi-bin, so you may need to place this directory outside
# of your cgi-bin.
$upload_path = "/usr/home/anunc2/virtual_html/cgi-local/anuncios/upload";
# The following variable should be set to the URL of the directory that you specified
# above as the location where the photos that users upload with their classified ads
# will be permanently stored once the uploads have been approved by the program.
$photo_dir = "http://www.anunciosdeocasion.com/cgi-local/anuncios/upload";
# The following variable specifies the maximum size in bytes that the files uploaded
# by users can be.
$maximum_attachment_size = 50000;
# The following variable should be set to the maximum width in pixels that you
# want to allow for photos uploaded by people posting ads to your site. This
# is important for avoiding extremely large photos that would take up too much
# screen space in the ads.
$max_image_width = 200;
# The following variable should be set to the maximum height in pixels that you
# want to allow for photos uploaded by people posting ads to your site. This
# is important for avoiding extremely large photos that would take up too much
# screen space in the ads.
$max_image_height = 200;
# End
1;