<?
# Setting up Classified Ads options:

# MySQL settings
# database name: 
$db_name="drweiszc_jobfinder";
# host name:
$host_name="localhost";
# user's name:
$db_user="drweiszc_admin";
# user's password:
$db_password="admin";
# 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";

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

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

# time (days) for latest ads link on the top page
$tmltads=20;

# 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=100000;

# 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="650";
# 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="100%";
# Width of the index page (pixels) 
$ad_ind_width="100%";

# 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';


# 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;  margin: 20px; 
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'>
<table width='100%' bgcolor='#ffffff' border='0' cellspacing='2' cellpadding='2'>
<tr><td valign=top>
<font FACE='ARIAL, HELVETICA'   color=#000077>
<b><font size=-2>
<a href='http://www.almondsoft.com/alcl.html'><b>Home</b></a> &nbsp;  
<a href='http://www.almondsoft.com/ordercl.html'><b>Order On-Line</b></a>
&nbsp; <a href='http://www.almondsoft.com/alclfree.html'><b>Load free version</b></a>
</font>
<p> &nbsp; <br>
<nobr>Almond Classifieds</nobr>
</b></font></font> 
</td><td align=right>
<table width=700 style='BORDER-RIGHT: #5555bb 2px solid; BORDER-TOP: #5555bb 2px solid;  
BORDER-LEFT: #5555bb 2px solid; BORDER-BOTTOM: #5555bb 2px solid;'>
<tr><td>
<center>
&nbsp;<br>
<font FACE='ARIAL, HELVETICA' color='#000099' size=+1><b>
Ad banners can be placed here</b> 
&nbsp;<br> &nbsp;
</center>
</font>
</td></tr></table>
</td>
</tr></table>
<!--login_info-->
";

# Set up html footer  for all pages
$html_footer="
<p>
<table width='100%' bgcolor='$tbclr_4' border='0' cellspacing='0' cellpadding='0'>
<tr><td>
<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>
</td></tr>
</table>
<p>

<table width='100%' bgcolor='$tbclr_4'>
<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:
$top_rightcol=" ";

# Set up html info for the bottom  after categories list on the top page:
$btmtophtml=" ";


# 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=" "; 


# 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=" "; 

?>