comicpress-core/single.php

29 lines
762 B
PHP
Raw Normal View History

2009-11-08 03:00:14 +00:00
<?php
2009-11-08 03:42:09 +00:00
$storyline = new ComicPressStoryline();
$storyline->read_from_options();
2009-11-08 03:00:14 +00:00
the_title(); echo '<br />';
2009-06-13 11:58:02 +00:00
2009-11-08 03:00:14 +00:00
Protect();
2009-07-12 23:31:47 +00:00
2009-11-08 03:00:14 +00:00
RT('first', 'from_post'); the_title(); echo '<br />';
RT('previous', 'from_post'); the_title(); echo '<br />';
2009-11-08 03:42:09 +00:00
RT('previous', array('root_of' => '__post')); the_title(); echo '<br />';
RT('previous'); the_title(); echo '<br />';
2009-11-08 03:00:14 +00:00
Restore(); the_title(); echo '<br />';
2009-11-09 03:11:26 +00:00
foreach (M() as $image) {
echo $image->embed();
}
2009-11-08 03:42:09 +00:00
RT('next'); the_title(); echo '<br />';
RT('next', array('root_of' => '__post')); the_title(); echo '<br />';
2009-11-08 03:00:14 +00:00
RT('next', 'from_post'); the_title(); echo '<br />';
RT('last', 'from_post'); the_title(); echo '<br />';
2009-11-08 03:00:14 +00:00
Unprotect();
2009-07-29 02:38:20 +00:00
2009-11-08 03:00:14 +00:00
the_title(); echo '<br />';
2009-07-12 23:31:47 +00:00
2009-11-08 03:00:14 +00:00
finish_comicpress();
?>