Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
php
// this is the handmark set up stuff... we need it customized for 404s
// PHP will complain endlessly in the log files if we don't set this
date_default_timezone_set('America/Chicago');
require_once "Smarty/Smarty.class.php";
require_once "manager/class.EcommerceApplicationMgr.php";
//$appmgr = new EcommerceApplicationMgr('handmark');
$appmgr = new EcommerceApplicationMgr('Handmark',true);
$site_mgr = $appmgr->getManager('SiteMgr');
//stuff for cart
$mini_cart = $site_mgr->getMiniCartCookie();
if(($mini_cart['num_items'] == null && $mini_cart['total_cost'] == null)){
$mini_cart['num_items'] == 0;
$mini_cart['total_cost'] == 0;
}
if ($site_mgr->isUserLoggedIn()) {
$site_mgr->template_engine->assign('logged_in', 1);
} else {
$site_mgr->template_engine->assign('logged_in', 0);
}
$site_mgr->template_engine->assign('mini_cart', $mini_cart);
$site_mgr->template_engine->assign('SiteManager',$site_mgr->getCommonArr());
$site_mgr->template_engine->assign('LangManager', $site_mgr->getStaticArr());
$site_mgr->template_engine->assign('URLManager', $site_mgr->getURLArr());
$site_mgr->template_engine->assign('copyright_year', date('Y'));
$site_mgr->template_engine->assign('currency_symbol', $site_mgr->currency_symbol
);
//end of setup
$site_mgr->template_engine->assign('page_title',"Handmark | Page Not Found");
$site_mgr->template_engine->assign('body_content','error404.htm');
$site_mgr->template_engine->assign('page_id','error404_page');
$site_mgr->template_engine->assign('om_channel','Home');
$site_mgr->template_engine->assign('om_pageType','errorPage');
$site_mgr->template_engine->display($site_mgr->getTemplateSetting("global_templa
te"));
$site_mgr->shutdown();
?-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title></title>
<div id="global_content">
<div class="content_container">
<!-- === start error404 === -->
<img src="/assets/site_images/icon_404.gif" id="img_erro
r" />
<h1>You have reached this page in error.</h1>
<p>The page you requested could not be found. You may ha
ve used an outdated link or typed the address incorrectly.</p>
<p><strong>You might find what you're looking for here:<
/strong></p>
<ul class="arrow_list2">
<li><a href="http://www.handmark.com/index.php">
Handmark Homepage</a></li>
<li><a href="//store.handmark.com/products/listi
ngs.php?cat=19">Palm Software</a></li>
<li><a href="//store.handmark.com/products/listi
ngs.php?cat=33">BlackBerry Software</a></li>
<li><a href="//store.handmark.com/products/listi
ngs.php?cat=20">Windows Mobile Pocket PC Software</a></li>
<li><a href="//store.handmark.com/products/listi
ngs.php?cat=23">Windows Mobile Smartphone Software</a></li>
</ul><!-- /.arrow_list2 -->
<!-- === end error404 === -->
<div class="clear"></div>
</div><!-- end .container -->
</div><!-- end #global_content -->
<!-- === start global_footer === -->
<div id="global_footer">
<div class="footer_container">
<ul class="footer_nav">
<li class="title"><h3> Store</h3></li>
<li>
<ul class="stack">
<li><a href="http://store.handmark.com/products/listings.php
?cat=280">Android</a></li>
<li><a href="http://store.handmark.com/products/listings.php
?cat=33">BlackBerry</a></li>
<li><a href="http://store.handmark.com/products/listings.php
?cat=7000">iPhone</a></li>
<li><a href="http://store.handmark.com/products/listings.php
?cat=6072">Java</a></li>
<li><a href="http://store.handmark.com/products/listings.php
?cat=19">Palm OS</a></li>
</ul>
<ul class="stack last">
<li><a href="http://store.handmark.com/products/listings.php
?cat=7010">Palm WebOS</a></li>
<li><a href="http://store.handmark.com/products/listings.php
?cat=196">Symbian</a></li>
<li><a href="http://store.handmark.com/products/listings.php
?cat=20">WM Pocket PC</a></li>
<li><a href="http://store.handmark.com/products/listings.php
?cat=23">WM Smartphone</a></li>
</ul>
</li>
</ul><!-- /.footer_nav -->
<ul class="footer_nav">
<li class="title"><h3>Corporate</h3></li>
<li><a href="http://www.handmark.com/company/about.php">
About Handmark</a></li>
<li><a href="http://www.handmark.com/company/management.
php">Leadership</a></li>
<li><a href="http://www.handmark.com/company/offices.php
">Offices</a></li>
<li><a href="http://www.handmark.com/company/careers.php
">Careers</a></li>
<li><a href="http://www.handmark.com/company/contact.php
">Contact</a></li>
</ul><!-- /.footer_nav -->
<ul class="footer_nav">
<li class="title"><h3>Solutions</h3></li>
<li><a href="http://www.handmark.com/company/solutions/m
obile-stores.php">Mobile Store Solutions</a></li>
<li><a href="http://www.handmark.com/company/solutions/m
obile-publishing.php">Mobile Publishing Platform</a></li>
<li><a href="http://www.handmark.com/company/solutions/a
dvertising-network.php">Advertising</a></li>
<li><a href="http://www.handmark.com/company/solutions/c
ase-studies.php">Case Studies</a></li>
</ul><!-- /.footer_nav -->
<ul class="footer_nav last">
<li class="title"><h3>Press</h3></li>
<li><a href="http://www.handmark.com/company/press.php">
Press Lounge</a></li>
<li><a href="http://www.handmark.com/company/news.php">H
andmark in the News</a></li>
<li><a href="http://www.handmark.com/company/press-downl
oads.php">Press Kit</a></li>
</ul><!-- /.footer_nav -->
<div class="copyright">
<p>Copyright © 2000-2009 Handmark Inc., All rights
reserved</p>
<ul>
<li class="first"><a href="http://www.handmark.c
om/company/conditions.php">conditions of use</a></li>
<li><a href="http://www.handmark.com/company/pri
vacy.php">privacy policy</a></li>
<li><a href="http://www.handmark.com/company/con
tact.php">contact</a></li>
<li><a href="http://www.handmark.com/sitemap.php
">site map</a></li>
</ul>
</div><!-- /.footer_nav copyright -->
<div class="button" id="btn_footer"><a href="http://handmark.cus
thelp.com">Need Help?</a></div>
<div class="clear"></div>