[!][/!]
[include file=header.inc]
[text]error=[/text]
[showif [action]=add]
[text]the_match=[decrypt seed=tcsdtri][unurl][match][/unurl][/decrypt][/text]
[showif [countchars][the_match][/countchars]>4]
[showif [getchars start=1&end=4][the_match][/getchars]=TCSD]
[showif [math][getchars start=5][the_match][/getchars][/math]=[math][bib][/math]]
[hideif [url][__user][/url]~TCSD_]
[math show=f]newID=0[search db=admin/member.db&neIDdatarq=findall&IDtype=num&deIDsort=1&max=1][founditems]+[id][/founditems][/search]+1[/math]
[search db=admin/member.db&eqUSERdatarq=[url][__user][/url]]
[if [numfound]=0][then]
[append db=admin/member.db]ID=[newID]&MODERATE=T&[formvariables name=__&exact=f][getchars start=3][name][/getchars]=[url][value][/url]&[/formvariables][/append]
[commitdatabase db=admin/member.db]
[appendfile file=admin/log.db][date] [time] [ipaddress] [url][formvariables][name]=[url][value][/url]&[/formvariables][/url][unurl]%0D%0A[/unurl][/appendfile]
[returnraw]HTTP/1.0 302 Found
Location: ad.htm
Set-Cookie: login=[url][url][encrypt seed=triclub][__user][/encrypt][/url]:[url][encrypt seed=triclub][__pass][/encrypt][/url][/url]; path=/; domain=classified.triclubsandiego.com;
[/returnraw]
[/then][else]
[text]error=Please select a different username[/text]
[/else][/if]
[/search]
[/hideif]
[/showif]
[/showif]
[/showif]
[text]error=Please check the bib number and try again[/text]
[/showif]
[math show=f]the_number=ceil((([random]+1)/100)*5)[/math]
[text]the_name=00[the_number].gif[/text]
[copyfile from=graphics/bib/[the_name]&to=graphics/bib/temp/[cart].gif]
Home
[error]