<?php


$installer = $this;
$installer->startSetup();
$installer->endSetup();

$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
$setup->addAttribute('catalog_product', 'magikfeatured', array(
        'group'             => 'General',
        'type'              => 'int',
        'backend'           => '',
        'frontend'          => '',
        'label'             => 'Featured Product On Home',
        'input'             => 'boolean',
        'class'             => '',
        'source'            => '',
        'global'            => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,
        'visible'           => true,
        'required'          => false,
        'user_defined'      => true,
        'default'           => '0',
        'searchable'        => false,
        'filterable'        => false,
        'comparable'        => false,
        'visible_on_front'  => false,
        'unique'            => false,
        'apply_to'          => 'simple,configurable,virtual,bundle,downloadable',
        'is_configurable'   => false
    ));

try {
//create pages and blocks programmatically

//Custom Tab1
$staticBlock = array(
    'title' => 'Custom Tab1',
    'identifier' => 'amaze_custom_tab1',
    'content' => "<p><strong>Lorem Ipsum</strong><span>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</span></p>",
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Custom Tab2
$staticBlock = array(
    'title' => 'Custom Tab2',
    'identifier' => 'amaze_custom_tab2',
    'content' => "<p><strong>Lorem Ipsum</strong><span>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</span></p>",
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Empty Category
$staticBlock = array(
    'title' => 'Empty Category',
    'identifier' => 'amaze_empty_category',
    'content' => "<p>There are no products matching the selection.<br /> This is a static CMS block displayed if category is empty. You can put your own content here.</p>",
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze Logo Brand block
 $staticBlock = array(
     'title' => 'Amaze Logo Brand block',
     'identifier' => 'amaze_logo_brand_block',
     'content' => '<div class="brand-logo"><div class="jcarousel-skin-tango">
<div id="mycarousel3" class="jcarousel-container jcarousel-container-horizontal" style="position: relative; display: block;">
<div class="jcarousel-clip jcarousel-clip-horizontal" style="overflow: hidden; position: relative;">
<ul class="jcarousel-list jcarousel-list-horizontal" style="overflow: hidden; position: relative; top: 0px; margin: 0px; padding: 0px; left: 0px; width: 1940px;">
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-1 jcarousel-item-1-horizontal" style="float: left; list-style: none outside none;"><img src="{{skin url="images/b-logo1.png"}}" alt="brand-logo" /></li>
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-2 jcarousel-item-2-horizontal" style="float: left; list-style: none outside none;"><img src="{{skin url="images/b-logo2.png"}}" alt="brand-logo" /></li>
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-3 jcarousel-item-3-horizontal" style="float: left; list-style: none outside none;"><img src="{{skin url="images/b-logo3.png"}}" alt="brand-logo" /></li>
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-4 jcarousel-item-4-horizontal" style="float: left; list-style: none outside none;"><img src="{{skin url="images/b-logo4.png"}}" alt="brand-logo" /></li>
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-5 jcarousel-item-5-horizontal" style="float: left; list-style: none outside none;"><img src="{{skin url="images/b-logo5.png"}}" alt="brand-logo" /></li>
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-6 jcarousel-item-6-horizontal" style="float: left; list-style: none outside none;"><img src="{{skin url="images/b-logo6.png"}}" alt="brand-logo" /></li>
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-7 jcarousel-item-7-horizontal" style="float: left; list-style: none outside none;"><img src="{{skin url="images/b-logo3.png"}}" alt="brand-logo" /></li>
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-8 jcarousel-item-8-horizontal" style="float: left; list-style: none outside none;"><img src="{{skin url="images/b-logo2.png"}}" alt="brand-logo" /></li>
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-9 jcarousel-item-9-horizontal" style="float: left; list-style: none outside none;"><img src="{{skin url="images/b-logo5.png"}}" alt="brand-logo" /></li>
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-10 jcarousel-item-10-horizontal" style="float: left; list-style: none outside none;"><img src="{{skin url="images/b-logo4.png"}}" alt="brand-logo" /></li>
</ul>
</div>
<div class="jcarousel-prev jcarousel-prev-horizontal" style="display: block;">&nbsp;</div>
<div class="jcarousel-next jcarousel-next-horizontal" style="display: block;">&nbsp;</div>
</div>
</div></div>',
     'is_active' => 1,
     'stores' => array(0)
 );
 Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze Store Logo
$staticBlock = array(
    'title' => 'Amaze Store Logo',
    'identifier' => 'amaze_logo',
    'content' => '<div><img src="{{skin url="images/logo.png"}}" alt="Amaze Store" /></div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();


// amaze navigation block
$staticBlock = array(
    'title' => 'Custom',
    'identifier' => 'amaze_navigation_block',
    'content' => '<div class="grid12-5">
              <h4 class="heading">HTML5 + CSS3</h4>
              <div class="ccs3-html5-box"><em class="icon-html5">&nbsp;</em> <em class="icon-css3">&nbsp;</em></div>
              <p>Our designed to deliver almost everything you want to do online without requiring additional plugins.CSS3 has been split into "modules".</p>
            </div>
            <div class="grid12-5">
              <h4 class="heading">Responsive Design</h4>
              <a href="#">
              <div class="icon-custom-reponsive">&nbsp;</div>
              </a>
              <p>Responsive design is a Web design to provide an optimal navigation with a minimum of resizing, and scrolling across a wide range of devices.</p>
            </div>
            <div class="grid12-5">
              <h4 class="heading">Google Fonts</h4>
              <a href="#">
              <div class="icon-custom-google-font">&nbsp;</div>
              </a>
              <p>Our font delivery service is built upon a reliable, global network of servers. Our flexible solution provides multiple implementation options.</p>
            </div>
            <div class="grid12-5">
              <h4 class="heading">Smart Product Grid</h4>
              <a href="#">
              <div class="icon-custom-grid">&nbsp;</div>
              </a>
              <p>Smart Product Grid is uses maximum available width of the screen to display content. It can be displayed on any screen or any devices.</p>
            </div>
            <br>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();


//Amaze Home Banner Block
$staticBlock = array(
    'title' => 'Amaze Home Offer Banner Block',
    'identifier' => 'amaze_home_offer_banner_block',
    'content' => '<div class="col"><img src="{{skin url="images/offer-banner1.png"}}" alt="offer banner1" /></div>
<div class="col"><img src="{{skin url="images/offer-banner2.png"}}" alt="offer banner2" /></div>
<div class="col"><img src="{{skin url="images/offer-banner3.png"}}" alt="offer banner3" /></div>
<div class="col last"><img src="{{skin url="images/offer-banner4.png"}}" alt="offer banner4" /></div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze Home Header Block
$staticBlock = array(
    'title' => 'Amaze Header Block',
    'identifier' => 'amaze_header_block',
    'content' => '<div class="service-section">
<div id="store-messages" class="messages-3">
<div class="message"><em class="icon-refresh">&nbsp;</em> <span><strong>Return &amp; Exchange</strong> in 3 working days </span>Lorem ipsum dolor sit amet, consectetur adipiscing.</div>
<div class="message"><em class="icon-truck">&nbsp;</em><span><strong>Free Shipping</strong> order over $99</span>Lorem ipsum dolor sit amet, consectetur adipiscing.</div>
<div class="message"><em class="icon-discount">&nbsp;</em><span><strong>50% Off</strong> on all products</span>Lorem ipsum dolor sit amet, consectetur adipiscing.</div>
</div>
</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();



//Amaze Footer About Us Block
$staticBlock = array(
    'title' => 'Amaze Footer About Us',
    'identifier' => 'amaze_footer_about_us',
    'content' => '<p><img src="{{skin url="images/f-logo.png"}}" alt="Footer Logo" /></p>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();


//Amaze Navigation Product Block
$staticBlock = array(
    'title' => 'Amaze Navigation Product Block',
    'identifier' => 'amaze_navigation_product_block',
    'content' => '<p>{{block type="catalog/product_new"  products_count="1" name="home.catalog.product.new" as="newproduct" template="catalog/product/new.phtml" }}</p>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();


//Amaze Home Slider Banner Block
$staticBlock = array(
    'title' => 'Amaze Home Slider Banner Block',
    'identifier' => 'amaze_home_slider_banner_block',
    'content' => '<div class="slider-intro">
<div class="the-slideshow slideshow-wrapper">
<ul class="slideshow" style="overflow: hidden;">
<li class="slide">
<p><a href="#"> <img src="{{skin url="images/banner-img.jpg"}}" alt="banner image" /></a></p>
<div class="caption light1 top-right">
<div class="caption-inner">
<p class="heading">Women Collection 2014</p>
<p class="heading1">Lorem Ipsum is simply dummy text of the printing and typesetting industry</p>
<p class="intro-btn"><a title="Click to see all features" href="#">Shop Now</a></p>
</div>
</div>
</li>
<li class="slide">
<p><a href="#"> <img src="{{skin url="images/banner-img1.jpg"}}" alt="banner image1" /></a></p>
<div class="caption light1 top-right">
<div class="caption-inner">
<h2 class="heading">You like this theme?</h2>
<p class="heading1">Pellentesque habitant morbi tristique senectus</p>
<p class="intro-btn"><a title="Click to see all features" href="#">Buy Now</a></p>
</div>
</div>
</li>
<li class="slide">
<p><a title="#" href="#"> <img src="{{skin url="images/banner-img2.jpg"}}" alt="banner image2" /> </a></p>
<div class="caption light1 top-right">
<div class="caption-inner">
<p class="heading">Responsive Layout</p>
<p class="intro-btn"><a title="Click to see all features" href="#">Buy Now</a></p>
</div>
</div>
</li>
</ul>
<a id="home-slides-prev" class="backward browse-button" href="#">previous</a> <a id="home-slides-next" class="forward browse-button" href="#">next</a>
<div id="home-slides-pager" class="tab-pager tab-pager-img tab-pager-ring-lgray">&nbsp;</div>
</div>
</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();


//Amaze Footer Information Links Block
$staticBlock = array(
    'title' => 'Amaze Footer Information Links Block',
    'identifier' => 'amaze_footer_information_links_block',
    'content' => '<div class="footer-column">
<h4 class="green">Shopping Guide</h4>
<ul class="links">
<li class="first"><a title="How to buy" href="#">How to buy</a></li>
<li><a title="FAQs" href="#">FAQs</a></li>
<li><a title="Payment" href="#">Payment</a></li>
<li><a title="Shipment" href="#">Shipment</a></li>
<li><a title="Where is my order?" href="#">Where is my order?</a></li>
<li class="last"><a title="Return policy" href="#">Return policy</a></li>
</ul>
</div>
<div class="footer-column">
<h4 class="yellow">Style Advisor</h4>
<ul class="links">
<li class="first"><a title="Your Account" href="{{store_url=customer/account/}}">Your Account</a></li>
<li><a title="Information" href="#">Information</a></li>
<li><a title="Addresses" href="#">Addresses</a></li>
<li><a title="Addresses" href="#">Discount</a></li>
<li><a title="Orders History" href="#">Orders History</a></li>
<li class="last"><a title=" Additional Information" href="#"> Additional Information</a></li>
</ul>
</div>
<div class="footer-column">
<h4 class="orange">Information</h4>
<ul class="links">
<li class="first"><a title="Site Map" href="{{store_url=catalog/seo_sitemap/category/}}">Site Map</a></li>
<li><a title="Search Terms" href="{{store_url=catalogsearch/term/popular/}}">Search Terms</a></li>
<li><a title="Advanced Search" href="{{store_url=catalogsearch/advanced/}}">Advanced Search</a></li>
<li><a title="History" href="# ">History</a></li>
<li><a title="Suppliers" href="#">Suppliers</a></li>
<li class=" last"><a class="link-rss" title="Our stores" href="#">Our stores</a></li>
</ul>
</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze Home Toplinks Block
$staticBlock = array(
    'title' => 'Amaze Home Toplinks Block',
    'identifier' => 'amaze-home-toplinks-block',
    'content' => '<div class="demo"><a title="Blog" href="{{store_url=blog}}"><span>Blog</span></a></div>
<div class="company">
<div class="click-nav">
<ul class="no-js">
<li><a class="clicker" title="Company">Company <span class="caret"></span></a>
<ul class="link">
<li><a title="About Us" href="{{store_url=about-us}}">About Us</a></li>
<li><a title="Customer Service" href="#">Customer Service</a></li>
<li><a title="Privacy Policy" href="#">Privacy Policy</a></li>
<li><a title="Site Map" href="{{store_url=catalog/seo_sitemap/category/}}"><span>Site Map</span></a></li>
<li><a title="Search Terms" href="{{store_url=catalogsearch/term/popular/}}"><span>Search Terms</span></a></li>
<li class="last"><a title="Advanced Search" href="{{store_url=catalogsearch/advanced/}}"><span>Advanced Search</span></a></li>
</ul>
</li>
</ul>
</div>
</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze Home Latest Blog Block
$staticBlock = array(
    'title' => 'Amaze Home Latest Blog Block',
    'identifier' => 'amaze_home_latest_blog_block',
    'content' => '<div>{{block type="blogmate/index" name="blog_home" template="blogmate/right/home_right.phtml"}}</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze Blog Banner Text Block
$staticBlock = array(
    'title' => 'Amaze Blog Banner Text Block',
    'identifier' => 'amaze_blog_banner_text_block',
    'content' => '<div class="text-widget widget widget__sidebar">
<h3 class="widget-title">Text Widget</h3>
<div class="widget-content">Mauris at blandit erat. Nam vel tortor non quam scelerisque cursus. Praesent nunc vitae magna pellentesque auctor. Quisque id lectus.<br /> <br /> Massa, eget eleifend tellus. Proin nec ante leo ssim nunc sit amet velit malesuada pharetra. Nulla neque sapien, sollicitudin non ornare quis, malesuada.</div>
</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze Blog Banner Ad Block
$staticBlock = array(
    'title' => 'Amaze Blog Banner Ad Block',
    'identifier' => 'amaze_blog_banner_ad_block',
    'content' => '<div class="ad-spots widget widget__sidebar">
<h3 class="widget-title">Ad Spots</h3>
<div class="widget-content"><a title="" href="#" target="_self"><img src="{{skin url="images/offer-banner1.jpg"}}" alt="offer banner" /></a></div>
</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze Footer Contact Us
$staticBlock = array(
    'title' => 'Amaze Footer Contact Us',
    'identifier' => 'amaze_footer_contact_us',
    'content' => '<h4 class="blue">Contact Us</h4>
<address><em class="add-icon">&nbsp;</em>123 Main Street, Anytown, <br /> &nbsp;CA 12345 USA</address>
<div class="phone-footer"><em class="phone-icon">&nbsp;</em> +1 800 123 1234</div>
<div class="email-footer"><em class="email-icon">&nbsp;</em> <a href="#">support@magikcommerce.com</a></div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze RHS Contact Form Block
$staticBlock = array(
    'title' => 'Amaze RHS Contact Form Block',
    'identifier' => 'amaze_rhs_contact_form_block',
    'content' => '<div class="slider-phone active">
<h2>TALK TO US</h2>
<h3>Available 24/7</h3>
<p class="textcenter">Want to speak to someone? We are here 24/7 to answer any questions. Just call!<br /> <br /> <span class="phone-number"> +1 800 123 1234</span></p>
</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze Featured Product Text Block
$staticBlock = array(
    'title' => 'Amaze Featured Product Text Block',
    'identifier' => 'amaze_featured_product_text_block',
    'content' => '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pharetra tristique eros dignissim venenatis. Nam et dolor id arcu efficitur tincidunt quis non nisi. Duis commodo pellentesque quam, id mollis ligula dictum id. Morbi cursus consectetur magna a egestas. Sed eu sagittis leo. Mauris euismod dapibus nisl, at euismod nunc commodo vel. Nulla semper non nisi in placerat. Aenean at nisl eu odio ullamcorper varius non ac ante. Quisque dictum, felis lobortis faucibus ornare, enim mi mollis ex, ac vestibulum neque nibh at nisi.</p>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze View Page Block
$staticBlock = array(
    'title' => 'Amaze View Page Block',
    'identifier' => 'amaze_view_page_block',
    'content' => '<div class="product-additional">
<div class="block-product-additional"><img src="{{skin url="images/offer-banner3.png"}}" alt="custom block" /></div>
</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze LHS Banner Block
$staticBlock = array(
    'title' => 'Amaze LHS Banner Block',
    'identifier' => 'amaze_lhs_banner_block',
    'content' => '<div class="cat-block pro-block">
<div class="pro1-block">
<ul class="top-cat-box">
<li>
<div><img src="{{skin url="images/women-img.png"}}" alt="women image" /></div>
<h2>Women</h2>
<p>Lorem ipsum dolor sit amet, consectetur.</p>
<a href="#">Buy Now</a></li>
<li>
<div><img src="{{skin url="images/men-img.png"}}" alt="men image" /></div>
<h2>Men</h2>
<p>Consectetur adipiscing elit.</p>
<a href="#">Buy Now</a></li>
<li>
<div><img src="{{skin url="images/electronics-img.png"}}" alt="electronics image" /></div>
<h2>Electronics</h2>
<p>Voluptatem accusantium doloremque</p>
<a href="#">Buy Now</a></li>
<li>
<div><img src="{{skin url="images/furniture-img.png"}}" alt="furniture image" /></div>
<h2>Furniture</h2>
<p>eaque ipsa quae ab illo inventore</p>
<a href="#">Buy Now</a></li>
</ul>
</div>
</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();

//Amaze Home Slider Banner Block Type2
$staticBlock = array(
    'title' => 'Amaze Home Slider Banner Block Type2',
    'identifier' => 'amaze_home_slider_banner_block_type2',
    'content' => '<div class="slider-intro">
<div class="the-slideshow slideshow-wrapper">
<ul class="slideshow" style="overflow: hidden;">
<li class="slide">
<p><a href="#"> <img src="{{skin url="images/banner-img-type2.jpg"}}" alt="Banner Image" /></a></p>
<div class="caption light1 top-right">
<div class="caption-inner">
<p class="heading">Women Collection 2014</p>
<p class="heading1">Lorem Ipsum is simply dummy text of the printing and typesetting industry</p>
<p class="intro-btn"><a title="Click to see all features" href="#">Shop Now</a></p>
</div>
</div>
</li>
<li class="slide">
<p><a href="#"> <img src="{{skin url="images/banner-img1-type2.jpg"}}" alt="Banner Image1" /></a></p>
<div class="caption light1 top-right">
<div class="caption-inner">
<h2 class="heading">You like this theme?</h2>
<p class="heading1">Pellentesque habitant morbi tristique senectus</p>
<p class="intro-btn"><a title="Click to see all features" href="#">Buy Now</a></p>
</div>
</div>
</li>
<li class="slide">
<p><a title="#" href="#"> <img src="{{skin url="images/banner-img2-type2.jpg"}}" alt="Banner Image2" /> </a></p>
<div class="caption light1 top-right">
<div class="caption-inner">
<p class="heading">Responsive Layout</p>
<p class="intro-btn"><a title="Click to see all features" href="#">Buy Now</a></p>
</div>
</div>
</li>
</ul>
<a id="home-slides-prev" class="backward browse-button" href="#">previous</a> <a id="home-slides-next" class="forward browse-button" href="#">next</a>
<div id="home-slides-pager" class="tab-pager tab-pager-img tab-pager-ring-lgray">&nbsp;</div>
</div>
</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();


//Amaze LHS Banner Block Type2
$staticBlock = array(
    'title' => 'Amaze LHS Banner Block Type2',
    'identifier' => 'amaze_lhs_banner_block_type2',
    'content' => '<div class="cat-block pro-block">
<div class="pro1-block">
<ul class="top-cat-box">
<li>
<div><img src="{{skin url="images/women-img.png"}}" alt="women image" /></div>
<h2>Women</h2>
<a href="#">Buy Now</a></li>
<li>
<div><img src="{{skin url="images/men-img.png"}}" alt="men image" /></div>
<h2>Men</h2>
<a href="#">Buy Now</a></li>
<li>
<div><img src="{{skin url="images/electronics-img.png"}}" alt="Electronics image" /></div>
<h2>Electronics</h2>
<a href="#">Buy Now</a></li>
<li>
<div><img src="{{skin url="images/furniture-img.png"}}" alt="Furniture image" /></div>
<h2>Furniture</h2>
<a href="#">Buy Now</a></li>
</ul>
</div>
</div>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();


//Amaze Fixed Home Tab Dropdown Block
$staticBlock = array(
    'title' => 'Amaze Fixed Home Tab Dropdown Block',
    'identifier' => 'amaze_fixed_home_tab_dropdown_block',
    'content' => '<ul class="level1" style="display: none;">
<li class="level1 first parent"><a href="http://demo.magikthemes.com/index.php/amazefixred"><span>Home Version 1</span></a></li>
<li class="level1 parent"><a href="http://demo.magikthemes.com/index.php/amazeflexred"><span>Home Version 2</span></a></li>
<li class="level1 parent"><a href="http://demo.magikthemes.com/index.php/amazefixaqua/"><span>Aqua Color</span></a></li>
<li class="level1 parent"><a href="http://demo.magikthemes.com/index.php/amazefixyellow/"><span>Yellow Color</span></a></li>
<li class="level1 parent"><a href="http://demo.magikthemes.com/index.php/amazefixgreen/"><span>Green Color</span></a></li>
<li class="level1 parent"><a href="http://demo.magikthemes.com/index.php/amazefixorange/"><span>Orange Color</span></a></li>
</ul>',
    'is_active' => 1,
    'stores' => array(0)
);
Mage::getModel('cms/block')->setData($staticBlock)->save();


}
catch (Exception $e) {
    Mage::getSingleton('adminhtml/session')->addError(Mage::helper('adminhtml')->__('An error occurred while installing Amaze theme pages and cms blocks.'));
}