[!][/!]
[include file=protect.inc&group=]
[include file=header.inc]
[showif [action]=send]
[math show=f]newID=0[search db=admin/message.db&neIDdatarq=findall&IDtype=num&deIDsort=1&max=1][founditems]+[id][/founditems][/search]+1[/math]
[append db=admin/message.db]ID=[newID]&STATUS=0&[formvariables name=__&exact=f][getchars start=3][name][/getchars]=[url][value][/url]&[/formvariables][/append]
[!]Notify Admin[/!]
[text]mail_list=[/text]
[search db=admin/member.db&woGROUPSdatarq=ADMIN&GROUPSword=ww]
[founditems]
[text]mail_list=[mail_list][hideif [index]=1],[/hideif][email][/text]
[/founditems]
[/search]
[text]mail_list=[mail_list][/text]
[sendmail to=[url][mail_list][/url]&from=webserver@triathlonclub.com&subject=TCSD Classified Message]
Member ID: [member_id]
Ad ID: [ad_id]
Name: [__name]
Email: [__email]
Message: [__message]
Reference: [date] [time] [ipaddress]
[/sendmail]
Message Sent
[redirect default.htm]
[/showif]
Home
[showif [raw][member_id][/raw]=[member_id]]
[text]member_id=[/text]
[/showif]
[showif [raw][ad_id][/raw]=[ad_id]]
[text]ad_id=[/text]
[/showif]
Contact Administrator