TMAN Home
Classified Home
Announcement
Help Wanted
Position Wanted
Services
Merchandise
Add Post
Post a Classified

POST YOUR CLASSIFIED AD

", $description)); if ($section == "announce") { $title = "

".$title; $description = "
".$description."

"; } $city = addslashes($city); $name = addslashes($name); $datalink = msql_connect("localhost"); $seqResult = msql("classified","select _seq from $section"); $skey = msql_result($seqResult,0,_seq); $iresult = msql("classified","insert into $section values( $skey, '$title', '$description', '$city', '$state', '$phone', '$emailAddress', '$name', '$datePosted' )"); $result = msql("classified","select * from $section where skey=$skey"); if ($debug == true) { $skey = msql_result($result,0,skey); $title = msql_result($result,0,title); $description = msql_result($result,0,description); $city = msql_result($result,0,city); $state = msql_result($result,0,state); $phone = msql_result($result,0,phone); $emailAddress = msql_result($result,0,emailAddress); $name = msql_result($result,0,name); $datePoasted = msql_result($result,0,datePosted); print ("

result=$result

key= $skey
title=$title
description=$description
city=$city
state=$state
email=$emailAddress
name=$name
datePosted=$datePosted

section=$section

"); } if ($section == "announce" ) {$sect = "Announcement";} if ($section == "want" ) {$sect = "Employment Wanted";} if ($section == "avail" ) {$sect = "Employment Available";} if ($section == "service" ) {$sect = "Services";} if ($section == "merch" ) {$sect = "Merchandise";} $title = stripslashes($title); $description = stripslashes($description); $city = stripslashes($city); $name = stripslashes($name); if ($section == "announce") { $wdt = "95%"; $adash = ""; } else { $wdt = "65%"; $adash = "--"; } print (" Congratulations! Your posting was successful.
You entered the following:

Section: $sect

$title $adash $description $name, $city, $state, $emailAddress, $phone
"); } if ($doIt == "deleteit") { $datalink = msql_connect("localhost"); $result = msql("classified","delete from $section where skey=$skey"); print ("Your ad was deleted.

"); } print ("


Enter Another Ad

"); } else { print ("

Your ad will remain on TMAN's Classified Ads for two weeks.

Please do not place any new merchandise on this site.
You can sell your new merchandise through TMANglobal.com

"); } print ("

Section: Announcement
Employment Wanted (If you're looking for help. Post here.)
Position Wanted    (If you're available for a job. Post here.)
Services
Merchandise
Ad Title:
Ad Description:
City:
State:
Phone Number:
e-mail Address:
Contact Name:
     
"); ?>