Files
luos/gulliver/methods/errors/error404.php

166 lines
6.4 KiB
PHP
Raw Normal View History

<?php
$skin = '';
if (isset($_SERVER['QUERY_STRING']) && ($_SERVER['QUERY_STRING']!= '')) {
$url = urldecode($_SERVER['QUERY_STRING']);
$urlParts = explode('/', $url);
$skin = $urlParts['3'];
} else {
if (!class_exists('System')) {
require_once (PATH_HOME . "engine/classes/class.system.php");
$sysConf = System::getSystemConfiguration( PATH_CONFIG . 'env.ini' );
if (isset($sysConf['default_skin']) && ($sysConf['default_skin']!='')) {
$skin = $sysConf['default_skin'];
}
}
}
if ($skin != '') {
$dir = pathinfo(__FILE__);
$template = $dir['filename'];
$fileTemplate = PATH_SKINS . $skin . PATH_SEP . $template. '.html';
if (!file_exists($fileTemplate)) {
$fileTemplate = PATH_SKIN_ENGINE . $skin . PATH_SEP . $template. '.html';
if (!file_exists($fileTemplate)) {
$fileTemplate = PATH_CUSTOM_SKINS . $skin . PATH_SEP . $template. '.html';
if (!file_exists($fileTemplate)) {
$fileTemplate = '';
}
}
}
if ($fileTemplate != '') {
$contentTemplate = file_get_contents($fileTemplate);
print ($contentTemplate);
die;
}
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link href="style1.css" type="text/css" rel="stylesheet"/>
</head>
<body style="margin: 0px; overflow: auto;">
<!-- Warp around everything -->
<div id="warp">
<!-- Header top -->
<div id="header_top"></div>
<!-- End header top -->
<!-- Header -->
<div id="header">
<table border="0" cellspacing="0" cellpadding="0" width="90%"><tr>
<td align="left"><img src="images/colosa.png" alt="www.colosa.com" id="colosa" /></td>
<td align="center">
<h2>Oops, page not found!</h2>
<h5>This page may be busy or the URL incorrect.</h5>
</td>
<td align="right"><img src="images/pmlogo.png" alt="www.colosa.com" id="colosa" /></td>
</tr></table>
</div>
<!-- End Header -->
<!-- The content div -->
<div id="content">
<!-- text -->
<div id="text">
<!-- The info text -->
<strong>Possible reasons: </strong>
<ul id="textInfo">
<li>The link is broken. This may occur when you receive a link via email but your client software adds line breaks, thus distorting long URLs.</li>
<li>The page you requested is no longer active.</li>
<li>There is a spelling mistake in the link, in case you entered the URL into the browser's address toolbar.</li>
</ul>
<ul>
<br/>
<h3>Lost? We suggest...</h3>
<!-- End info text -->
<br/>
<!-- Page links -->
<ul id="textInfo">
<li><a href="http://www.processmakerblog.com/" target="_blank">PROCESSMAKER BLOG</a></li>
<li><a href="http://wiki.processmaker.com/index.php/Main_Page" target="_blank">DOCUMENTATION</a></li>
<li><a href="http://forum.processmaker.com/" target="_blank">FORUM</a></li>
<li><a href="http://library.processmaker.com/" target="_blank">LIBRARY</a></li>
<li><a href="http://bugs.processmaker.com/my_view_page.php" target="_blank">BUG TRACKER</a></li>
</ul>
<!-- End page links -->
</div>
<!-- End info text -->
<!-- Book icon -->
<img id="book" src="images/img-01.png" alt="Book iCon" />
<!-- End Book icon -->
<div style="clear:both;"></div>
</div>
<!-- End Content -->
<!-- Footer -->
<div id="footer">
<!-- Twitter -->
<img src="images/pm.png" alt="twitter" id="twitter" />
<p id="twitter_text">
<a href= "http://www.processmaker.com/privacy-statement" target="_blank"> Privacy Statement </a>| <a href= "http://www.processmaker.com/security-statement" target="_blank">Security Statement </a> | <a href= "http://www.processmaker.com/terms-of-service" target="_blank"> Terms of Service </a> | <a href= "http://www.processmaker.com/commercial-license" target="_blank"> Commercial License </a> | <a href= "http://www.processmaker.com/contact-us" target="_blank"> Contact Us </a>| <a href= "http://feeds.feedburner.com/processmaker" target="_blank"> RSS </a>
&#169; Copyright 2000 - 2012 Colosa, Inc. <a href= "http://www.colosa.com/" target="_blank"> www.colosa.com </a>
</p>
<!-- End Twitter -->
<div id="socialmedia" style="float: left; text-align: right;margin-top: 20px;">
<a href="https://www.facebook.com/processmaker" target="_blank">
<img height="25" width="25" alt="Facebook" src="images/socialmedia/fb.png">
</a>
<a href="http://twitter.com/processmaker" target="_blank">
<img height="25" width="25" alt="Twitter" src="images/socialmedia/tw.png">
</a>
<a href="http://www.youtube.com/processmaker#play/uploads" target="_blank">
<img height="25" width="25" alt="YouTube" src="images/socialmedia/yb.png">
</a>
<a href="http://feeds.feedburner.com/processmaker" target="_blank">
<img height="25" width="25" alt="RSS" src="images/socialmedia/rs.png">
</a>
</div>
<!-- Search Form -->
<!--<form action="#" method="post">
<p id="searchform">
<input type="submit" name="submit" id="submit" value="Search" />
<input type="text" name="search" id="search" />
</p>
</form>-->
<!-- End Search form -->
<div style="clear:both;"></div>
</div>
<!-- End Footer -->
<!-- Footer bottom -->
<div id="footer_bottom"></div>
<!-- End Footer bottom -->
<!-- Social Media list -->
<!-- End Social media -->
<div style="clear:both;"></div>
</div>
<!-- End Warp around everything -->
</div>
</body>
</html>