[!][/!]
[include file=protect.inc&group=]
[include file=header.inc]
[showif [action]=add]
[text]the_date_expires=[date_expires][/text]
[showif [url][date_expires][/url]=]
[text]the_date_expires=[format days_to_date %m/%d/%Y][math]{[date]}+{2/0/0000}[/math][/format][/text]
[/showif]
[showif [format days_to_date %Y][math]{[the_date_expires]}[/math][/format]<1980]
[text]the_date_expires=[format days_to_date %m/%d/][math]{[the_date_expires]}[/math][/format][math][format days_to_date %Y][math]{[the_date_expires]}[/math][/format]+100[/math][/text]
[/showif]
[math show=f]newID=0[search db=admin/ad.db&neIDdatarq=findall&IDtype=num&deIDsort=1&max=1][founditems]+[id][/founditems][/search]+1[/math]
[append db=admin/ad.db]ID=[newID]&VISIBLE=&DATE_CREATED=[date]&DATE_MODIFIED=[date]&USER_ID=[g_member_id]&DATE_EXPIRES=[url][the_date_expires][/url]&[formvariables name=__&exact=f][getchars start=3][name][/getchars]=[url][value][/url]&[/formvariables][/append]
[commitdatabase db=admin/ad.db]
[include file=notify.inc&theID=[newID]]
[appendfile file=admin/log.db][date] [time] [ipaddress] [url][the_user];[the_pass][/url] [url]ID=[newID]&[formvariables][name]=[url][value][/url]&[/formvariables][/url][unurl]%0D%0A[/unurl][/appendfile]
[/showif]
[showif [raw][show][/raw]=[show]]
[text]show=new[/text]
[/showif]
Home
[showif [show]=image]
Click "Upload Image" to upload a JPG or GIF image less than 100K. Thumbnail size on home page is 200 x 150 pixels.
Or, click "Finished" to return to the home page.
Upload Image |
Finished
[/showif]
[showif [show]=new]