Пример #1
0
    public function action_view()
    {
        $id = $_GET['id'];
        $hmanga = Model::factory('Hmanga')->find_one($id);
        $thumbnails = $hmanga->thumbnails();
        $pages = $hmanga->pages();
        ?>
		
		<dl class="dl-horizontal">
			<dt>Title</dt><dd><a href="<?php 
        echo Fakku::$base . $hmanga->url;
        ?>
"><?php 
        echo $hmanga->title;
        ?>
</a></dd>
			<dt>Series</dt><dd><?php 
        echo $hmanga->series;
        ?>
</dd>
			<dt>Artist</dt><dd><?php 
        echo $hmanga->artist;
        ?>
</dd>
			<dt>Date</dt><dd><?php 
        echo $hmanga->date;
        ?>
</dd>
			<dt>Description</dt><dd><?php 
        echo $hmanga->desc;
        ?>
</dd>
			<dt>Page</dt><dd><?php 
        echo $hmanga->count();
        ?>
</dd>
			<dt>Tags</dt><dd><?php 
        echo str_replace('#', ' ', $hmanga->tags);
        ?>
</dd>
			<dd><a href="<?php 
        echo Fakku::$base . $hmanga->url;
        ?>
">ORIGIN</a></dd>
		</dl>
		
		<?php 
        HH::print_downloads($hmanga->title, $thumbnails, $pages);
    }
Пример #2
0
    public function action_view()
    {
        $id = $_GET['id'];
        $hmanga = Model::factory('Hmanga')->find_one($id);
        $thumbnails = $hmanga->thumbnails();
        $pages = $hmanga->pages();
        ?>
		
		<dl class="dl-horizontal">
			<dt>Title</dt><dd><a href="<?php 
        echo self::$base . $hmanga->url;
        ?>
"><?php 
        echo $hmanga->title;
        ?>
</a></dd>
			<dt>Real ID</dt><dd><?php 
        echo $hmanga->real_id;
        ?>
</dd>
			<dt>Date</dt><dd><?php 
        echo $hmanga->date;
        ?>
</dd>
			<dt>Description</dt><dd><?php 
        echo $hmanga->description;
        ?>
</dd>
			<dt>Page</dt><dd><?php 
        echo $hmanga->pages;
        ?>
</dd>
			<dt>Tags</dt><dd><?php 
        echo str_replace('#', ', ', trim($hmanga->tags, '#'));
        ?>
</dd>
			<dd><a href="<?php 
        echo self::$base . $hmanga->url;
        ?>
">ORIGIN</a></dd>
		</dl>
		
		<?php 
        HH::print_downloads($hmanga->title, $thumbnails, $pages);
    }
Пример #3
0
    public function action_view()
    {
        $id = $_GET['id'];
        $book = Model::factory('Book')->find_one($id);
        $thumbnails = $book->thumbnails();
        $pages = $book->pages();
        ?>
		
		<dl class="dl-horizontal">
			<dt>Title</dt><dd><a href="<?php 
        echo $book->url;
        ?>
"><?php 
        echo $book->title;
        ?>
</a></dd>
			<dt>Date</dt><dd><?php 
        echo $book->date;
        ?>
</dd>
			<dt>Page</dt><dd><?php 
        echo $book->pages;
        ?>
</dd>
			<dt>Tags</dt><dd><?php 
        echo str_replace('#', ', ', trim($book->tags, '#'));
        ?>
</dd>
			<dd><a href="<?php 
        echo $book->url;
        ?>
">ORIGIN</a></dd>
		</dl>
		
		<?php 
        HH::print_downloads($book->title, $thumbnails, $pages);
    }
Пример #4
0
    public function action_view()
    {
        $id = $_REQUEST['id'];
        $hmanga = Model::factory('Hmanga')->find_one($id);
        $thumbnails = $hmanga->thumbnails();
        $pages = $hmanga->pages();
        HH::print_downloads($hmanga->title, $thumbnails, $pages, 'width:200px;height:300px');
        ?>
		
		<pre><?php 
        print_r($hmanga->details());
        ?>
</pre>

		<?php 
    }