Oops, You are lost! Please check the url!";
}
else
{
if(strcmp($category, "about") == 0 || strcmp($category, "featured") == 0 || strcmp($category, "mailcheck") == 0 ||
strcmp($category, "nogiftdonation") == 0 || strcmp($category, "giftcards") == 0 || strcmp($category, "altdonations") == 0 ||
strcmp($category, "monthlycontributions") == 0 || strcmp($category, "vptickets") == 0 || strcmp($category, "sbyvfree") == 0 || strcmp($category, "ballotcoproducer") == 0 ||
strcmp($category, "billandband") == 0 || strcmp($category, "vptickets1") == 0 || strcmp($category, "ballot") == 0 || strcmp($category, "coproducer") == 0 || strcmp($category, "amazon") == 0 || strcmp($category, "ballotproducer") == 0)
{
include($category.".php");
}
else if(strcmp($category, "gilpalastfund") == 0)
{
include("gilpalastfund/gilpalastfund.php");
}
elseif(strpos($category, "id=") === false)
{
@parseXML("products.xml");
@formItemRows($category);
}
else
{
$str_array = explode("=", $category);
if(count($str_array) != 2)
{
echo "Oops, You are lost! Please check the url!";
}
else
{
if(count($parsedData) == 0)
{
@parseXML("products.xml");
}
@singleItem($str_array[1]);
}
}
}
?>
|