<?
# Set up categories list

$categories=array(
'title_1' => "Personals",
'manw' =>array("Man Looking for Woman","set1",'age,goal'),
'womenm' =>array("Woman Looking for Man","set1",'age,goal'),
'manm' =>array("Man Looking for Man","set1",'age,goal'),
'womenw' =>array("Woman Looking for Woman","set1",'age,goal'),
'manw_repl' =>array("Man Looking for Woman (comments)","set4","h"),
'wlkm_repl' =>array("Woman Looking for Man (comments)","set4", "h"),   
 
'title_2' => "Merchandise",
'merch1' =>array("Appliances","set3",'type'),
'merch2' =>array("Books / Magazine","set3",'type'),
'merch3' =>array("Clothing / Accessories","set3",'type'),
'merch4' =>array("Collectibles","set3",'type'),
'merch5' =>array("Computers","set3",'type'),
'merch6' =>array("Electronics","set3",'type'),
'merch7' =>array("Furniture","set3",'type'),
'merch8' =>array("Sports","set3",'type'),
'merch9' =>array("Jewelries","set3",'type'),
'merch10' =>array("Tickets","set3",'type'),
'merch11' =>array("CD / DVD","set3",'type'),
'merch13' =>array("Music Related","set3",'type'),
'merch14' =>array("Bicycles","set3",'type'),
'merch16' =>array("Other Merchandise","set3",'type'),

 

'title_3' => "Real Estate",
'rlest1' =>array("Commercial/Office","set3",'type'),
'rlest2' =>array("Farm and Land","set3",'type'),
'rlest3' =>array("Garage / Storage","set3",'type'),
'rlest4' =>array("Residential","set3",'type'),
'rlest5' =>array("Real Estate for Rent","set3",'type'),
'rlest6' =>array("Vacation Rentals","set3",'type'),
'rlest7' =>array("Apartments","set3",'type'),
'rlest8' =>array("Other Real Estate Ads","set3",'type'),


'title_4' => "Community",
'commun1' =>array("Activity Partners","set5"),
'commun2' =>array(" Announcements","set5"),
'commun3' =>array("Events/Parties","set5"),
'commun4' =>array("Friends","set5"),
'commun5' =>array("Lost & Found Items","set5"),
'commun6' =>array("Birthdays","set5"),
'commun7' =>array("Weddings","set5"),
'commun8' =>array("Volunteers ","set5"),

'newcolumn_1' => "",

'title_5' => "Careers, Jobs",
'job1' =>array("Accounting Jobs","set2","jobtype"),
'job2' =>array("Advertising","set2","jobtype"),
'job3' =>array("Administrative/Office","set2","jobtype"),
'job4' =>array("Agriculture ","set2","jobtype"),
'job5' =>array("Arts/Media","set2","jobtype"),
'job6' =>array("Automotive","set2","jobtype"),
'job7' =>array("Banking/Finance","set2","jobtype"),
'job8' =>array("Pharmaceutical","set2","jobtype"),
'job9' =>array("Computer Engineering","set2","jobtype"),
'job11' =>array("Computer Tech. Support","set2","jobtype"),
'job14' =>array("Education Jobs ","set2","jobtype"),
'job15' =>array("Engineering Jobs","set2","jobtype"),
'job16' =>array("Fitness/Sports","set2","jobtype"),
'job17' =>array("Work from Home","set2","jobtype"),
'job18' =>array("Healthcare Jobs","set2","jobtype"),
'job20' =>array("Human Resources","set2","jobtype"),
'job21' =>array("Legal","set2","jobtype"),
'job22' =>array("Manufacturing Jobs","set2","jobtype"),
'job23' =>array("Marketing","set2","jobtype"),
'job24' =>array("General Management","set2","jobtype"),
'job25' =>array("Non Profit Jobs  ","set2","jobtype"),
'job27' =>array("Part-time Jobs","set2","jobtype"),
'job28' =>array("Publishing","set2","jobtype"),
'job29' =>array("Retail Jobs","set2","jobtype"),
'job30' =>array("Transportation","set2","jobtype"),
'job31' =>array("Veterinary Services","set2","jobtype"),
'job32' =>array("Other Jobs","set2","jobtype"),

'title_6' => " Vehicles",
'veh1' =>array("Cars","set3",'type'),
'veh2' =>array("Vans / Minivans","set3",'type'),
'veh3' =>array("Motorcycles","set3",'type'),
'veh4' =>array("Trailers & Other","set3",'type'),
'veh5' =>array("Auto Parts","set3",'type'),
'veh6' =>array("Buses","set3",'type'),
'veh7' =>array("Trucks","set3",'type'),
'veh9' =>array("Watercrafts","set3",'type'),
'veh10' =>array("Other Vehicles","set3",'type'),

'newcolumn_2' => "",

'title_7' => "Software",
'soft1' =>array("Perl Programming","set3",'type'),
'soft2' =>array("PHP Programming","set3",'type'),
'soft3' =>array("ASP Programming","set3",'type'),
'soft4' =>array("Web Design","set3",'type'),
'soft5' =>array("E-Commerce","set3",'type'),
'soft6' =>array("Java, JavaScript","set3",'type'),
'soft7' =>array("C++ Development","set3",'type'),
'soft8' =>array("Delphi Programming","set3",'type'),
'soft9' =>array("Visual Basic","set3",'type'),
'soft10' =>array("UNIX Programming","set3",'type'),
'soft11' =>array("Databases","set3",'type'),
'soft12' =>array("Networking","set3",'type'),

'title_8' => "Services",
'servs1' =>array("Childcare","set3" ),
'servs2' =>array("Elderly Care","set3" ),
'servs3' =>array("Construction","set3" ),
'servs4' =>array("Household Help","set3" ),
'servs5' =>array("Labor Offered","set3" ),
'servs6' =>array("Landscape","set3" ),
'servs7' =>array("Other Services","set3" ),

'title_9' => "Music",
'mus1' =>array("Announcements","set5"),
'mus2' =>array("Musicians","set5"),
'mus3' =>array("Bands","set5"),
'mus4' =>array("Musical Instruments","set5"),
 
'mus5' =>array("Services","set5"),
'mus6' =>array("Collectibles","set5"),
'mus7' =>array("Other Music Ads","set5"),

'title_10' => "Pets",
'pet1' =>array("Birds","set5"),
'pet2' =>array("Cats","set5"),
'pet3' =>array("Dogs","set5"),
'pet4' =>array("Exotic Pets","set5"),
'pet5' =>array("Fish","set5"),
'pet6' =>array("Horses","set5"),
'pet7' =>array("Reptiles","set5"),
'pet8' =>array("Pet Services","set5"),

'evntcl' =>array("Event Calendar","set6"),
'evcl_rpl' =>array("Event Calendar (comments)","set4", "h") 
);

 

# Set up highlighted categories which will be displayed on the top of categories list
$hghltcat=array (
'Most popular categories:' => array('manw','womenm','merch5', 'veh1', 'new_column', 'veh5','rlest5','job9','commun2'),
'Sponsored categories:' => array('soft1','new_column','soft2')
);

# Set up the sets of the fields for categories
$fields_sets=array (
'set1' => array (title,name,age,weight,height,smoker,goal,country,city,brief,moredetails,contact_name,contact_phone,email,
homeurl,passw, addrmap),
'set2' => array (title,jobtype,salary,company,country,country,city,specloc,brief,contact_name,contact_phone,email,homeurl,passw, addrmap),
'set3' => array (title,type,price,company,country,city,specloc,brief,contact_name,contact_phone,email,homeurl,passw,check1, addrmap),
'set4' => array (title,initialad,comment,email,homeurl,passw),
'set5' => array (title,country,city,specloc,brief,contact_name,contact_phone,email,homeurl,passw),
'set6' => array (eventdt,title,country,city,brief,contact_name,contact_phone,email,homeurl,passw),
'set7' => "",
'set8' => ""
);


#  Set up description of ad fields used in all categories:
$ads_fields= array(
'eventdt' => array('Event Date','12','nosearch','40:50','date','1','date'),
'title' => array('Title','1','nosearch','40:50','text','1','text'),
'brief' => array('Brief Description','2','nosearch','40:4:200','textarea','1','text'),
'initialad' => array('In the initial ad written','2','nosearch','40:4:400','textarea','0','text'),
'comment' => array('Comment','2','nosearch','40:4:200','textarea','1','text'),
'contact_name' => array('Contact Name','2','nosearch','40:50', 'text', '0','text'),
'contact_phone' => array('Contact Phone','2','nosearch','20:50', 'text', '0','text'),
'email' => array('Contact e-mail','00','nosearch','20:50', 'text', '1','text'),
'homeurl' => array('Home Page URL', '00','nosearch','40:50', 'text','0','text'),
'passw' => array('Edit/delete password','00','nosearch','20:50', 'text','1','text'),
'name' => array('Name','1','nosearch','40:50','text','0','text'),
'country' => array('Country','00','keyword','1:30','select2','1','text', 'city'),
'city' => array('City','12','keyword','1:30','select3','1','text', 'country'),
'goal' => array('Goal','12','keyword','1:30','select', '1', 'text',
        '<option>Marriage<option>Sex<option>Virtual Romance<option>Penpal<option>Other'),	
'check1' => array('checkbox field','12','keyword','1:30','checkbox','0','text', 
        '<option>checkoption 1<option>checkoption 2<option>checkoption 3' ),
'type' => array('Type','12','keyword','1:30','select', '0','text',
'<option>Wanted<option>Offered' ),	
'jobtype' => array('Type','12','keyword','1:30','select', '1','text',
'<option>Job Offered<option>Job Wanted' ),
'specloc' => array('Specific Location',"2",'nosearch','50:100','text', '0','text'),
'price' =>  array('Price','12','minmax','10:30','text','0','integer'),
'salary' => array('Salary','12','minmax','10:30','text','0','real'),
'company' => array('Company',"12",'keyword','20:30','text', '0','text'),
'smoker' => array('Smoker','2','nosearch','1:30','select', '0', 'text',
'<option>Yes<option>No' ),
'age' =>  array('Age','12','keyword','1:30','select', '1', 'text',
        '<option>18-20<option>20-25<option>25-30<option>30-35<option>35-40<option>40-50<option>more 50'),
'weight' =>  array('Weight,kg','2','minmax','10:30','text','0','integer'),
'height' =>  array('Height,cm','2','minmax','10:30','text','0','integer'),	
'moredetails' => array('More Details','2','nosearch','40:6:2000','textarea','0','text'),
'addrmap' => array('Map Address','00','nosearch','40:50','text','0','text'),
'adfld1' => array('reserved field 1 (integer type)','00','nosearch','40:50','text','0','integer'),
'adfld2' => array('reserved field 2 (integer type)','00','nosearch','40:50','text','0','integer'),
'adfld3' => array('reserved field 3 (real type)','00','nosearch','40:50','text','0','real'),
'adfld4' => array('reserved field 4 (real type)','00','nosearch','40:50','text','0','real'),
'adfld5' => array('reserved field 5 (text type)','00','nosearch','40:50','text','0','text'),
'adfld6' => array('reserved field 6 (text type)','00','nosearch','40:50','text','0','text'),
'adfld7' => array('reserved field 7 (text type)','00','nosearch','40:50','text','0','text'),
'adfld8' => array('reserved field 8 (text type)','00','nosearch','40:50','text','0','text')
);

# set up comments for fields on ads submitting form
$fields_comm=array(
'title' => 'place title of ads here (any comment for ad field)',
'brief' => ' main idea of your ad (any comment for ad field) ',
'age' => '(any comment for ad field)',
'homeurl' => '(any comment for ad field)',
'email' => '(any comment for ad field)',
'moredetails' => '(any comment for ad field)',
'contact_name' => '(any comment for ad field)',
'contact_phone' => '(any comment for ad field)',
'addrmap' => "(address format: <font COLOR='#007700'>number street, city, country</font>)"
);

 

# set up short names for categories into which reply comments(bids, reply messages)
# can be places 

$reply_catg=array(
'manw' => 'manw_repl',
'womenm' => 'wlkm_repl',
'databas1' => 'databas1',
'evntcl' => 'evcl_rpl'  
);

# Max number of comments which will be displayed on the ads details pages
$maxrepldt="10"; 

# Set up short names of the fields which will be displayed 
# on the search form on the top page (it is necessary when search through all categories ) .
$allcatfields=array('title','country', 'city','brief');

# Using ads layer when user place mouse over details link on index page (yes, no)
$use_adslayer="yes";
# Set up fields which will be placed on ads layers
$fields_layer=array('brief'=>'yes', 'weight'=>'yes', 'name'=>'yes',
'city'=>'yes', 'goal'=>'yes', 'type'=>'yes', 'salary'=>'yes', 'age'=>'yes',
 'height'=>'yes', 'comment'=>'yes');

# table bgcolor for layers of highlighted ad
$tbclhlads="#aa5555";
 

# Place number of ads for subcategories and cities on the top page (yes, no)
$subcnmb='yes';


# Set up keywords for <meta> tag for all categories and  specific keywords for separate categories
$mtg_keywrds=array(
"all" => "almond classifieds, ads,  php scripts, multiple categories, 
  powerful search, privacy mail,   ads moderating",
"job1" => "classifieds, Careers, Jobs",
"job2" => "classifieds, Careers, Jobs"
); 

# Set up description for <meta> tag for all categories and  specific description for separate categories
$mtg_descr=array(
"all" => "Almond Classifieds main idea - easy to use, configurate and install;
 easy set up custom categories, fields, search; Try to install free version to make sure. ",
"job1" => "Careers, Jobs",
"job2" => "Careers, Jobs"
);  

# Set up fields which will be added to keywords list for <meta> tag on ads details pages
$mtfldkwrs=array('city','name','company','goal');

# Set up two-level for country/city (yes,no)
$slctcntr="yes";

#####################################################

 
?>