<link rel="stylesheet" type="text/css" href="http://hakko.9friend.net/facebook/include/slider_css.css" />
<script type="text/javascript" src="http://hakko.9friend.net/facebook/include/if_js/jquery.min-1.4.3.js"></script>
<script type="text/javascript" src="http://hakko.9friend.net/facebook/include/if_js/s3Slider.js"></script>

<script type="text/javascript">
$(document).ready(function() {
	$('#s3slider').s3Slider({ 
		timeOut: 8000 
	});
});
</script>
<?php 
require_once $_SERVER['DOCUMENT_ROOT'] . '/facebook/include/ajax.require.php';
$gallery = new MangaReader(array('facebook', 'module', 'slider'));
$listImage = $gallery->getArray();
shuffle($listImage);
?>

<div id="slide-space"><div id="slide-img"><div id="s3slider"><ul id="s3sliderContent">
<?php 
foreach ($listImage as $image) {
    $tmp = explode('-', iconv('utf-8', 'tis-620', $image['name']));
    $infoText = explode('.', $tmp[1]);
    $infoName = $tmp[0];
    $infoText = $infoText[0];
    ?>
<li class="s3sliderImage"><img src="<?php 
    echo $image['source'];
    ?>
" />
<span style="color:#999999;"><h1><?php 
Exemple #2
0
    foreach (parent::ViewTableWhere('manga', 'mag_id', $content['mag_id'], 0, 1) as $table) {
        $manga['name'] = $table['name'];
        $manga['status'] = $table['status'];
        $manga['summary'] = $table['summary'];
        $manga['created'] = $table['created'];
        $manga['view'] = $table['view'];
        $manga['link'] = $table['link'];
        $manga['xid'] = ereg_replace(' ', '_', $table['name']);
        $manga['author'] = _MANGA_NONE2;
        $manga['genre'] = _MANGA_NONE2;
        $manga['translator'] = _MANGA_NONE;
        $manga['author'] = $this->StringGroup('group_author', $table['mag_id'], 'manga_author', 'aut_id', 'aut_id', 'author_name');
        $manga['genre'] = $this->StringGroup('group_genre', $table['mag_id'], 'manga_genre', 'gen_id', 'gen_id', 'genre_name');
        $manga['translator'] = $this->StringGroup('manga_chapter', $table['mag_id'], 'user', 'uid', 'trans_uid', 'name');
    }
    $readManga = new MangaReader(array($this->site[STORE], $manga['name']));
    $manga['cover'] = 'http://hakko.9friend.net/images/none-cover.jpg';
    $manga['thumb'] = 'http://hakko.9friend.net/images/none-thumb.jpg';
    $manga['fbthumb'] = '';
    foreach ($readManga->getArray() as $chapter) {
        $info = pathinfo($chapter['name']);
        if ($info['filename'] == 'cover') {
            $manga['cover'] = $chapter['source'];
        } elseif ($info['filename'] == 'thumb') {
            $manga['thumb'] = $chapter['source'];
        } elseif ($info['filename'] == 'fbthumb') {
            $manga['fbthumb'] = $chapter['source'];
        }
    }
    //------------------------
} else {
Exemple #3
-1
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . '/facebook/include/ajax.require.php';
$HaKko = new MangaReader(array('file_store', $_POST['manga']));
$aNext = false;
$aBack = false;
foreach ($HaKko->getArray() as $manga) {
    list($id, $name) = explode('-', $manga['name']);
    $folder['id'] = trim($id);
    $folder['name'] = trim($name);
    if ($folder['id'] == $_POST['chapter']) {
        $image = new MangaReader(array('file_store', $_POST['manga'], iconv('utf-8', 'tis-620', $manga['name'])));
        $imageSort = $image->getArray();
        sort($imageSort);
        foreach ($imageSort as $index => $list) {
            if ($index + 1 == $_POST['id']) {
                $getImage = $list['source'];
                $height = getimagesize($list['path']);
            }
        }
    }
}
echo json_encode(array('source' => $getImage, 'total' => count($imageSort), 'height' => $height[1]));
Exemple #4
-1
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . '/facebook/include/ajax.require.php';
$online = new PDOConnection();
$mangaDetails = new MangaReader(array($site[STORE], $_POST['name']));
$manga['name'] = rawurlencode($_POST['name']) . '/';
foreach ($mangaDetails->getArray() as $mlist) {
    if (is_file($mlist['path'])) {
        list($filename, $fileextended) = explode('.', $mlist['name']);
        if ($filename == 'thumb') {
            $manga['thumb'] = $mangaDetails->getDomain() . $mlist['name'];
        }
    }
}
if (!isset($manga['thumb'])) {
    $manga['thumb'] = 'http://hakko.9friend.net/images/none-thumb.jpg';
}
$manga['view'] = $online->GetValue('view', 'manga', 'mag_id', $_POST['id']);
$manga['online'] = $online->CountRow('user_online', 'mag_id', $_POST['id']);
?>

<a href="<?php 
echo $online->GetValue('link', 'manga', 'mag_id', $_POST['id']);
?>
"><h2><?php 
echo $_POST['name'];
?>
</h2>
<table width="230" border="0" cellpadding="2" cellspacing="0" class="manga-list">
  <tr>
    <td width="50"><div class="thumb-img" style="width:40px;height:40px;">