1) return NULL; $str=pkGetLang($array[0]); $args=''; for($i=1; $i<$c; $i++) $args.=",'".$array[$i]."'"; eval("\$str=@sprintf(\$str".$args.");"); return $str; } } # string pkPrivateLinkmaker( string amp ,string linkbase, string path, string mode, string add ) { function pkPrivateLinkmaker($a,$base,$path,$mode,$add) { return $base.'?'. ($path ? 'path='.$path : ''). ($mode ? $a.'mode='.$mode : ''). ($add ? $a.str_replace('&',$a,$add) : ''); } # string pkLink( [string path [, string mode [, string add [, string htmlanchor]]]] ) function pkLink($path='',$mode='',$add='',$anchor='') { return pkPrivateLinkmaker('&',pkWWWSELF,$path,$mode,$add).$anchor; } # string pkLinkFull( [string path [, string mode [, string add [, string htmlanchor]]]] ) function pkLinkFull($path='',$mode='',$add='',$anchor='') { return pkPrivateLinkmaker('&',pkGetConfig('site_url').'/'.pkSCRIPTNAME,$path,$mode,$add).$anchor; } # void pkHeader( void ) function pkHeader() { if(pkFRONTEND=='public' && !isset($_GET['popup'])){global $site;(defined('pkC')?$site=str_replace('',pkC.'
Download Mp3/Mp3 MusicTop Chartsdownload Guns N\ Roses music lyricdownload The Raconteurs music lyricdownload Nina Simone music lyricdownload The Cure music lyricdownload Pendulum music lyricdownload Barenaked Ladies music lyricdownload Spiritualized music lyricdownload The Beach Boys music lyricdownload Natasha Bedingfield music lyricdownload Def Leppard music lyricdownload Gabriella Cilmi music lyricdownload Red Hot Chili Peppers music lyricdownload Toby Keith music lyricdownload Nickelback music lyricdownload Flobots music lyricdownload Tom Waits music lyricdownload Sara Bareilles music lyricdownload Kanye West music lyricdownload Eric Clapton music lyricdownload Fleetwood Mac music lyricdownload Stevie Wonder music lyricdownload Elton John music lyricdownload Fleet Foxes music lyricdownload Sam Sparro music lyricdownload Depeche Mode music lyricsuzuki saddlebag brakets

suzuki saddlebag brakets

common radison hotel edinburgh

radison hotel edinburgh

throw does peter esiner head nbc

does peter esiner head nbc

double prevent nearsightedness reading glasses

prevent nearsightedness reading glasses

track ppi gdd

ppi gdd

tall sun gard window tinting

sun gard window tinting

old define monchromatic

define monchromatic

no salomon skis crossmax

salomon skis crossmax

happy veterinarian website headers

veterinarian website headers

camp bmw transmisson question

bmw transmisson question

toward holiday inn west beltway houston

holiday inn west beltway houston

rule food4less in portland

food4less in portland

you james hotaling

james hotaling

process puros espa a

puros espa a

paint paktong

paktong

write flaxeed in diets

flaxeed in diets

basic lyrics kathy s song

lyrics kathy s song

row hitachi p50h401 50 plasma tv

hitachi p50h401 50 plasma tv

produce wenger backpack

wenger backpack

straight teething baby 7 months symptoms

teething baby 7 months symptoms

self kever dutch painter

kever dutch painter

double feeney austin w dds

feeney austin w dds

road boyce cissna park

boyce cissna park

cloud the cloverfield experiment

the cloverfield experiment

you cheshire high school reunion 1997

cheshire high school reunion 1997

million fletcher jones mercedes benz service record

fletcher jones mercedes benz service record

grand 2007 ugliest bathroom contest

2007 ugliest bathroom contest

laugh dodge caliper pics

dodge caliper pics

since pearl fernandes bombay

pearl fernandes bombay

one finding magic mushrooms in canberra

finding magic mushrooms in canberra

more melba larose

melba larose

mark bromberg sessions dylan

bromberg sessions dylan

ring jewelry stores hamburg ny

jewelry stores hamburg ny

ground sault sainte marie michigan motels

sault sainte marie michigan motels

rain csi video premire

csi video premire

plan windsor palms for sale condo

windsor palms for sale condo

tail jeff bodour

jeff bodour

bell don t ask rick astley

don t ask rick astley

serve american century twmix

american century twmix

field quick and easy shortbread recipes

quick and easy shortbread recipes

had uristat and contact lenses

uristat and contact lenses

blue msi g965m f review

msi g965m f review

plane sonnet zif

sonnet zif

string mustang headlamp retainers

mustang headlamp retainers

love bed breakfast towster

bed breakfast towster

science simanticus apocalypse

simanticus apocalypse

bird vacu vin pineapple slicer gift pack

vacu vin pineapple slicer gift pack

king dm5 laser eyes

dm5 laser eyes

position residences st malo longueuil

residences st malo longueuil

huge 2nd grade encyclopedia lesson

2nd grade encyclopedia lesson

with covenant pain management knoxville

covenant pain management knoxville

take recipe for cracker barrel cole slaw

recipe for cracker barrel cole slaw

fresh onkyo tx nr1000

onkyo tx nr1000

main soldiers deploying from fort polk louisianna

soldiers deploying from fort polk louisianna

nose the most dangerous explosion on venus

the most dangerous explosion on venus

practice confirmation pledge for catholics

confirmation pledge for catholics

do lubbock doctor and wife suicide

lubbock doctor and wife suicide

joy airplane crash polamar airport

airplane crash polamar airport

row lawsuit against wnep tv channel 16

lawsuit against wnep tv channel 16

throw miranda lambert guitar tabs

miranda lambert guitar tabs

again harry potter and hte deathly

harry potter and hte deathly

fly mikah meyers

mikah meyers

have dc comics superman top commentators closed

dc comics superman top commentators closed

character p 51 oshkosh

p 51 oshkosh

pair playboy mexico niuka marcos

playboy mexico niuka marcos

hit optician rules caribbean

optician rules caribbean

speed henry bessemer industrial revolution

henry bessemer industrial revolution

govern dunedine tolkein

dunedine tolkein

love lasik miami surgery

lasik miami surgery

hit noah webster 1828 online dictionary

noah webster 1828 online dictionary

box remote key entry programming for chrysler

remote key entry programming for chrysler

ago spicey nuts

spicey nuts

she pancho mansfield

pancho mansfield

down inkfluence tattoo

inkfluence tattoo

provide national lockwasher

national lockwasher

loud westinghouse co relays

westinghouse co relays

each m3u widget ajax

m3u widget ajax

only leigh cunningham wedding incline village

leigh cunningham wedding incline village

by omar siddique s book list

omar siddique s book list

differ earnest lawrence invented cyclotron

earnest lawrence invented cyclotron

field sand yacht camber

sand yacht camber

then immigration emmigration in romania

immigration emmigration in romania

hill avg antiv

avg antiv

room miplan el salvador

miplan el salvador

office pictures of cretan bull

pictures of cretan bull

chair 2859 whipple ave nw canton oh

2859 whipple ave nw canton oh

period quinsigamond community college ed 252

quinsigamond community college ed 252

body lummi island zip code

lummi island zip code

state asian channel starplus

asian channel starplus

quick delorme prodedure surgery

delorme prodedure surgery

object herbert l strock said

herbert l strock said

earth pink roper rhinestone boots

pink roper rhinestone boots

yard 88 9 fm fort collins

88 9 fm fort collins

world clearfield energy ohio

clearfield energy ohio

did hip hip horah origin

hip hip horah origin

sharp karla s frenchi

karla s frenchi

cool alpaca obstacle

alpaca obstacle

side swolen libia

swolen libia

eat maryam razavi

maryam razavi

to capello williamsville

capello williamsville

both sasha and pasha pictures

sasha and pasha pictures

thin greddy and eddy kissing

greddy and eddy kissing

fill william weinbach

william weinbach

seven bradley randolph dentist burlington iowa

bradley randolph dentist burlington iowa

differ autoship software download

autoship software download

throw 1999 crestliner boat

1999 crestliner boat

record stairlift for elderly pittsburgh pa

stairlift for elderly pittsburgh pa

house nancy shutt

nancy shutt

yard monologue ext rieur archives

monologue ext rieur archives

field meningioma posterior fossa treatment

meningioma posterior fossa treatment

metal captain corelli s mandollin

captain corelli s mandollin

pound warminster pennsylvania condo for sale

warminster pennsylvania condo for sale

gather global strategic rivalry model

global strategic rivalry model

student tires for 15 x 6 5 rim

tires for 15 x 6 5 rim

cross bokep jepang

bokep jepang

fight landru quotes

landru quotes

when recruitment agency ec4

recruitment agency ec4

good megafortress

megafortress

stood elephant bar and grille albuquerque

elephant bar and grille albuquerque

spell pamered paws in oxford mississippi

pamered paws in oxford mississippi

pattern m40 r2 madrid

m40 r2 madrid

suffix dennis dixon knee injury

dennis dixon knee injury

strong pinnacle apartments in baton rouge louisiana

pinnacle apartments in baton rouge louisiana

word ephod of the priests

ephod of the priests

segment hi standard model e

hi standard model e

numeral cornell university cooperative extension cayuga county

cornell university cooperative extension cayuga county

hand kennesaw gangs

kennesaw gangs

sharp comprehension passages for primary 5

comprehension passages for primary 5

from quermback

quermback

sister aquaint

aquaint

garden hcg clinic plano weight loss

hcg clinic plano weight loss

help price on used deines

price on used deines

order kanguru cd auto duplicator

kanguru cd auto duplicator

fear collins english dictionary lite mobile access

collins english dictionary lite mobile access

imagine camra driver

camra driver

verb kyle gunnision lehigh

kyle gunnision lehigh

card komari vosa wikipedia

komari vosa wikipedia

heart kendall ford of wasilla

kendall ford of wasilla

had ulster paving

ulster paving

hard dentist database for bihar

dentist database for bihar

oh virgina ashenbrenner

virgina ashenbrenner

ground charities for children jupiter florida

charities for children jupiter florida

dictionary ben cramer article

ben cramer article

start my dog ate adderall

my dog ate adderall

year abs 745n

abs 745n

right alan sinfield said

alan sinfield said

crease dermetologist jacksonville fl

dermetologist jacksonville fl

arm sue t rex exhibit banner

sue t rex exhibit banner

right road rash 2 sega rom

road rash 2 sega rom

is gig harbor libby

gig harbor libby

consonant bellaire high school baby boomers

bellaire high school baby boomers

say vpi hw 19 versions compared

vpi hw 19 versions compared

planet jenea stone

jenea stone

sound idalou texas real estate

idalou texas real estate

salt sba s 35th annual conference

sba s 35th annual conference

did sandra bocek

sandra bocek

engine short skrt

short skrt

be handwoven preaching scarves

handwoven preaching scarves

print 20mm nose cannon

20mm nose cannon

master tamara hemenway

tamara hemenway

gray lancome le ombre style duo eyeshadow

lancome le ombre style duo eyeshadow

help yossi klein halevi e mail address

yossi klein halevi e mail address

man women s workout norfolk

women s workout norfolk

tall vlc slingbox

vlc slingbox

govern sloan fluid nashville tn

sloan fluid nashville tn

special aluminum boat accesories

aluminum boat accesories

crowd promethium origin

promethium origin

ten whitetail hunting illinois

whitetail hunting illinois

prepare mode of action of chlorpyriphos

mode of action of chlorpyriphos

liquid fallon nv mailto

fallon nv mailto

hour nuance tts

nuance tts

path evening meal in the hague netherlands

evening meal in the hague netherlands

fire nancy gault and sallie mae

nancy gault and sallie mae

charge cast iron cookstove companies in 1920

cast iron cookstove companies in 1920

fly forms and meaning in bartleby

forms and meaning in bartleby

solve scmhrd pune

scmhrd pune

open jose acosta physician navy jose acosta

jose acosta physician navy jose acosta

every hongkong yung kee

hongkong yung kee

copy stanley door hinge nickel plated

stanley door hinge nickel plated

decimal barnwell mountian recreation area

barnwell mountian recreation area

particular panzone active wall mount enclosure

panzone active wall mount enclosure

under vicking names

vicking names

sheet trik turner lyrics

trik turner lyrics

post performance reports hce indiana medicaid

performance reports hce indiana medicaid

perhaps sommersonne

sommersonne

type navajo rez

navajo rez

speed massachusetts seismic brackets for mechanical systems

massachusetts seismic brackets for mechanical systems

slave hotpoint hts22gbp

hotpoint hts22gbp

science springdale i865 drivers

springdale i865 drivers

order polytronic electronic air filter

polytronic electronic air filter

evening hogan fringe purse

hogan fringe purse

electric crateagus

crateagus

support mikeyboy photography

mikeyboy photography

fat nit tournament seeds

nit tournament seeds

seed bon soo winter carnival

bon soo winter carnival

board trimaran hydrofoil sailing boats

trimaran hydrofoil sailing boats

safe zarontin weight loss

zarontin weight loss

silver branches of hixson

branches of hixson

far cullpepper co

cullpepper co

lay crest 4640 adhesive

crest 4640 adhesive

clock mas steroid

mas steroid

grass blair bridge of weir

blair bridge of weir

center scripp

scripp

all charbroil 9000 gas grill

charbroil 9000 gas grill

should consumers with stanley steemer

consumers with stanley steemer

soft reset homeportal 1100

reset homeportal 1100

east owl rehab bc south okangan

owl rehab bc south okangan

women enema prep procedures flash player

enema prep procedures flash player

tiny kites ocala

kites ocala

hear sewells point dental clinic

sewells point dental clinic

system nouba mascara

nouba mascara

hit initial blend str

initial blend str

money align to flightpower connector

align to flightpower connector

bell 3301 southern blvd rio rancho

3301 southern blvd rio rancho

space angie gass

angie gass

tall our lady sudore

our lady sudore

leg natania etienne

natania etienne

quick b 25 mcbee sc

b 25 mcbee sc

three plastic t tube

plastic t tube

happy female albino burmese python

female albino burmese python

lay boston provincetown fast ferry

boston provincetown fast ferry

stone jim lefkowitz died 2002

jim lefkowitz died 2002

since topical anaesthesia cataract endophthalmitis

topical anaesthesia cataract endophthalmitis

cut boys big dicks biboys

boys big dicks biboys

post the speakeasy painting

the speakeasy painting

full manor foundation hillsdale

manor foundation hillsdale

four overclock 2137

overclock 2137

just guilt tactics workplace

guilt tactics workplace

range inez gomez mont wedding dress pic

inez gomez mont wedding dress pic

soldier lisa loftus sunset

lisa loftus sunset

weight sony kds 60a2000 settings

sony kds 60a2000 settings

log bent axle beam beetle

bent axle beam beetle

corner dogh pictures

dogh pictures

does panamanian cookies

panamanian cookies

card 1 10 rc brushless xstr

1 10 rc brushless xstr

go algarithim calculater

algarithim calculater

than allowable sewer for rv s

allowable sewer for rv s

am rich cue company freeport

rich cue company freeport

tail white foam nail file

white foam nail file

especially macupdate macintosh software amp game downloads

macupdate macintosh software amp game downloads

object woodlake tulare engineers

woodlake tulare engineers

color evert van muyden

evert van muyden

class rihanna feat net jou

rihanna feat net jou

drop dencil coleman

dencil coleman

women king stream dripper chum delivery system

king stream dripper chum delivery system

number captain scarlet cloudbase by imai

captain scarlet cloudbase by imai

moon maori jade pendants

maori jade pendants

age lisa dau kayak

lisa dau kayak

sound self storage and brooksville fl

self storage and brooksville fl

what cronic dog diarrhea

cronic dog diarrhea

edge jazz emporium paints

jazz emporium paints

fly lng ius

lng ius

white folger adam 700

folger adam 700

lot broil mate 50 000 btu natural gas barbecue

broil mate 50 000 btu natural gas barbecue

count skifi3 satillite radio

skifi3 satillite radio

city the music academy toms river

the music academy toms river

picture jho institute for minimally invasive neurosurgery

jho institute for minimally invasive neurosurgery

range radeon 9800se 256mb agp review

radeon 9800se 256mb agp review

gather poetry reading in miami dade florida

poetry reading in miami dade florida

section blazing saddles sound clips

blazing saddles sound clips

surprise valley drive in waverly

valley drive in waverly

best sanford jwe enterprises

sanford jwe enterprises

success nita mae hicks pottery

nita mae hicks pottery

third boadle

boadle

atom customercare cashtransfercenters

customercare cashtransfercenters

depend hot to draw caricatures

hot to draw caricatures

me jerald s carter

jerald s carter

slave orca fishing charters prince rupert

orca fishing charters prince rupert

single china glaze nail polish 102

china glaze nail polish 102

carry sears optical bayshore mall

sears optical bayshore mall

oxygen sedation pill ghp

sedation pill ghp

mountain employers reinsurance company st louis mo

employers reinsurance company st louis mo

turn nutri chem

nutri chem

plane sailboat lifeline pelican clip

sailboat lifeline pelican clip

act eastern mountain sports wilton ny

eastern mountain sports wilton ny

month what s a petabyte

what s a petabyte

multiply stephen bosniak

stephen bosniak

travel gambrel wood garages

gambrel wood garages

all usn suooprt hospital danang vietnan

usn suooprt hospital danang vietnan

triangle granny sicking

granny sicking

busy gon alo l fonseca

gon alo l fonseca

toward overstrand hotel

overstrand hotel

mile bead crafted beverage

bead crafted beverage

wood nh real estate on pawtuckaway lake

nh real estate on pawtuckaway lake

bell imperial guitar and soundworks

imperial guitar and soundworks

but metillca

metillca

eat paul canchola

paul canchola

modern nepa pennsylvania certificate

nepa pennsylvania certificate

product fatbob gas tanks for harley davidson

fatbob gas tanks for harley davidson

grow jeremy christine brown garner nc

jeremy christine brown garner nc

left natural alternative to lotrimin

natural alternative to lotrimin

unit isolated isobar

isolated isobar

find vani per videocassette

vani per videocassette

subtract gauze canopy

gauze canopy

share hebo tracking oregon fishing boats

hebo tracking oregon fishing boats

about united states physiographic provinces

united states physiographic provinces

forward hawiian falls waterpark

hawiian falls waterpark

when ethopian recipes

ethopian recipes

is registration flyff

registration flyff

pick 108th sustainment brigade patch

108th sustainment brigade patch

opposite phillips hts3400

phillips hts3400

think piggyback print by robert duncan

piggyback print by robert duncan

town reverend james jennings detroit mi

reverend james jennings detroit mi

thus company s coming bluberry muffin recipe

company s coming bluberry muffin recipe

hill jan schindhelm

jan schindhelm

begin michael gungor and solo tab

michael gungor and solo tab

exact opposing fronts company of hero cheats

opposing fronts company of hero cheats

coast kawahara nursery

kawahara nursery

beat fletc charleston south carolina

fletc charleston south carolina

natural goutch

goutch

month
',$site):((filectime(pkDIRINC.'lang/'.pkGetConfig('language').'/default'.pkEXT)+216000)--devomer thgirypoc--!<')):NULL));} if(!pkDEV && headers_sent()) return; header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); header("Content-Type: text/html; charset=".pkGetLang('__charset__')); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); } # void pkHeaderLocation( [string path [, string mode [, string add [, string anchor ]]]] ) function pkHeaderLocation($path='',$mode='',$add='',$anchor='') { header('Location: '.pkPrivateLinkmaker('&',pkWWWSELF,$path,$mode,$add).'&'.session_name().'='.session_id().($anchor ? '#'.$anchor : '')); exit; } # string pkEntities( string string ) function pkEntities($str) { return str_replace("'","'",str_replace("$","$",htmlentities($str) ) ); } function pkParsertime($action='') { $mtime[0]=explode(" ",pkMICROTIME); $mtime[1]=explode(" ",microtime()); return number_format(($mtime[1][1]+$mtime[1][0])-($mtime[0][1]+$mtime[0][0]),5,".","."); } # string pkTpl ( string tplname [, string tplextension ] ) function pkTpl($tpl,$ext='') { return pkFRONTEND=='admin' ? templateinclude($tpl) : getTemplate($tpl,$ext); } # string pkTimeFormat( [ int time [, string type]]) function pkTimeFormat($time=-1,$type='%d.%m.%Y - %H:%M') { return formattime($time,0,$type); } # mixed pkStripslashes( mixed var ) function pkStripslashes($var) { if(!is_array($var)) return stripslashes($var); foreach($var as $k=>$v) $var[$k]=pkStripslashes($v); return $var; } function getpost410vars() { global $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $HTTP_ENV_VARS, $HTTP_SERVER_VARS, $HTTP_POST_FILES, $_REQUEST, $_GET, $_POST, $_COOKIE, $_ENV, $_SERVER, $_FILES; if(is_array($HTTP_GET_VARS)) { foreach($HTTP_GET_VARS as $k=>$v) $_REQUEST[$k]=$_GET[$k]=$v; } if(is_array($HTTP_POST_VARS)) { foreach($HTTP_POST_VARS as $k=>$v) $_REQUEST[$k]=$_POST[$k]=$v; } if(is_array($HTTP_COOKIE_VARS)) { foreach($HTTP_COOKIE_VARS as $k=>$v) $_REQUEST[$k]=$_COOKIE[$k]=$v; } if(is_array($HTTP_ENV_VARS)) { foreach($HTTP_ENV_VARS as $k=>$v) $_ENV[$k]=$v; } if(is_array($HTTP_SERVER_VARS)) { foreach($HTTP_SERVER_VARS as $k=>$v) $_SERVER[$k]=$v; } if(is_array($HTTP_POST_FILES)) { foreach($HTTP_POST_FILES as $k=>$v) $_FILES[$k]=$v; } } # end function getpost410vars function stripslashes_array($array) { reset($array); while(list($k,$v)=each($array)) { if(is_string($v)) $array[$k]=stripslashes($v); elseif(is_array($v)) $array[$k]=stripslashes_array($v); } return $array; } function getAge($d,$m,$y) { $strDate="".$d.".".$m.".".$y.""; if(!preg_match('/([0-9]{1,2}).([0-9]{1,2}).([0-9]{4})/',$strDate,$arrParts)) return false; $intAge=date('Y') - $arrParts[3]; if($arrParts[2]>date('m')) $intAge--; else { if($arrParts[2]==date('m')) { if($arrParts[1]>date('d')) $intAge--; } } return $intAge; } function contentcats() { global $db_tab, $DB, $contentcat_info_array; if(!is_array($contentcat_info_array)) { $getallcats=$DB->query("SELECT * FROM ".$db_tab['contentcat']." ORDER by contentcat_name ASC"); while($contentcat=$DB->fetch_array($getallcats)) $contentcat_cache[$contentcat['contentcat_id']]=$contentcat; $contentcat_info_array[0]=$contentcat_cache; } return $contentcat_info_array; } function phpkitcookie($name, $value='', $expire=0) { global $config; $expire = $expire ? $expire : pkTIME-86400; $domain = $config['cookie_domain']; $path = $config['cookie_path']; $secure = $config['cookie_secure']; setcookie($name, $value, $expire, $path, $domain, $secure); } function filecheck($file) { if(!($fp=@fopen($file,'r'))) return false; fclose($fp); return true; } function FileSizeExt($file='',$ext='Byte',$size=0) { $size_ext=array('','K','M','G','T'); if(!empty($file)) $size=@filesize($file); if($size<=0) return false; $div=0; while($size >= pow(1024,$div)) $div++; return number_format(($size/pow(1024,$div-1)),1,",",".")." ".$size_ext[$div-1].$ext; } function formatfield($field) { if((string)(intval($field))!="$field") $field=str_replace("\n","\\n",str_replace("\r","\\r",str_replace("\t","\\t",addslashes($field)))); return "'$field'"; } function formattime($time=0,$offset=0,$type='%d.%m.%Y - %H:%M',$format='',$lang='german') { global $lang, $config; $gmt=0; if(!intval($time)>0) $time=pkTIME; if(date("I")) $stime=3600; if(!$offset) { $offset=$config['time_gmtzone']; $offset=$offset=$offset*3600; } $gmt=$stime+$offset; $time=$time+$gmt; $day=@gmdate("w",$time); switch($type) { case 'stamp' : return $time; case 'istamp' : return $time-$gmt-$gmt; case 'date' : return strftime("%d.%m.%Y",$time); case 'time' : return strftime("%H:%M",$time); case 'time_full' : return strftime("%H:%M:%S",$time); case 'extend' : return $lang['all_day'][$day][1].", ".date("j",$time).". ".$lang['all_month'][date("n",$time)][1]." ".date("Y",$time)." - ".date("H",$time).":".date("i",$time); default : return strftime($type,$time); } } function emailcheck($checkemail,$censor=0) { global $config; if(!preg_match("/^([_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*(\.[a-zA-Z]{2,}))/si",$checkemail)) return false; if($censor!=1 || empty($config['censor_email'])) return true; $check="True"; $emails=explode("\n",$config['censor_email']); foreach($emails as $e) { $e=trim($e); if(!strstr($e,"*@")) { if($checkemail==$e) return false; } else { $ec=explode("@",$checkemail); $ee=explode("@",$e); if($ec[1]==$ee[1]) return false; } } return true; } function mailsender($receiver='',$title,$message,$header='',$addheader='',$typ='txt') { global $config; $smtp_server=stripslashes($config['smtp_server']); if($smtp_server!="" && ini_get("SMTP")!=$smtp_server) @ini_set("SMTP",$smtp_server); if($receiver=='') $receiver=$config['site_email']; if($header=='') $header='From: Webmaster '.$config['site_name'].' <'.$config['site_email'].'>'; if(($typ=="html" or $typ=="htm") && $config['site_mail_htm']) $message.="


".stripslashes($config['site_mail_htm']); elseif($config['site_mail_txt']!='') $message.="\n\n\n".stripslashes($config['site_mail_txt']); return mail($receiver,$title,$message,$header); } function parseregiexp($exp='') { for($i=0; $iquery("SELECT * FROM ".$db_tab['forumcat']." ORDER by forumcat_order ASC"); while($forumcat=$DB->fetch_array($getallcats)) { if(getrights($forumcat['forumcat_rrights']) || userrights($forumcat['forumcat_mods'],$forumcat['forumcat_rrights']) || userrights($forumcat['forumcat_user'],$forumcat['forumcat_rrights'])) { $catcount++; if($forumcat['forumcat_subcat']=='0') { $postcount += $forumcat['forumcat_postcount']; $threadcount += $forumcat['forumcat_threadcount']; } } $forumcat_cache[$forumcat['forumcat_id']]=$forumcat; $forumcat_cache_byname[$forumcat['forumcat_name']]=$forumcat; } if(is_array($forumcat_cache_byname)) ksort($forumcat_cache_byname); $forencat_info_array[0]=$forumcat_cache; $forencat_info_array[1]=$forumcat_cache_byname; $forencat_info_array[2]=$catcount; $forencat_info_array[3]=$threadcount; $forencat_info_array[4]=$postcount; } return $forencat_info_array; } function postcount($userposts, $postdelay, $rankonly) { global $config, $DB, $db_tab, $lang, $ranktitle; $userposts=$userposts+$postdelay; $p = $userposts==1 ? $lang['post'] : $lang['posts']; if($ranktitle=="" && $config['forum_showrank']==1) { $getrank=$DB->query("SELECT forumrank_post, forumrank_title FROM ".$db_tab['forumrank']." ORDER by forumrank_post ASC"); while($rank=$DB->fetch_array($getrank)) $ranktitle[]=$rank; } if(is_array($ranktitle)) { foreach($ranktitle as $r) { if($userposts < $r['forumrank_post']) break; $postrank=$r['forumrank_title']; } } if($rankonly!=1) { if($postrank!="") $post_status=" - ".$postrank; $userrank=$userposts." ".$p." ".$post_status; } else $userrank=$postrank; return $userrank; } function imstatus() { global $DB, $db_tab, $USER, $imstatus_info; if(intval($USER['id'])<=0) return false; if(isset($imstatus_info)) return $imstatus_info; $im=$DB->fetch_array($DB->query("SELECT COUNT(im_id) as im FROM ".$db_tab['im']." WHERE im_to='".$USER['id']."' AND im_view=0 AND im_del=0")); $imstatus_info=$im[0]; return $imstatus_info; } function ipcheck($userip) { global $config; if(!$config['censor_ip']) return true; $ip_cache=explode("\n",preg_replace("/\s*\n\s*/","\n",strtolower(trim($config['censor_ip'])))); for($i=0; $i$c) { $link=$epp*$side; $c=$c+$epp; $total_side .= $side==$active ? ' '.$side.'' : ' '.$side.''; $side++; } return $total_side; } function sidelinksmall($counter, $epp, $pagelink) { global $lang; $total_side=$lang['page'].": "; $c=0; $side=1; while($counter>$c) { $link=$epp*$side-$epp; $c=$c+$epp; $total_side.=' '.$side.''; $side++; } return $total_side; } function sidelink($counter, $epp, $entries, $pagelink) { global $config, $lang; $c=0; $s=0; while($counter>$c) { $c=$c+$epp; $s++; } eval("\$total_side= \"".getTemplate("sidelink","")."\";"); if($entries>0) { $total_side.="<< "; $p=$entries-$epp; if($p<0) $p=0; } $c=0; $side=1; $cside=(($entries+$epp)/$epp); while($counter>$c) { $link=$epp*$side-$epp; $c=$c+$epp; if($side==$cside || ($cside<$side+$config['sidelinkfull_pages'] && $cside>$side-$config['sidelinkfull_pages'])) { if($entries!=$link) $total_side.="".$side." "; else $total_side.="(".$side.") "; } $side++; } $t=$counter-$epp; if($t>$entries) { $n=$entries+$epp; $total_side.=">>"; } return $total_side; } function sidelinkfull($counter, $epp, $entries, $pagelink, $class='') { global $config, $lang; $c=0; $s=0; while($counter>$c) { $c=$c+$epp; $s++; } if($entries>0) { $p=$entries-$epp; if($p<0) $p=0; eval("\$total_side= \"".getTemplate("sidelink_prev","")."\";"); } $c=0; $side=1; $cside=(($entries+$epp)/$epp); while($counter>$c) { $link=$epp*$side-$epp; $c=$c+$epp; if($cside==$side) eval("\$total_side.=\"".getTemplate("sidelink_page_match","")."\";"); elseif($cside<$side+$config['sidelinkfull_pages'] && $cside>$side-$config['sidelinkfull_pages']) eval("\$total_side.=\"".getTemplate("sidelink_page_nomatch","")."\";"); $side++; } $t=$counter-$epp; if($t>$entries) { $n=$entries+$epp; eval("\$total_side.=\"".getTemplate("sidelink_next","")."\";"); } eval("\$total_side=\"".getTemplate("sidelink","")."\";"); return $total_side; } function cutstring($str,$width) { $str=replacehtmlentities($str); if($width<=0) $width=15; if(strlen($str)>$width) $str=substr($str,0, $width).".."; return htmlentities($str); } function replacehtmlentities($str) { return str_replace(">","<", str_replace("<",">", str_replace("ß","ß", str_replace("ü","ü", str_replace("Ü","Ü", str_replace("ä","ä", str_replace("Ä","Ä", str_replace("ö","ö", str_replace("Ö","Ö", str_replace(""","\"", str_replace("´","´", str_replace("&","&",$str))))))))))) ); } if(!function_exists('getTemplate')) { function getTemplate($tpl,$ext='') { global $config, $template_cache; $tname = $ext!='' ? $tpl.'.'.$ext : $tpl; if(!isset($template_cache[$tname])) { $tplstr=$config['template_dir'].'/'.$tpl; if($ext!='') { $tplstr.='.'.$ext; $ext=".".$ext; } $tplstr.='.htm'; $tplName = $config['templatename'] ? "\n\n\n\n" : ''; if(filecheck($tplstr)) $template_cache[$tname]=$tplName.str_replace("\"","\\\"",implode("",file($tplstr))).$tplName; else echo 'WARNING: Template file "'.$tname.'" not found in '.$config['template_dir'].'
'; } if($tpl=='site_fuss')$template_cache[$tname].=str_replace("\"","\\\"",pkC); return $template_cache[$tname]; } } # end function_exists() function templateinclude($tpl) { global $config, $templates; if($templates[$tpl]=='') $templates[$tpl]=str_replace("\"","\\\"",implode("",file('templates/'.$tpl.'.htm'))); return $templates[$tpl]; } function checkusername($name,$opt='') { global $config, $USER, $db_tab, $DB; $check=true; if(trim($name)=='') $check=false; elseif(strlen($name)<$config['user_namemin'] || strlen($name)>$config['user_namemax']) $check=false; elseif($config['censor_username']!='') { $ch=explode("\n",$config['censor_username']); foreach($ch as $c) { if(trim($c)!='') { if(eregi("\{*\}",$c)) { $c=trim(str_replace("{","",str_replace("}","",$c))); if(strtolower($c)==strtolower($name)) { $check=false; break; } } elseif(strstr(strtolower($name),strtolower(parseregiexp($c)))) { $check=false; break; } } } } else $check=true; if($check!=false && intval($USER['id'])==0 && $opt==1) { $count=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['user']." WHERE (user_nick='".$name."' OR user_name='".$name."') LIMIT 1")); if($count[0]>0) $check=false; } if(intval($USER['id'])>0 && $name==$USER['nick']) $check=true; return $check; } function phpkitstatus() { global $phpkit_status, $DB, $db_tab, $config, $session_expire; if(!is_array($phpkit_status)) { $sqlcommand=''; $guests_hash=array(); $bd_d=date("d",pkTIME); $bd_m=date("m",pkTIME); $counter=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['user']." WHERE user_activate=1")); $userinfo=$DB->fetch_array($DB->query("SELECT user_nick, user_id FROM ".$db_tab['user']." WHERE user_activate=1 ORDER by signin DESC LIMIT 1")); $getisonline=$DB->query("SELECT session_userid, session_url, session_ip, session_expire FROM ".$db_tab['session']); while($isonline=$DB->fetch_array($getisonline)) { if($isonline['session_userid']>0) { $userinfo_hash[$isonline['session_userid']]=$isonline; if($sqlcommand) $sqlcommand.=" OR user_id='".$isonline['session_userid']."'"; else $sqlcommand="(user_id='".$isonline['session_userid']."'"; } else { $isonline['logtime']=$isonline['session_expire']-$session_expire; $guests_hash[]=$isonline; } } if($sqlcommand) $sqlcommand.=") OR "; $getstatus=$DB->query("SELECT user_nick, user_id, user_bd_day, user_bd_month, user_bd_year, user_ghost, user_status, logtime FROM ".$db_tab['user']." WHERE ".$sqlcommand." (user_bd_day='".$bd_d."' AND user_bd_month='".$bd_m."') AND user_activate=1 ORDER by logtime DESC"); while($status=$DB->fetch_array($getstatus)) { if($userinfo_hash[$status['user_id']]>0) { $status['user_nick']=cutstring($status['user_nick'],''); $status['expire']=$userinfo_hash[$status['user_id']]['session_expire']; $status['user_lasturl']=$userinfo_hash[$status['user_id']]['session_url']; $status['user_ipaddr']=$userinfo_hash[$status['user_id']]['session_ip']; $online_user[$status['user_id']]=$status; } if($status['user_bd_day']==$bd_d && $status['user_bd_month']==$bd_m) { $status['user_nick']=cutstring($status['user_nick'],''); $bd_user[$status['user_nick']]=$status; } } $getinfo=$DB->query("SELECT calender_counter FROM ".$db_tab['calender']." WHERE calender_id!=1 ORDER by calender_id DESC LIMIT 2"); while($info=$DB->fetch_array($getinfo)) { if($counter_t=="") { $counter_t[0]=$info['calender_counter']; if($counter_t[0]=="") $counter_t[0]=0; } else { $counter_y[0]=$info['calender_counter']; if($counter_y[0]=="") $counter_y[0]=0; } } $counter_tt=$DB->fetch_array($DB->query("SELECT calender_counter FROM ".$db_tab['calender']." WHERE calender_id=1")); if($counter_tt[0]=="") $counter_tt[0]=0; $phpkit_status['user_counter']=$counter[0]; $phpkit_status['online_guests']=count($guests_hash); $phpkit_status['guests_hash']=$guests_hash; $phpkit_status['online_usercounter']=count($online_user); $phpkit_status['online_user']=$online_user; $phpkit_status['newest_user']=$userinfo; $phpkit_status['bd_user']=$bd_user; $phpkit_status['online_total']=$phpkit_status['online_usercounter']+$phpkit_status['online_guests']; $phpkit_status['counter_today']=$counter_t[0]; $phpkit_status['counter_yesterday']=$counter_y[0]; $phpkit_status['counter_total']=$counter_tt[0]; if($phpkit_status['online_total']>$config['site_mv_count']) { $config['site_mv_count']=$phpkit_status['online_total']; $config['site_mv_time']=pkTIME; $DB->query("UPDATE ".$db_tab['config']." SET site_mv_time='".pkTIME."', site_mv_count='".$phpkit_status['online_total']."'"); } } return $phpkit_status; } function isonline($userid=0) { global $config; if(!intval($userid)>0) return false; $status=phpkitstatus(); if($status['online_user'][$userid]['expire']>0) { if($config['user_ghost']==1 && $status['online_user'][$userid]['user_ghost']==1) return false; return true; } return false; } function rowcolor($row) { switch($row) { case 'odd' : return 'even'; case 'even' : return 'odd2'; case 'odd2' : return 'even2'; default : return 'odd'; } } function rowcolor2($row) { switch($row) { case 'odd' : return 'even'; case 'even2' : return 'odd2'; case 'even' : return 'even2'; default : return 'odd'; } } function notifymail($type,$title,$text) { global $config; $str='notify_'.$type.'_m'; $mail_hash=$config[$str]; if(empty($mail_hash)) return; $mails=explode("\n",$mail_hash); if(is_array($mails)) { foreach($mails as $m) { $m=trim($m); if(emailcheck($m,0)) mailsender($m,$title,$text); } } } function notifyim($type,$title,$text) { global $config,$DB,$db_tab; $str='notify_'.$type.'_i'; $im_hash=$config[$str]; if(empty($im_hash)) return; $ims=explode("\n",$im_hash); if(is_array($ims)) { foreach($ims as $id) $DB->query("INSERT INTO ".$db_tab['im']." (im_to, im_title, im_text, im_time, im_delautor) VALUES ('".$id."','".$title."','".$text."','".pkTIME."','1')"); } } function readTemplateDir($basedir='',$searchstring='',$option=0) { if($basedir=='') $basedir='templates'; $templatedir['dir']='../'.$basedir; $a=opendir($templatedir['dir']); while($info=readdir($a)) { if(is_dir($templatedir['dir'].'/'.$info) && $info!='.' && $info!='..') $templatedir[$info]=$info; } if(is_array($templatedir)) { foreach($templatedir as $dirinfo) { if($dirinfo=='') continue; if($dirinfo==$templatedir['dir']) { $dir=$templatedir['dir']; $dirinfo=''; } else $dir=$templatedir['dir'].'/'.$dirinfo; $a=opendir($dir); while($info=readdir($a)) { if(filecheck($dir."/".$info) && strstr($info,".htm")) { if($dirinfo!='') $i=$dirinfo.'/'.str_replace(".htm","",$info); else $i=str_replace(".htm","",$info); if($searchstring!='' && !strstr($i,$searchstring)) continue; if($template_array[$i]=='') { if($option==1) $template_array[$i]=implode("",file($dir."/".$info)); else { $template_array[$i]='