arrHitInfo=new Array("00,25,2,29,1,38,2","000000,10,1","000088,10,1,31,8","0000ff,10,1","007700,31,12","01,29,1","01349,4,1","01463,4,1","01808,4,1","01863,4,1","039,35,1","04,23,9,24,9,25,4,26,9","05,25,5","062,39,1","10,25,1,29,2,31,4,38,1,50,8","100,31,16","1000,10,2,33,1,39,1","10am,1,1,5,1","11,22,1,51,8","12,1,1,5,1,6,1,29,3,31,4,36,2,38,3","13,8,1","15,1,1","16,6,1","17,8,1","18,25,2,28,1","19,6,1","1901,11,1","1999,38,1","20,8,1,29,4,38,3","200,29,2","2000,29,1,38,2","2003,38,2","2005,1,5,5,5","2006,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1","21,5,1,34,1","22,1,1,5,1,25,2","24,6,1","25,8,1,25,2,31,4","25th,7,1","28th,7,1","29,5,1","2f,29,1","30,8,1,21,1,29,1,38,3","300,12,1","3000,10,2","31,6,1,18,1","36,18,1","40,29,4,34,1,38,2","48,18,1","4pm,1,1","50,29,4","51,29,1","521386,4,1","75,31,4","766710,4,1","777,38,1","790373,4,1","7pm,21,1","86400,31,1,34,1,35,1,39,2","866434,4,1","8th,7,1","9a,10,3","a1,34,4,35,3","a2,34,8,35,3","a9,14,2","aa0000,31,12,36,1","aa1,40,2","aa4,33,10,39,4","aa5,33,5,39,5","abilities,12,1","ability,38,2","able,38,3","access,11,1,18,1","accesszone,10,1","accompanying,38,1","according,38,1","activities,11,2","adctnm1,34,4","add,10,1,31,4,32,6,33,3,38,3,39,2","adding,38,1","additional,38,4","additionally,38,1","address,10,4,28,2","addslashes,39,1","adequate,27,2","adjacent,14,1","adm,30,1","admcookpassw,37,2","admin,2,1,29,1,30,7,38,3","admpassw1,37,2","adphotos,30,1,34,1,36,1,38,2,39,4","adrate,30,1,34,2,38,1","ads,29,3,30,15,32,4,34,28,35,15,36,10,37,2,38,25,39,8,40,2","adsfields,39,1","adsonpage,34,9,35,2","adult,18,1","adults,1,1","advert,29,1","advertise,1,1,2,5,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1","advertised,2,1","affected,27,1","age,38,1","ages,11,1,12,1","ago,1,1","agree,28,1,38,2","agreement,38,3","aid,1,1,7,1,12,1,28,1","aids,27,1","air,27,1","alcl,38,1","alice,23,2","alink,10,3","allan,4,1,23,2,26,3","allcatfields,29,1,34,2,38,1","allclassifieds,38,1","allow,7,1,10,5","almond,38,10","almondsoft,38,7","alness,7,1,11,1","along,1,4,4,1,11,1","alphabetic,10,2","alternatively,11,1,18,1","although,21,1,27,1","always,1,1,5,1","ammlk,37,2","amp,24,2,26,1","amrita,25,1","andrew,23,1","andromeda,23,1","annual,18,1","another,1,1","anticipation,7,1","anything,29,1","anytime,1,1","appear,38,8,39,1","application,10,1,18,1","appropriate,18,1,27,2","approx,14,1","april,6,1,8,1","arc,12,1","area,12,1,14,1","areas,38,1","aren,1,1","arial,31,28","arising,38,1","around,21,2","array,10,4,29,20,34,1,35,1,38,3","association,12,1,13,2","att,25,1","attached,10,1","attachment,10,13","attend,7,1","attending,7,1","august,5,1,6,1,8,1,21,1","author,38,1","authority,13,1","autumn,6,1,8,1,23,1,24,1","available,11,1,12,1,18,1,31,1","averon,7,1","avoid,38,2","aware,27,1,28,1","away,38,1","background,10,4","backgrounds,12,1","banlist,10,8","banned,10,4","base64,10,1","based,11,1","bbc,13,2","bearers,11,1","because,10,2","begin,29,3,38,1","beginner,1,1","beginners,5,1,12,1","behalf,11,1","best,38,4","between,1,1,11,1","bgcol21,36,1","bgcol22,36,1","bgcolor,10,3,31,32","bigger,21,1","birth,28,1","black,31,20","blank,3,8","block,31,8","blue,24,2,25,1,26,2","boat,8,4,11,5,12,3,18,2,23,3,24,3,25,3,26,3,27,3,28,4","boating,4,1,11,2,14,2","boats,21,2,27,1,29,1","border,31,16","bordercolor,31,4","both,1,1,38,1","br,31,4","bradley,10,1","bradmiller,10,1","breezy,24,1","bridge,14,1","brief,34,4,38,4","bring,1,2,11,1","british,27,1","browse,31,4,38,2","browser,10,1,35,1,39,3","build,10,1","buoyancy,1,1,27,1","buoys,21,1","burgis,4,1,24,2,26,1","business,38,2","businessinterruption,38,1","button,10,1,28,1,35,1,39,3","buying,29,2","calendar,12,1","caley,13,1","caleymarina,13,1","cannot,38,1","canoe,28,2","capability,27,1","caption,38,1","captions,36,17,38,1","car,14,1","care,27,1","carry,14,1","case,38,2","cat,30,1,31,17,33,19,34,7,35,5,36,12,39,16,40,4","cat1,36,3","categories,29,2,30,2,31,5,33,1,34,3,35,1,36,5,38,10,39,2,40,5","categoriesfields,29,1","category,36,3,38,8","cateogry,34,1","catn1,38,2","catname,30,1,34,1,35,2,36,1,38,1,39,1","caused,38,3","cellpadding,31,20","cellspacing,31,20","center,31,8","centre,7,1,12,1","certain,10,1","certified,12,1","cfpa,13,1","chance,11,1","change,22,3,33,1,38,2","changed,39,1","changes,29,1","changing,18,1","chanonry,13,2","char,30,1,33,1,38,1","characters,38,1","chars,33,1","check,10,14,30,1,31,1,34,2,35,1,36,2,39,3","checkbox,33,1,38,3,39,1","checking,10,1,27,1","children,1,1","chmod,38,1","choice,38,1","choose,29,1","chunk,10,6","church,14,1","circe,25,1","ckfvr,32,10","class,7,1,25,3,28,1,29,1","classes,12,1","classifeds,38,1","classified,29,4","classifieds,30,1,38,14","client,38,1","clip,41,8","clothing,27,1","club,4,2,7,1,11,7,12,3,13,2,14,1,18,1,21,2,27,2,28,6","clubhouse,11,1,18,2,42,8","cnt,39,2","co,7,1,13,1","coach,11,1","code,10,12,38,1","codin,38,1","coincidence,38,1","cold,27,1","color,10,12,31,52","colour,28,1","cols,33,1,38,1","colspan,31,8","column,29,3","columns,38,1","com,4,1,10,1,13,1,38,6","comand,38,1","combined,21,1","come,1,2,4,1,11,1","command,38,1","commas,10,1","commerce,38,1","commodore,4,2","communications,28,1","community,13,1","comp,38,1","company,2,1,38,2","competitive,21,1","complete,18,1","compound,11,1,18,2","computer,28,1","concrete,14,1","conditions,27,1,28,1","config,29,4,30,4,34,2,38,11","configuration,39,1","connect,30,2,34,3","connected,38,1","connecting,30,2,34,3","consequential,38,1","consuming,28,1","cont,31,6","contact,2,1,4,1,7,1,11,1,29,11,31,4,38,3","contacts,1,1,2,1,4,10,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1","contain,38,1","containing,22,1","contains,30,1","content,10,5","contentcontent,10,1","continue,10,1","contributed,10,1","cook,32,14,37,4,39,2","cookie,32,21","cookies,30,1,32,10","copy,1,1,2,1,4,1,5,1,6,1,7,1,8,1,10,2,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1,43,8","copyright,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1,38,2","copyrigt,38,1","cormack,24,1,26,2","corr,30,1,34,1,39,2","correct,30,2,34,2","cost,12,1,18,1,28,1","costal,13,1","costs,38,1","count,10,3,30,1,31,1,33,1,34,12,35,6,36,10,39,4,40,1","course,7,1","courses,12,2,20,5,21,1","cover,12,1,21,1,27,2","crawshaw,4,1,12,1","create,30,16,34,2,38,1,39,2","created,30,2,34,1,38,4","createtb,30,8","creating,30,2","crew,21,1,29,3","cromarty,11,1,13,2,14,1,21,2,27,1","cromartyboatclub,13,1","cruiser,21,1,25,1,26,1","ct,30,1,31,13,33,1,34,12,35,5,36,10,37,2,38,1,39,5","ctn,36,3","ctval,36,2","customize,38,13","dalcraig,7,1","dalmore,1,1,14,1","damages,38,2","dangerous,23,2,26,2","daniel,26,1","database,28,1,30,6,34,3,38,2,39,1","date,7,1,28,2,31,20,33,4,35,5,36,3,38,1,39,8,40,1","dates,5,8,6,8,7,8,8,8,12,1","dave,4,1,23,4,26,5","day,1,7,7,1,11,1,12,1,28,1","days,1,1,12,1","db,30,37,32,2,34,15,39,35","dcf,32,2,34,2","dddddd,31,4","deatails,38,1","december,18,1","decide,27,1","default,29,1,30,1,38,8","defined,12,1","defines,38,2","delete,29,1,33,2,35,4,37,2,39,1","deleted,30,1,35,1","delimiter,38,1","desc,34,2,35,1","described,38,1","description,1,3,2,3,4,3,5,3,6,3,7,3,8,3,11,3,12,3,13,3,14,3,17,3,18,3,19,3,20,3,21,3,23,3,24,3,25,3,26,3,27,3,28,4,29,1,38,2","descriptions,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1,38,1","detailed,38,1","details,11,2,18,1,19,1,21,1,28,2,29,7,31,6,36,2,38,4","detl,29,1,31,5,38,2","diary,21,1","different,38,3","dinghies,6,1,27,1","dinghy,1,3,4,1,5,9,6,8,12,3,21,2,23,9,26,1,27,1,28,2,29,1","dinghyboats,29,1","direction,27,1","directory,38,3","disagree,28,1","disclaimer,38,1","discuss,1,1,2,1","displayed,29,1,38,4","displaying,29,1,38,1","distillery,14,2","distribute,38,1","distributed,38,1","domain,10,1,38,1","donald,24,1,26,1","doug,23,1","down,14,1","dtl,31,4,32,1","due,39,1","during,4,1,12,2,21,2","easily,38,1","easy,38,1","echo,1,2,2,2,4,2,5,2,6,2,7,2,8,2,10,4,11,2,12,2,13,2,14,2,17,2,18,2,19,2,20,2,21,2,22,1,23,2,24,2,25,2,26,2,27,2,28,2,30,21,31,20,33,15,34,10,35,1,36,4,39,12,40,9","ecosse,1,1,4,1","edit,22,1,29,1,33,1,35,1,37,2,38,1,39,1","editad,39,1","edited,39,1","edition,38,1","eeeeee,31,4,36,1","effective,28,1","eg,22,1","electronic,28,1","elseif,10,1","email,10,19,21,1,28,2,29,5,31,7,34,2,35,9,37,4,38,3,39,5","emllogin,37,2","emltp,37,2","empty,10,1","encode,10,1","encountered,38,1","encouraged,12,1","end,11,1","ensure,27,1","entitles,18,1,38,1","entries,36,1","entry,39,19","env,10,7","ereg,10,11,31,4,32,1,33,1,34,6,35,2,39,2","eregi,10,1","error,10,9,30,3,34,3,39,1","errorsin,30,1","established,11,1","evening,7,2,11,1,12,1,21,1","event,38,1","events,7,9,21,1,27,1","eviromental,10,2","ewan,23,2,26,1","exact,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1","example,38,1","excitabull,25,1","excludes,10,1","exclusively,38,1","exists,10,2,30,1,31,1,36,1,39,2","exit,10,2,14,1,30,9,31,4,34,4,35,4,36,1,39,5,40,1","exp,30,1,31,2,35,2,39,2","expect,19,1","expected,29,1","experience,11,2,28,1","experienced,21,2","expire,31,9,33,2,39,3","expired,35,1,39,1","explained,38,1","explode,10,4","expperiod,39,1","expressed,38,1","exptime,30,1,38,1,39,1","face,31,28","fade,9,8","failure,38,1","false,10,3","family,18,1,28,1","fancy,1,1","far,21,1","farr,4,1","fat,25,1","fav,36,1,40,1","favorite,32,7","favorites,32,3","favrt,32,8","fax,10,9","fdkspkdsanbf,32,2","fdspkdsnbf,34,2","feature,38,1","features,38,1","february,7,1","fee,18,4","feel,11,1","fence,18,1","fetch,34,3,35,5","ff0000,10,1","ffcccc,31,1,39,1","ffffff,10,1,31,13,39,1","field,10,3,33,2,38,18,39,4","fields,10,2,29,6,30,18,31,17,33,26,34,11,35,5,36,12,38,17,39,17","fieldsif,10,1","file,1,1,2,1,4,1,5,1,6,1,7,1,8,1,10,31,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,30,4,31,2,33,4,34,2,36,1,38,15,39,3","file2,10,6","fileds,38,1","files,22,1,37,2,38,1","filesize,10,1","fill,28,1,33,1,35,1,39,1","filled,33,1,38,1","final,23,1","find,38,1","findhorn,21,1","finish,29,3,38,1","finlayson,23,3,26,1","first,7,1,12,1,14,2,28,1,38,4","firth,11,1,13,1,14,1,18,1,21,2,25,1","fitness,38,1","fix,38,1","fling,23,1","flmax,34,4","flmin,34,5","fmaxsize,39,3","focus,11,1","focuses,12,1","folder,22,2","folders,38,1","foldertotal,22,1","follow,14,1","following,4,1,10,2,30,1,33,1,38,11","font,31,104","footer,29,2,30,13,31,5,33,1,34,5,35,1,36,1,38,3,39,4,40,1","fopen,10,1","foreach,10,2,30,2,31,4,32,5,33,2,34,4,35,1,36,3,39,5,40,1","forecast,27,1","form,10,7,18,3,28,3,29,1,33,1,38,10,39,3","formal,11,1","formand,35,1,39,3","format,29,2,35,1,36,2","formmail,10,8","forms,33,8,38,2","forsale,36,4","forthcoming,7,1","found,10,2","fp,10,2","fraser,24,2,26,1","fread,10,1","fred,24,2,26,1","free,11,1,38,2","frequency,38,1","full,11,1,12,1","fun,27,1","funcs1,34,8","funcs2,35,8,38,1","function,10,6,30,6,31,2,32,6,34,7,35,8,36,4,38,9,39,6,40,1","further,27,1","fv,32,1","fvrt,31,8,32,2","gallery,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1,31,1,39,1","gate,18,1","genarated,38,1","generated,38,3","george,24,3,26,1","getenv,10,2","getmbadsnum,35,1","getuseradsnum,35,1","gif,3,8,9,8,43,8,46,8,47,8","giffile,22,1","gillies,23,1","give,11,1,38,1","global,30,6,31,2,32,5,34,6,35,7,36,4,39,7,40,1","globalnet,7,1","goal,38,1","goes,10,1","good,10,1,27,1","got,10,1","gregor,23,1","group,38,1","guide,11,1","gusto,24,1,26,1","had,10,1","half,38,2","hall,7,1","handicap,21,1","handle,10,1","hasincorrect,35,1","hatter,25,1","having,39,1","header,29,2,30,11,31,13,34,4,38,2,39,4","health,27,1","hear,19,1","height,31,16,36,4,38,1,39,3","held,7,1","helvetica,31,28","hidden,38,1","hilarity,25,1","him,10,1","home,10,2,38,1","homepage,1,4,2,4,4,4,5,4,6,4,7,4,8,4,11,4,12,4,13,4,14,4,17,4,18,4,19,4,20,4,21,4,23,4,24,4,25,4,26,4,27,4,28,4,31,2","homeurl,31,2,38,1","host,30,5,34,3","hosted,11,1","hosts,21,1","however,27,1,38,1","href,31,8","html,29,5,30,24,31,19,33,2,34,15,35,1,36,23,38,14,39,9,40,1","http,10,5,13,4,32,30,33,1,34,30,36,1,37,2,38,5,39,23","hullabuloo,25,1","i1,39,1","ibc,1,5,2,5,4,5,5,5,6,5,7,5,8,5,11,5,12,5,13,5,14,5,17,5,18,5,19,5,20,5,21,5,23,5,24,5,25,5,26,5,27,5,28,5,29,4","id,30,1,31,6,32,5,35,7,36,1,37,6,38,2,39,5","idea,10,1","ideal,11,1,14,1","idemail,34,8","idnum,30,1,31,16,32,2,34,5,35,7,36,4,37,2,38,2,39,23","illegal,10,1","image,15,8,22,1","image002,41,8,44,8","images,22,2","imagesimage,22,1","impact,27,1","implied,38,1","important,27,1","impossible,38,1","improvers,5,1","inability,38,1","inc,30,2","incidental,38,1","incl,28,1,31,2,33,1,36,4,39,6","include,27,1","including,12,1,28,1,38,2","incorrect,34,1,38,1,39,1","index,29,1,31,8,36,4,38,13,39,1","indirect,38,1","inf,33,1","info,13,1,29,3,31,2,35,1,36,2,38,4,39,3","info11,39,7","information,28,1,38,3","input,30,1,33,2,38,2","insert,39,1","inside,38,1","install,38,3","installation,38,1","instead,10,1","instruction,1,1,5,5,11,2,12,15,18,1,27,1","instructions,10,1","instructor,4,1,12,2","instrution,5,4","integer,29,1,30,5,38,1","interested,7,1,21,1","interface,30,3","interfaces,38,1","international,38,1","invalid,10,4","invergordon,1,1,2,1,4,1,7,1,11,3,13,3,14,3","invergordonboatingclub,29,1","invergordonlifeboat,13,1","inverness,4,1","invisible,38,1","involved,11,1","islands,7,1","item,1,5,2,5,4,5,5,5,6,5,7,5,8,5,11,5,12,5,13,5,14,5,17,5,18,5,19,5,20,5,21,5,23,5,24,5,25,5,26,5,27,5,28,5,29,4","items,1,2,2,2,4,2,5,2,6,2,7,2,8,2,11,2,12,2,13,2,14,2,17,2,18,2,19,2,20,2,21,2,23,2,24,2,25,2,26,2,27,2,28,2","itif,10,2","its,1,1","iv26xg,4,1","jack,10,2","jacket,1,1","jackson,7,1","january,18,1","jaybee,25,1","jeburgis,4,1","jerry,7,2","jitterbug,23,2","john,4,2,24,2,26,1","join,18,1","joining,18,1","jpg,15,8,16,8,22,2,31,1,36,1,39,3,41,8,42,8,44,8,45,8,48,8,49,8,50,8,51,8,52,8,53,8,54,8,55,8,56,8,57,8,58,8,59,8","july,6,2,8,2","junction,14,2","june,1,2,5,1,8,1","junior,18,1,28,1","keel,8,8,24,9,25,4,28,1,29,1","keelboat,1,1,21,1,28,1","keelboats,8,1,21,1,29,1","keith,7,1","kept,28,2","kertra,25,1","key,30,6,31,20,33,27,34,20,35,3,36,23,38,2,39,32,40,9","key5,39,2","keys,10,19,18,1,38,2","keyword,10,1,34,1,38,5","keywords,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1","kind,28,1","know,4,1,29,1","kraik,25,1","kumara,24,3,26,1","laid,21,1","large,39,2","laser,26,1","last,11,1,38,1","laws,38,1","layout,38,5","learn,1,1,11,1","least,38,1","left,14,4,29,3,30,1,31,2,38,1,39,1","leftcol,29,3,31,5,36,1,38,6,40,1","legal,38,1","length,38,2","length1,39,2","less,21,1,28,1","level,1,1,12,1,27,1","levels,28,1","liability,38,2","liable,38,1","license,38,9","licenses,38,1","licensing,38,1","lifeboat,13,1","lim,36,6,39,4","limit,34,1,38,1","limited,38,2","line,29,1","linestart,22,1","link,1,1,2,1,4,1,5,1,6,1,7,1,8,1,10,3,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1,31,5,38,7,39,5","links,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,6,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1","list,10,6,30,2,32,1,34,7,36,1,37,2,38,4","listed,38,1","listing,34,1","load,38,1","local,11,1,27,1","location,10,8,14,8,22,1","locations,27,1","lofoten,7,1","log,10,1,30,1","logbook,12,1","login,30,1,34,1,35,3,37,6,38,1,39,3","logo,16,8","longer,21,2","look,38,1","looking,29,2,38,2","loop,38,1","loss,38,3","lost,10,1","lower,15,8","mackenzie,24,1,26,1","mail,1,1,4,3,18,1,28,2,29,1,31,7,35,1,38,2","mailings,28,1","main,16,8,18,1,21,4,38,1","maintain,12,1","manual,10,1","manw,38,2","map,45,8","march,7,2","marina,13,1","marked,33,1,39,1","martin,23,2","martyn,1,1,4,1,12,1","martyncrawshaw,1,1,4,1","match,36,1","matt,10,1","matter,18,1","max,10,1,33,4,34,3,38,2","maxvalue,38,1","mb1,35,2","mblogin,34,7,37,2","mbprf,37,4","mcount,35,4","md,31,4,34,1,37,2","mds,34,7,37,2","means,38,4","medical,28,2","meeting,7,1","member,34,1","members,7,1,11,1,12,1,21,2,27,1","membership,11,1,17,5,18,6,28,5","membershipformsubmitted,19,4","merchantability,38,1","message,30,4,35,9,37,2,38,2,39,7","message1,30,2","messages,38,1","methods,38,1","metoffice,13,1","metre,12,1","mfcr,25,4","mfvrt,32,8","midweek,6,1,8,1","mighty,10,1","mile,1,1,14,1","miller,10,1","mind,38,3","minimal,12,1","minmax,29,1,34,1,38,1,39,1","minvalue,38,1","misc,29,1","miscellaneous,29,1","missing,10,5,39,1","mm,31,3,39,3","model,29,1","moderating,38,3,39,6","modifications,38,2","modified,38,1","months,12,1","moorings,18,1","moray,21,1,25,1","moredetails,38,1","moso,26,1","mss,32,10","mt,22,1","mtmdfile,31,2,33,1,39,3","mtmtm1,33,2","multim,31,2,39,2","multimed,31,5","multimed1,39,2","multimedia,31,4,33,1,39,5","multiple,10,1","murray,23,1","mysql,30,9,34,10,35,11,38,2,39,2","name,1,1,2,1,4,1,5,1,6,1,7,1,8,1,10,11,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,2,29,5,30,19,34,9,36,5,37,3,38,11,39,3,40,3","namechbx,33,1,39,3","names,29,1,38,8","neccessary,38,1","necessary,11,1,29,1","needs,38,1","neil,24,1,26,1","net,1,1,4,2","new,33,1,36,1,38,4,39,2","news,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1","next,34,10,36,1,38,1","nice,1,1","night,28,1","noaa,13,1","non,21,1","normal,11,1","norseman,25,1","north,13,1,14,1","northern,7,1","norway,7,1","nosearch,29,8,38,1","nosss,11,1","notexist,38,1","nothing,33,1","nsya,13,1","null,36,2,39,1","num,34,4","number,10,2,22,1,28,1,29,1,38,2","numbers,28,1","numerical,38,1","october,11,1","off,7,1,14,1","offer,38,1","offered,7,1,12,1,38,1","offering,1,1","office,11,1","official,38,1","ofpurchase,38,1","oil,21,1","old,11,1,30,1,33,3","online,13,1,18,1,28,4","onlywithphoto,34,1,37,2","open,1,6,11,1","opening,26,2","operate,12,1","operator,38,1","option,10,1,28,1","options,33,1,38,1","ord,34,2","order,10,2,34,1,35,1,38,3","orderif,10,1","org,2,1,13,5,29,1","organised,27,1","originally,10,1","otherpecuniary,38,1","output,35,3,38,1,39,2","own,11,1,12,1,38,2","owner,18,1,28,1","owning,11,1","padlocked,18,1","page,29,4,34,14,35,2,37,2,38,12","pages,34,12,36,2,38,7","pageshtml,29,2","pagesin,38,1","parameter,38,6","park,14,1","parse,10,2","participants,12,1","particular,38,1","passw,29,1,30,2,37,8,38,4","password,29,1,30,8,34,3,38,1","past,14,1","paterson,4,2","path,10,13,31,3,33,1,36,3,38,1,39,13","pennant4,46,8","people,4,1,10,2,11,1,27,1","per,12,1,38,1","performance,38,1","period,30,1,31,2,35,2,39,2","permission,38,1","permitting,18,1","person,12,1,27,1","personal,38,1","phlimitinfo,36,3,39,2","phone,10,11,29,5,38,1","photo,31,2,33,4,36,3,38,3,39,9","photocapt,31,1,39,1","photos,30,1,31,5,33,1,35,1,36,4,38,3,39,10","photos1,39,1","php,1,4,2,4,4,4,5,4,6,4,7,4,8,4,10,7,12,4,13,4,14,4,17,4,18,4,19,4,20,4,21,4,22,8,23,4,24,4,25,4,26,4,27,4,28,4,29,5,30,12,31,12,32,8,33,8,34,10,35,8,36,4,38,27,39,8,40,8","phpmoderating,38,1","phptomaxsize,33,1,39,2","phptomaxsize1,33,1,39,1","phrase,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1","pio,26,1","place,38,4","placed,38,2","plan,27,1","plus,4,1","pm,6,1,8,1,21,1,37,6","pointing,10,1","polar,25,1","policies,38,1","popular,21,1","port,13,1,27,1","portmahomack,21,1","position,23,3,24,3,25,3,26,3","possible,39,1","post,10,2,28,2,36,1,37,2,39,22","postal,10,1","postcode,28,1","posted,31,9,33,2,34,2,36,1,39,3","pound,12,2,18,3","power,14,1,27,1","powerboat,28,1","powerboating,12,1","powered,10,2","pr,36,6,39,4","precautions,27,1","prefer,28,1","prepare,10,2","present,7,1","pretty,10,1","prev,34,9,36,1","preview,36,2,39,1","previewphoto,36,3,39,4","previous,34,1","prevphoto,36,4,39,3","price,18,1,29,3,38,4","principle,38,1","print,10,6,18,1,30,1,31,17,32,2,34,1,36,2,38,2,39,5,40,4","printpasswordform,30,1","prior,11,1","privacy,31,3,38,2","private,18,1","problem,38,4","problems,38,2","product,38,2","profits,38,1","program,11,1,38,1","programme,11,1","programs,18,1","progressed,11,1","proper,27,1","protected,38,1","provide,1,1","provided,11,1","providedas,38,1","provides,14,1,21,1","providing,10,1,12,1","prphotolimits,36,2,39,2","ps,37,2","public,14,1","purchase,38,4","purchased,38,1","purchasing,38,4","purpose,38,1","pursuit,26,1","qualification,1,1,27,1","qualifications,28,1","qualified,12,1,27,1","query,34,6,35,19,36,1,39,3","query1,30,1","quite,1,1","race,11,2,21,4,25,1,26,1","races,21,2","racing,6,9,8,9,11,1,20,5,21,8,23,4,24,4,25,4,26,4,27,1,48,8","raku,25,1","rand,10,2,22,1","random,22,3","randomimage,22,8","range,38,1","ratan,25,1","rate,38,6","rated,38,2","ratedads,34,8,36,3","rating,38,4","read,38,1","readme,37,8","real,29,1,36,3,38,1","reason,38,1","reasons,10,3,38,1","receive,28,1","recent,11,1","recipient,10,7","recognised,12,1","redirect,10,2","referer,10,12","referers,10,4","refund,38,2","reg,38,2","regardless,27,1","regatta,26,11","registered,38,1","registration,17,5","remain,38,1","remove,10,1,32,4","removed,29,1","renewal,28,1","replace,10,3,31,4,32,1,33,1,34,6,35,2,39,2","replacement,38,1","repltitle,31,5","report,10,6","reports,10,1","reqired,38,1","request,37,30","requesting,38,1","require,10,7,29,2","required,10,7,38,2","res,34,8,35,10","res1,34,3","rescue,21,1,27,3","resell,38,1","reserved,10,20,38,4","resold,38,1","resources,38,2","result,30,1","result1,30,1","results,23,9,24,9,25,9,26,9","return,10,3,18,3,30,1,31,2,32,4,34,6,35,8,36,4,39,7","rhythm,24,2,26,1","ri,10,2","richard,23,2","right,14,2","rightform,33,1","rights,38,1","rigs,21,1","risk,38,1","rmall,32,3","rmv,32,2","road,14,3","rosskeen,11,2,14,2","roughly,12,1","row,15,8,31,25,34,8,35,19,36,21,38,1,39,12","rows,33,1,38,1","royal,12,1,13,1","rt,31,1,37,2","run,7,1,12,1,38,1","rya,1,1,7,1,11,1,12,2,13,1,27,1,28,1","s357,40,6","safety,12,2,27,5","safeways,14,1","sail,1,2,27,1,28,1,29,1","sailing,1,1,5,1,11,1,12,3,13,2,14,1,21,1,27,1,28,1,29,1","sailnumber,29,2","sailors,11,1,21,2","saltburn,7,1","sam,25,1","same,27,1,34,1,38,3","saturday,7,1","save,39,2","saved,39,1","savepherr,39,4","schallusrads,31,1","scotland,13,1","script,38,19","scriptwithout,38,1","sdtpcol,31,9,39,1","sdtpcol1,31,9,39,1","search,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1,29,2,34,9,38,10","searchbar,43,8,47,8","searched,38,1","searchedin,38,1","searchemail,34,2,35,2","searching,38,1","seaside,27,1","season,7,1","seaweed,27,1","sec,31,1","second,10,1,30,1,31,6,38,3,39,1","secretary,4,1","security,10,1","see,2,1,10,1,12,1,21,1,38,8","seems,34,1","select,28,2,29,2,30,1,33,5,34,3,35,6,36,2,38,4,39,1","selectparam,38,2","sell,38,1","seller,38,1","send,10,1,18,1,28,1","senior,4,1,12,1","separated,38,2","separately,18,1","seperate,10,1","september,5,1","series,6,3,8,3","server,10,1,30,1,34,1,38,1,39,1","session,12,1","sessions,1,1,11,1","set,29,10,30,3,34,2,38,8","set1,29,3,38,4","set2,29,3","set3,29,2","setcookie,32,3","sets,29,2,34,2,38,1","setting,38,1","settings,30,1,38,7","sfmd,29,1,38,8","sheet,10,1","sheltered,14,1","shields,24,3,26,1","shoes,1,1,11,1","shore,12,1,14,1","short,27,1,29,1,35,1,36,1,38,13,39,1","shortly,19,1","shot,1,1","should,1,1,18,1,28,1,29,3,33,1,38,6","shown,11,1","shows,38,1","sign,28,4","signed,14,1","signify,38,1","signposted,14,1","single,28,1,38,1","site,11,1,38,3","size,10,4,31,28,33,3,38,1,39,1","skipper,7,1,12,1","slides,7,1","slip,14,1,27,1","slipway,1,1,11,2,12,1,14,3,27,1","small,11,3,27,1,38,1,42,8","smoker,38,1","soft,11,1","software,38,2","solely,28,1","someone,4,1","something,19,1","sonas,25,1","soon,39,1","sort,10,10","sorts,10,1","source,27,1","sources,38,1","south,1,1,14,1","sp,30,1,31,2,39,1","space,10,1,18,2","spacer,31,8","spare,11,1","special,38,2","specified,30,1,38,1","specify,38,2","split,10,6,32,5,33,4,35,2,39,2,40,1","sport,27,1","spring,6,1,7,1,8,1,11,1,23,1,24,1","sprintf,36,1","sql,30,8,34,9,35,23,39,22","sqlstring,30,1,34,1,39,2","srch,34,2","stages,14,1","standard,38,1","standart,38,1","stanley,7,1","start,1,1,5,1,22,1,34,4","starting,21,1","storage,18,1","stored,28,1","storing,11,1","str,34,10,39,2","streak,26,1","strengths,14,1","string,10,1,30,6,34,23,39,8","string1,32,9,34,6","strlen,39,1","strnatcasecmp,10,1","stroma,4,2","strtolower,10,4","structure,39,1","stuart,4,1","stuff,10,3","style,10,1","subject,10,1,37,2","subm,39,5","submission,39,1","submit,10,1,28,1,33,1,38,4,39,10","submitad,33,1,39,2","submitted,10,2,38,2,39,1","submitting,19,1,38,2,39,1","successfully,38,1","successfuly,39,2","suggested,10,1","summer,4,1,6,1,8,1,12,1,23,1,24,1","sunday,1,1,4,1,11,1,12,1","sundays,12,1","sunrise,25,1","sure,1,1","surrounded,18,1","table,30,18,31,40,34,9,35,14,38,4,39,7","tables,30,3","tag,29,6,38,2","tags,38,6","tagsin,38,1","take,27,1","takes,10,1","taking,27,1","talk,7,1","tandoori,25,1","taster,1,1","tb,30,5","td,31,64","telephone,28,1","temp,10,5","temp2,10,2","temperature,27,1","templateform,28,4","term,27,1","terms,38,2","termsof,38,1","test,10,1","text,1,1,2,1,4,1,5,1,6,1,7,1,8,1,10,3,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1,29,15,30,2,33,2,34,3,36,3,38,8,39,1","text1,33,3","textarea,29,3,33,1,38,2","thanks,10,2,19,1","thanksfunction,10,1","theclass,29,2","three,1,1,38,1","through,29,1,38,2","throughout,1,1","tidal,14,1","tide,14,1,27,1","tides,13,1","time,27,1,28,1,30,1,31,1,32,3,34,2,35,4,36,1,38,1,39,7","time1,31,3,35,4,36,2,39,3","time2,31,2,39,2","timepho,39,1","times,27,1","title,1,4,2,4,4,4,5,4,6,4,7,4,8,4,10,6,11,4,12,4,13,4,14,4,17,4,18,4,19,4,20,4,21,4,23,4,24,4,25,4,26,4,27,4,28,4,29,2,31,12,33,1,34,1,36,1,38,8,39,2,40,1","tm,34,2","tmp,37,1","too,10,1,39,2","top,29,3,31,12,33,1,35,1,36,1,38,6,39,1,40,9","topper,23,1,26,1","toppers,48,8","total,22,2","towards,14,1","toyour,38,1","trainers,11,1","training,11,3,12,1","traveling,14,2","treasurer,4,1,18,1","treaties,38,1","trim,10,15","trip,7,1","true,10,2","tuesday,7,1,21,1","tuesdays,6,1","turn,14,3","turning,14,1","txt,37,4","type,10,2,22,3,29,1,31,8,38,3","typereal,29,1","types,38,2","uk,2,1,7,1,13,5,29,1","uksort,10,1","ul,31,8","unauthorized,10,1","under,28,1,38,3","understand,28,1,38,2","unknown,10,1","unlink,10,2","unnecessary,33,1","unravalled,24,2,26,1","unravelled,25,1","update,35,4,40,1","updated,40,1","upload,10,2","uploaded,10,2","url,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,1,28,1,31,1,33,1,36,1,38,5,39,6","urlpage,38,2","usage,38,2","use,10,1,18,1,22,1,27,1,28,1,35,1,38,4,39,3","used,1,1,10,2,28,1,29,1,38,2","user,30,5,34,4,38,1","userfile,37,4,38,1,39,5","userinfo,34,3,36,1","users,38,3","using,1,1,2,1,4,1,5,1,6,1,7,1,8,1,10,1,11,1,12,3,13,1,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,2,28,2,38,3","usually,4,1","val,33,6,39,6","valid,10,1,38,1","validity,10,1","validityif,10,4","valign,31,8","value,29,1,30,2,31,4,32,14,33,1,34,13,35,1,36,3,38,1,39,5,40,1","value1,33,3,39,1","values,30,1,34,1,38,3,39,1","var,32,19,34,2,39,6","var1,32,6","var2,32,6","variable,30,1,38,6","variables,10,1,30,2,34,2,38,4","variablesif,10,1","variety,11,1","vars,10,2,32,30,34,30,39,22","version,10,2,38,3","vfvr,32,6","via,38,1","vibrant,11,1","vice,4,1","view,32,1,38,2","violation,10,1","virgin,4,1","vis,37,2","visible,30,1,34,1,35,4,38,1,39,7","visit,38,1","viunvis,37,2","vlink,10,3","wanted,29,1","warning,30,1,38,1","warranties,38,2","warranty,38,2","water,12,1,14,1,27,3","waterproof,1,1","watersports,11,1","way,10,1,14,1,27,1","wearing,27,2","weather,1,1,2,1,4,1,5,1,6,1,7,1,8,1,11,1,12,1,13,4,14,1,17,1,18,1,19,1,20,1,21,1,23,1,24,1,25,1,26,1,27,3,28,1","web,11,1,38,4","webmasters,38,1","website,38,2","wednesday,7,2,21,1","wednesdays,8,1","week,21,1","weekday,11,1","weekends,21,2","weihgt,38,1","welcome,11,2,21,1","wellies,11,1","were,10,1","wet,1,1","whatsoever,38,1","whether,1,1,27,1,28,1,38,1","while,27,3,30,2,34,1","who,10,1","whole,10,1,38,1","width,30,2,31,44,36,5,39,5","wind,14,1,25,1","windchat,25,1","winter,12,1","wire,18,1","wish,11,1,18,1","without,38,2","woman,38,2","wondered,1,1","word,38,1","words,1,2,2,2,4,2,5,2,6,2,7,2,8,2,11,2,12,2,13,2,14,2,17,2,18,2,19,2,20,2,21,2,23,2,24,2,25,2,26,2,27,2,28,2,38,4","works,38,2","would,2,1,4,1,28,1","write,33,1","www,13,8,38,5","yachting,12,1,13,2","yahoo,13,1","year,11,1,21,1","years,1,1,11,2","yes,28,4,31,2,33,1,34,1,36,3,38,1,39,5","youaccept,38,1","younger,21,1","za,10,3","zip,10,11","zipcodes,10,1"); arrFiles=new Array();arrFiles[0]=new Array(1,"2005 Open Day.php","2006-02-26","IBC Homepage","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase 2005 Open Day Throughout Sunday 15 June we are offering taster sessions, both dinghy and keelboat for adults and children. So: if you \'ve always wondered what sailing is like, used to sail years ago and just fancy another shot, or aren \'t quite sure whether you \'ll like it but its a nice day!!! Please come along to Dalmore slipway, one mile south of Invergordon anytime between 10am and 4pm. Please bring along shoes that can get wet and a waterproof jacket. If you have a buoyancy aid please bring that as well, if not we will provide one. If you come along and like it we then start beginner dinghy instruction on 22 May. By 12 June (three days) you should have your level 1 RYA qualification. If you can \'t make it along to the Open Day but want to learn to sail a dinghy please e-mail Martyn on martyncrawshaw@ecosse.net to discuss. News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",8);arrFiles[1]=new Array(2,"advertise.php","2006-02-26","IBC Homepage","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase If you would like to see your company advertised here then please contact us at admin@invergordon.org.uk to discuss News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",7);arrFiles[2]=new Array(3,"blank.gif","2004-05-17","blank.gif","","","",1);arrFiles[3]=new Array(4,"Contacts.php","2006-02-26","IBC Homepage - Contacts","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Contacts If you would like to know more about Invergordon Boating Club please contact one or the following people: Commodore / Senior Dinghy Instructor Martyn Crawshaw 01463 790373 (e-mail: martyncrawshaw@ecosse.net ) Vice-Commodore John Burgis 01349 866434 (e-mail: john@jeburgis.plus.com ) Secretary Dave Allan 01863 766710 Treasurer Stuart Paterson 01808 521386 (e-mail: paterson.stroma@virgin.net ) Stroma Farr Inverness IV26XG Or just come along on Sunday during the summer, there \'s usually someone at the club. News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",9);arrFiles[4]=new Array(5,"dates_Dinghy Instruction.php","2006-02-26","IBC Homepage > Dates > Dinghy instrution","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Dinghy Sailing Instruction (always 10am start) Beginners 22 May 2005 29 May 2005 12 June 2005 Improvers 21 August 2005 4 September 2005 News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",9);arrFiles[5]=new Array(6,"dates_Dinghy Racing.php","2006-02-26","IBC Homepage > Dates > Dinghy Racing","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Midweek Racing Dinghies (Tuesdays at 7 pm) Spring Series 19 April to 24 May Summer Series 31 May to 5 July Autumn Series 12 July to 16 August News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",8);arrFiles[6]=new Array(7,"dates_events.php","2006-02-26","IBC Homepage > Dates > Events","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Invergordon Events Jerry Jackson has offered to run an RYA First Aid course on Saturday 25th February at the Averon Centre Alness, if you are interested please contact Jerry at dalcraig@globalnet.co.uk On Wednesday 8th March at Saltburn Hall Keith Stanley will present a talk with slides on his trip up to the Lofoten Islands off northern Norway . The club \'s spring meeting is to be held on TUESDAY 28th March. This date is to allow members attending Wednesday \'s day skipper evening class to attend this evening of anticipation about the forthcoming season. News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",9);arrFiles[7]=new Array(8,"dates_Keel Racing.php","2006-02-26","IBC Homepage > Dates > Keel Boat Racing","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Midweek Racing Keelboats (Wednesdays at 7.30 pm) Spring Series 20 April to 25 May Summer Series 1 June to 6 July Autumn Series 13 July to 17 August News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",8);arrFiles[8]=new Array(9,"fade.gif","2004-05-17","fade.gif","","","",1);arrFiles[9]=new Array(10,"formmail.php","2006-02-24","title","","","The form was not submitted for the following reasons: Please use your browser \'s back button to return to the form and try again. The form was not submitted because of the following reasons: \\n; echo This form is powered by Jack \'s Formmail.php .VERSION. \\n \\n; exit;}// function to check the banlist// suggested by a whole lot of people.. Thanksfunction check_banlist(banlist, email) { if (count(banlist)) { allow = true; foreach(banlist as banned) { temp = explode(@, banned); if (temp[0] == *) { temp2 = explode(@, email); if (trim(strtolower(temp2[1])) == trim(strtolower(temp[1]))) allow = false; } else { if (trim(strtolower(email)) == trim(strtolower(banned))) allow = false; } } } if (!allow) { print_error(You are using from a banned email address. ); }}// function to check the referer for security reasons.// contributed by some one who \'s name got lost.. Thanks// goes out to him any way.function check_referer(referers) { if (count(referers)) { found = false; temp = explode(/,getenv(HTTP_REFERER)); referer = temp[2]; if (referer==) {referer = _SERVER[ \'HTTP_REFERER \']; list(remove,stuff)=split( \'// \',referer,2); list(home,stuff)=split( \'/ \',stuff,2); referer = home; } for (x=0; x unauthorized domain. ); error_log([FormMail.php] Illegal Referer. (.getenv(HTTP_REFERER).), 0); } return found; } else { return true; // not a good idea, if empty, it will allow it. }}if (referers) check_referer(referers);if (banlist) check_banlist(banlist, email);// This function takes the sorts, excludes certain keys and // makes a pretty content string.function parse_form(array, sort = ) { // build reserved keyword array reserved_keys[] = MAX_FILE_SIZE; reserved_keys[] = required; reserved_keys[] = redirect; reserved_keys[] = require; reserved_keys[] = path_to_file; reserved_keys[] = recipient; reserved_keys[] = subject; reserved_keys[] = sort; reserved_keys[] = style_sheet; reserved_keys[] = bgcolor; reserved_keys[] = text_color; reserved_keys[] = link_color; reserved_keys[] = vlink_color; reserved_keys[] = alink_color; reserved_keys[] = title; reserved_keys[] = missing_fields_redirect; reserved_keys[] = env_report; reserved_keys[] = submit; if (count(array)) { if (is_array(sort)) { foreach (sort as field) { reserved_violation = 0; for (ri=0; ri \\n; if (title) echo \\n; if (!bgcolor) bgcolor = #FFFFFF; if (!text_color) text_color = #000000; if (!link_color) link_color = #0000FF; if (!vlink_color) vlink_color = #FF0000; if (!alink_color) alink_color = #000088; if (background) background = background= \\background \\; echo \\n \\n;}// check for a recipient email address and check the validity of it// Thanks to Bradley miller (bradmiller@accesszone.com) for pointing// out the need for multiple recipient checking and providing the code.recipient_in = split( \', \',recipient);for (i=0;i I NEED VALID RECIPIENT EMAIL ADDRESS (recipient_to_test) TO CONTINUE ); }}// This is because I originally had it require but too many people// were used to Matt \'s Formmail.pl which used required instead.if (required) require = required;// handle the required fieldsif (require) { // seperate at the commas require = ereg_replace( +, , require); required = split(,,require); for (i=0;i Missing: required[i] \\n; } } // send error to our mighty error function if (missing_field_list) print_error(missing_field_list,missing);}// check the email fields for validityif ((email) || (EMAIL)) { email = trim(email); if (EMAIL) email = trim(EMAIL); if (!eregi(^[_ \\.0-9a-z-]+@([0-9a-z][0-9a-z-]+ \\.)+[a-z]{2,6}, email)) print_error(your email address is invalid); EMAIL = email;}// check zipcodes for validityif ((ZIP_CODE) || (zip_code)) { zip_code = trim(zip_code); if (ZIP_CODE) zip_code = trim(ZIP_CODE); if (!ereg((^[0-9]{5})-([0-9]{4}), trim(zip_code)) && (!ereg(^[a-zA-Z][0-9][a-zA-Z][[:space:]][0-9][a-zA-Z][0-9], trim(zip_code))) && (!ereg((^[0-9]{5}), trim(zip_code)))) print_error(your zip/postal code is invalid);}// check phone for validityif ((PHONE_NO) || (phone_no)) { phone_no = trim(phone_no); if (PHONE_NO) phone_no = trim(PHONE_NO); if (!ereg((^(.*)[0-9]{3})(.*)([0-9]{3})(.*)([0-9]{4}), phone_no)) print_error(your phone number is invalid);}// check phone for validityif ((FAX_NO) || (fax_no)) { fax_no = trim(fax_no); if (FAX_NO) fax_no = trim(FAX_NO); if (!ereg((^(.*)[0-9]{3})(.*)([0-9]{3})(.*)([0-9]{4}), fax_no)) print_error(your fax number is invalid);}// sort alphabetic or prepare an orderif (sort == alphabetic) { uksort(HTTP_POST_VARS, strnatcasecmp);} elseif ((ereg( \'^order:.*,.* \', sort)) && (list = explode( \', \', ereg_replace( \'^order: \', \' \', sort)))) { sort = list;} // prepare the contentcontent = parse_form(HTTP_POST_VARS, sort);// check for an attachment if there is a file upload itif (attachment_name) { if (attachment_size 0) { if (!attachment_type) attachment_type = application/unknown; content .= Attached File: .attachment_name. \\n; fp = fopen(attachment, r); attachment_chunk = fread(fp, filesize(attachment)); attachment_chunk = base64_encode(attachment_chunk); attachment_chunk = chunk_split(attachment_chunk); }}// check for a file if there is a file upload itif (file_name) { if (file_size 0) { if (!ereg(/, path_to_file)) path_to_file = path_to_file./; location = path_to_file.file_name; if (file_exists(path_to_file.file_name)) location = path_to_file.rand(1000,3000)...file_name; copy(file,location); unlink(file); content .= Uploaded File: .location. \\n; }}// second file (see manual for instructions on how to add more.)if (file2_name) { if (file_size 0) { if (!ereg(/, path_to_file)) path_to_file = path_to_file./; location = path_to_file.file2_name; if (file_exists(path_to_file.file2_name)) location = path_to_file.rand(1000,3000)...file2_name; copy(file2,location); unlink(file2); content .= Uploaded File: .location. \\n; }}// if the env_report option is on: get eviromental variablesif (env_report) { env_report = ereg_replace( +, , env_report); env_reports = split(,,env_report); content .= \\n------ eviromental variables ------ \\n; for (i=0;i \\n; echo This form is powered by Jack \'s Formmail.php .VERSION.! \\n \\n; exit;}// //",15);arrFiles[10]=new Array(11,"index.php","2006-02-26","IBC Homepage","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Invergordon Boating Club Welcome Guide On behalf of all involved at Invergordon Boating Club welcome to our web site and our club. We are a small watersports club based on the Cromarty Firth at Rosskeen Slipway, between Alness and Invergordon. The club was established in 1901 and has provided a vibrant focus for local sailors of all ages. From May to October there is a full programme of racing and instruction. Club members have access to a small clubhouse and boat compound for storing their boat. In late spring each year we have an open day to give people a chance to experience small boat sailing (no prior experience necessary). For more details please click here . Over the last few years many have progressed from this to our formal instruction program and often owning their own boat. In recent years, as well as normal club activities we have also hosted a variety of other training activities, such as the NOSSS training sessions. RYA Race Coach training etc.. If you wish to learn more please feel free to contact any of the office bearers shown here or alternatively come along to Rosskeen slipway on a Sunday or weekday race evening but bring some spare soft shoes (old trainers are ideal) or wellies, as you may end up in a boat! Membership details are available here . News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",9);arrFiles[11]=new Array(12,"Instruction.php","2006-02-26","IBC Homepage > Instruction ","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Instruction The Club is an RYA (Royal Yachting Association) recognised training Centre providing sailing instruction for beginners of all ages, abilities and backgrounds. Instruction on the water focuses on dinghy sailing (up to level 3) and powerboating (up to Safety Boat) on Sundays during the summer months (see calendar for dates). We operate a defined sailing area during dinghy instruction, roughly a 300 metre arc from the slipway. Sunday dinghy instruction is offered at minimal cost to club members. &pound;3 per person/session if you are using your own boat or &pound;8 if you are using a club boat. There is a qualified instructor and full safety cover on instruction days. On-shore instruction including Day Skipper and First Aid courses are generally run as evening classes in winter. All courses are RYA certified and participants are encouraged to maintain a logbook which is available from Martyn Crawshaw, our senior instructor. News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",9);arrFiles[12]=new Array(13,"links.php","2006-02-26","IBC Homepage","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Links The Royal Yachting Association - www.RYA.org North of Scotland Yachting Association - www.nsya.org.uk Cromarty Sailing Club - www.cromartyboatclub.org.uk Chanonry Sailing Club - http://www.chanonry.org.uk Cromarty Firth Port Authority - http://www.cfpa.co.uk Invergordon Lifeboat - http://www.invergordonlifeboat.org.uk Caley Marina - http://www.caleymarina.com Invergordon Community Online - www.invergordon.info Tides / weather Metoffice BBC BBC Costal Weather NOAA Yahoo Weather News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",9);arrFiles[13]=new Array(14,"Location.php","2006-02-26","IBC Homepage > Location","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Invergordon Boating club provides a sheltered area of tidal water ideal for sailing and power-boating at all stages of the tide and most wind strengths. Traveling North on the A9 turn left at the first signed exit for Invergordon. Carry on towards Invergordon turning left at Safeways over the bridge above the A9 past Dalmore distillery. Rosskeen Slipway is signposted public slipway approx one mile on the right after the distillery. Traveling South turn left at Rosskeen Church and follow the road down to the Cromarty Firth and turn right at the T-junction on the shore road. The slipway is first left after this junction. We have an off-road car park adjacent to the concrete slip way. News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",8);arrFiles[14]=new Array(15,"Lower-Row-Image.jpg","2005-01-03","Lower-Row-Image.jpg","","","",1);arrFiles[15]=new Array(16,"main-Logo.jpg","2005-01-03","main-Logo.jpg","","","",6);arrFiles[16]=new Array(17,"Membership Registration.php","2006-02-26","IBC Homepage","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Membership Registration News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",7);arrFiles[17]=new Array(18,"Membership.php","2006-02-26","IBC Homepage","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Membership details There is no joining fee. Annual fee (1 January to 31 December) Junior - &pound;5 Adult - &pound;36 Family - &pound;48 This entitles you: Use the clubhouse for changing etc Storage space in the boat compound, space permitting Access to club instruction programs All moorings in the firth are a private matter for the boat owner. Clubhouse keys are available at cost price. The compound is surrounded by a wire fence and has a padlocked main gate. Should you wish to join please print, complete and return the application form and return it with the appropriate fee to the Treasurer . Alternatively return the form by e-mail and send the fee on separately. Online Membership Form News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",8);arrFiles[18]=new Array(19,"membershipformsubmitted.php","2006-02-26","IBC Homepage","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Thanks for submitting your details, you can expect to hear something back shortly. News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",7);arrFiles[19]=new Array(20,"Racing Courses.php","2006-02-26","IBC Homepage","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Racing Courses News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",7);arrFiles[20]=new Array(21,"Racing_Main.php","2006-02-26","IBC Homepage","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Racing Although many club members do not race there is competitive racing during the week and on some weekends ( see the diary for details ). Very few other sailing boats race around oil rigs! Tuesday evening dinghy racing starting at 7pm provides handicap racing for younger and more experienced sailors with rescue cover. On Wednesday the keelboats race over longer courses from 7.30 pm around buoys laid in the Cromarty Firth. Less experienced sailors or non-members are often welcome to crew on the bigger boats during these races. Please email if you are interested in this. Some weekends there are longer races as far as Cromarty or combined keelboat dinghy events. The club hosts the popular Moray Firth Cruiser Race from Findhorn to Portmahomack in August each year News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",8);arrFiles[21]=new Array(22,"randomimage.php","2006-02-25","randomimage.php","","","*/ // Change this to the total number of images in the foldertotal = 11;// Change to the type of files to use eg. .jpg or .giffile_type = .jpg;// Change to the location of the folder containing the imagesimage_folder = Images/random;// You do not need to edit below this linestart = 1;random = mt_rand(start, total);image_name = random . file_type;echo ;?",1);arrFiles[22]=new Array(23,"Results Dinghy 04.php","2006-02-26","IBC Homepage > Racing > Results Dinghy 04 ","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Results Dinghy 04 Spring Position Boat 1 Dangerous Dave - Dave Allan 2 Jitterbug - Ewan Finlayson 3 Final Fling - Doug Finlayson Summer Position Boat 1 Alice - Richard Martin 2 Jitterbug - Ewan Finlayson 3 Topper - Gregor Murray Autumn Position Boat 1 Alice - Richard Martin 2 Dangerous Dave - Dave Allan 3 Andromeda - Andrew Gillies News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",11);arrFiles[23]=new Array(24,"Results Keel 04.php","2006-02-26","IBC Homepage > Racing > Results Keel 04","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Results Keel 04 Spring Position Boat 1 Unravalled - Fred Fraser 2 Gusto - Donald MacKenzie 3 Kumara - George Shields Summer Position Boat 1 Rhythm &amp; Blue - John Burgis 2 Kumara - George Shields 3 Unravalled - Fred Fraser Autumn Position Boat 1 Kumara - George Shields 2 Rhythm &amp; Blue - John Burgis 3 Breezy - Neil Cormack News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",11);arrFiles[24]=new Array(25,"results mfcr 05.php","2006-02-26","IBC Homepage > Racing > Results Keel 04","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Results - Moray Firth Cruiser Race 05 Class 1 Up to 18.00 Position Boat 1 Excitabull 2 Hullabuloo 3 Sunrise 4 Kraik-Att 2 5 Mad Hatter 6 Unravelled 7 Ratan Class 2 - 18.25-22.00 Position Boat 1 Jaybee 2 Circe 3 Amrita 4 Windchat 5 Kertra 6 Blue 7 Hilarity 8 Raku 9 Tandoori 10 Sonas Class 3 - 22.25 + Position Boat 1 Norseman 2 Fat Sam 3 Polar Wind News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",13);arrFiles[25]=new Array(26,"Results Regatta 04.php","2006-02-26","IBC Homepage > Racing > Results Regatta 04","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Results Regatta 04 Opening Dinghy Regatta Position Boat 1 = Blue Streak - Daniel Cormack Dangerous Dave - Dave Allan 3 = Topper - Ewan Finlayson Laser - Neil Cormack Cruiser Opening Regatta Position Boat 1 Kumara - George Shields 2 Rhythm &amp; Blue - John Burgis 3 Pio Moso - Dave Allan Pursuit Race Position Boat 1 Unravalled - Fred Fraser 2 Dangerous Dave - Dave Allan 3 Gusto - Donald MacKenzie News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",11);arrFiles[26]=new Array(27,"Safety.php","2006-02-26","IBC Homepage","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Health and Safety Although sailing is a fun sport it \'s important to take adequate precautions. These include: Wearing appropriate buoyancy aids while on the slip way or in small boats Wearing appropriate clothing while on the water, which (as with all British seaside locations) can be very cold regardless of the air temperature Taking care while using the slipway, which can be affected by seaweed Being aware of tide direction and impact Checking your boat before you put it in the water The club will ensure there is adequate rescue cover for club organised events (dinghy instruction and racing). At all times however each person must decide whether the weather conditions are within their capability. 9 of our members have RYA Rescue Boat qualification and a further 5 are qualified in Level 2 power boat use. The Cromarty Port is a good source for a short term local weather forecast if you plan to sail dinghies other people on the water at the same time, or proper rescue cover. News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",9);arrFiles[27]=new Array(28,"TemplateForm.php","2006-02-26","IBC Homepage > Membership > Sign Up Online","","","S e a r c h Search within All text Title Keywords Descriptions File name using All words Any words Exact phrase Please fill in all the details and click on the Submit button to send us the form. Name Address (Including Postcode) Date of Birth (if under 18) Telephone numbers : Day Night Email Sailing Experience (RYA levels incl Powerboat) Medical or First Aid qualifications (if any) Renewal Date Medical Conditions the club should be aware of Are you a boat owner No Yes If yes, is your boat kept at the club? No Yes If yes, is your boat a dinghy / keelboat / canoe / other? Dinghy Keel Canoe Other Description of your boat:- Class / make Colour Sail Number Membership Kind Junior Single Family Using e-mail is more cost effective, and less time-consuming for communications from the club. If you have an e-mail-address but would prefer to receive club mailings by post please select this option below Post Email I understand that the information on this form will be kept in electronic form and used by the club. Please select whether you will your details stored on a computer database solely for club use. I disagree I agree News ;? Gallery Weather items as item ) {	title = item[title];	echo title \\n;	}	? items as item ) {	description = item[description];	url = item[link];	echo description \\n;	}	? Contacts : Links : Advertise Copyright &copy; 2006 IBC",13);arrFiles[28]=new Array(29,"forsale/config.php","2006-02-24","IBC Classified","","","Sailing:, \'dinghyboats \' = array(Dinghy \'s,set1), \'keelboats \' = array(Keel boats,set1), \'misc \' = array(Miscellaneous,set2),#this is line 51 \'title_2 \' = Buying:, \'buying \' = array(Anything you are looking for?,set2), \'title_3 \' = Crew wanted:, \'crew \' = array(Looking for a crew? Let us know here,set3),);# Set up the sets of the fields for categoriesfields_sets=array ( \'set1 \' = array (theclass,sailnumber,details,price,contact_name,contact_phone,email), \'set2 \' = array (item,details,contact_name,contact_phone,email), \'set3 \' = array (details,contact_name,contact_phone,email),);# Set up description of ad fields used in all categories:ads_fields=array ( \'sailnumber \' = array( \'Sail Number \', \'2 \', \'minmax \', \'10:30 \', \'text \', \'0 \', \'integer \'), \'details \' = array( \'More Details \', \'12 \', \'nosearch \', \'40:6:2000 \', \'textarea \', \'0 \', \'text \'), \'item \' = array( \'Item? \', \'12 \', \'nosearch \', \'40:2:200 \', \'textarea \', \'1 \', \'text \'), \'contact_name \' = array( \'Contact Name \', \'2 \', \'nosearch \', \'40:50 \', \'text \', \'1 \', \'text \'), \'contact_phone \' = array( \'Contact Phone \', \'2 \', \'nosearch \', \'20:50 \', \'text \', \'0 \', \'text \'), \'email \' = array( \'Contact e-mail \', \'2 \', \'nosearch \', \'20:50 \', \'text \', \'0 \', \'text \'), \'passw \' = array( \'Edit/delete password \', \'00 \', \'nosearch \', \'20:50 \', \'text \', \'1 \', \'text \'), \'price \' = array( \'Expected price \', \'2 \', \'nosearch \', \'20:10 \', \'text \', \'0 \', \'text \'), \'theclass \' = array( \'Class \', \'12 \', \'nosearch \', \'40:2:200 \', \'textarea \', \'0 \', \'text \'),);# Set up short names of the fields which will be displayed # on the search form on the top page (it is necessary when search through all categories ) .allcatfields=array( \'make \', \'model \', \'details \', \'item \');# Set up default value for fields with type \'select \'select_text=Please choose one;# Set up format for displaying fields with real typereal_format=%01.2f; # Set up html header for all pageshtml_header= ;# Set up html footer for all pageshtml_footer= Please email admin@invergordonboatingclub.org.uk if you require any changes to an advert or to have one removed. ; # Set up info for left column on the top page:# It should begin with html tag and finish with tag top_leftcol=; # Set up info for left column on the ads index page:# It should begin with html tag and finish with tag ind_leftcol=; # Set up info for left column on the page with ads details:# It should begin with html tag and finish with tag detl_leftcol=; #############################################################require(sfmd.php);?",3);arrFiles[29]=new Array(30,"forsale/createtb.php","2006-02-24","createtb.php","","","Admin Interface ;echo Create database table for classifieds Create table \'table_ads \' Warning ! Old table \'table_ads \' if exists will be deleted. SQL for creating table \'table_ads \' Log Out from admin. interface ;echo html_footer;exit;} function print_sql_tb(){global html_header, html_footer;echo html_header;echo sql_create_tb();echo html_footer;exit;}function create_db(){global host_name, db_user,db_password, html_header, html_footer, db_name, table_ads;mysql_connect(host_name,db_user,db_password);mysql_create_db(db_name);echo html_header;echo Database \'db_name \' was created;echo html_footer;exit; }function create_tb(){global host_name, db_user,db_password, html_header, html_footer, db_name, table_ads, ads_fields; sql_query1=sql_create_tb();if (!(@mysql_connect(host_name,db_user,db_password))){echo html_header;echo Error in connecting to your MySQL server. You need to set up correct values for variables \\host_name, \\db_user, \\db_password in the config.php file ;echo html_footer;exit;}if (!(@mysql_select_db(db_name))){echo html_header;echo Error in connecting to your MySQL database \'db_name \' . You need to set up correct database name in variables \\db_name of the config.php file or create the database with such a name. ;echo html_footer;exit;}result1 = mysql_list_tables (db_name); i = 0; while (i Error in creating MySQL table \'table_ads \'. Check errorsin variable \\ads_fields (config.php file) for ads fields settings ;echo html_footer;exit;}message= Table \'table_ads \' was created Now database \'db_name \' contains the following tables: ;result = mysql_list_tables (db_name); i = 0; while (i ;admin_message1(message);exit; }function sql_create_tb(){global ads_fields, table_ads;table_name=table_ads;db_t_fields[ \'idnum \']=integer;db_t_fields[ \'time \']=integer;db_t_fields[ \'exptime \']=integer;db_t_fields[ \'catname \']=text;db_t_fields[ \'visible \']=integer;db_t_fields[ \'adphotos \']=char(5);db_t_fields[ \'login \']=text;db_t_fields[ \'adrate \']=integer;foreach (ads_fields as key = value){db_t_fields[key]=ads_fields[key][6];}create_string=;foreach (db_t_fields as db_key = value){create_string=create_string.db_key. .db_t_fields[db_key]., ;}create_string=corr_sqlstring(create_string);sql=create table table_name ( create_string ) ;return sql;} function admin_message1(message){global cat_fields, photos_count, html_header, html_footer, id,ct, categories, ad_second_width, left_width_sp, exp_period;echo html_header;echo Categories: message ;echo html_footer;exit;}function printpasswordform(inc_passw){global html_header, html_footer;echo html_header; echo Admin Interface inc_passw Input admin password : (Cookies must be set up. Admin password is specified in the config.php file.Default password: adm ) ;echo html_footer;exit;} ?",6);arrFiles[30]=new Array(31,"forsale/details.php","2006-02-24",".row[  \\'title  \\'].. ;html_header=ereg_replace(  \\'<title>  \\', repltitle, html_header);echo html_header;echo <center><table width=  \\'ad_second_width  \\' bgcolor=  \\'#dddddd  \\' border=0 cellspacing=1 cellpadding=0><tr>detl_leftcol<td valign=  ","","","Photo Gallery ;for(i=1; i Photo i photocapt ;}}return html;}function print_multimed(idnum){global incl_mtmdfile,multimedia_path, multimedia_url, multim_link;mm_link=;if (incl_mtmdfile== \'yes \'){get_jpg_path(idnum);if (file_exists(multimedia_path)) {mm_link= Multimedia file: multim_link ;}}return mm_link;}function ad_details(){global cat_fields, photos_count, html_header, html_footer, id,ct, categories, ad_second_width, left_width_sp, exp_period, privacy_mail,schallusrads, detl_leftcol;row=get_ad_details(id);row=check_row(row); time1=row[ \'time \'];date_posted=get_date(time1); time2=time1+exp_period*86400;expire_date=get_date(time2);if (privacy_mail== \'yes \') {cont_email= Privacy Mail ;}else{cont_email= .row[ \'email \']. ;}if (row[ \'homeurl \']==--){homepage_info=not available;}else{homepage_info= .row[ \'homeurl \']. ;}idnum=row[ \'idnum \'];sdtpcol=#ffffff;sdtpcol1=#ffcccc;ad_sec_rt=ad_second_width-left_width_sp-1;repltitle=",4);arrFiles[31]=new Array(32,"forsale/favrt.php","2006-02-24","favrt.php","","","Your favorite ads ;if (HTTP_GET_VARS[ \'mfvrt \']== \'1 \'){var= Your favorite ads ;;}}return var;}function print_add_fvrt(){global HTTP_COOKIE_VARS, HTTP_GET_VARS;mss_cookies=split( \', \',HTTP_COOKIE_VARS[ \'ckfvr \']);ck_var=; foreach (mss_cookies as cook_value){ if (cook_value==HTTP_GET_VARS[ \'id \']){ck_var=1;}}if (HTTP_GET_VARS[ \'mfvrt \']== \'add \'){ck_var=1;}if ((HTTP_GET_VARS[ \'mfvrt \']== \'rmv \') or (HTTP_GET_VARS[ \'mfvrt \']== \'rmall \')){ck_var=0;}if (ck_var==1){var1=Favorite ad;}else {var1= Add to favorites ;} var= var1 ;return var;}function print_fvrt_dtl(){global HTTP_COOKIE_VARS, HTTP_GET_VARS;mss_cookies=split( \', \',HTTP_COOKIE_VARS[ \'ckfvr \']);ck_var=; ck_var2=; foreach (mss_cookies as cook_value){ if (cook_value==HTTP_GET_VARS[ \'id \']){ck_var=1;}if (cook_value!=){ck_var2=1;}}if (HTTP_GET_VARS[ \'mfvrt \']== \'add \'){ck_var=1;}if ((HTTP_GET_VARS[ \'mfvrt \']== \'rmv \') or (HTTP_GET_VARS[ \'mfvrt \']== \'rmall \')){ck_var=0;}if (ck_var==1){var1= Remove this ad from favorites Remove all favorites ;}else {var1= Add this ad to favorite list ;} var2=;if ((ck_var2==1) and (HTTP_GET_VARS[ \'mfvrt \']!=rmall)){var2= Your favorite ads ;}var= var2 var1 ;return var;}function add_favorite(){global HTTP_COOKIE_VARS, HTTP_GET_VARS,cookie_time;mss_cookies=split( \', \',HTTP_COOKIE_VARS[ \'ckfvr \']);ck_var=; foreach (mss_cookies as cook_value){ if (cook_value==HTTP_GET_VARS[ \'id \']){ck_var=1;}}if (ck_var!=1){ vfvr_cookie=HTTP_COOKIE_VARS[ \'ckfvr \'].HTTP_GET_VARS[ \'id \'].,;setcookie (ckfvr, vfvr_cookie, cookie_time);}}function remove_favorite(){global HTTP_COOKIE_VARS, HTTP_GET_VARS;mss_cookies=split( \', \',HTTP_COOKIE_VARS[ \'ckfvr \']);vfvr_cookie=;foreach (mss_cookies as cook_value){ if ((cook_value!= \' \') and (cook_value!=HTTP_GET_VARS[ \'id \'])){vfvr_cookie=vfvr_cookie.cook_value.,;} }setcookie (ckfvr, vfvr_cookie, cookie_time); }function remove_all(){setcookie (ckfvr);}function view_fv_ads(){global HTTP_COOKIE_VARS, HTTP_GET_VARS;mss_cookies=split( \', \',HTTP_COOKIE_VARS[ \'ckfvr \']);where_string1=;foreach (mss_cookies as cook_value){ if (cook_value!= \' \'){where_string1=where_string1.idnum=cook_value or ;}} where_string1=where_string1.fdkspkdsanbf;db_dcf=or fdkspkdsanbf;where_string1=ereg_replace(db_dcf,,where_string1);if (HTTP_COOKIE_VARS[ \'ckfvr \']== \' \'){where_string1=idnum=0 ;}return where_string1;}?",4);arrFiles[32]=new Array(33,"forsale/forms.php","2006-02-24","forms.php","","","Top: .categories[ct][0]. title_inf Fill out the following form below: Date Posted: date_posted Expire Date: expire_date ;foreach (cat_fields as key = value ){if (ereg ( \'url \',key)){if (fields_val[key]==){fields_val[key]=http://;}}if (cat_fields[key][5] == \'1 \'){cat_fields[key][0]=cat_fields[key][0]. * ;}if (cat_fields[key][4] == \'select \'){aa4=split( \': \',cat_fields[key][3]);t_size=aa4[0];t_max=aa4[1];if (fields_val[key]!=){select_text1=fields_val[key];}else {select_text1=select_text;}echo .cat_fields[key][0].: select_text1 .cat_fields[key][7]. ;} if (cat_fields[key][4] == \'checkbox \'){aa5=split( \' \',cat_fields[key][7]);echo .cat_fields[key][0].: ;i_aa5=0;foreach (aa5 as value1){i_aa5++;if (value1!=){namechbx=key.i_aa5;echo value1 ;}}echo ;}if (cat_fields[key][4] == \'text \'){aa4=split( \': \',cat_fields[key][3]);t_size=aa4[0];t_max=aa4[1];echo .cat_fields[key][0].: ; echo ; }if (cat_fields[key][4] == \'textarea \'){aa4=split( \': \',cat_fields[key][3]);t_rows=aa4[1];t_cols=aa4[0];t_max=aa4[2];echo .cat_fields[key][0].: Not more then t_max chars ;if ((cat_fields[key][7]!=) and (ed_add== \'submitad \')){echo Delete unnecessary options and/or add yours: ; fields_val[key]=cat_fields[key][7];}echo .fields_val[key]. ;}} echo All fields marked by * should be filled out ;if(photos_count 0) {phptomaxsize1=phptomaxsize/1000;echo Submit photo: Photo size ;i=1; echo Photo : ;echo ;} if (ed_add== \'edit \'){if (incl_mtmdfile== \'yes \') mtmtm1= or multimedia;echo If you need to delete old photo mtmtm1 file, write char \'d \' in the field;if you do not need to change old file nothing input in the field;if you need to replace old file, input path to your new file. ;}echo rightform_html html_footer;} ?",6);arrFiles[33]=new Array(34,"forsale/funcs1.php","2006-02-24","funcs1.php","","","Error in connecting to ads MySQL table \'table_ads \' . Seems, this table is not created, click here to create this table. ;echo html_footer;exit;}row=mysql_fetch_row(sql_res);count=row[0];return count;}function get_ads(){global cat_fields, table_ads,ct, page,adsonpage, ratedads; if (ratedads==1){ord_ratedads=adrate desc,;}html_ads=;start_num=(page-1)*adsonpage; if(page==)start_num=0;where_string=get_where_string();sql_query=select * from table_ads where where_string order by ord_ratedads idnum desc limit start_num, adsonpage;sql_res=mysql_query(sql_query);html_ads=html_ads. ;while (row = mysql_fetch_array (sql_res)){html_ads=html_ads.print_ad(row);} return html_ads;}function get_where_string(){global cat_fields, ct, table_ads, HTTP_GET_VARS, text_userinfo;adctnm1=visible=1 and ;if (HTTP_GET_VARS[ \'ct \'] != ){adctnm1=adctnm1.catname= \'ct \' and ;}where_string=adctnm1;tm_check=time() - HTTP_GET_VARS[ \'before \']*86400;if (HTTP_GET_VARS[ \'before \'] != ){where_string=where_string.time tm_check and ; }if (HTTP_GET_VARS[ \'idemail \'] != ){var_idemail=HTTP_GET_VARS[ \'idemail \'];sql_query=select email from table_ads where idnum= \'var_idemail \';sql_res=mysql_query(sql_query);row = mysql_fetch_row(sql_res);searchemail=row[0];where_string=where_string.email= \'searchemail \' and ; text_userinfo= Ads posted by the same user ;}if (HTTP_GET_VARS[ \'mblogin \'] != ){where_string=where_string.login= \'.HTTP_GET_VARS[ \'mblogin \']. \' and ;text_userinfo= Ads posted by member \'.HTTP_GET_VARS[ \'mblogin \']. \' ;}if (HTTP_GET_VARS[ \'ratedads \'] != ){where_string=where_string.adrate 0 and ;}if (HTTP_GET_VARS[ \'onlywithphoto \'] != ){where_string=where_string.adphotos= \'yes \' and ;}if (HTTP_GET_VARS[ \'idnum \'] != ) {where_string=where_string.idnum =.HTTP_GET_VARS[ \'idnum \']. and ; }if (HTTP_GET_VARS[ \'brief_key \'] != ) {where_string=where_string.(brief like \'%.HTTP_GET_VARS[ \'brief_key \'].% \' or title like \'%.HTTP_GET_VARS[ \'brief_key \'].% \') and ; } foreach (cat_fields as key = value ){if(cat_fields[key][2] == keyword) { if (HTTP_GET_VARS[key] != ) {where_string=where_string.key like \'%.HTTP_GET_VARS[key].% \' and ; }}if(cat_fields[key][2] == minmax){flmin=key.1;flmax=key.2;if ((HTTP_GET_VARS[flmin] != ) and (HTTP_GET_VARS[flmax] != )) {HTTP_GET_VARS[flmin]=ereg_replace( \', \', \' \', HTTP_GET_VARS[flmin]);HTTP_GET_VARS[flmax]=ereg_replace( \', \', \' \', HTTP_GET_VARS[flmax]);where_string=where_string.key = .HTTP_GET_VARS[flmin]. and key 0) {num_pages++;}list_pages=;for (i = 1; i i ];}else{list_pages=list_pages. [ i ];}}list_pages=Listing:.list_pages;if (ads_count == 0) list_pages=;return list_pages;}function get_srch_str(){global page, ads_count, adsonpage, ct, mds, HTTP_GET_VARS;search_str=;mds_res=0;if(HTTP_GET_VARS[ \'mds \'] == \'search \'){foreach (HTTP_GET_VARS as key = value){if ((key != \'md \') and (key != \'page \') and (key != \'ct \')){mds_res=1;value=ereg_replace( \' \', \'+ \', value);value=ereg_replace( \'@ \', \'%40 \', value);value=ereg_replace( \'! \', \'%21 \', value);search_str=search_str.key=value&;}}}if (mds_res==0){mds=;HTTP_GET_VARS[ \'mds \']=;}return search_str;}function pages_next_prev(){global page, ads_count, adsonpage, ct, HTTP_GET_VARS, idemail, mblogin, ratedads;search_str=get_srch_str();if (idemail!=){search_str=idemail=idemail;}if (mblogin!=){search_str=mblogin=mblogin;}if (ratedads==1){search_str=ratedads=1;}max_pages=(ads_count-ads_count%adsonpage)/adsonpage;if (ads_count%adsonpage 0) {max_pages++;}next_prev=;if (page 1){a1_prev=page-1;next_prev=next_prev. Previous ;}if(page==0)page=1;next_prev=next_prev. Page page of max_pages ;a1_next=page+1;a2=page*adsonpage;if (a2 Next ;}if (ads_count == 0) next_prev=;return next_prev;}function start(){global ct,ads_fields,categories, ads_count, cat_fields,fields_sets,allcatfields;connect_to_db();c_res1=0;foreach (categories as key = value){if (key == ct ){c_res1=1;}}if (c_res1==0){if (ct !=){echo html_header;echo Incorrect Cateogry ;echo html_footer;exit;}}if (ct!=){a1=categories[ct][1];a2=fields_sets[a1];}else {a2=allcatfields;}foreach (a2 as a2_value){cat_fields[a2_value]=ads_fields[a2_value];} ads_count=get_ads_count();}function corr_sqlstring(string1){string1=string1.fdspkdsnbf;db_dcf=, fdspkdsnbf;string1=ereg_replace(db_dcf,,string1);return string1;}function connect_to_db(){global host_name, db_user,db_password, html_header, html_footer, db_name, table_ads;if (!(@mysql_connect(host_name,db_user,db_password))){echo html_header;echo Error in connecting to your MySQL server. You need to set up correct values for variables \\host_name, \\db_user, \\db_password in the config.php file ;echo html_footer;exit;}if (!(@mysql_select_db(db_name))){echo html_header;echo Error in connecting to your MySQL database \'db_name \' . You need to set up correct database name in variables \\db_name of the config.php file or create the database with such a name. ;echo html_footer;exit;}}?",8);arrFiles[34]=new Array(35,"forsale/funcs2.php","2006-02-24","funcs2.php","","","Top: .categories[ct][0]. message ;echo html_footer;exit;}function getuseradsnum(searchemail){global table_ads;sql_query=select count(idnum) from table_ads where email= \'searchemail \' and visible=1;sql_res=mysql_query(sql_query);row = mysql_fetch_row(sql_res);mcount=row[0];return mcount;}function getmbadsnum(mb1_login){global table_ads;sql_query=select count(idnum) from table_ads where login= \'mb1_login \' and visible=1;sql_res=mysql_query(sql_query);row = mysql_fetch_row(sql_res);mcount=row[0];return mcount;}function check_email(email){email=ereg_replace( \' \', \' \', email);a1=split( \'@ \', email);a2=split( \' \\. \',email);if ((a1[0] == ) or (a1[1] == ) or (a2[0] == ) or (a2[1] == )){message= E-mail email hasincorrect format Please use your browser \'s back button to return to the formand fill in these fields. ;output_message(message);exit;}return email;}function delete_expired_ads(){global cat_fields, table_ads, exp_period ;time1=time() - exp_period*86400;sql_query=select idnum from table_ads where time No Ad with ID# id ;output_message(message);exit;}return row; }function get_edit_info(ed_id){global cat_fields, table_ads;sql_query=select * from table_ads where idnum=ed_id;sql_res=mysql_query(sql_query);row = mysql_fetch_array (sql_res);if (row[ \'idnum \']!=){foreach (row as key = value){row[key]=ereg_replace( \', &#039;, row[key]);}}return row; }function delete_ad(ed_id){global table_ads;sql_query=delete from table_ads where idnum=ed_id;mysql_query(sql_query);delete_photos(ed_id);message= Your ad has been deleted ! ;output_message(message);exit;}function get_cat_count(ct){global cat_fields, table_ads, page, adsonpage; sql_query=select count(idnum) from table_ads where catname= \'ct \' and visible=1; sql_res=mysql_query(sql_query);row=mysql_fetch_row(sql_res);count=row[0];return count;}function get_date_update(ct){global cat_fields, table_ads, page, adsonpage; sql_query=select time from table_ads where catname= \'ct \' and visible=1 order by time desc ;sql_res=mysql_query(sql_query);row=mysql_fetch_row(sql_res);time1=row[0];date_update=get_short_date(time1);if (time1==0) {date_update=;}return date_update;}?",4);arrFiles[35]=new Array(36,"forsale/index.php","2006-02-24","index.php","","","ads_count ads match your query ;}else {count_info=ads_count entries;} echo ind_leftcol Top: .category_name(). text_userinfo .print_fav_ads_ind(). .pages_next_prev(). count_info ;if ((ct!=) and (ratedads==)){echo [ Post New Ad ] ;}echo .get_ads_captions().get_ads(). .ads_pages_list(). ;echo html_footer;exit;}function category_name(){global categories, ct, ratedads;if ((ct!=) and (ratedads!=)){cat1_name= .categories[ct][0]. ;}else{cat1_name=categories[ct][0];}return cat1_name;} function get_ads_captions(){global cat_fields, ads_count, ct, photos_count, incl_prevphoto;bgcol21=#eeeeee;bgcol22=#aa0000;captions= ;if (ct == \' \'){captions=captions. Category ;}if (incl_prevphoto == \'yes \') {captions=captions. Preview Photo ;} captions=captions. ID Posted ;foreach (cat_fields as key = value){ik++;if ( (cat_fields[key][1]== \'1 \') or (cat_fields[key][1] == \'12 \')){captions=captions. .cat_fields[key][0]. ;}}if (photos_count 0){captions=captions. Photo ;}captions=captions. Details ; if(ads_count == 0) captions=;return captions;}function print_ad (row){global cat_fields, photos_count, ct, categories, incl_prevphoto,previewphoto_url, previewphoto_path, prphotolimits, pr_lim_height, pr_lim_width;row=check_row(row);html_ad= ;time1=row[ \'time \'];ad_date=get_short_date(time1);idnum=row[ \'idnum \'];ctval=ct;if (ct == \' \'){ key_ctn=row[ \'catname \'];ctval=key_ctn;html_ad=html_ad. .categories[key_ctn][0]. ;}if (incl_prevphoto== \'yes \'){get_jpg_path(idnum);phlimitinfo=;if (prphotolimits== \'yes \'){if (pr_lim_height==){phlimitinfo=width= \'pr_lim_width \';}else{phlimitinfo=width= \'pr_lim_width \' height= \'pr_lim_height \';}}html_ad=html_ad. ;if (file_exists(previewphoto_path)){html_ad=html_ad. ;}else { html_ad=html_ad. No preview photo ;}html_ad=html_ad. ;}html_ad=html_ad. idnum ad_date ;foreach (cat_fields as key = value) {if ( (cat_fields[key][1]== \'1 \') or (cat_fields[key][1] == \'12 \')){if (key == \'title \'){html_ad=html_ad. row[key] ;}else {html_ad=html_ad. row[key] ;}}}if (photos_count 0){html_ad=html_ad. .row[ \'adphotos \']. ;}html_ad=html_ad. Details ; return html_ad;}function check_row(row){global cat_fields, select_text,real_format;foreach (cat_fields as key = value) {if ((row[key]==) or (row[key]==select_text) or (row[key]== \'http:// \')or (row[key]== \'NULL \') or (row[key]== \'null \')) {row[key]=--;}else {if (cat_fields[key][6]== \'real \') {row[key]=sprintf(real_format, row[key]);}}}return row;}?",8);arrFiles[36]=new Array(37,"forsale/readme.txt","2006-02-24","readme","","","<?   ct= _REQUEST[ \'ct \'];   md= _REQUEST[ \'md \'];   page= _REQUEST[ \'page \'];   ed_id= _REQUEST[ \'ed_id \'];   ed_passw= _REQUEST[ \'ed_passw \'];   edit_delete= _REQUEST[ \'edit_delete \'];   ps_email= _REQUEST[ \'ps_email \'];   mds= _REQUEST[ \'mds \'];   onlywithphoto= _REQUEST[ \'onlywithphoto \'];   id= _REQUEST[ \'id \'];   idnum= _REQUEST[ \'idnum \'];   mblogin= _REQUEST[ \'mblogin \'];   admpassw1= _REQUEST[ \'admpassw1 \'];   vis= _REQUEST[ \'vis \'];   list_id= _REQUEST[ \'list_id \'];   ads_rt= _REQUEST[ \'ads_rt \'];   ammlk= _REQUEST[ \'ammlk \'];   admcookpassw= _REQUEST[ \'admcookpassw \'];   cook_login= _REQUEST[ \'cook_login \'];   cook_passw= _REQUEST[ \'cook_passw \'];   f_login= _REQUEST[ \'f_login \'];   f_passw= _REQUEST[ \'f_passw \'];   viunvis= _REQUEST[ \'viunvis \'];   mbprf_login= _REQUEST[ \'mbprf_login \'];   mbprf_passw= _REQUEST[ \'mbprf_passw \'];   emltp= _REQUEST[ \'emltp \'];   emllogin= _REQUEST[ \'emllogin \'];   pm_message= _REQUEST[ \'pm_message \'];   pm_email= _REQUEST[ \'pm_email \'];   pm_subject= _REQUEST[ \'pm_subject \'];   userfile= HTTP_POST_FILES[ \'userfile \'][ \'tmp_name \'];   userfile_name= HTTP_POST_FILES[ \'userfile \'][ \'name \'];  ?>",1);arrFiles[37]=new Array(38,"forsale/sfmd.php","2006-02-24","sfmd.php","","","array( \'Company \',12, \'keyword \', \'20:30 \', \'text \', \'1 \', \'text \', \'selectparam \'),where \'comp \' - is short name of the field (it is required for script using) ; \'Company \' = displayed name of the field. This is the name of the field that will appear on the form; \'12 \' - parameter which shows how this field will be displayed: \'1 \' - only at the first page (ads index); \'2 \' - only at the second page ( \'detailed info \'); \'12 \' - on both first and second pages; \'00 \' - is not displayed on pages (hidden fields). \'keyword \' = search parameter that sets the principle of search, it must have one of three different values explained below: \'keyword \' = defines this as a search field. Users will be able to search for keys in this field; \'minmax \' = when field has numerical value, it will be searched in range [minvalue, maxvalue]; \'nosearch \' = not a search field. No search for keys in this field; \'20:30 \' = defines the length of the input field in ad submitting form(20) and max length of the info in this field (30). If field type ( see below) is \'textarea \' at this place you will have e.g. the following: \'40:6:2000 \' - where 40 - number of cols, 6 - number of rows, 2000 - max size of the field. ( See our default settings in config.php ). \'text \' = type of input field, it can be \'text \' or \'select \', \'checkbox \', \'textarea \'. ( See our default settings in config.php ) 1 - means this field reqired to be filled out (0 is not required). \'text \' - parameter means MySQL type for this field, it can be text, char(n), integer, real... \'selectparam \' - this last parameter can appear only for fields types \'select \' and \'checkbox \', this parameter means default values for users \' choice. All values are separated by delimiter See our default settings in config.php file for fields with types \'select \' and \'checkbox \' to understand how it works. The fields list should contain standard ad fields with the following short names: passw - password for ad edition;email - contact e-mail;urlpage - Home page URL;title - Title;brief - brief description;keyword in the fields keyword of the search form on the ads index page will be searchedin the ad fields with short names title, and brief. Standart fields with short names passw, email, urlpage should have 00 parameter of page displaying (see above). To understand field descriptions look through our default settings in config.php file. Warning! To avoid the coincidence of the fields short names with reserved words please use short names with 6-10 characters. Avoid the following short names for fields and categories, these words are reserved script words: idnum, time, exptime, catname, visible, adphotos, login, adrate, ed_passw, ed_id, userfile, select_text, photo_url, moderating, adphotos .... Each category you need is described in the variable %categories as the following example: \'manw \' = array(Man Looking for Woman,set1), \'manw \' - is the short name of the category, with this name the script works, so it must be one whole word ; If you set up as short name of category reserved words title_1 , title_2, title_3 ..... it means you create a new group of categories (see our default settings ). \'Man Looking for Woman \' - name of category ; set1 - key in the variable fields_set which are connected with list of short names of the fields which will be used in this category e.g. you can find in the variable fields_set (see our default settings in config.php) the following: \'set1 \' = array (title,name,age,weihgt,height,smoker,goal,brief, moredetails,contact_name,contact_phone,email,homeurl,passw), The fields will be displayed on the ad in the order they are placed in the following above case. If some categories have the same set of fileds then they will have the same key ( in our case set1). You also have to set up variable allcatfields in which you have to place short names of the fields which are used in all categories. It is neccessary for searching ads through all categories via search form on the top page of classifieds ( where categories are listed ). Setting up of other variables in the config.php file is very easy. If you need different options for different categories, e.g. you need moderating feature for some category Category 1 ( with short name catn1 ) you can use if operator in the config.php file. E.g. you can place the following codin the config.phpmoderating=no;if (ct==catn1) { moderating=yes; }Frequency encountered problems.Problem 1.Submitted ads do not appear in the index or in invisible folders.Reasons: 1. Classifeds mysql table is not created successfully.2. In the fields set for this category you set up short name of the field that does notexist in the created table. Keep in mind that it is impossible to add new fields in the config file after you have created classifieds table in the database. Problem 2.You can submit photos but they do not appear in the index.It can be caused by the problem with variable photos_path. Keep in mind photo directory should be created inside your html directory and should have permission 777 ( by chmod command ). This problem can be also caused by incorrect url to the photo directory in photos_url variable.You can easily customize the layout of classifieds pages.To customize ads index layout you need to customize html tags in the function browse_ads() (file index.php )Ads on the index page are generated by the loop, ads layout you can change in the function print_ad (row) (file index.php ).Caption for ads table are generated by function get_ads_captions() (file index.php ).Search form on the index page is generated by function get_search_form() (file index.php ).To customize second ads page with details you need to customize html tags in the function ad_details() (details.php )To customize top page with categories list you need to customize html tags in the function print_categories() (file top.php ).To customize add/edit form for ads you need to customize html tags in the function ad_form(ed_add) (file forms.php ).To customize privacy mail form page you need to customize html tags in the function privacy_form(idnum) (file forms.php ).To customize layout of messages you need to customize html tagsin the function output_message(message) (file funcs2.php )-----------------How to rate ads?----------------- Users have the ability to click on special link view best ads to browse ads separated and rated by admin. In the admin areas you can see a place with the title Rate ads. Submit rating you need and then list of ads id# for which you have to submit this rating. After this submitted ads will additionally appear under the link Best Ads in the order of rate, ads with the same rate will be placed in the order of ads adding date; link Best ads will appear on the index page if at least one ad is rated with rate 1, 2, 3,... Ads with rate 0 will not appear under the link view best ads. You can also change rating for some ads by re-submitting rating. --------------------------------------------------------------------------- How specify additional info on the classifieds pages :-----------------------------------------------------In the config.php file you can set up html tags for all header and footer of allclassifieds pages in the variables html_header and html_footer You can also specify html info for left columns for top, index, and ad deatails pagesin the following variables: top_leftcol, ind_leftcol, detl_leftcol.Keep in mind - information in the variables top_leftcol, ind_leftcol, detl_leftcol should begin by tag and finish by tag ( as it specified in default settings in config.php file ).------------------------------------------------------------------------------Please read the following before using Almond Classifieds: LICENSE AGREEMENT. By using Almond Classifieds you signify that youaccept all terms of this agreement. Purchase of one license of Almond Classifieds script entitles you the usage of Almond Classifieds script for one web site ( for a single domain ). You may NOT resell, install give away or distribute by any methods this scriptwithout purchasing an additional license for each new website.Each next license costs half of the first license price and can be purchased at the following link: http://www.almondsoft.com/license.html Each legal installation of the Almond Classifieds script should be registered in our database at the following link: http://www.almondsoft.com/reg/reg.php You may not submit any information about this script or URL of your web pages with script description to webmasters \' resources or any other web resources, only official site http://www.almondsoft.com can offer and sell licenses for this script. You may make any modifications to the Almond Classifieds script according toyour needs for your personal usage at your own risk.However, we will not be able to fix problems caused by your modifications. Modified version cannot be resold or distributed without purchasing an additional license for each new website. You may purchase additional license per half price of first license to install this script to your own client. The small text link to http://www.almondsoft.com must remain in the script and appear at the footer of all web pages genarated by this script. Almond Classifieds script, including sources code, HTML layout, user and admin interfaces is Copyrigt © 2003 AlmondSoft.Comand protected under international laws and treaties. DISCLAIMER OF WARRANTY & LIMIT OF LIABILITY. THIS SOFTWARE AND THE ACCOMPANYING FILES ARE PROVIDEDAS IS AND WITHOUT WARRANTIES AS TO PERFORMANCE OR MERCHANTABILITY OR ANY OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED. NO WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE IS OFFERED. IN NO EVENT WILL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESSINTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHERPECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE PRODUCT. ANY LIABILITY OF THE SELLER WILL BE LIMITED EXCLUSIVELY TO PRODUCT REPLACEMENT OR REFUND OFPURCHASE PRICE. Failure to install the program or not being able to run this script on your server is not a valid reason for requesting a refund of the purchase price such as you have an ability to load for free Almond Classifieds (free version) and try all main features of the script before purchasing commerce version.By purchasing the script Almond Classifieds you agree to the termsof our licensing and copyright policies. If you do not agree to all the terms of this agreement please do not purchase this script.------------------------------------------------------------------------Visit site http://www.almondsoft.com/alcl.html for more details about Almond Classifieds script.Copyright © 1999-2003 AlmondSoft.Com All Rights Reserved.",18);arrFiles[38]=new Array(39,"forsale/submit.php","2006-02-24","submit.php","","","value ){HTTP_POST_VARS[key5]=addslashes(HTTP_POST_VARS[key5]);}}foreach ( cat_fields as key = value ){HTTP_POST_VARS[key]=ereg_replace( \' \', \'&#062; \', HTTP_POST_VARS[key]);if (cat_fields[key][2]==minmax){ HTTP_POST_VARS[key]=ereg_replace( \', \', \' \', HTTP_POST_VARS[key]); }if (cat_fields[key][4]==checkbox){aa5=split( \' \',cat_fields[key][7]);i_aa5=0;foreach (aa5 as value1){i_aa5++;namechbx=key.i_aa5;if (HTTP_POST_VARS[namechbx]!=){HTTP_POST_VARS[key]=HTTP_POST_VARS[key].HTTP_POST_VARS[namechbx].; ;}}}str_length1=strlen(HTTP_POST_VARS[key]);aa4=split( \': \',cat_fields[key][3]);fmaxsize=aa4[1];if (aa4[2]!=) fmaxsize=aa4[2];if ( str_length1 fmaxsize){message= Ad info in the field .cat_fields[key][0]. is too large. Please use your browser \'s back button to return to the formand make more short info in this field. ;output_message(message);exit;}if (HTTP_POST_VARS[key]==select_text){HTTP_POST_VARS[key]=;}if (cat_fields[key][5]== \'1 \'){if (( HTTP_POST_VARS[key]==) or ( HTTP_POST_VARS[key]==http://)){message= Ad field .cat_fields[key][0]. (marked by * ) was missing on your form submission. Please use your browser \'s back button to return to the formand fill in this field. ;output_message(message);exit;}}}if (cat_fields[ \'email \'][5]= \'1 \'){HTTP_POST_VARS[ \'email \']=check_email(HTTP_POST_VARS[ \'email \']);}for (i=1; i phptomaxsize){phptomaxsize1=phptomaxsize/1000;message= Your photo i ( .userfile_name[i1]. ) is too large Please use your browser \'s back button to return to the formand submit photo with size ;}}} } function submit_ad(){global db_entry, visible_val, cat_fields, email, HTTP_POST_VARS;global photo_url, photo_path, id_count, userfile, userfile_name, html_header, html_footer,photos_url, photos_path, photos_count, moderating, ad_idnum, table_ads;check_fields();visible_val=1;if (moderating== \'yes \') visible_val=0; idnum=get_idnum();save_photos(idnum);sql_query=add_sql_entry(idnum);if( !(@mysql_query(sql_query))){echo html_header;echo Error in submitting new ad. You need to re-create ads MySQL table \'table_ads \' (after having changed adsfields structure). Click here to create new ads table. ;echo html_footer;exit;} delete_expired_ads();print_subm_ad(ad_idnum, \'submitad \');exit;}function save_photos(id_cnt){global photo_url, photo_path, userfile, userfile_name, HTTP_POST_VARS,photos_url, photos_path, photos_count, moderating, ad_idnum, adphotos,incl_prevphoto, incl_mtmdfile, multimedia_path, previewphoto_path,savepherr; get_jpg_path(id_cnt);savepherr=0;for (i=1; i Photo Gallery ;timepho=time();for(i=1; i Photo i photocapt ;}}return html;}function print_multimed1(idnum){global incl_mtmdfile,multimedia_path, multimedia_url, multim_link;mm_link=;if (incl_mtmdfile== \'yes \'){get_jpg_path(idnum);if (file_exists(multimedia_path)) {mm_link= Multimedia file: multim_link ;}}return mm_link;}function print_subm_ad(ad_idnum,ed_subm){global cat_fields, photos_count, html_header, html_footer, id,ct, categories, ad_second_width, left_width_sp, exp_period, incl_prevphoto,prphotolimits, pr_lim_width, pr_lim_height, previewphoto_path, previewphoto_url,moderating, savepherr;sdtpcol=#ffffff;sdtpcol1=#ffcccc;row=get_edit_info(ad_idnum);row=check_row(row);time1=row[ \'time \'];date_posted=get_date(time1); time2=time1+exp_period*86400;expire_date=get_date(time2);if (ed_subm== \'editad \') { info11=Your ad has been edited successfuly ;}if (ed_subm== \'submitad \') { info11=Your ad has been submitted successfuly ;}if (moderating== \'yes \'){info11=info11. and will appear in the index as soon as possible;} if (savepherr==1){ info11=info11. Due to incorrect server configuration your photos does not saved into database ;}echo html_header;echo Top: .categories[ct][0]. info11 ;echo .row[ \'title \']. ID# : .row[ \'idnum \']. ; Date posted : date_posted ; Expire date : expire_date ; ;foreach ( cat_fields as key = value ){if (key != \'title \'){ echo .cat_fields[key][0].: .row[key]. ;} }echo ;if (incl_prevphoto== \'yes \'){get_jpg_path(row[ \'idnum \']);phlimitinfo=;if (prphotolimits== \'yes \'){phlimitinfo=width= \'pr_lim_width \' height= \'pr_lim_height \';}if (file_exists(previewphoto_path)){echo Preview Photo: ;}} echo .print_multimed1(row[ \'idnum \']). ;echo print_photos1(row[ \'idnum \'], row). ;echo html_footer;exit;}function form_sql_entry(idnum){global ct, table_ads, visible_val, cat_fields,HTTP_POST_VARS, moderating, adphotos, cook_login;db_entry[ \'login \']=cook_login;time_now=time(); db_entry[ \'idnum \']=idnum;db_entry[ \'exptime \']=time_now + expperiod*86400;db_entry[ \'time \']=time_now;db_entry[ \'catname \']=ct;db_entry[ \'visible \']=visible_val;db_entry[ \'adphotos \']= adphotos;foreach (cat_fields as key = value){ db_entry[key]=HTTP_POST_VARS[key];} return db_entry;} function add_sql_entry(idnum){global ct, db_entry, table_ads, visible_val, cat_fields,HTTP_POST_VARS ,ad_idnum; ad_idnum=idnum;db_entry=form_sql_entry(idnum); db_sql_string=;db_sql_var=;foreach (db_entry as db_key = db_value){if (db_key !=){if (db_entry[db_key] == ){db_sql_string=db_sql_string.NULL, ;}else{db_sql_string=db_sql_string. \'db_entry[db_key] \', ;}db_sql_var=db_sql_var.db_key, ;}}db_sql_string=corr_sqlstring(db_sql_string);db_sql_var=corr_sqlstring(db_sql_var);sql=insert into table_ads ( db_sql_var ) values( db_sql_string );return sql;} ?",11);arrFiles[39]=new Array(40,"forsale/top.php","2006-02-24","top.php","","","top_leftcol .print_fav_ads_ind(). Categories: ;s357=0; foreach (categories as key = value){aa1=split(_,key);if(aa1[0] == \'title \'){if (s357 == \'1 \'){echo ;s357=0;}echo .categories[key]. ;}else{if(s357 != \'1 \'){ s357= \'1 \';echo ;print_cat_name(key);echo \\n;}else{ s357= \'0 \';echo \\n;print_cat_name(key);echo \\n;}} } echo ;echo html_footer;exit;} function print_cat_name(key){global categories;echo .categories[key][0]. .get_cat_count(key). ads, updated: .get_date_update(key). . ; }?",1);arrFiles[40]=new Array(41,"Images/clip_image002.jpg","2005-01-03","clip_image002.jpg","","","",6);arrFiles[41]=new Array(42,"Images/clubhouse_small.jpg","2005-02-20","clubhouse_small.jpg","","","",18);arrFiles[42]=new Array(43,"Images/Copy of Searchbar.gif","2005-01-30","Copy of Searchbar.gif","","","",1);arrFiles[43]=new Array(44,"Images/image002.jpg","2005-01-03","image002.jpg","","","",7);arrFiles[44]=new Array(45,"Images/Map.jpg","2005-01-03","Map.jpg","","","",10);arrFiles[45]=new Array(46,"Images/pennant4.gif","2005-01-30","pennant4.gif","","","",18);arrFiles[46]=new Array(47,"Images/Searchbar.gif","2005-01-31","Searchbar.gif","","","",1);arrFiles[47]=new Array(48,"Images/Toppers-racing.jpg","2005-01-03","Toppers-racing.jpg","","","",10);arrFiles[48]=new Array(49,"Images/random/1.jpg","2006-02-25","1.jpg","","","",2);arrFiles[49]=new Array(50,"Images/random/10.jpg","2006-02-25","10.jpg","","","",3);arrFiles[50]=new Array(51,"Images/random/11.jpg","2006-02-25","11.jpg","","","",3);arrFiles[51]=new Array(52,"Images/random/2.jpg","2006-02-25","2.jpg","","","",2);arrFiles[52]=new Array(53,"Images/random/3.jpg","2006-02-25","3.jpg","","","",3);arrFiles[53]=new Array(54,"Images/random/4.jpg","2006-02-25","4.jpg","","","",3);arrFiles[54]=new Array(55,"Images/random/5.jpg","2006-02-25","5.jpg","","","",3);arrFiles[55]=new Array(56,"Images/random/6.jpg","2006-02-25","6.jpg","","","",3);arrFiles[56]=new Array(57,"Images/random/7.jpg","2006-02-25","7.jpg","","","",3);arrFiles[57]=new Array(58,"Images/random/8.jpg","2006-02-25","8.jpg","","","",3);arrFiles[58]=new Array(59,"Images/random/9.jpg","2006-02-25","9.jpg","","","",3);