Posts: 105
Location: Alberta, Canada
|
Hey im trying to include another file which include images is certain locations, but I keep getting errors. Any help? thanks. Hit ctrl + F and search vehicles.
Code:
<?
$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","40:50","text","0","text"),
"city" => array("City","12","keyword","1:30","select","1","text", "<option>Akron OH<option>Albany NY<option>Albuquerque NM<option>Allentown PA<option>Anchorage AK<option>Atlanta GA<option>Atlantic City NJ<option>Austin TX<option>Baltimore MD<option>Baton Rouge LA<option>Billings MT<option>Birmingham AL<option>Bismarck ND<option>Boise ID<option>Boston MA<option>Buffalo NY<option>Burlington VT<option>Casper WY<option>Charleston SC<option>Charleston WV<option>Charlotte NC<option>Chattanooga TN<option>Cheyenne WY<option>Chicago IL<option>Cincinnati OH<option>Cleveland OH<option>Columbia SC<option>Columbus OH<option>Dallas TX<option>Dayton OH<option>Denver CO<option>Des Moines IA<option>Detroit MI<option>El Paso TX<option>Erie PA<option>Eugene OR<option>Fargo ND<option>Fort Smith AR<option>Grand Rapids MI<option>Green Bay WI<option>Greensboro NC<option>Hartford CT<option>Honolulu HI<option>Houston TX<option>Indianopolis IN<option>Jackson MS<option>Jacksonville FL<option>Jersey City NJ<option>Kansas City MO<option>Knoxville TN<option>Las Vegas NV<option>Lexington KY<option>Little Rock AR<option>Los Angeles CA<option>Louisville KY<option>Madison WI<option>Manchester NH<option>Memphis TN<option>Miami FL<option>Milwaukee WI<option>Minneapolis MN<option>Missoula MT<option>Mobile AL<option>Montgomery AL<option>Nashville TN<option>New Haven CT<option>New Orleans LA<option>New York<option>Norfolk VA<option>Okla. City OK<option>Omaha NE<option>Orlando FL<option>Philadelphia PA<option>Phoenix AZ<option>Pittsburgh PA<option>Portland ME<option>Portland OR<option>Providence RI<option>Raleigh NC<option>Rapid City SD<option>Reno NV<option>Richmond VA<option>Rochester NY<option>Sacramento CA<option>Saint Louis MO<option>Salt Lake UT<option>San Antonio TX<option>San Diego CA<option>S F Bay Area CA<option>Seattle WA<option>Shreveport LA<option>Sioux Falls SD<option>Spokane WA<option>Stamford CT<option>Syracuse NY<option>Tampa Bay FL<option>Toledo OH<option>Topeka KS<option>Tucson AZ<option>Tulsa OK<option>Washington DC<option>Wichita KS<option>Wilmington DE<option>Yonkers NY<option>other"),
"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","text")
);
$fields_sets= array(
'set1' => array( title,name,age,weight,height,smoker,goal,city,brief,moredetails,contact_name,contact_phone,email,homeurl,passw ),
'set2' => array( title,jobtype,salary,company,city,specloc,brief,contact_name,contact_phone,email,homeurl,passw ),
'set3' => array( title,type,price,company,city,specloc,brief,contact_name,contact_phone,email,homeurl,passw,check1 ),
'set4' => array( title,initialad,comment,email,homeurl,passw ),
'set5' => array( title,city,specloc,brief,contact_name,contact_phone,email,homeurl,passw ),
'set6' => array( eventdt,title,city,brief,contact_name,contact_phone,email,homeurl,passw ),
'set7' => array( ),
'set8' => array( ));
$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"),
"merch16" => array( "Other Merchandise", "set3", "type"),
'title_3' => "Community",
"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_4' => "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"),
"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"),
'newcolumn_2' => "",
'title_5' => "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_6' => "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_7' => "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", ""),
'newcolumn_3' => "",
'title_8' => "Vehicles", <------ PLACE IMAGE AFTER "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"),
"veh10" => array( "Other Vehicles", "set3", "type"),
'title_9' => "Software",
"soft1" => array( "Perl/PHP scripts", "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"),
"soft11" => array( "Databases", "set3", "type"),
"soft12" => array( "Networking", "set3", "type"),
'title_10' => "Music",
"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", "")
);
$hghltcat= array(
);
$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>)"
);
$reply_catg= array(
);
$allcatfields=array( '');
$use_adslayer="";
$tbclhlads="";
$fields_layer=array( '' => 'yes');
$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"
);
$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"
);
$mtfldkwrs=array( 'city', 'name', 'company', 'goal');
$slctcntr="";
?>
PHP Code:
<?php include("car.php"); ?>
Last edited by d1zl3; 06-16-2009 at 02:30 AM..
|