<?
# Setting up Classified Ads options:

# MySQL settings
# database name: 
$db_name="aaa";
# host name:
$host_name="localhost";
# user's name:
$db_user="root";
# user's password:
$db_password="passw";
# name of database table for ads:
$table_ads="almt1";
# URL of the classified script directory
$urlclscrpt="";

# Set the base of the path of the directory where
# photos files will be kept.
$photos_path="photos/";

# Set the base to the URL of the directory where
# all photos files will be kept. 
$photos_url="photos/";


# Admin password  
$adm_passw="adm";

# Admin e-mail
$adm_email="info@almondsoft.com";

# Use verification code for ads submitting, sending privacy mail, 
# membership subscribing (yes, no)
$usevrfcode="no";

# Places visits counter on ads details pages  for most visited ads (yes, no)
$plcntdtl="yes";
# Minimum number of visits that allows to place an ad into 
# top visited list
$vstminnmbr=5;

# Places contacts counter (how many privacy mails sent to ad owner) 
# on ads details pages  (yes, no)
$plcntpml="yes";

# set up an ability for users to vote and rate ads (yes, no)
$voterate='yes';
# set up max value for rate
$maxvalrate=10;


# Use IP logs to count only one visit, contact message and vote 
# of the same user for the same ad (yes, no)
$uselogsvmv="yes";
# name of mysql table for logs
$table_logs="tblogse";
# Expiration period for logs (days);
$exprlogs="10";

# type of ads index 1 ( table) , 2 (one ad per one table)
$tpadsindd="1";
# width for ads table for 2 of ads format 
$width_2tpf="500";
# background color for list for 2 of ads format 
$bc2adsfrm="#dddddd";

# additional ad banner column for ads index type "2"
$adbnrcll="

hello world

"; 

# Send ads (and new membership subscribing) notification e-mails 
# to admin  with edit/moderate/delete links (yes, no)
$sndadmnotif="no";

# Using Spam Guard (yes, no)
$use_spmg="no";

# Protection for ads duplication (yes, no).
$pradsdupl='no';
 
# Number of ads displayed on the index page
$adsonpage="20";

# Number of latest ads displayed on the top page
$adsontoppage="10";

# Expiration period for ads (days)
$exp_period="100";

# Expiration period for highlighted ads (days)
$exp_perdhlt=200;

# Send expiration message to ads owners when their expired ads have been deleted (yes,no)
# You can edit expiration message  in the file expmsg.php
$sndexpmsg1="no"; 

# Set up highlighting ads feature (yes, no)
$hltadsf='no';
# All photos and attachments will be displayed only on highlighted ads,
# on other ads only one small photo will be displayed  (yes, no)
$dsplhltpht="no";
 
# color for title of highlighted ads on the index page
$colr_hltads="color=#000088";
# caption for highlighted ads
$capt_hltads="<font FACE='ARIAL, HELVETICA' size='-2' color='#ee0000'>
<b>Highlighted ad</b></font><br> ";

# Colors for tables on the index and top pages
$tbclr_1="#eeeeee";
$tbclr_2="#777799";
$tbclr_3="#ddddee";
# Background color for ads and forms
$tbclr_4="#ffffff";
# Color for ad fields and categories font 
$fntclr_1="#333377";
# background and font color for fields captions on the index page 
$tbclr_5="#eeeeee";
$fntclr_2="#990000";
# font color for  fields captions on the second ad page 
$fntclr_3="#444444";


# Set up moderating (yes, no)
$moderating="no";

# Activate ads by PayPal payment (yes,no) ($moderating option should have value "yes")
# (this feature works with an additional PayPal module)
$ppactv="no";

# Set up privacy mail (yes, no) 
$privacy_mail="yes";

# Privacy mail template 
$pmailtp="
For you ad: --title-- (--ad_url--)
the following message was sent:

--message--

--mb_login_inf--  

Reply e-mail: --r_email--

AlmondSoft.Com

"; 


# If privacy mail is set up , send copy of privacy messages 
# to admin (yes, no)
$sendcopytoadm="no";
# If privacy mail is set up , redirect privacy messages 
# to admin (yes, no)
$redirtoadm="no";

# Max number of photos allowed
$photos_count=3;

# Set max size for all photos on the second ad page (bytes)
$phptomaxsize=500000;

# Create ads preview photos thumbnails  from first photos (yes, no)
$prphscr='yes';

 
# width for preview photos thumbnails;
$prphscrwdth='50';

# Includes into ads attachment file (yes, no)
$incl_mtmdfile="yes";
# Max size for attachment file ( bytes )
$mtmdfile_maxs="120000";
# types of extensions for  attachment files
$flattchext=array('.avi', '.mpg', '.txt', '.doc', '.xls', '.zip');
# Allow users to place files for ads on popular file servers ( yes, no)
$plsflsrvrs="yes";
# Info about loading ad files on file servers 
$infldflsrv="
If you have large video files or archives, you can load them on popular file servers:
<a href='http://www.youtube.com'>Youtube.Com</a>, 
<a href='http://www.megaupload.com'>Megaupload.Com</a>, 
<a href='http://www.rapidshare.com'>Rapidshare.Com</a>, 
<a href='http://www.sendspace.com'>Sendspace.Com</a>, 
<a href='http://www.upload2.net'>Upload2.Net</a>, 
<a href='http://www.uploading.com'>Uploading.Com</a>, 
<a href='http://www.rapidupload.com'>Rapidupload.Com</a>  or others and then place URLs and titles for these files into the fields below:
";

# Width of the second ad page (pixels)
$ad_second_width="900";
# Width of preview photos on the second ad page (pixels)
$prphscnd="100";
# Max width of photos on the second ad page (pixels)
$maximgswith="550";

# Set up resizing of large photos before saving in the database (yes, no)
$resphdb="yes";
# Max width or height (pixels) of photos for resizing
$maxpixph="600";

# Set up javascript checking of  ads submitting form (yes, no)
$jsfrmch="yes";

# Width of the top page (pixels) 
$top_page_width="900";
# Width of the index page (pixels) 
$ad_ind_width="900";

# Place on detailed ad page special link to search 
# all ads posted by the user ( search with the same contact e-mail )
# if user place more then 1 ad (yes, no)
$schallusrads='yes';

# set link to ad details page under "title" field on the index page (yes, no)
$lnkttlfl="yes";

# Membership settings: 
# Set up free (f) or membership (m) for access to ad second page  
$mbac_second='f';
# Set up free (f) or membership (m) for submitting new ads 
$mbac_addad='f';
# Set up free (f) or membership (m) for sending privacy mails
$mbac_sndml='f';

# Check number of placed ads per time period by each user (yes, no)
$ch_nmusr="yes";
# if you set up "yes", set up max number of ads allowed to place  
$usrads_max=1000; 
# and time period (days) for check.
$usrads_chcktime=10;

 
# width for preview photo on ads layers ( for thumbnails created by the script on the fly)
$prwdly='150'; 

# Set up cities  list on the top page (yes,no).
$setctlntp="yes";
 
#  !!!! In the customized HTML code which will be inserted into the following config variables all     
#  quotes " should be replaced by quotes ' . E.g. tag <font FACE="ARIAL, HELVETICA" size="-2">
#  should be replaced by <font FACE='ARIAL, HELVETICA' size='-2'>

# Title for  classifieds pages
$titleclpg="Almond Classified";

# Set up html header for all pages
$html_header= "
<html>
<head> <!--title_meta_tags--> 
<STYLE type=text/css>
BODY {  BACKGROUND: #ffffff;
SCROLLBAR-FACE-COLOR: #9999cc; SCROLLBAR-HIGHLIGHT-COLOR: #eeeeff;
SCROLLBAR-SHADOW-COLOR: #000099; SCROLLBAR-3DLIGHT-COLOR: #000099; 
SCROLLBAR-ARROW-COLOR: #eeeeff; SCROLLBAR-TRACK-COLOR: #ddeeee; 
}
A {TEXT-DECORATION: underline}
A:hover{COLOR: #aa0000; BACKGROUND-COLOR: #eeeeee; TEXT-DECORATION: none}

.formst
{margin-TOP: 2px;  
BORDER-RIGHT: #5555dd 0.1em solid; BORDER-TOP: #5555dd 0.1em solid;   BACKGROUND: #eeeeff; 
BORDER-LEFT: #5555dd 0.1em solid; COLOR: #000066; BORDER-BOTTOM: #5555dd 0.1em solid
}
.tdsp{BORDER-BOTTOM: #ffcccc 1px solid;}
</style>
</head>
<body bgcolor='#ffffff'>
 
<center> 
<table width='900' bgcolor='#eeeeee' border='0' cellspacing='0' cellpadding='0'>
<tr><td width='25%' align='center' bgcolor='$tbclr_1'>
<font FACE='ARIAL, HELVETICA' size='-2'>
<a href='http://www.almondsoft.com'><b>AlmondSoft.Com</b></a>
</font>
</td> 
<td width='25%'  align='center' bgcolor='$tbclr_1'>
<font FACE='ARIAL, HELVETICA' size='-2'>
<a href='http://www.almondsoft.com/alclfree.html'><b>Load free version</b></a>
</font>
</td> 
<td width='25%'  align='center' bgcolor='$tbclr_1'>
<font FACE='ARIAL, HELVETICA' size='-2'>
<a href='http://www.almondsoft.com/ordercl.html'><b>Order On-Line</b></a>
</font>
</td> 
<td width='25%'  align='center' bgcolor='$tbclr_1'>
<font FACE='ARIAL, HELVETICA' size='-2'>
<a href='http://www.almondsoft.com/alcl.html'><b>Features</b></a>
</font>
</td></tr></table>
<center> 
<p>
<font FACE='ARIAL, HELVETICA' size='-1' color='#777777'>
<b><font size='+2'>Almond Classifieds</font></b>
<br>
Classified Ads Script. Version 5.07.
</font><p>
</center> 

<table width='900' border='0' cellspacing='0' cellpadding='0'>
<tr><td align='left'>
<!--login_info-->
</td></tr></table>
";

# Set up html footer  for all pages
$html_footer="
<p>
 
<font FACE='ARIAL, HELVETICA' size='-2'>
<center>
<b>Copyright &copy; 2008 <a href='http://www.almondsoft.com'>AlmondSoft.Com</a> All right reserved.
</b>
</font>
</center>
 
<p>

<table width='100%'  >
<tr><td>
<font FACE='ARIAL, HELVETICA' size='-2'>
<b>
<a href='http://www.almondsoft.com/reg/reg1.php'>
Click here</a> to register this script installation in
our database. After on-line registration you may delete
this text info ( in config.php file )
</b>
</font>
</td></tr></table>
 
</center>
</td></tr>
</table>
</center>
&nbsp; <p>&nbsp; <p>&nbsp; <p>&nbsp; <p>&nbsp; 
</body>
</html>
";
 
# Set up info for left column on the top page:
$top_leftcol="
<center>
 <font FACE='ARIAL, HELVETICA' color='#000099' size='-1'>
Here you can <br> place ad banners
</font>
<p>
</center>
"; 


# Set up info for right column on the top page:
# It should begin with html tag <td> and finish with tag </td>
$top_rightcol="
<td width='200' bgcolor='$tbclr_1'  valign='top'>
<center>
<table width='100%'  bgcolor='#777799' border=0 cellspacing='0' cellpadding='0'>
<tr><td> 
<font FACE='ARIAL, HELVETICA' color='#ffffff' size='-1'>
 &nbsp; <b> Main Idea:</b>
</font>
<TABLE  WIDTH='100%'   border='0' cellspacing='1' cellpadding='4' >
<tr><td bgcolor='#ffffff'> 
<font FACE='ARIAL, HELVETICA' color='#000099' size='-1'>
 
<P ALIGN='JUSTIFY'>
 &nbsp; <b>Almond Classifieds</b> main idea - 
easy to use, configurate and install;
easy set up custom categories, fields, search;
Try to install the <a href='http://www.almondsoft.com/alclfree.html'>free version</a> to make sure. 
</td></tr></table>
</td></tr></table>
<p>
<font FACE='ARIAL, HELVETICA' color='#000099' size='-1'>
Here you can <br> place ad banners
</font>
</center>
</td>
"; 


# Set up html info for the bottom  after categories list on the top page:
$btmtophtml=" <br>
<table width='99%' bgcolor='$tbclr_2' border=0 cellspacing=0 cellpadding=1>
<tr><td> 
<font FACE='ARIAL, HELVETICA' color='$tbclr_4' size=-1>
&nbsp; <b>Almond Classifieds (Pro Edition) Features:</b>
</font>       
<TABLE  bgcolor='$tbclr_4' border='0' cellspacing=0 cellpadding='0' WIDTH='100%' >
<tr><td>
<TABLE  border='0' cellspacing=6 cellpadding=10 WIDTH='100%'><tr><td width='50%'valign='top'>
<font FACE='ARIAL, HELVETICA' color='#000088' size=-1>
<P ALIGN='JUSTIFY'>  &nbsp; Ads can be organized into effective multilevel categories structure placed on the top page: 
e.g. at first, user can choose a city (or other option specified by admin), 
then group of categories (e.g. personals, job, etc), then categories, 
then group of subcategories which will be opened immediately by 
clicking the link 'more…' (e.g. age, goal, type of job), then subcategories  
 (e.g. goal; sex, romance; type of job: wanted, offered). 
 Quick access to the subcategories, search form, cities list on the top page is based on the dynamic html 
technologies and provides effective layout. 
 
</font>
</td><td width='50%' valign='top'>
<font FACE='ARIAL, HELVETICA' color='#000088' size=-1>
 
<P ALIGN='JUSTIFY'>  &nbsp; Users can place comments with photos into ads; 
 Users can browse top rated ads, top viewed ads, top contacted ads or top commented ads;
  
  &nbsp;Ads can be highlighted with on-line payment by ads owners;
Highlighted ads are displayed at the top of index and they have a special expiration
period;  
   &nbsp;Bad words guard;  
  Optional membership activation by clicking on the link in the activation e-mail
or fee based membership with on-line credit card processing .</li>

<p> &nbsp;<b><a href='http://www.almondsoft.com/alcl.html'>More Features...</a></b>
 
</font>
</td></tr></table>
</td></tr></table></td></tr></table>
";


# Set up info for left column on the ads index page:
# It should begin with html tag <td> and finish with tag </td>
$ind_leftcol="
<td width='200' bgcolor='$tbclr_1'  valign='top'>
<table width='100%'  bgcolor='#777799' border=0 cellspacing='0' cellpadding='0'>
<tr><td> 
<font FACE='ARIAL, HELVETICA' color='#ffffff' size='-2'>
 &nbsp; <b> Main Idea:</b>
</font>
<TABLE  WIDTH='100%'   border='0' cellspacing='1' cellpadding='4' >
<tr><td bgcolor='#ffffff'> 
<font FACE='ARIAL, HELVETICA' color='#000099' size='-2'>
 <b>
<P ALIGN='JUSTIFY'>
 &nbsp; <b>Almond Classifieds</b> main idea - 
easy to use, configurate and install;
easy set up custom categories, fields, search;
Try to install the <a href='http://www.almondsoft.com/alclfree.html'>free version</a> to make sure. 
</b></font>
</td></tr></table>
</td></tr></table>
<p>
<table width='100%'  bgcolor='#777799' border=0 cellspacing='0' cellpadding='0'>
<tr><td> 
<font FACE='ARIAL, HELVETICA' color='#ffffff' size='-2'>
 &nbsp;<b> Interfaces:</b>
</font>
<TABLE  WIDTH='100%'   border='0' cellspacing='1' cellpadding='4' >
<tr><td bgcolor='#ffffff'> 
<font FACE='ARIAL, HELVETICA' color='#000099' size='-2'>
<P ALIGN='JUSTIFY'><b>
 &nbsp; Friendly users' interface.
Powerful admin web interface with ability
to moderate ads before  they appear in the index.
</font></b>
</td></tr></table>
</td></tr></table>
 
</td>
"; 


# Set up info for left column on the  page with ads details:
# It should begin with html tag <td> and finish with tag </td>
$detl_leftcol="

<td width='200' bgcolor='$tbclr_1'  valign='top'>
<table width='100%'  bgcolor='#777799' border=0 cellspacing='0' cellpadding='0'>
<tr><td> 
<font FACE='ARIAL, HELVETICA' color='#ffffff' size='-1'>
 &nbsp; <b> Main Idea:</b>
</font>
<TABLE  WIDTH='100%'   border='0' cellspacing='1' cellpadding='4' >
<tr><td bgcolor='#ffffff'> 
<font FACE='ARIAL, HELVETICA' color='#000099' size='-1'>
 
<P ALIGN='JUSTIFY'>
 &nbsp; <b>Almond Classifieds</b> main idea - 
easy to use, configurate and install;
easy set up custom categories, fields, search;
Try to install the <a href='http://www.almondsoft.com/alclfree.html'>free version</a> to make sure. 
</td></tr></table>
</td></tr></table>
<p>
<table width='100%'  bgcolor='#777799' border=0 cellspacing='0' cellpadding='0'>
<tr><td> 
<font FACE='ARIAL, HELVETICA' color='#ffffff' size='-1'>
 &nbsp;<b> Interfaces:</b>
</font>
<TABLE  WIDTH='100%'   border='0' cellspacing='1' cellpadding='4' >
<tr><td bgcolor='#ffffff'> 
<font FACE='ARIAL, HELVETICA' color='#000099' size='-1'>
<P ALIGN='JUSTIFY'>
 &nbsp; Friendly users' interface.
Powerful admin web interface with ability
to moderate ads before  they appear in the index.
</font>
</td></tr></table>
</td></tr></table>
 
</td>
"; 

 
?>