|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/betterpi/Old Site/_vars/ |
Upload File : |
<?php
//*********************************************************
// HEADER VARS
//*********************************************************
$title="Pixami – white label online photo software.";
$meta_tags='<META NAME="title" CONTENT="Welcome to Pixami, advanced imaging technologies company">
<META NAME="description" CONTENT="Pixami provides advanced imaging technologies that enable both photo-based and non-photo-based businesses to benefit from the combined power of digital images and the Internet.">
<META NAME="keywords" CONTENT="Photo Sharing and Photofinishing, Professional Photography, Printing and Publishing,Photo Editor , Photo Uploader, Print Projects technology ">
<META NAME="language" CONTENT="English">
<META NAME="robots" CONTENT="INDEX,FOLLOW">
<META NAME="author" CONTENT="5 Pixels Studio - www.5pixels.com">
<META NAME="revisit-after" CONTENT="7 days">
<META NAME="document-class" CONTENT="Published">
<META NAME="classification" CONTENT="Pixami\'s current offering includes a suite of technologically unmatched products and services, designed to provide a high performance, full-featured online digital photography experience.">
<META NAME="document-rights" CONTENT="Copyrighted Work">
<META NAME="document-type" CONTENT="Web Page">
<META NAME="document-rating" CONTENT="Safe for Kids">
<META NAME="document-distribution" CONTENT="Global">
<META NAME="document-state" CONTENT="Static">
<META NAME="abstract" CONTENT="Bandwidth Independent Processing technology (BIP)">
<META NAME="publisher" CONTENT="5 Pixels Studio Reno Web Design Studio - www.5pixels.com">
<META NAME="copyright" CONTENT="Pixami 2007">
<META NAME="page-topic" CONTENT="Pixami provides advanced imaging technologies that enable both photo-based and non-photo-based businesses to benefit from the combined power of digital images and the Internet.">
<META NAME="page-type" CONTENT="Commercial">
<META NAME="audience" CONTENT="All">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="public">
<META NAME="expires" CONTENT="Thu, 04 Oct 2010 14:21:20 GMT">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">';
if ($_GET[click]=="company"){
$picture1="picture_2_1.jpg";
$picture2="picture_2_2.jpg";
} elseif ($_GET[click]=="products"){
$picture1="picture_3_1.jpg";
$picture2="picture_3_2.jpg";
}
elseif ($_GET[click]=="photo"){
$picture1="picture_3_1.jpg";
$picture2="picture_3_2.jpg";
} elseif ($_GET[click]=="contact"){
$picture1="picture_4_1.jpg";
$picture2="picture_4_2.jpg";
} elseif ($_GET[click]=="demo"){
$picture1="picture_5_1.jpg";
$picture2="picture_5_2.jpg";
} elseif ($_GET[click]=="partners"){
$picture1="picture_6_1.jpg";
$picture2="picture_6_2.jpg";
} elseif ($_GET[click]=="yearbooks"){
$picture1="picture_7_1.jpg";
$picture2="picture_7_2.jpg";
} else {
$picture1="picture_1_1.jpg";
$picture2="picture_1_2.jpg";
}
//$hostname = "66.219.84.156";
//$username = "betterpi";
//$dbName = "betterpi";
//$password = "iequaeye";
$hostname = "mysql.web.rcn.net";
$username = "betterpi";
$dbName = "pixami_com";
$password = "iequaeye";
$conn=mysql_connect($hostname, $username, $password);
if(!mysql_select_db($dbName, $conn)) {
echo "error2";
}
class query {
var $query;
var $error;
function query($sql) {
$this->query=$sql;
$this->result=mysql_query($this->query)
or $this->error="error3";
echo $this->error;
return $this->result;
}
}
function ToDate($mydate) {
$tempday = substr($mydate, 0, 2);
$tempmon = substr($mydate, 3, 2);
$tempyear = substr($mydate, 6, 4);
$str = "$tempyear.$tempmon.$tempday";
return $str;
}
function DateToStr($mydate) {
$tempyear = substr($mydate, 0, 4);
$tempmon = substr($mydate, 5, 2);
$tempday = substr($mydate, 8, 2);
$str = "$tempday.$tempmon.$tempyear";
return $str;
}
function link_bar($page, $pages_count)
{
for ($j = 1; $j <= $pages_count; $j++)
{
if ($j == $page) {
echo ' <a class="rednav" ><b>'.$j.'</b></a> ';
} else {
echo ' <a class="nav" href='.$_server['php_self'].'?'.$j.'>'.$j.'</a> ';
}
if ($j != $pages_count) echo ' ';
}
return true;
}
?>