<center> <div id="itmyself"> <div id="itmy-nav"> <?php $site = new Site('selfip', $config, $GLOBALS['Domain']); $path = new RequestPath(); ?> <table align="right" id="nav-menu" width="200" border="0" cellpadding="2" cellspacing="0"> <tr id="nav-tr" align="center" valign="bottom"> <?php foreach ($site->ViewTableWhere('menu', 'panelid', 1, 'menuid DESC', 0) as $nav) { if ($path->Level(1) == $nav['path']) { $image = $GLOBALS['Domain'] . 'images/btn' . $nav['name'] . '_over.jpg'; } else { $image = $GLOBALS['Domain'] . 'images/btn' . $nav['name'] . '_up.jpg'; } list($width, $height) = getimagesize($image); ?> <td><a href="<?php echo $path->SetRequest(1, $nav['path']); ?> " title="<?php echo $nav['detail']; ?> "> <img src="<?php echo $image; ?> " border="0" width="<?php echo $width; ?>
<?php $HaKko = new Engine(); $reqPath = new RequestPath(); $dirTranslator = 'translator/'; $listManga = new DirectoryReader($HaKko->Document . $dirTranslator); ?> <center> <div id="hakko-shadow"><div id="hakko-main"> <div id="hakko-logo"><a href="<?php echo $urlDomain; ?> "> <img src="<?php echo $HaKko->Domain; ?> images/HaKkoLogo.png" border="0" width="370" height="79" align="left" /></a> <div id="nav-hakko"> <?php echo $HaKko->Navigator(); ?> </div> </div> <div id="hakko-body"> <?php if ($reqPath->Level(1) == 'board') { echo $HaKko->BoxFull('<div style="height:800px;"> </div>', 0); ?> <?php } elseif ($reqPath->Level(1) == 'info') {
<link rel="stylesheet" type="text/css" href="<?php echo $urlDomain . $folderSite; ?> include/css/template_css.css" /> <script type="text/javascript" src="<?php echo $urlDomain . $folderSite; ?> include/jquery.hakko.js"></script> <?php $reqTitle = new RequestPath(); $manga = NULL; if ($reqTitle->Level(1)) { $manga = ' :: '; if ($reqTitle->Level(1) == 'board') { $manga .= 'Webboard'; } elseif ($reqTitle->Level(1) == 'info') { $manga .= 'Status'; } else { $manga .= $reqTitle->Level(1); $fileTarget = $GLOBALS['Document'] . 'translator/[Content] Database/' . $reqTitle->Level(1) . '.txt'; $description = _MANGA_NONE; $keywords = 'hakko,manga,hakkomew,khem,kaow,'; if (file_exists($fileTarget)) { $raw = file_get_contents($fileTarget); $tmpData = explode('|', iconv('tis-620', 'utf-8', $raw)); $description = $tmpData[3]; $keywords .= $tmpData[1]; } } } else { $fileTarget = $GLOBALS['Document'] . 'article/abuntme.txt';