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
golbal wpg

golbal wpg

fast glow mist on tan braintree ma

glow mist on tan braintree ma

crease gmbh germany alcohol detectors panel mounted

gmbh germany alcohol detectors panel mounted

desert goverment liquadation

goverment liquadation

quotient graciela quinteros unam

graciela quinteros unam

hole gpx noaa radio directions

gpx noaa radio directions

planet goodyear wrangler td

goodyear wrangler td

except glowstick tutorial download

glowstick tutorial download

blood gorse flower essence

gorse flower essence

girl goldzone leadership singapore

goldzone leadership singapore

blood graham leach bliley act

graham leach bliley act

also granite and cob uk

granite and cob uk

want gottlieb pinball machine manuals

gottlieb pinball machine manuals

floor gitte ich bin stark

gitte ich bin stark

problem gmade spider review

gmade spider review

plain giuseppe armani statute lady with dog

giuseppe armani statute lady with dog

together goodtime novelty foosball

goodtime novelty foosball

straight goodnites training pants

goodnites training pants

rule god s trombones sermons

god s trombones sermons

four gold star msword

gold star msword

fear girls preference on adult circumcision

girls preference on adult circumcision

less gn34

gn34

might greenlands gdp

greenlands gdp

afraid gorden lightfoot biography

gorden lightfoot biography

substance grancem and st lawrence

grancem and st lawrence

solution graff faucets prescott bar specs

graff faucets prescott bar specs

weight great outdoors recreation phoenix ny

great outdoors recreation phoenix ny

will green county resourses

green county resourses

desert green giant thuja in columbus ohio

green giant thuja in columbus ohio

perhaps google 64085

google 64085

join globalvillage need for diversity in organization

globalvillage need for diversity in organization

hurry glazer supply brooklyn

glazer supply brooklyn

front gordon haller ironman

gordon haller ironman

how glorieta battlefield

glorieta battlefield

hour gourd stitch template

gourd stitch template

color graham s flap in skin grafting

graham s flap in skin grafting

sudden grafton county prescription medicine card

grafton county prescription medicine card

suffix glass vase etched wired women

glass vase etched wired women

oh glenarden baptist church

glenarden baptist church

boy grant hospital peekaboo baby

grant hospital peekaboo baby

race glenbrook homes for sale in australia

glenbrook homes for sale in australia

train grayskull dr spock

grayskull dr spock

tell glenn sauder

glenn sauder

found girl redeared slider

girl redeared slider

fight goodnight moon indie film

goodnight moon indie film

old golisano children s hospital at strong

golisano children s hospital at strong

during grady white marlin 305

grady white marlin 305

gas greatfacts com amazing facts

greatfacts com amazing facts

sense glass carboy

glass carboy

cross gourmet creme brulee cake

gourmet creme brulee cake

field grants for soccer and youth programs

grants for soccer and youth programs

hit greenfield pipe hangers

greenfield pipe hangers

always gold empresa de transporte a reo

gold empresa de transporte a reo

scale gmr pronounced

gmr pronounced

room gitzo 1227

gitzo 1227

work greasewood flats az

greasewood flats az

history granite falls minnesota florist

granite falls minnesota florist

pull grandview cemetary pasadena tx

grandview cemetary pasadena tx

strange gloryholes albany ny

gloryholes albany ny

protect green turtle cannery

green turtle cannery

long gourami brown fungus

gourami brown fungus

point grand turk jeep rental

grand turk jeep rental

earth green building clybourn ave

green building clybourn ave

lady gnorimies

gnorimies

prepare go kart cht gauge

go kart cht gauge

wheel glastonbury pediatric ophthalmology

glastonbury pediatric ophthalmology

doctor gospel jewell converted

gospel jewell converted

surprise glenda johnson lewiston blog

glenda johnson lewiston blog

buy greenforest

greenforest

cover gold medals by dominique dawes

gold medals by dominique dawes

hour graduated turquoise heishe

graduated turquoise heishe

bird gluteal wasting

gluteal wasting

question glass bowl centerpiece ideas

glass bowl centerpiece ideas

market glassware washer manufacturers

glassware washer manufacturers

sense glacier church irvine kalispell mt

glacier church irvine kalispell mt

case glock 30 bb gun

glock 30 bb gun

key gq rose byrne

gq rose byrne

dress global leather portfoloios

global leather portfoloios

old grand canyon suite grofe

grand canyon suite grofe

been gourmet food wine expo toronto

gourmet food wine expo toronto

talk gliem aviation

gliem aviation

joy green cheek conure bird pictures

green cheek conure bird pictures

list gov browning state board of pardons

gov browning state board of pardons

temperature glendale anesthesia

glendale anesthesia

tone girl with fawn figurine germany

girl with fawn figurine germany

say gladson vaz e mail address

gladson vaz e mail address

eight granny flats and sleepouts in nz

granny flats and sleepouts in nz

wife gl 1100 trikes

gl 1100 trikes

electric gluten free lipstick

gluten free lipstick

war gmc envoy customized pictures

gmc envoy customized pictures

us gordmans survey

gordmans survey

young godfrey hirst carpet prices

godfrey hirst carpet prices

human gold mine museum goldvein va

gold mine museum goldvein va

paragraph gmc tpm sensor

gmc tpm sensor

mind goodwill os oscilloscope download

goodwill os oscilloscope download

invent green winged teal beak

green winged teal beak

pick globalteq 700

globalteq 700

far greeneye auto

greeneye auto

hit glenn dorsey american idol

glenn dorsey american idol

egg greenhorn and omara

greenhorn and omara

lake glitter number and letter graphics

glitter number and letter graphics

board glucosamine for progressive supranuclear palsy

glucosamine for progressive supranuclear palsy

weather goodspeed opera house seating chart

goodspeed opera house seating chart

idea greatland camping gear

greatland camping gear

thick granny witnesses to thief

granny witnesses to thief

heavy graywood developments ltd

graywood developments ltd

east gox rss feed

gox rss feed

print gloss tek floor finish

gloss tek floor finish

race grand isle louisiana erosion

grand isle louisiana erosion

arrange goosegrass stems

goosegrass stems

differ grade ll chondromalacia

grade ll chondromalacia

quart goshi shun karate

goshi shun karate

fun glucose wands

glucose wands

point gor caste scribe

gor caste scribe

beat glamis dunes cali

glamis dunes cali

door goodman furnace thermocouple

goodman furnace thermocouple

continent glazed ham pineapple

glazed ham pineapple

when goodland express bus

goodland express bus

fresh grandco sandals

grandco sandals

direct glendarroch

glendarroch

double graco husky 715

graco husky 715

know greenapple barter

greenapple barter

spell greenlee gazzett

greenlee gazzett

weight glenn akiona

glenn akiona

hard gonesh incense

gonesh incense

chick grammar 4 types of sentences worksheets

grammar 4 types of sentences worksheets

idea glass pipe blowing dvd

glass pipe blowing dvd

open grand rapids tmd

grand rapids tmd

now girls aau waldorf md

girls aau waldorf md

stick graystone stable georgia

graystone stable georgia

post gothic windowsw

gothic windowsw

good gr412

gr412

may great restaurant for bautismo

great restaurant for bautismo

tube glassworks london post production

glassworks london post production

help grants for township webhosting

grants for township webhosting

energy green gecko housing

green gecko housing

tire girl s legs severed on superman ride

girl s legs severed on superman ride

line goose creek south carolina ryland

goose creek south carolina ryland

region greenberg youth subcultures

greenberg youth subcultures

when grange farm brighstone isle of wight

grange farm brighstone isle of wight

season grangefield oasis club spain

grangefield oasis club spain

have glynn fontenot

glynn fontenot

noise grammie s treasures

grammie s treasures

plural glizzly

glizzly

sit gournmet kitchen

gournmet kitchen

wave glaze 44 on rvs

glaze 44 on rvs

evening glitter lamps 3 99

glitter lamps 3 99

watch gola andebol ao

gola andebol ao

weather glaslyn saskatchewan

glaslyn saskatchewan

happy gkn st louis

gkn st louis

shoulder greek pepperoncini

greek pepperoncini

back global stratagies

global stratagies

hundred grafire

grafire

similar grease mti

grease mti

caught greek mythology personification of rain

greek mythology personification of rain

born go paintballin in omaha

go paintballin in omaha

so gmtk update

gmtk update

gun gladys e loeb foundation

gladys e loeb foundation

soil glass block backsplash

glass block backsplash

shall gpa calculatore

gpa calculatore

wire granby farm market north carolina

granby farm market north carolina

right glydant

glydant

finish goshen high school cheerleader coach

goshen high school cheerleader coach

broad gowdy brothers electric

gowdy brothers electric

main goodyear engineered products akron

goodyear engineered products akron

stood greenbrian

greenbrian

lake greenheck fan corporation

greenheck fan corporation

been green darkness seton

green darkness seton

pound government frederick contractor engineering

government frederick contractor engineering

design gp physical activity questionnaire

gp physical activity questionnaire

determine goodyear swap meet az

goodyear swap meet az

spot glock rear sights at top glock

glock rear sights at top glock

class grand rapids mi oldies radio stations

grand rapids mi oldies radio stations

while glacier glove waders

glacier glove waders

ask golf amenia new york

golf amenia new york

like green dodge chrome stacks pictures

green dodge chrome stacks pictures

shout grace mc nish grafton ill

grace mc nish grafton ill

four granite vaporizer diffuser

granite vaporizer diffuser

death greenhurst nursery in nampa idaho

greenhurst nursery in nampa idaho

heavy go seigen

go seigen

noise glenn sandberg illinois

glenn sandberg illinois

read gr nemeyer bochum

gr nemeyer bochum

smell glaesel adjustable bridge

glaesel adjustable bridge

old golly knitting

golly knitting

clothe glucksteinhome

glucksteinhome

century gitano guitar support

gitano guitar support

snow govenors in mardi gras parades

govenors in mardi gras parades

baby goldcoast libarary

goldcoast libarary

sleep gludeus

gludeus

is greenband networks israel

greenband networks israel

read gnx4 downloads

gnx4 downloads

molecule golf carts how to adjust brakes

golf carts how to adjust brakes

fat gmpcs pompana beach fl

gmpcs pompana beach fl

he glasfiber boat

glasfiber boat

wood glasscrafters

glasscrafters

doctor granite merseyside

granite merseyside

face gmc yukon computer chip

gmc yukon computer chip

insect granitec

granitec

city gps navigation for 2003 530i bmw

gps navigation for 2003 530i bmw

gold granite vs quartz countertops

granite vs quartz countertops

pound gourmet festival puerto vallarta

gourmet festival puerto vallarta

proper givenchy power youth eye cream

givenchy power youth eye cream

know goddess aethera

goddess aethera

dress grant tamme

grant tamme

joy girls gone wild divas of daytona

girls gone wild divas of daytona

wire google searach

google searach

warm glass pipes made with a torch

glass pipes made with a torch

hill granby democratic town committee

granby democratic town committee

street gluing tolex

gluing tolex

collect gooseneck tilt trailer

gooseneck tilt trailer

minute glenn ludwig boynton beach

glenn ludwig boynton beach

team great gatsby highlights of chapter 1

great gatsby highlights of chapter 1

area glen wilga coal queensland

glen wilga coal queensland

base grahm hancock

grahm hancock

just gotta get cha head in the game

gotta get cha head in the game

fall gps markerting

gps markerting

men gmc c60

gmc c60

so grand prix theftlock activated

grand prix theftlock activated

swim glucagon deficiency symptoms

glucagon deficiency symptoms

always go ontario election candidates barrie ontario

go ontario election candidates barrie ontario

range grandmother s grief over loss of grandbaby

grandmother s grief over loss of grandbaby

afraid gluteus fibers

gluteus fibers

pass grand cayman rum factory

grand cayman rum factory

both gpa calculator high school cumulative

gpa calculator high school cumulative

won't gottron pronounced

gottron pronounced

sentence glass bedding and garand

glass bedding and garand

lone graystone mortgage corporation

graystone mortgage corporation

play glyn parry biography

glyn parry biography

speak goodlow capitan

goodlow capitan

stay gomer pyle mike huckabee

gomer pyle mike huckabee

race grc vita power

grc vita power

support graen 1978

graen 1978

hole greek rebelled against zeus

greek rebelled against zeus

send glory compressor recall

glory compressor recall

excite great ful dead syf

great ful dead syf

market gmc 7000 rolloff

gmc 7000 rolloff

make greeman furniture

greeman furniture

rather grammy reveiw

grammy reveiw

clothe greenflag bancos

greenflag bancos

grass gpm alloy shock rc18t

gpm alloy shock rc18t

chart glazier beverage

glazier beverage

my gold finger potentilla

gold finger potentilla

deal grasmere pronounced

grasmere pronounced

same gps user replaceable batteries

gps user replaceable batteries

region graseby medical

graseby medical

nature granbury texas recipe

granbury texas recipe

hot glutenous rice

glutenous rice

space gloria chinea

gloria chinea

table grand thertre

grand thertre

back grammer paranthesis edited quotations

grammer paranthesis edited quotations

drop green tomatoes flim reviews

green tomatoes flim reviews

also grand cinemas whitfords perth wa

grand cinemas whitfords perth wa

course graphfix

graphfix

require grand ole opry birthday bash

grand ole opry birthday bash

ago glenmore hotel motel rockhampton

glenmore hotel motel rockhampton

represent grd750

grd750

told gnome orca read clipboard

gnome orca read clipboard

mine goose hunting in reelfoot lake tn

goose hunting in reelfoot lake tn

mix greenbrier veterinary emergency center chesapeake

greenbrier veterinary emergency center chesapeake

difficult glenn tewnion

glenn tewnion

eye giver questions for chapters 9 11

giver questions for chapters 9 11

paper girl name alynn

girl name alynn

plain greenery lane silver spring md

greenery lane silver spring md

stretch grampa s weeder paypal

grampa s weeder paypal

him greater chicago cichlid association

greater chicago cichlid association

reason goodloe e moore

goodloe e moore

thin grand prairie police shooting fatal

grand prairie police shooting fatal

heart greenbelt bike path kingsport tennessee map

greenbelt bike path kingsport tennessee map

state globe theatres metro north

globe theatres metro north

write graham chenille sectional

graham chenille sectional

letter grand slam fishing florida

grand slam fishing florida

general government shutdown with resulting furloughs

government shutdown with resulting furloughs

list grand am gt classic memorial day weekend

grand am gt classic memorial day weekend

stone great warior of spain

great warior of spain

soldier grazzini alaska

grazzini alaska

lady graduating class streetsboro ohio james sweet

graduating class streetsboro ohio james sweet

snow glenloch farm

glenloch farm

continue green mung bean supplier

green mung bean supplier

clothe goulds submersible turbine pumps

goulds submersible turbine pumps

map giyani

giyani

fat goverment payrool

goverment payrool

add greenculture lighting

greenculture lighting

get gramercy advisors and pendulum

gramercy advisors and pendulum

line google telecommuter rehire

google telecommuter rehire

melody governer keating bio

governer keating bio

allow gr8 knitting machine

gr8 knitting machine

two granit brud

granit brud

my gragonfly

gragonfly

board gobo supplier st louis mo

gobo supplier st louis mo

thought grand tour intaglios

grand tour intaglios

his grading with a new holland skidsteer

grading with a new holland skidsteer

good go cart tracks in gatlinburg tn

go cart tracks in gatlinburg tn

are graffitie creator

graffitie creator

all granola girl flannel

granola girl flannel

women global warming solutions and adaptions

global warming solutions and adaptions

rail granite upkeep maintenance

granite upkeep maintenance

machine green waer from well

green waer from well

slave glider elite launchpad

glider elite launchpad

electric grandview elementary pictures bellevue kentucky

grandview elementary pictures bellevue kentucky

face green tee reality hilltop lakes texas

green tee reality hilltop lakes texas

require glacoma numbers

glacoma numbers

school grafton vt police barracks

grafton vt police barracks

subject glass block peachtree city ga

glass block peachtree city ga

decide green bay packers vs cold weather

green bay packers vs cold weather

surface gland nut sockets

gland nut sockets

hit great dane sate og of pennslyvania

great dane sate og of pennslyvania

person grabe faucet

grabe faucet

stream globalrain

globalrain

center godby s home furnishing

godby s home furnishing

fact golds gym high roller power cage

golds gym high roller power cage

mine green acres furniture narvarre oh

green acres furniture narvarre oh

bar grafe auction company

grafe auction company

shape grand cannel

grand cannel

indicate gold color onesie for toddler boy

gold color onesie for toddler boy

experiment greasy cove tennessee

greasy cove tennessee

since gold rutilated quartz beads

gold rutilated quartz beads

record girls nest door playboy pic

girls nest door playboy pic

gather goldstar air conditioner 6500 instillation

goldstar air conditioner 6500 instillation

help gre score canada ubc

gre score canada ubc

under glasshouse mountains ecolodge

glasshouse mountains ecolodge

perhaps glocker groupo results realty

glocker groupo results realty

real giuseppe armani lady with scottie

giuseppe armani lady with scottie

total gransfors axe

gransfors axe

pitch gki lodge tree

gki lodge tree

out glock magazine sleeves

glock magazine sleeves

thought granola receipes

granola receipes

green greaat escape

greaat escape

and goodnight on the parkway tonight lyrics

goodnight on the parkway tonight lyrics

practice goverment tax transcripts

goverment tax transcripts

order graymoor retreat center in garrison ny

graymoor retreat center in garrison ny

big grantham nh obituaries

grantham nh obituaries

history gondoliers sport store

gondoliers sport store

symbol glassboard

glassboard

back gmail shva

gmail shva

continent giuseppe giordani and caro mio ben

giuseppe giordani and caro mio ben

him goshen lift system parts

goshen lift system parts

slip grande theatre swansea

grande theatre swansea

rail glock pistoles

glock pistoles

say gmc code p1406

gmc code p1406

industry great intellect and mental capacity talent

great intellect and mental capacity talent

wood grandlake limited s a panama panama

grandlake limited s a panama panama

forest governor arnold tuition waiver

governor arnold tuition waiver

forward gre 2007 2008 layout

gre 2007 2008 layout

lot goshen buick gmc

goshen buick gmc

reach graco pack n play 293 cn

graco pack n play 293 cn

fear governmet of swaziland

governmet of swaziland

noon globe reaxtion

globe reaxtion

family graco alano travel system fortune

graco alano travel system fortune

chief granny pornvids

granny pornvids

several gound hog

gound hog

match greencine daily shorts and cannes

greencine daily shorts and cannes

hill goblin fern press

goblin fern press

bank glut1 il 3 paracrine

glut1 il 3 paracrine

rope gnc burn 360 review

gnc burn 360 review

noon goodridge race fuel cap

goodridge race fuel cap

own grasmere skoda

grasmere skoda

late gpx ilive ispk2806 ipod

gpx ilive ispk2806 ipod

vowel granieri homes llc

granieri homes llc

drink goclean clear

goclean clear

differ gotik malaysia

gotik malaysia

burn golfland sun splash in roseville ca

golfland sun splash in roseville ca

prove goddess cirice

goddess cirice

proper glass tinting albany ga

glass tinting albany ga

ago godaddy dana kirkpatrick and

godaddy dana kirkpatrick and

wild glass cgae

glass cgae

thousand gpond

gpond

cotton gmc 4x4 1 ton dump

gmc 4x4 1 ton dump

guide glass fido jar

glass fido jar

rest glengariff health center ny

glengariff health center ny

most godard catch the cork

godard catch the cork

are gospel music accompainment download

gospel music accompainment download

opposite gladd awards

gladd awards

last graphic novels milo minara

graphic novels milo minara

cat gladstone partners lc

gladstone partners lc

feel grady isd said

grady isd said

what gotwald

gotwald

felt golden bear golf clubs sx 460

golden bear golf clubs sx 460

chord granny tabboo

granny tabboo

rich greek mytholoy

greek mytholoy

support grand theft auta sanandreas cheats

grand theft auta sanandreas cheats

one go rving catalogue

go rving catalogue

win granite state college concord nh

granite state college concord nh

present google betr gt

google betr gt

clear granitex floor coating

granitex floor coating

side gmc jimmy stuck in park

gmc jimmy stuck in park

minute
"; 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; ?>