[!][/!] [include file=protect.inc&group=&g_required=F] [text]updateHeaders=F[/text] [if [math]{[fileinfo file=header_new.inc][modDate][/fileinfo]}[/math]<[math]{[date]}[/math]][then] [text]updateHeaders=T[/text] [/then][else] [if [math]{[fileinfo file=header_new.inc][modTime][/fileinfo]}+600[/math]<[math]{[time]}[/math]][then] [text]updateHeaders=T[/text] [/then] [/if] [/else] [/if] [showif [updateHeaders]=T] [!] [tcpconnect host=tcsd.cust.clickability.com&port=80] [text]the_header=[middle startafter=%0D%0A%0D%0A][tcpsend]GET /tcsd_header HTTP/1.0[unurl]%0D%0A[/unurl]HOST: tcsd.cust.clickability.com[unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/middle][/text] [/tcpconnect] [writefile file=header.inc][the_header][/writefile] [writefile file=../../gallery/header.inc][the_header][/writefile] [tcpconnect host=tcsd.cust.clickability.com&port=80] [text]the_footer=[middle startafter=%0D%0A%0D%0A][tcpsend]GET /tcsd_footer HTTP/1.0[unurl]%0D%0A[/unurl]HOST: tcsd.cust.clickability.com[unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/middle][/text] [/tcpconnect] [writefile file=footer.inc][the_footer][/writefile] [writefile file=../../gallery/footer.inc][the_footer][/writefile] [/!] [/showif] [include file=header.inc]
Login | New Ad | Modify Ads | Contact Administrator[showif [g_member_groups]^ADMIN] | [Admin][/showif]

[showif [raw][action][/raw]=[action]] [text]action=find[/text] [/showif] [showif [raw][keywords][/raw]=[keywords]] [text]keywords=[/text] [/showif] [showif [raw][category][/raw]=[category]] [text]category=[/text] [/showif] [showif [raw][id][/raw]=[id]] [text]id=[/text] [/showif] [showif [raw][page][/raw]=[page]] [text]page=1[/text] [/showif] [showif [raw][sort][/raw]=[sort]] [text]sort=date[/text] [/showif] [text]search_text=woGROUP1datarq=[url][keywords][/url]&GROUP1field=[url]KEYWORDS+DESCRIPTION+SUBJECT[/url]&eqCATEGORYdatarq=[url][category][/url]&eqIDdatarq=[url][id][/url][/text] [text]sort_text=[/text] [switch value=[sort]] [case value=USER] [text]sort_text=asNAMEsort=1&DATE_MODIFIEDtype=date&deDATE_MODIFIEDsort=2[/text] [/case] [case value=SUBJECT] [text]sort_text=asSUBJECTsort=1&DATE_MODIFIEDtype=date&deDATE_MODIFIEDsort=2[/text] [/case] [default] [text]sort_text=DATE_MODIFIEDtype=date&deDATE_MODIFIEDsort=1&asSUBJECTsort=2[/text] [/default] [/switch] [text]max_found=20[/text] [search db=admin/ad.db&eqVISIBLEdatarq=T&geDATE_EXPIRESdatarq=[date]&DATE_EXPIREStype=date&[sort_text]&[search_text]&max=[max_found]&startat=[math](([page]-1)*[max_found])+1[/math]] [founditems] [showif [action]=view] [/showif] [/founditems] [/search]
Classified Ads
[math show=f]cur_index=2[/math] [search db=admin/category.db&neIDdatarq=findall&RANKtype=num&asRANKsort=1][founditems][search db=admin/ad.db&eqCATEGORYdatarq=[url][name][/url]&eqVISIBLEdatarq=T&geDATE_EXPIRESdatarq=[date]&DATE_EXPIREStype=date&max=1][founditems] [showif [math][cur_index]%3[/math]=0][/showif] [math show=f]cur_index=[cur_index]+1[/math] [/founditems][/search][/founditems][/search]
View All  [category]  

[numfound] [hideif [url][category][/url]=]result(s) for category "[category]"[/hideif][hideif [url][keywords][/url]=]result(s) for keywords "[keywords]"[/hideif][showif [url][category][keywords][/url]=]result(s)[/showif]. [math show=f]num_pages=floor(([numfound]+[max_found]-1)/[max_found])[/math] [hideif [num_pages]=1]Page: [loop start=1&end=[num_pages]] [hideif [index]=1]|[/hideif] [hideif [page]=[index]][/hideif][index][hideif [page]=[index]][/hideif][/loop][/hideif]

[format days_to_date %m/%d/%y][math]{[date_modified]}[/math][/format] [name]  [subject] [if "[action]"="find"][then]View Ad[/then][else]Back[/else][/if]
[convertchars][description][/convertchars] [hideif [image]=][fileinfo file=images/[id]/[image]][showif [exists]=T]
Click Image To Enlarge
[/showif][/fileinfo][/hideif]
 
[category]  Email: [email]  [hideif [url][phone][/url]=]Phone: [phone][/hideif]  Send To Friend
 

[numfound] [hideif [url][category][/url]=]result(s) for category "[category]"[/hideif][hideif [url][keywords][/url]=]result(s) for keywords "[keywords]"[/hideif][showif [url][category][keywords][/url]=]result(s)[/showif]. [math show=f]num_pages=floor(([numfound]+[max_found]-1)/[max_found])[/math] [hideif [num_pages]=1]Page: [loop start=1&end=[num_pages]] [hideif [index]=1]|[/hideif] [hideif [page]=[index]][/hideif][index][hideif [page]=[index]][/hideif][/loop][/hideif]

[closedatabase db=admin/ad.db] [include file=footer.inc]