IMPORTANT!!! Due to the nature of the characterset used in this file it is important to save this file with an UTF-8 encoding. Contact: thecrew (at) pixelpost (dot) org Copyright 2006 Pixelpost.org License: http://www.gnu.org/copyleft/gpl.html This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // fix proposed by tomyeah on the forum header('Content-Type: text/html; charset=utf-8'); error_reporting(0); ini_set('arg_separator.output', '&'); session_start(); if (isset($_GET['errors']) && $_SESSION["pixelpost_admin"]){ error_reporting(E_ALL ^ E_NOTICE); }elseif(isset($_GET['errorsall']) && $_SESSION["pixelpost_admin"]){ error_reporting(E_ALL); } $PHP_SELF = "index.php"; // includes require("includes/pixelpost.php"); require("includes/functions.php"); // Set cookie for visitor counter, re-count a person after 60 mins setcookie("lastvisit","expires in 60 minutes",time() +60*60); // save user info if requested if(isset($_POST['vcookie'])) { $vcookiename = addslashes($_POST['name']); $vcookieurl = addslashes($_POST['url']); // modified for Email $vcookieemail = clean($_POST['email']); setcookie("visitorinfo","$vcookiename%$vcookieurl%$vcookieemail",time() +60*60*24*30); // save cookie 30 days } start_mysql(); if($_GET['showimage']) $_GET['showimage'] = (int) $_GET['showimage']; // get config if($cfgrow = sql_array("SELECT * FROM ".$pixelpost_db_prefix."config")) { $upload_dir = $cfgrow['imagepath']; } else { $extra_message= "Coming Soon. Not Installed Yet. Cause #1"; show_splash($extra_message,"templates"); //echo "Coming Soon. Not Installed Yet."; //exit; } if ($cfgrow['markdown'] == 'T') { require("includes/markdown.php"); } // added token support for use in forms only if it is set on if ($cfgrow['token'] == 'T'){ if (!isset($_SESSION['token'])){ $_SESSION['token'] = md5($_SERVER["HTTP_USER_AGENT"].$_SERVER["HTTP_ACCEPT_LANGUAGE"].$_SERVER["HTTP_ACCEPT_ENCODING"].$_SERVER["HTTP_ACCEPT_CHARSET"].$_SERVER["HTTP_ACCEPT"].$_SERVER["SERVER_SOFTWARE"].session_id().uniqid(rand(), TRUE)); } if(!isset($_GET['x'])&&$_GET['x'] !== "save_comment"){ $_SESSION['token_time'] = time(); } } // book visitors if (strtolower($cfgrow['visitorbooking'])!='no') book_visitor($pixelpost_db_prefix."visitors"); if(isset($mod_rewrite)&&$mod_rewrite == "1") $showprefix = ""; else $showprefix = "./index.php?showimage="; // refresh the addons table $dir = "addons/"; refresh_addons_table($dir); $tz = $cfgrow['timezone']; $datetime = gmdate("Y-m-d H:i:s",time()+(3600 * $tz)); // current date+time $cdate = $datetime; // for future posting, current date+time // ##########################################################################################// // LANGUAGE SELECTION // ##########################################################################################// // Original idea by RobbieMc (http://forum.pixelpost.org/showthread.php?t=3668) // This is an array of all supported languages in PP. It contains the country abbreviation // and the native word for the language spoken in that country. This is used to get all // variables. $PP_supp_lang = array('dutch'=>array('NL','Nederlands'), 'english'=>array('EN','English'), 'french'=>array('FR','Français'), 'german'=>array('DE','Deutsch'), 'italian'=>array('IT','Italiano'), 'norwegian'=>array('NO','Norsk'), 'persian'=>array('FA','Farsi'), 'polish'=>array('PL','Polskiego'), 'portuguese'=>array('PT','Português'), 'simplified_chinese'=>array('CN','Chinese'), 'spanish'=>array('ES','Español'), 'swedish'=>array('SE','Svenska'), 'danish'=>array('DK','Dansk'), 'japanese'=>array('JP','Japanese') ); // The default language is the language the user has set in the adminpanel // We have to find the abbreviation $default_language_abr = strtolower($PP_supp_lang[$cfgrow['langfile']][0]); // Try to find if another language was selected or not (different ways) // Set a cookie to the GET arg 'lang' if it exists. if(isset($_GET['lang'])) { setcookie ('lang', substr($_GET['lang'],0,2), false, '/', false, 0); $language_abr = substr($_GET['lang'],0,2); } // Set the &language variable to session 'lang' - this variable is the one used below $language_abr = $_COOKIE['lang']; // Use the default language if none of the previous steps captured a language preference if(!isset($language_abr)) $language_abr = $default_language_abr; // override the language if $_GET['lang'] is set. if(isset($_GET['lang'])) $language_abr = substr($_GET['lang'],0,2); // convert the two letter $language variable to full name of language file // (used in language file switch but not template switch (template uses abbreviation)) foreach ($PP_supp_lang as $key => $row) { foreach($row as $cell) { if ($cell == strtoupper($language_abr)) $language_full = $key; } } // ##########################################################################################// // GET LANGUAGE FILE BASED ON LANGUAGE SELECTION // ##########################################################################################// if (file_exists("language/lang-".$language_full.".php")) { if ( !isset($_GET['x'])OR($_GET['x'] != "rss" & $_GET['x'] != "atom")) require("language/lang-".$language_full.".php"); } else { echo 'Error:
No language folder exists or the file "lang-' .$language_full.'.php" is missing in that folder.
Make sure that you have uploaded all necessary files with the exact same names as mentioned here.'; exit; } // Double Quotes in break HTML Code $pixelpost_site_title = $cfgrow['sitetitle']; $pixelpost_site_title = pullout($cfgrow['sitetitle']); $pixelpost_site_title = htmlspecialchars($pixelpost_site_title,ENT_QUOTES); // Added ability to use header and footers for templates. They are not needed but used if included in the template // Don't show header or footer if viewing comments in a popup: if(!isset($_GET['popup'])&&$_GET['popup'] != "comment"){ if(file_exists("templates/".$cfgrow['template']."/header.html")) $header = file_get_contents("templates/".$cfgrow['template']."/header.html"); if(file_exists("templates/".$cfgrow['template']."/footer.html")) $footer = file_get_contents("templates/".$cfgrow['template']."/footer.html"); } // You can now add any template you want by just adding the template and a link to it. For example, // ?x=about will load the template about_template.html if(isset($_GET['x'])&& $_GET['x'] == "ref") { // Maintain backwards compatibility with the referer template $_GET['x'] = "referer"; } // refererlog if(isset($_GET['x'])&&$_GET['x'] == "referer") { header("HTTP/1.0 404 Not Found"); header("Status: 404 File Not Found!"); // header("Location: index.php"); echo "\n404 Not Found\n\n

Not Found

\nThe requested URL /index.php was not found on this server.

\n

Additionally, a 404 Not Found\nerror was encountered while trying to use an ErrorDocument to handle the request.\n"; exit; } // end refererlog // ##########################################################################################// // GET TEMPLATE FILE BASED ON LANGUAGE SELECTION // ##########################################################################################// if ($language_full==$cfgrow['langfile']) { // we have our default language from the PP installation, so we use our default templates if( isset($_GET['x'])&&file_exists( "templates/".$cfgrow['template']."/".$_GET['x']."_template.html")) { if (eregi("[.]",$_GET['x'])) die("Come on! forget about it..."); $tpl = file_get_contents("templates/".$cfgrow['template']."/".$_GET['x']."_template.html"); } else { if (!file_exists("templates/".$cfgrow['template']."/image_template.html")) { echo 'Error:
No template folder exists by the name of "' .$cfgrow['template'] .'" or the file image_template.html is missing in that folder.
Make sure that you have uploaded all necessary files with the exact same names as mentioned here.'; exit; } // if the x=foo does not exist prompt it! don't show the main page anymore! if (isset($_GET['x'])&& $_GET['x']!='atom' && $_GET['x']!='comment_atom' && $_GET['x']!='rss' && $_GET['x']!='comment_rss' && $_GET['x']!='save_comment') { // if (isset($_GET['x']) and !file_exists( "templates/".$cfgrow['template']."/".$_GET['x']."_template.html")) header("HTTP/1.0 404 Not Found"); header("Status: 404 File Not Found!"); // header("Location: index.php"); echo "\n404 Not Found\n\n

Not Found

\nThe requested URL /index.php was not found on this server.

\n

Additionally, a 404 Not Found\nerror was encountered while trying to use an ErrorDocument to handle the request.\n"; exit; } $tpl = file_get_contents("templates/".$cfgrow['template']."/image_template.html"); } } else { // we use our special designed language templates. if( isset($_GET['x'])&&file_exists( "templates/".$cfgrow['template']."/".$_GET['x']."_".$language_abr."_template.html")) { if (eregi("[.]",$_GET['x'])) die("Come on! forget about it..."); $tpl = file_get_contents("templates/".$cfgrow['template']."/".$_GET['x']."_".$language_abr."_template.html"); } else { if (!file_exists("templates/".$cfgrow['template']."/image_".$language_abr."_template.html")) { echo 'Error:
No template folder exists by the name of "' .$cfgrow['template'] .'" or the file image_'.$language_abr .'_template.html is missing in that folder.
Make sure that you have uploaded all necessary files with the exact same names as mentioned here.

Click here to return to the default language.'; exit; } // if the x=foo does not exist prompt it! don't show the main page anymore! if (isset($_GET['x'])&& $_GET['x']!='atom' && $_GET['x']!='comment_atom' && $_GET['x']!='rss' && $_GET['x']!='comment_rss' && $_GET['x']!='save_comment'){ // if (isset($_GET['x']) and !file_exists( "templates/".$cfgrow['template']."/".$_GET['x']."_template.html")) header("HTTP/1.0 404 Not Found"); header("Status: 404 File Not Found!"); // header("Location: index.php"); echo "\n404 Not Found\n\n

Not Found

\nThe requested URL /index.php was not found on this server.

\n

Additionally, a 404 Not Found\nerror was encountered while trying to use an ErrorDocument to handle the request.\n"; exit; } $tpl = file_get_contents("templates/".$cfgrow['template']."/image_".$language_abr."_template.html"); } } if(isset($_GET['popup'])&&$_GET['popup'] == "comment") { // additional language file for comment template if ($language_full==$cfgrow['altlangfile'] && file_exists("templates/".$cfgrow['template']."/comment_".$language_abr."_template.html")) $tpl = file_get_contents("templates/".$cfgrow['template']."/comment_".$language_abr."_template.html"); // if not existing or no additional language chosen, default template file is called without error else $tpl = file_get_contents("templates/".$cfgrow['template']."/comment_template.html"); } // if showimage=badstuff or email to hijack! if (isset($_GET['showimage']) && !is_numeric($_GET['showimage'])){ // show 404! header("HTTP/1.0 404 Not Found"); header("Status: 404 File Not Found!"); // header("Location: index.php"); echo "\n404 Not Found\n\n

Not Found

\nDon't do that! go back to index.php! \n
greater cleveland astd home page

greater cleveland astd home page

name glazing bead punch

glazing bead punch

lead glossary vase styles

glossary vase styles

south gradall g 800

gradall g 800

so golf club at wescott plantation

golf club at wescott plantation

deal glissando harp store

glissando harp store

agree gmat study classes in baltimore

gmat study classes in baltimore

rock glass teck hood

glass teck hood

master gortex running jacket

gortex running jacket

search granville ohio daffodil show

granville ohio daffodil show

separate great american gem show cleveland ohio

great american gem show cleveland ohio

self glock 30sf picture

glock 30sf picture

section goodyear activa tires

goodyear activa tires

separate grass fed meat chicago

grass fed meat chicago

hot green phase sanzinia

green phase sanzinia

station gracenet and carbon

gracenet and carbon

may gonagle

gonagle

include grace church of humble and webcast

grace church of humble and webcast

path glendale airport hangars

glendale airport hangars

else girls for hire in trenton ontario

girls for hire in trenton ontario

noon gmail gack download

gmail gack download

are glenn brower sony vice president

glenn brower sony vice president

fat gmat testing locations utah

gmat testing locations utah

radio glinda armstrong

glinda armstrong

branch grand bahia principe resort mexico

grand bahia principe resort mexico

also gottlieb countdown repair manual

gottlieb countdown repair manual

month grand champions slidell

grand champions slidell

ride granular shock it

granular shock it

gold greeneville high school

greeneville high school

gentle grandmothers bay sk

grandmothers bay sk

basic great lakes spas balboa instruments

great lakes spas balboa instruments

let gleaner article golding gift

gleaner article golding gift

lead glasscock 1643

glasscock 1643

system grandstreet theatre helena mt

grandstreet theatre helena mt

after glenn ivey spa

glenn ivey spa

iron green tamale recipe

green tamale recipe

done gloryhole girlz rapidshare

gloryhole girlz rapidshare

while goliad higher search ranking

goliad higher search ranking

rise grammy swope myspace

grammy swope myspace

white glycemic index theory of food combining

glycemic index theory of food combining

speak goossen wood chipper

goossen wood chipper

ground greatest shave female

greatest shave female

quotient gould modbus reference guide

gould modbus reference guide

hand green currier and ives dinnerware

green currier and ives dinnerware

horse godfather feetlinks

godfather feetlinks

mark graber shades in the woodlands texas

graber shades in the woodlands texas

come glamourous wedding gowns

glamourous wedding gowns

often green and gold chrysogonum virginianum australe

green and gold chrysogonum virginianum australe

dictionary granite sealent

granite sealent

even glass figurine marked

glass figurine marked

segment green dragon ephrata pa

green dragon ephrata pa

mother gran gallerys

gran gallerys

teach goddard stainless steel valve

goddard stainless steel valve

neighbor graber pulmonary embolism

graber pulmonary embolism

fill gram negative folliculitis of the scalp

gram negative folliculitis of the scalp

close graduation pictures in albertville minnesota

graduation pictures in albertville minnesota

was grande prairie alberta income household income

grande prairie alberta income household income

near goldseal dairy

goldseal dairy

cold global warming forcasts

global warming forcasts

each glock accessories wharehouse

glock accessories wharehouse

hole gmc vent visors

gmc vent visors

basic glass planetary paperweights

glass planetary paperweights

history green navitas

green navitas

verb gormay

gormay

this glendora ca community obituaries

glendora ca community obituaries

hot glyde slicks

glyde slicks

put gmc generator perth

gmc generator perth

love grant and alana mayer the missionaries

grant and alana mayer the missionaries

mount globerider kites

globerider kites

experiment grace covenant church cornelius nc

grace covenant church cornelius nc

market glulam bridge

glulam bridge

sheet glasm bel

glasm bel

card girls hogtied and gagged

girls hogtied and gagged

many green peter reservior

green peter reservior

wind greenfield garden theaters

greenfield garden theaters

first granite querries

granite querries

doctor greengreen screenshot

greengreen screenshot

eye gorilla universal ratchet strap

gorilla universal ratchet strap

night gold cursive initials with pave diamonds

gold cursive initials with pave diamonds

join grafit creator

grafit creator

heavy government expo jenifer maitre

government expo jenifer maitre

miss gloria uzzell

gloria uzzell

soft granad mallorca cadiz sevilla albeniz

granad mallorca cadiz sevilla albeniz

division grannd rapids ju jitsu

grannd rapids ju jitsu

kill gollum statue rubies

gollum statue rubies

sell gouldian finch for sale california

gouldian finch for sale california

door gopher tortoise survey

gopher tortoise survey

success glamis dunes adult photos

glamis dunes adult photos

cloud golds gym acworth ga

golds gym acworth ga

may grace covenant international ministries morse

grace covenant international ministries morse

bit gnc 5 htp

gnc 5 htp

rest gomoto manual

gomoto manual

bread graydon house in leesburg

graydon house in leesburg

wish go kart baton rouge

go kart baton rouge

led gortex 2mm cord

gortex 2mm cord

head graduation t squad

graduation t squad

rest glenn mary jordan paducah ky

glenn mary jordan paducah ky

stead greenhouse gas methan

greenhouse gas methan

school gloria swanson velde

gloria swanson velde

horse glaciers in ohio pleistocene epoch

glaciers in ohio pleistocene epoch

then god cuckolded hephaestus

god cuckolded hephaestus

leg gols gym

gols gym

plural goliath rf nyc

goliath rf nyc

ready gold polo insignia buttons

gold polo insignia buttons

gold goodwill hillsdale

goodwill hillsdale

five gmc safari awd used repair manuel

gmc safari awd used repair manuel

by gnomic software

gnomic software

possible goofy goes camping

goofy goes camping

particular glacier ridge beverage co

glacier ridge beverage co

single giuseppe nacci

giuseppe nacci

lift glaxo smith kline collegeville phone

glaxo smith kline collegeville phone

done glbt simbols

glbt simbols

green go karting kanata

go karting kanata

block grand health and racquet and tulsa

grand health and racquet and tulsa

pretty gmc safari cargo van bulkhead

gmc safari cargo van bulkhead

save gouse

gouse

me goshusho sama ninomiya kun episode list

goshusho sama ninomiya kun episode list

segment gowan diazinon 4e

gowan diazinon 4e

written grannt

grannt

person gladden surname in sc

gladden surname in sc

led green lake walleye and spicer

green lake walleye and spicer

follow greenflag double scan

greenflag double scan

iron gpanel

gpanel

large greatbrook at norton ma

greatbrook at norton ma

vowel great lakes skipper llc

great lakes skipper llc

nation grand prix intake manifold torque specs

grand prix intake manifold torque specs

finger goodwill industries drop boxes dupage county

goodwill industries drop boxes dupage county

fight glazed dinnerware d

glazed dinnerware d

twenty girlfriend jacoby ellsbury

girlfriend jacoby ellsbury

ball goulbourn sanitation

goulbourn sanitation

give gliderz

gliderz

fear great planes g2 mod crack patch

great planes g2 mod crack patch

death gl1000 highway board

gl1000 highway board

probable grayshot hall

grayshot hall

thick gluteus maximus size loss

gluteus maximus size loss

spell graphtech

graphtech

hunt glacier dental oshkosh

glacier dental oshkosh

drink gold drilling results yellowknife

gold drilling results yellowknife

ball greenbrier mall in chesapeake

greenbrier mall in chesapeake

nation graet clips

graet clips

bear golden age lenin ovid

golden age lenin ovid

but graceway events

graceway events

count gold scrap buyers sacramento

gold scrap buyers sacramento

among great basilius

great basilius

road glenn calvert mckinney texas

glenn calvert mckinney texas

an girls horse throw rug

girls horse throw rug

color glass cooktop repair

glass cooktop repair

matter gorillaz live savefile

gorillaz live savefile

fell governor lincoln almond photos

governor lincoln almond photos

rope gitarr ackord

gitarr ackord

gray glacier snowblowers

glacier snowblowers

coat graphiclite

graphiclite

rail globe trekkers pbs

globe trekkers pbs

light gold cone palm

gold cone palm

made gmc and all terrain logo

gmc and all terrain logo

iron glazed boat oars

glazed boat oars

dog gitls

gitls

north glamourama minneapolis

glamourama minneapolis

prepare goldstein patners melbourne solicitors

goldstein patners melbourne solicitors

hole grails application hosting

grails application hosting

mount graham beaber

graham beaber

list green grino label

green grino label

part girls panties wet dirty filling full

girls panties wet dirty filling full

class glenbrook mall southtown mall

glenbrook mall southtown mall

deep green fried tomatos

green fried tomatos

oh governor john engler

governor john engler

enough grahams piano studio in pleasonton

grahams piano studio in pleasonton

small green bowel movment

green bowel movment

industry gotsch intermediate

gotsch intermediate

dollar grand mecure mackay

grand mecure mackay

have glast ambassadors

glast ambassadors

pose girl from ipanema rosa passos

girl from ipanema rosa passos

quiet great lakes indian fish wildlife commission

great lakes indian fish wildlife commission

want grandview samet thailand

grandview samet thailand

again golg tip

golg tip

word gmc s15 diesel engine

gmc s15 diesel engine

land godfather theme music nino

godfather theme music nino

dad gmaa upcoming races

gmaa upcoming races

when giving a soapy enema

giving a soapy enema

stead gnuplot splot

gnuplot splot

dog glacier national park log cabin rentals

glacier national park log cabin rentals

very grafting sour sop tree

grafting sour sop tree

neighbor gladys akins

gladys akins

life glifwc

glifwc

equal glendalough monastery travel guide

glendalough monastery travel guide

put graduate programs in dramaturgy

graduate programs in dramaturgy

short green acre designs knickernappies

green acre designs knickernappies

fell glass lampwork bead california

glass lampwork bead california

doctor grand rapids blodgett home for children

grand rapids blodgett home for children

food goodle com

goodle com

stead grammar connotations of ostensibly

grammar connotations of ostensibly

listen gmc axel codes

gmc axel codes

shall glenmoor country club wedding reception

glenmoor country club wedding reception

part grader blade for 3 point linkage

grader blade for 3 point linkage

slip glenn gillen wordsmith communications

glenn gillen wordsmith communications

perhaps greenberry industrial oregon

greenberry industrial oregon

double grayville il trains

grayville il trains

sure gmc dealers inear lewisburg pa

gmc dealers inear lewisburg pa

chart gourganes

gourganes

often gmac bpo

gmac bpo

behind gracenote a ubiquitous music database

gracenote a ubiquitous music database

box granby tower groundbreaking

granby tower groundbreaking

break graham cracker bon bons

graham cracker bon bons

multiply glut mt rainer md

glut mt rainer md

locate graingers alaska

graingers alaska

insect goodwill richmond hermitage

goodwill richmond hermitage

seed glenn salzman viking

glenn salzman viking

prove gold bug electrolytic recovery system

gold bug electrolytic recovery system

measure gran turismo hi fi mode

gran turismo hi fi mode

perhaps google viseo

google viseo

short gr 20 divided pickup

gr 20 divided pickup

ocean greenlee 880 bender

greenlee 880 bender

fat gotta dance in redmond

gotta dance in redmond

soldier goodman international manpower inc

goodman international manpower inc

count greater mondawmin neighborhood association

greater mondawmin neighborhood association

paper grand pix auto race

grand pix auto race

sleep gloryhole horse cave

gloryhole horse cave

thought grand duke of luxembourg ancestry

grand duke of luxembourg ancestry

for global satellite position of longview texas

global satellite position of longview texas

caught grandma s boy dante

grandma s boy dante

object glacier national park bandana

glacier national park bandana

matter gp15 1

gp15 1

month great baseball quotes for grave

great baseball quotes for grave

bird gprs configuration telcel mexico

gprs configuration telcel mexico

this grandparent visitation court cases post troxel

grandparent visitation court cases post troxel

find gk elite skating dress

gk elite skating dress

opposite glassbottom nassau

glassbottom nassau

dance governor ritter school security

governor ritter school security

guide gramm leach bliley safeguards rule stolen laptop

gramm leach bliley safeguards rule stolen laptop

figure grady white tigercat

grady white tigercat

similar granuaile s dance

granuaile s dance

dead gold anchor mens charm

gold anchor mens charm

stead girls crowdsurfing

girls crowdsurfing

natural goldrush walkthrough

goldrush walkthrough

watch grc 10

grc 10

bad glacier bay day cruises

glacier bay day cruises

collect great lakes loons midland michigan baseball

great lakes loons midland michigan baseball

write gorsuch realtors

gorsuch realtors

finish grabowski west islip

grabowski west islip

probable governor s crossing pigeon forge

governor s crossing pigeon forge

planet grammas boy

grammas boy

town glycemx

glycemx

think glencoe publishing company math textbooks

glencoe publishing company math textbooks

go granduer and meaning

granduer and meaning

fear grays harbor church 1948

grays harbor church 1948

war goward pronounced

goward pronounced

wrote grb72p

grb72p

well gl1100

gl1100

connect gorps

gorps

equal global water level bubbler

global water level bubbler

pass glamour shop brownwood tx

glamour shop brownwood tx

symbol google poup kier

google poup kier

flower gloucester massachusetts restaurants

gloucester massachusetts restaurants

how glenair cba

glenair cba

art greenday burnout chords

greenday burnout chords

equal giving an opening speach

giving an opening speach

second globarange us

globarange us

window golf accesories nevada

golf accesories nevada

bear grafton wv chamber of commerce

grafton wv chamber of commerce

equal gloria holden married bill hoyt

gloria holden married bill hoyt

during greenlee 8843

greenlee 8843

floor god and goodess

god and goodess

correct gkn s

gkn s

noun glacier bay diesel propulsion

glacier bay diesel propulsion

throw gottschalks village east

gottschalks village east

his gmd suburban parts

gmd suburban parts

out gold mine jewelry frankfurt

gold mine jewelry frankfurt

ten government auctions in topeka kansas

government auctions in topeka kansas

corn glenn cooper ecs

glenn cooper ecs

pattern gluco vet meter

gluco vet meter

crowd glipzide and weight

glipzide and weight

though gp 667c

gp 667c

shore gopher tortoise apron description

gopher tortoise apron description

charge gmc magnum 18 volt drill

gmc magnum 18 volt drill

shape graduate ornament pattern

graduate ornament pattern

dark google theasarus

google theasarus

winter glenmore magic dragon

glenmore magic dragon

notice greek mythology cupid

greek mythology cupid

finish girls gymnasticis pa

girls gymnasticis pa

month goldy s lawn care

goldy s lawn care

buy gomotorbids

gomotorbids

remember girl with detachable shower head

girl with detachable shower head

hurry government directives tier level

government directives tier level

break gloria vanderbilt dusting powder

gloria vanderbilt dusting powder

music gpx noaa radio directions

gpx noaa radio directions

temperature girll next door

girll next door

proper glass nickel pizza fitchburg wi

glass nickel pizza fitchburg wi

we goong aka princess hours

goong aka princess hours

black gotthold lessing mason

gotthold lessing mason

leave gmi decal

gmi decal

mass gpw week calculator

gpw week calculator

pay gorlitz drain snake

gorlitz drain snake

single grand daddy longlegs spider poison

grand daddy longlegs spider poison

town glazen scheidingswanden

glazen scheidingswanden

human gold dog breed charms

gold dog breed charms

tool gluten free taco bell

gluten free taco bell

rather gorch fock ll

gorch fock ll

made gordon dean cohasset

gordon dean cohasset

believe gooly

gooly

pass go down moses song preveiw

go down moses song preveiw

grass govner

govner

song grayrock orv

grayrock orv

lone gooseworks

gooseworks

path goddard high school 2007 2008

goddard high school 2007 2008

determine grants farm wheatberry bread

grants farm wheatberry bread

water gluing wood drawers

gluing wood drawers

bear glindon

glindon

did grand valley crna program

grand valley crna program

father gk 2 delhi map

gk 2 delhi map

wheel gmcsf gcsf recombinant supply

gmcsf gcsf recombinant supply

well gluhareff pressure jet plans

gluhareff pressure jet plans

circle goldstock festival

goldstock festival

instant goodwill eau claire store hours

goodwill eau claire store hours

ball graphics card for sketchup

graphics card for sketchup

been glxgears display frame rate

glxgears display frame rate

young gonella realty merced ca

gonella realty merced ca

week go fetch a boll

go fetch a boll

huge great western seppelts

great western seppelts

mother green steet advisors

green steet advisors

beat golden budha picture

golden budha picture

decimal gorrilla zoe hood figga video

gorrilla zoe hood figga video

note grand jury report on haverford township

grand jury report on haverford township

forest goldsboro motorcycle ridding

goldsboro motorcycle ridding

rain glacier bay diesel electric

glacier bay diesel electric

dry glucotrin system

glucotrin system

rain glenfield marlin 22 rifle model 25

glenfield marlin 22 rifle model 25

still gordin medical center

gordin medical center

enter google subite site

google subite site

subtract gordon korman timeline

gordon korman timeline

kill great works internet and gwi

great works internet and gwi

protect greenlee lavery

greenlee lavery

way grandview hotel seaview wa

grandview hotel seaview wa

rope grease 2 my charades

grease 2 my charades

hit glastron 142 0l

glastron 142 0l

base glade aerosol dispencer

glade aerosol dispencer

substance governors mansion mackinac island

governors mansion mackinac island

system grace reform camarillo

grace reform camarillo

get goodyear in beaumont texas

goodyear in beaumont texas

ground globalnet marketing solutions bbb

globalnet marketing solutions bbb

populate glyph translator

glyph translator

gas grabner pronounced

grabner pronounced

bat goodrich quality theaters lafayette in

goodrich quality theaters lafayette in

experiment gracia darmstadt

gracia darmstadt

put greenflag contest

greenflag contest

leg god of mecury

god of mecury

twenty girls screwin donkies

girls screwin donkies

left graco power painter

graco power painter

money gordin peters photographer

gordin peters photographer

history goodlife fitness kanata on

goodlife fitness kanata on

might gleanings in proverbs robert jones

gleanings in proverbs robert jones

if graham laschuk

graham laschuk

cloud graduation pictures gladwin michigan

graduation pictures gladwin michigan

reach glass steagal act repeal

glass steagal act repeal

side greaet

greaet

vowel grand theatre cartersville ga

grand theatre cartersville ga

agree gluten bakery philadelphia

gluten bakery philadelphia

is grants for excent

grants for excent

moment gordon allport theory of personalism

gordon allport theory of personalism

please glame homepage

glame homepage

stood grand teton adventure playsets instructions

grand teton adventure playsets instructions

end greenbrier county clerk west va

greenbrier county clerk west va

rather goldwing polo shirt

goldwing polo shirt

spring grammar french conditionnel

grammar french conditionnel

road google copernicus hiring

google copernicus hiring

word glycemic carrot cooked

glycemic carrot cooked

am godaddy plesk default page error

godaddy plesk default page error

subject glorias providence

glorias providence

keep greenbank wa real estate

greenbank wa real estate

noise graig logan

graig logan

sand girl scouts midland texas

girl scouts midland texas

sharp gracie jujitsu training in kentucky

gracie jujitsu training in kentucky

fight grease dispencer

grease dispencer

early grandtree inn bozeman

grandtree inn bozeman

that greel mythology

greel mythology

eat government intervention after pearl harbor

government intervention after pearl harbor

fill gluing biscuit joints

gluing biscuit joints

huge gordon gekko single largest shareholder

gordon gekko single largest shareholder

soon grant sinnock

grant sinnock

may glycolic vs alpha lipoic acid skin

glycolic vs alpha lipoic acid skin

wash glazed maple wood filler

glazed maple wood filler

win girleez

girleez

sing granular gopher poisen

granular gopher poisen

select golfs steakhouse kitchener

golfs steakhouse kitchener

fair granny age 50 miltf

granny age 50 miltf

sight globe tabloid magazine selena autopsy

globe tabloid magazine selena autopsy

it glenn jorstad jakobsen

glenn jorstad jakobsen

round grass aeriating thatching

grass aeriating thatching

process grapas clavos

grapas clavos

engine glass menagerie tennesse williams publisher

glass menagerie tennesse williams publisher

question greenfields heating cooling in martinsburg wv

greenfields heating cooling in martinsburg wv

morning googal canada

googal canada

example girls flashing vidieos

girls flashing vidieos

hunt goodyear torque flex belt

goodyear torque flex belt

support grant gigee

grant gigee

south granite monuments in mcbee sc

granite monuments in mcbee sc

complete gold strike poker room tunica

gold strike poker room tunica

steel green party festival bundoran

green party festival bundoran

mount goldwing using amsoil

goldwing using amsoil

man glasscapes in canada

glasscapes in canada

true . glenn mccoy the romp

glenn mccoy the romp

mile goliad tx newspaper

goliad tx newspaper

coast gooseneck hitch location

gooseneck hitch location

modern glenn balcom military

glenn balcom military

shore greenan pronounced

greenan pronounced

include gradiente dd1

gradiente dd1

end goya canilla extra long grain rice

goya canilla extra long grain rice

chair google alert results for beertjes weblog

google alert results for beertjes weblog

speech gnfc

gnfc

thing greenbiz reference desk web guide

greenbiz reference desk web guide

story gkb construction

gkb construction

down grand riviera princess cancun

grand riviera princess cancun

touch grafs roller skates uk

grafs roller skates uk

receive glass incased ivory buddha pendant

glass incased ivory buddha pendant

week grammy winning music producer brian

grammy winning music producer brian

one glass jewellery ppt

glass jewellery ppt

sleep godard silver dip

godard silver dip

age graydon proline nerf bars

graydon proline nerf bars

caught giunea currency

giunea currency

money graham slee 2se phono preamp reviews

graham slee 2se phono preamp reviews

school glenn campbell obit wv

glenn campbell obit wv

vowel grand colly

grand colly

thing governors manision in austin tx

governors manision in austin tx

clock glattfelden switzerland

glattfelden switzerland

choose glynn county ga cactus

glynn county ga cactus

science governor s series lateral files

governor s series lateral files

afraid grace world outreach brooksville

grace world outreach brooksville

exact glorius flowers in yorba linda

glorius flowers in yorba linda

student granite paving utah

granite paving utah

sing
"; exit; } // Added ability to use header and footers for templates. They are not needed but used if included in the template if(isset($header)) $tpl = $header . $tpl; if(isset($footer)) $tpl = $tpl. $footer; // Get visitor count $visitors = sql_array("SELECT count(*) as count FROM ".$pixelpost_db_prefix."visitors"); $pixelpost_visitors = $visitors['count']; // Get number of photos in database $photonumb = sql_array("SELECT count(*) as count FROM ".$pixelpost_db_prefix."pixelpost WHERE datetime<='$datetime'"); $pixelpost_photonumb = $photonumb['count']; // added for temp to create banlist table if it is not there TODO: THIS WILL GO INTO THE CREATE_TABLES create_banlist(); // images/main site if(!isset($_GET['x']) /*$_GET['x'] == ""*/) { // Get Current Image. if(!isset($_SESSION["pixelpost_admin"])) { if(!isset($_GET['showimage']) /*$_GET['showimage'] == ""*/) { $row = sql_array("SELECT * FROM ".$pixelpost_db_prefix."pixelpost WHERE datetime<='$cdate' ORDER BY datetime DESC limit 0,1"); } else { $row = sql_array("SELECT * FROM ".$pixelpost_db_prefix."pixelpost WHERE (id='".$_GET['showimage']."') AND datetime<='$cdate'"); } } else { if($_GET['showimage'] == "") { $row = sql_array("SELECT * FROM ".$pixelpost_db_prefix."pixelpost ORDER BY datetime DESC limit 0,1"); } else { $row = sql_array("SELECT * FROM ".$pixelpost_db_prefix."pixelpost WHERE (id='".$_GET['showimage']."')"); } } if(!$row['image']) { echo "$lang_nothing_to_show"; exit; } $image_name = $row['image']; if ($language_abr == $default_language_abr) { $image_title = pullout($row['headline']); $image_notes = ($cfgrow['markdown'] == 'T') ? markdown(pullout($row['body'])) : pullout($row['body']); } else { if ($row['alt_headline']=='') $image_title = pullout($row['headline']); else $image_title = pullout($row['alt_headline']); if ($row['alt_body']=='') $image_notes = ($cfgrow['markdown'] == 'T') ? markdown(pullout($row['body'])) : pullout($row['body']); else $image_notes = ($cfgrow['markdown'] == 'T') ? markdown(pullout($row['alt_body'])) : pullout($row['alt_body']); } $image_title = htmlspecialchars($image_title,ENT_QUOTES); $image_id = $row['id']; $image_datetime = $row['datetime']; $image_datetime_formatted = strtotime($image_datetime); $image_datetime_formatted = date($cfgrow['dateformat'],$image_datetime_formatted); $image_date = substr($row['datetime'],0,10); $image_time = substr($row['datetime'],11,5); $image_date_year_full = substr($row['datetime'],0,4); $image_date_year = substr($row['datetime'],2,2); $image_date_month = substr($row['datetime'],5,2); $image_date_day = substr($row['datetime'],8,2); $thumbnail_extra = getimagesize("thumbnails/thumb_$image_name"); $image_extra = getimagesize("images/$image_name"); $image_width = $image_extra['0']; $image_height = $image_extra['1']; $tpl = str_replace("",$image_width,$tpl); $tpl = str_replace("",$image_height,$tpl); $local_width = $thumbnail_extra['0']; $local_height = $thumbnail_extra['1']; $image_exif = $row['exif_info']; //$image_title = htmlentities($image_title); $image_thumbnail = "$image_title"; // thumnail no link $image_thumbnail_no_link = "$image_title"; $image_permalink = "$lang_permalink"; // permalink automated for fancy url/no fancy // get previous image id and name if(!isset($_SESSION["pixelpost_admin"])) { $previous_row = sql_array("SELECT id,headline,alt_headline,image,datetime FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime < '$image_datetime') and (datetime<='$cdate') ORDER BY datetime desc limit 0,1"); } else { $previous_row = sql_array("SELECT id,headline,alt_headline,image,datetime FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime < '$image_datetime') ORDER BY datetime desc limit 0,1"); } $image_previous_name = $previous_row['image']; $image_previous_id = $previous_row['id']; if ($language_abr == $default_language_abr) { $image_previous_title = pullout($previous_row['headline']); } else { $image_previous_title = pullout($previous_row['alt_headline']); } $image_previous_datetime = $previous_row['datetime']; $image_previous_link = "$lang_previous"; list($local_width,$local_height,$type,$attr) = getimagesize("thumbnails/thumb_$image_previous_name"); $image_previous_thumbnail = "$image_previous_title"; if($image_previous_id == "") { $image_previous_id = $image_id; $image_previous_title = "$lang_no_previous"; $image_previous_link = ""; $image_previous_thumbnail = ""; } // get next image id and name if(!isset($_SESSION["pixelpost_admin"])) { $next_row = sql_array("SELECT id,headline,alt_headline,image,datetime FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime > '$image_datetime') and (datetime<='$cdate') ORDER BY datetime asc limit 0,1"); } else { $next_row = sql_array("SELECT id,headline,alt_headline,image,datetime FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime > '$image_datetime') ORDER BY datetime asc limit 0,1"); } $image_next_name = $next_row['image']; $image_next_id = $next_row['id']; if ($language_abr == $default_language_abr) { $image_next_title = pullout($next_row['headline']); } else { $image_next_title = pullout($next_row['alt_headline']); } $image_next_datetime = $next_row['datetime']; $image_next_link = "$lang_next"; list($local_width,$local_height,$type,$attr) = getimagesize("thumbnails/thumb_$image_next_name"); $image_next_thumbnail = "$image_next_title"; if($image_next_id == "") { $image_next_id = $image_id; $image_next_title = "$lang_no_next"; $image_next_link = ""; $image_next_thumbnail = ""; } // get first image if(!isset($_SESSION["pixelpost_admin"])) { $first_image_row = sql_array("SELECT id,headline,alt_headline,image,datetime FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime<='$cdate') ORDER BY datetime asc limit 0,1"); } else { $first_image_row = sql_array("SELECT id,headline,alt_headline,image,datetime FROM ".$pixelpost_db_prefix."pixelpost WHERE ORDER BY datetime asc limit 0,1"); } $first_image_name = $first_image_row['image']; $first_image_id = $first_image_row['id']; if ($language_abr == $default_language_abr) { $first_image_title = pullout($first_image_row['headline']); } else { $first_image_title = pullout($first_image_row['alt_headline']); } $first_image_datetime = $first_image_row['datetime']; $first_image_link = "$lang_first"; list($local_width,$local_height,$type,$attr) = getimagesize("thumbnails/thumb_$first_image_name"); $first_image_thumbnail = "$first_image_title"; if($first_image_id == $image_id) { $first_image_title = null; $first_image_link = null; $first_image_thumbnail = null; } // get latest image if(!isset($_SESSION["pixelpost_admin"])) { $last_image_row = sql_array("SELECT id,headline,alt_headline,image,datetime FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime<='$cdate') ORDER BY datetime desc limit 0,1"); } else { $last_image_row = sql_array("SELECT id,headline,alt_headline,image,datetime FROM ".$pixelpost_db_prefix."pixelpost WHERE ORDER BY datetime desc limit 0,1"); } $last_image_name = $last_image_row['image']; $last_image_id = $last_image_row['id']; if ($language_abr == $default_language_abr) { $last_image_title = pullout($last_image_row['headline']); } else { $last_image_title = pullout($last_image_row['alt_headline']); } $last_image_datetime = $last_image_row['datetime']; $last_image_link = "$lang_latest"; list($local_width,$local_height,$type,$attr) = getimagesize("thumbnails/thumb_$last_image_name"); $last_image_thumbnail = "$last_image_title"; if($last_image_id == $image_id) { $last_image_title = null; $last_image_link = null; $last_image_thumbnail = null; } if(function_exists('gd_info')) { $gd_info = gd_info(); if($gd_info != "") { // check that gd is here before this $aheadnumb = sql_array("SELECT count(*) as count FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime > '$image_datetime') and (datetime<='$cdate')"); $aheadnumb = $aheadnumb['count']; $behindnumb = sql_array("SELECT count(*) as count FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime < '$image_datetime') and (datetime<='$cdate')"); $behindnumb = $behindnumb['count']; $aheadlimit = round(($cfgrow['thumbnumber']-1)/2); $behindlimit = round(($cfgrow['thumbnumber']-1)/2); if($aheadnumb <= $aheadlimit) { $behindlimit = ($cfgrow['thumbnumber']-1)-$aheadnumb; $aheadlimit = $aheadnumb; } if($behindnumb <= $behindlimit) { $aheadlimit = ($cfgrow['thumbnumber']-1)-$behindnumb; $behindlimit = $behindnumb; } $totalthumbcounter = 1; $ahead_thumbs = ""; $ahead_thumbs_reverse =""; $thumbs_ahead = mysql_query("SELECT id,headline,alt_headline,image FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime > '$image_datetime') and (datetime<='$cdate') ORDER BY datetime asc limit 0,$aheadlimit"); while(list($id,$headline,$alt_headline,$image) = mysql_fetch_row($thumbs_ahead)) { if ($language_abr == $default_language_abr) { $headline = pullout($headline); } else { $headline = pullout($alt_headline); } $headline = htmlspecialchars($headline,ENT_QUOTES); list($local_width,$local_height,$type,$attr) = getimagesize("thumbnails/thumb_$image"); $ahead_thumbs .= "$headline"; $ahead_thumbs_reverse = "$headline" .$ahead_thumbs_reverse ; $totalthumbcounter++; } $behind_thumbs = ""; $behind_thumbs_reverse =""; $thumbs_behind = mysql_query("SELECT id,headline,alt_headline,image FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime < '$image_datetime') and (datetime<='$cdate') ORDER BY datetime desc limit 0,$behindlimit"); while(list($id,$headline,$alt_headline,$image) = mysql_fetch_row($thumbs_behind)) { if ($language_abr == $default_language_abr) { $headline = pullout($headline); } else { $headline = pullout($alt_headline); } $headline = htmlspecialchars($headline,ENT_QUOTES); list($local_width,$local_height,$type,$attr) = getimagesize("thumbnails/thumb_$image"); $behind_thumbs = "$headline$behind_thumbs"; $behind_thumbs_reverse .= "$headline"; $totalthumbcounter++; } list($local_width,$local_height,$type,$attr) = getimagesize("thumbnails/thumb_$image_name"); $thumbnail_row = "$behind_thumbs$image_title$ahead_thumbs"; $thumbnail_row_reverse = "$ahead_thumbs_reverse$image_title$behind_thumbs_reverse"; $tpl = ereg_replace("",$thumbnail_row,$tpl); $tpl = ereg_replace("",$thumbnail_row_reverse,$tpl); } // gd_info() } // func exist // Modified from Mark Lewin's hack for multiple categories $querystr = "SELECT t1.cat_id,t2.name,t2.alt_name FROM ".$pixelpost_db_prefix."catassoc as t1 inner join ".$pixelpost_db_prefix."categories t2 on t1.cat_id = t2.id WHERE t1.image_id = '$image_id' ORDER BY t2.name "; $query = mysql_query($querystr); $image_category_number = 0; $image_category_all =""; $image_category_all_paged = ""; while(list($cat_id,$name,$alt_name) = mysql_fetch_row($query)) { if ($language_abr == $default_language_abr) { $name = pullout($name); } else { $name = pullout($alt_name); } $image_category_all .= "" .$cfgrow['catgluestart'] .$name .$cfgrow['catglueend']."  "; $image_category_all_paged .= "" .$cfgrow['catgluestart'] .$name .$cfgrow['catglueend']."  "; $image_category_number = $image_category_number +1; } if ($image_category_number >1) $image_categoryword = "$lang_category_plural "; else $image_categoryword = "$lang_category_singular "; $tpl = ereg_replace("",$pixelpost_site_title,$tpl); $tpl = ereg_replace("",$cfgrow['siteurl'],$tpl); $tpl = ereg_replace("",$image_categoryword." ".$image_category_all,$tpl); // for paged_archive addon $tpl = ereg_replace("",$image_categoryword." ".$image_category_all_paged,$tpl); $tpl = ereg_replace("",$image_date_year_full,$tpl); $tpl = ereg_replace("",$image_date_year,$tpl); $tpl = ereg_replace("",$image_date_month,$tpl); $tpl = ereg_replace("",$image_date_day,$tpl); $tpl = ereg_replace("",$image_thumbnail,$tpl); // thumbnail no link $tpl = ereg_replace("",$image_thumbnail_no_link,$tpl); $tpl = ereg_replace("",$image_date,$tpl); $tpl = ereg_replace("",$image_time,$tpl); $tpl = ereg_replace("",$image_name,$tpl); $tpl = ereg_replace("",$image_title,$tpl); $tpl = ereg_replace("",$image_datetime_formatted,$tpl); $tpl = ereg_replace("",$image_notes,$tpl); // image notes without HTML tags and double quotes $image_notes_clean = strip_tags($image_notes); $image_notes_clean = htmlspecialchars($image_notes_clean,ENT_QUOTES); $tpl = ereg_replace("",$image_notes_clean,$tpl); // end image notes without HTML tags $tpl = ereg_replace("",$image_id,$tpl); $tpl = ereg_replace("",$image_permalink,$tpl); $tpl = ereg_replace("",$image_previous_link,$tpl); $tpl = ereg_replace("",$image_previous_thumbnail,$tpl); $tpl = ereg_replace("",$image_previous_id,$tpl); $tpl = ereg_replace("",$image_previous_title,$tpl); $tpl = ereg_replace("",$image_next_link,$tpl); $tpl = ereg_replace("",$image_next_id,$tpl); $tpl = ereg_replace("",$image_next_title,$tpl); $tpl = ereg_replace("",$image_next_thumbnail,$tpl); $tpl = ereg_replace("",$last_image_link,$tpl); $tpl = ereg_replace("",$last_image_thumbnail,$tpl); $tpl = ereg_replace("",$last_image_id,$tpl); $tpl = ereg_replace("",$last_image_title,$tpl); $tpl = ereg_replace("",$first_image_link,$tpl); $tpl = ereg_replace("",$first_image_id,$tpl); $tpl = ereg_replace("",$first_image_title,$tpl); $tpl = ereg_replace("",$first_image_thumbnail,$tpl); // get number of comments $cnumb_row = sql_array("SELECT count(*) as count FROM ".$pixelpost_db_prefix."comments WHERE parent_id='$image_id' and publish='yes'"); $image_comments_number = $cnumb_row['count']; // get latest comment $latest_comment = sql_array("SELECT parent_id FROM ".$pixelpost_db_prefix."comments WHERE publish='yes' ORDER BY id desc limit 0,1"); $latest_comment = $latest_comment['parent_id']; $queryrow = sql_array("SELECT headline FROM ".$pixelpost_db_prefix."pixelpost WHERE id='$latest_comment'"); $latest_comment_name = pullout($queryrow['headline']); // ##########################################################################################// // EXIF STUFF // ##########################################################################################// if ($cfgrow['exif']=='T'){ include_once('includes/functions_exif.php'); if ($image_exif!==null){ $tpl = replace_exif_tags ($language_full, $image_exif, $tpl); } else { $tpl = replace_exif_tags_null($tpl); } } else { include_once('includes/functions_exif.php'); $tpl = replace_exif_tags_null($tpl); } ///////////// // build a string with all comments // only perform this code when the user has commenting enabled if(isset($_GET['x'])&&($_GET['x'] == "") or (isset($_GET['popup'])&&$_GET['popup'] == "comment")) { $comments_result = sql_array("SELECT comments FROM ".$pixelpost_db_prefix."pixelpost where id = '".$_POST['parent_id']."'"); $cmnt_setting = pullout($comments_result['comments']); if($cmnt_setting == 'F') die('Die you SPAMMER!!'); } // end if comment // visitor information in comments $vinfo_name = ""; $vinfo_url = ""; $vinfo_email = ""; if(isset($_COOKIE['visitorinfo'])) list($vinfo_name,$vinfo_url,$vinfo_email) = split("%",$_COOKIE['visitorinfo']); $tpl = ereg_replace("",$vinfo_name,$tpl); $tpl = ereg_replace("",$vinfo_url,$tpl); $tpl = ereg_replace("",$vinfo_email,$tpl); if ($cfgrow['token'] == 'T'){ $tpl = ereg_replace("","",$tpl); } else { $tpl = ereg_replace("",null,$tpl); } if($_GET['showimage'] == "") $imageid = $image_id; else $imageid = $_GET['showimage']; $image_comments = print_comments($imageid); $tpl = ereg_replace("",$image_comments,$tpl); if(($_GET['popup'] == "comment") AND (!isset($_GET['x'])OR$_GET['x'] != "save_comment")) { include_once('includes/addons_lib.php'); echo $tpl; exit; } //} // end if comment } // end imageprint $tpl = ereg_replace("",$pixelpost_site_title,$tpl); // ##########################################################################################// // BROWSE STUFF // ##########################################################################################// require("includes/functions_browse.php"); // ##########################################################################################// // FEED STUFF // ##########################################################################################// require("includes/functions_feeds.php"); // ##########################################################################################// // creating other tags // ######################################################################################## $tpl = ereg_replace("","./index.php?x=browse",$tpl); $tpl = ereg_replace("","./index.php?x=browse&pagenum=1",$tpl); $tpl = ereg_replace("",$pixelpost_photonumb,$tpl); $tpl = ereg_replace("",$pixelpost_visitors,$tpl); $tpl = ereg_replace("",$image_comments_number,$tpl); $tpl = ereg_replace("",$latest_comment,$tpl); $tpl = ereg_replace("",$latest_comment_name,$tpl); if($image_comments_number != 1){ $tpl = ereg_replace("",$lang_comment_plural,$tpl); }else{ $tpl = ereg_replace("",$lang_comment_single,$tpl); } if ($row['comments'] == 'F') { $tpl = ereg_replace("","$lang_comment_popup",$tpl); } else { $tpl = ereg_replace("","$lang_comment_popup",$tpl); } $tpl = ereg_replace("",$browse_select,$tpl); $tpl = str_replace("","",$tpl); // ##########################################################################################// // COMMENT STUFF // ##########################################################################################// require("includes/functions_comments.php"); // ##########################################################################################// // REPLACE LANGUAGE SPECIFIC TAGS // ##########################################################################################// if ($cfgrow['altlangfile'] != 'Off') { $tpl = replace_alt_lang_tags( $tpl, $language_abr, $PP_supp_lang, $cfgrow); } // ##########################################################################################// // SUCK IN ADDONS // ##########################################################################################// include_once('includes/addons_lib.php'); // ##########################################################################################// // END - ECHO TEMPLATE // ##########################################################################################// if( (isset($_GET['x'])&&$_GET['x'] != "save_comment") || (!isset($_GET['x']))) echo $tpl; ?>