<?php $page = new Page(); $page->setDescription(__('Frhed is an binary file editor for Windows. It is small but has many advanced features like ability to load big files partially.')); $page->setKeywords(__('Frhed, free, hex editor, binary file, load partially, hexdump, compare')); $page->addRssFeed('http://sourceforge.net/export/rss2_projnews.php?group_id=236485', __('Frhed News')); $page->addRssFeed('http://sourceforge.net/export/rss2_projfiles.php?group_id=236485', __('Frhed File Releases')); $page->printHead(); $page->printPara(__('Frhed is an binary file editor for Windows. It is small but has many advanced features like ability to load big files partially.')); $page->printHeading(__('Features')); ?> <ul> <li><?php __e('Editable file size limited only by available system memory'); ?> </li> <li><?php __e('Load files partially'); ?> </li> <li><?php __e('Export as hexdump to file or clipboard'); ?> </li> <li><?php __e('Search for any combination of text and binary values'); ?> </li> <li><?php __e('Compare files'); ?>
<?php $page = new Page(); $page->addRssFeed('status_trunk_rss.php'); $page->printHead(__('Translations Status (Unstable Trunk)')); $page->printRssHeading(__('Translations Status (Unstable Trunk)'), 'status_trunk_rss.php'); try { $status = new TranslationsStatus('status_trunk.xml'); $status->svnUrl = 'http://frhed.svn.sourceforge.net/viewvc/frhed/trunk/Translations/'; $status->printTOC(); $status->printStatus(); $status->printTranslators(); } catch (Exception $ex) { //If problems with translations status... print "<p>" . __('The translations status is currently not available...') . "</p>\n"; } $page->printFoot();
<?php //Send 404 headers... header('HTTP/1.1 404 Not Found'); header('Status: 404 Not Found'); include_once 'engine/engine.inc'; $page = new Page(); $page->printHead(__('Error 404 (Page Not Found)'), TAB_HOME); $page->printHeading(__('Page Not Found...')); $page->printPara(__('For some reason (mis-typed URL, faulty referral from another site, out-of-date search engine listing or we simply deleted a file) the page you were looking for could not be found.'), __('This site has recently undergone a major re-working, so that might explain why you got this page instead.')); $page->printSubHeading(__('Were you looking for...')); ?> <ul> <li><?php __e('<a href="%s">Download</a>?', $translations->prepareLink('/{lang}/#download')); ?> </li> <li><?php __e('<a href="%s">Screenshots</a>?', $translations->prepareLink('/{lang}/screenshots/')); ?> </li> <li><?php __e('<a href="%s">Support</a>?', $translations->prepareLink('/{lang}/#support')); ?> </li> <li><?php __e('<a href="%s">Translations</a>?', $translations->prepareLink('/{lang}/translations/')); ?> </li> </ul> <?php
<?php $page = new Page(); $page->addRssFeed('status_branch_rss.php', __('Frhed Translations Status (Stable Branch)')); $page->addRssFeed('status_trunk_rss.php', __('Frhed Translations Status (Unstable Trunk)')); $page->printHead(__('Translations')); $page->printHeading(__('Translations')); $page->printPara(__('We currently have Frhed translated into the languages listed below:')); print "<ul>\n"; try { $status = new TranslationsStatus('status_trunk.xml'); $languages = $status->getLanguagesArray(); foreach ($languages as $language) { //for all languages... print " <li>" . __($language) . "</li>\n"; } } catch (Exception $ex) { //If problems with translations status... print " <li>" . __('English') . "</li>\n"; } print "</ul>\n"; $page->printSubHeading(__('Status')); $page->printPara(__('The following two pages inform you about the translations status of the stable and developer version of Frhed:')); ?> <ul> <li><a href="status_branch.php"><?php __e('Stable Version (Branch)'); ?> </a> <?php $page->printRssFeedLink('status_branch_rss.php'); ?>
<?php $page = new Page(); $page->printHead(__('Screenshots')); $page->printHeading(__('Screenshots')); $page->printSubHeading(__('Main Window')); ?> <a href="/sites/screenshots/frhed_main_window.png" target="_blank"><img src="/sites/screenshots/frhed_main_window_small.png" alt="<?php __e('Main Window'); ?> " style="border:none;" /></a> <?php $page->printPara(__('The main window from Frhed.')); $page->printFoot();
<?php $page = new Page(); $page->addRssFeed('status_branch_rss.php'); $page->printHead(__('Translations Status (Stable Branch)')); $page->printRssHeading(__('Translations Status (Stable Branch)'), 'status_branch_rss.php'); try { $status = new TranslationsStatus('status_branch.xml'); $status->svnUrl = 'http://frhed.svn.sourceforge.net/viewvc/frhed/branches/R1_6/Translations/'; $status->printTOC(); $status->printStatus(); $status->printTranslators(); } catch (Exception $ex) { //If problems with translations status... print "<p>" . __('The translations status is currently not available...') . "</p>\n"; } $page->printFoot();