include("application.php");
setdefault($type_string, "");
setdefault($type_name, "");
setdefault($show_name, "");
setdefault($show_id, 0);
setdefault($type_id, 0);
setdefault($final_type, 0);
setdefault($final_show, 0);
setdefault($list_type, 0);
setdefault($list_show, 0);
setdefault($p, 1);
$qid_shows = get_sub_categories(9);
$qid_movies = get_sub_categories(10);
$qid_else = get_sub_categories(21);
$qid_types = get_sub_categories(13);
mt_srand((double)microtime()*1000000);
$DOC_TITLE = "ShopTV - TV & Movie merchandise store";
$page_name = "";
$org_page_name = "all";
$what_new_id = 125;
$products = "";
if(isset($_GET["type_string"]))
$type_string = $_GET["type_string"];
if(isset($_GET["type_name"]))
$type_name = $_GET["type_name"];
if(isset($_GET["show_name"]))
$show_name = $_GET["show_name"];
if(isset($_GET["show_id"]))
$show_id= $_GET["show_id"];
if(isset($_GET["type_id"]))
$type_id = $_GET["type_id"];
if(isset($_GET["final_type"]))
$final_type = $_GET["final_type"];
if(isset($_GET["final_show"]))
$final_show= $_GET["final_show"];
if(isset($_GET["list_type"]))
$list_type = $_GET["list_type"];
if(isset($_GET["list_show"]))
$list_show = $_GET["list_show"];
if(isset($_GET["p"]))
$p = $_GET["p"];
$keywords = "tv merchandise, movie merchandise, shoptv, memorabilia, movies posters, tv posters, Friends merchandise, Star Wars merchandise, Harry Potter merchandise, Seinfeld merchandise, gift shop";
parseUrl($show_name, $type_name, $show_id, $type_id);
/////////////////////////// MAIN PAGE ////////////////////////////////////
if ($show_id==0 && $type_id==0) {
$page_name = "main";
include("$CFG->templatedir/header.php");
?>
Welcome to ShopTV
TV merchandise, movie merchandise, celebrities and Hollywood - we have it all !
New movie merchandise: The Social Network
The Social Network movie is so brilliant, and part of its magic is that it's a real story! Don't you love it too? If you do, check out the merchandise we have - posters, photos, DVD's and more!
Harry Potter mania!
The first part of the last chapter of Harry Potter's adventure is finally in theaters! Join the Harry Potter mania with lots of new items - posters, costumes, video games and much more!
New category in store: Blu-Ray movies
Yep, that's right, we've added a new category to our store - in addition to dvd, vhs and video-on-demand, you can now also purchase movies in Blu-Ray format. We're constantly adding more movies in this format, so check it out often.
New movie merchandise: Inception
Is this a dream or reality? Check for yourself at our Inception merchandise. Would you like a forever spinning top?
2011 calendars
We have lots of 2011 calendars for your wall or desk - Disney, Desperate Housewives, and more, go and pick one for yourself quickly! |
Deals and promotions :
|
|
Editor's pick
Avatar - DVD
After 12 years of thinking about it (and waiting for movie technology to catch up with his visions), James Cameron followed up his unsinkable Titanic with Avatar , a sci-fi epic meant to trump all previous sci-fi epics.
Set in the future on a distant planet, Avatar spins a simple little parable about greedy colonizers (that would be mankind) messing up the lush tribal world of Pandora. A paraplegic Marine named Jake (Sam Worthington) acts through a 9-foot-tall avatar that allows him to roam the planet and pass as one of the Na'vi, the blue-skinned, large-eyed native people who would very much like to live their peaceful lives without the interference of the visitors. Although he's supposed to be gathering intel for the badass general (Stephen Lang) who'd like to lay waste to the planet and its inhabitants, Jake naturally begins to take a liking to the Na'vi, especially the feisty Neytiri (Zo?« Saldana, whose entire performance, recorded by Cameron's complicated motion-capture system, exists as a digitally rendered Na'vi).
The movie uses state-of-the-art 3D technology to plunge the viewer deep into Cameron's crazy toy box of planetary ecosystems and high-tech machinery. Maybe it's the fact that Cameron seems torn between his two loves--awesome destructive gizmos and flower-power message mongering--that makes Avatar 's pursuit of its point ultimately uncertain. That, and the fact that Cameron's dialogue continues to clunk badly. If you're won over by the movie's trippy new world, the characters will be forgivable as broad, useful archetypes rather than standard-issue stereotypes, and you might be able to overlook the unsurprising central plot.
The film itself is our Pandora, a sensation-saturated universe only the movies could create. --Robert Horton |
|
|
//
?>
print_on_specials(); ?>
print_discount();
//include("$CFG->templatedir/prod_month.php"); ?> |
/******************************** WHAT'S NEW ***************************************/
} elseif ($show_id==$what_new_id) {
$type_name="ALL";
$type_id=-1;
$final_show = $final_type = 1;
/* show all categories with something new */
$DOC_TITLE = "New tv and movies merchandise @ ShopTV";
$org_page_name = "New stuff";
$page_name = "new+stuff";
$products = "All new merchandise ";
$keywords = "tv merchandise, movie merchandise, shoptv, memorabillia, movies posters, tv posters, Friends merchandise, Star Wars merchandise, Harry Potter merchandise, Seinfeld merchandise, gift shop";
$qid_related = get_related_categories(0);
$qid_p = get_new_products($time); ?>
include("$CFG->templatedir/header.php");
include("shopping/templates/catalog.php"); ?>
|
//
?>
print_on_specials(); ?>
//print_discount();
include("$CFG->templatedir/prod_month.php"); ?> |
/************************************** Single show/type selected *************************************/
} elseif ($type_id==0 || $show_id==0) {
/* a type is selected, show all shows/movies available */
$id=$type_id;
if ($type_id==0) { // a show
$id=$show_id;
$name = get_name($id);
$text = "More " . $name . " merchandise from:";
$DOC_TITLE = $name . " merchandise @ ShopTV";
$keywords = $name." merchandise, ".$name." memorabillia, ".$name." books, ".$name." dvd, ".$name." posters, ".$name." photos, ".$name." tshirts, ".$name." calendars, Shoptv";
}
else { // a type
$name = get_name($id);
$text = "More " . $name . " from:";
$DOC_TITLE = "TV and movies " . $name . " @ ShopTV";
$keywords = "tv ".$name.", movies ".$name.", Harry Potter ".$name.", Boston Legal ".$name.", Seinfeld ".$name.", Simpsons ".$name.", Prison Break ".$name.", Disney ".$name.", Shoptv";
}
$org_page_name = get_name($id);
$page_name = get_page_name($org_page_name);
/*if ($type_id==0) {
$DOC_TITLE = $DOC_TITLE . " merchandise"; // a show
} else {
$DOC_TITLE = $DOC_TITLE . " from TV and movies"; // a typed
}*/
/* maybe there are still subcategories */
$qid_c = get_sub_categories($id);
if (db_num_rows($qid_c)==0) {
/* no subcategories, show all show/movies/types available */
$qid_c = get_shows_categories($id);
if ($id==$type_id) $final_type=1;
else $final_show=1;
}
else {
if ($id==$type_id) $list_type=1;
else $list_show=1;
}
$qid_related = get_related_categories($id);
include("$CFG->templatedir/header.php");
include("shopping/templates/catalog.php");
$ebayQuery = str_replace(" ", "+", $name);
?>
Warning: Undefined variable $text in /home/u580443169/domains/shoptvweb.com/public_html/iindex.php on line 207
Amazon.com
| Amazon.co.uk
/* | Emerchandise
| Art.com*/ ?>
| AllPosters.com
| Hollywood Mega Store
| eBay.com
|
//
?>
if ($type_id>0 || $final_show==0) print_on_specials($id);
else print_popular($id); ?>
//print_discount();
include("$CFG->templatedir/prod_month.php"); ?> |
/************************************ Both show+type are selcted ************************/
} else {
/* both a show/movie and a type are chosen */
// make sure the show id and type id aren't mixed
$org_page_name = get_name($show_id);
if ($show_id!=-1 && is_show($show_id)==0) {
$tmp = $show_id;
$show_id=$type_id;
$type_id=$tmp;
$org_page_name = get_name($type_id);
}
if (is_show($show_id)==0)
$org_page_name = get_name($type_id);
else
$org_page_name = get_name($show_id);
$final_show = $final_type = 1;
$products = $org_page_name;
$text = "More " . $org_page_name . " merchandise from:";
if ($type_id==-1) {
$qid_p = get_all_products($show_id, $time);
//$type_string = " merchandise";
$ebayQuery = str_replace(" ", "+", $products);
$products = "All " . $products . " merchandise ";
$DOC_TITLE = $org_page_name . " merchandise @ ShopTV";
$keywords = $org_page_name." merchandise, ".$org_page_name." memorabillia, ".$org_page_name." books, ".$org_page_name." dvd, ".$org_page_name." posters, ".$org_page_name." photos, ".$org_page_name." tshirts, ".$org_page_name." calendars, Shoptv";
}
else if ($show_id==-1) {
$qid_p = get_all_products($type_id, $time);
//$type_string = " merchandise";
$ebayQuery = str_replace(" ", "+", $products);
$products = "All " . $products;
$text = "More " . $org_page_name . " from:";
$DOC_TITLE = $org_page_name . " merchandise @ ShopTV";
$keywords = "tv ".$org_page_name.", movies ".$org_page_name.", Harry Potter ".$org_page_name.", Boston Legal ".$org_page_name.", Seinfeld ".$org_page_name.", Simpsons ".$org_page_name.", Prison Break ".$org_page_name.", Disney ".$org_page_name.", Shoptv";
}
else {
$qid_p = get_products($show_id, $type_id, $time);
$type_string = get_name($type_id);
$ebayQuery = str_replace(" ", "+", $org_page_name . " " . $type_string);
$products .= " " . $type_string;
$DOC_TITLE = $org_page_name . " " . $type_string . " @ ShopTV";
$keywords = $org_page_name." ".$type_string.", ".$org_page_name." merchandise, ".$org_page_name." memorabillia, ".$org_page_name." books, ".$org_page_name." dvd, ".$org_page_name." posters, ".$org_page_name." photos, ".$org_page_name." tshirts, ".$org_page_name." calendars, Shoptv";
}
$page_name = get_page_name($org_page_name);
$qid_related = get_related_categories($show_id);
include("$CFG->templatedir/header.php");
include("shopping/templates/catalog.php");
?>
Warning: Undefined variable $text in /home/u580443169/domains/shoptvweb.com/public_html/iindex.php on line 287
Amazon.com
| Amazon.co.uk
| AllPosters.com
| Hollywood Mega Store
| eBay.com
/*
*/?>
|
//
?>
if ($show_id>0) print_popular($show_id);
else print_popular($type_id) ?>
print_discount();
//include("$CFG->templatedir/prod_month.php"); ?>
|
}
include("$CFG->templatedir/footer.php");
db_disconnect();
/******************************************************************************
* FUNCTIONS
*****************************************************************************/
function get_name($id) {
$q = db_query("SELECT name
FROM shop_categories
WHERE id = $id");
$cat = db_fetch_object($q);
if ($cat==FALSE) return "";
return $cat->name;
}
function get_page_name($name) {
for ($i=0; $i pc.category_id
AND pcc.product_id = p.id
AND pc.product_id = p.id
AND p.store_id = s.id
AND p.time >= $time
ORDER BY p.time DESC, p.name
");
return $qid;
}
?>