Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php /* ATOM/digitalnature */
- // The template for the "page" post type. It acts for pages just like single.php does for posts
- // pagename.php, page-slug.php or page-id.php can override it.
- /* Template Name: Page Covers */
- //get_header();
- ?>
- <?php atom()->template('header'); ?>
- <!-- main content: primary + sidebar(s) -->
- <div id="mask-3" class="clear-block">
- <div id="mask-2">
- <div id="mask-1">
- <!-- primary content -->
- <div id="primary-content">
- <div class="blocks clear-block">
- <?php //$app->action('before_primary'); ?>
- <?php atom()->action('before_primary'); ?>
- <?php
- query_posts('showposts=60');
- if (have_posts()):
- while (have_posts()):
- the_post();
- $values = get_post_custom_values("dvd_cover");
- if (isset($values[0])) {
- //echo '<span class="location">';
- $values = get_post_custom_values("dvd_cover");
- //$titre=str_replace("'","'",get_the_title(get_the_ID()));
- $titre=addslashes(get_the_title(get_the_ID()));
- $id_film=get_the_ID();
- $tippy_id="tippy_tip1_".$id_film;
- $resume=addslashes(htmlspecialchars(get_the_excerpt()));
- $resume=str_replace("\n", '</p>', $resume);
- $html_resume=addslashes(htmlspecialchars(get_the_content()));
- //$resume=htmlentities(get_the_excerpt(),ENT_NOQUOTES);
- ?>
- <?php /*<a href="<?php the_permalink(); ?>" rel="bookmark"><img src="<?php echo $values[0]; ?>" alt="<?php echo $titre; ?>"></a> */ ?>
- <?php
- /*
- <a class="tippy_link" href="<?php the_permalink(); ?>" onmouseover="domTip_toolText('tip1', '<?php echo $resume; ?>', '<?php echo $titre; ?>', '');" onmouseout="domTip_clearTip('false')"><img src="<?php echo $values[0]; ?>" alt="<?php echo $titre; ?>" width="110"></a>
- */
- //tippy_tip1_2709
- ?>
- <?php /*
- <a id="<?php echo $tippy_id; ?>" href="<?php the_permalink(); ?>" target="_blank" class="tippy_link " title="<?php echo $titre; ?>" onmouseover="Tippy.loadTipInfo('<?php echo $resume; ?>', 0, 0, '<?php echo $tippy_id; ?>', event);" onmouseout="Tippy.fadeTippyOut();"><img src="<?php echo $values[0]; ?>" alt="<?php echo $titre; ?>" width="110"></a>
- */ ?>
- <a id="<?php echo $tippy_id; ?>" href="<?php the_permalink(); ?>" target="_blank" class="tippy_link " title="<?php echo $titre; ?>" onmouseover="Tippy.loadTip({text:'<?php echo $resume; ?>', width: 0, height: 0, id:'<?php echo $tippy_id; ?>', event: event});" onmouseout="Tippy.fadeTippyOut();"><img src="<?php echo $values[0]; ?>" alt="<?php echo $titre; ?>" width="110"></a>
- <?php
- }
- //mystique_page();
- endwhile;
- endif;
- //comments_template();
- ?>
- <?php //$app->action('after_primary'); ?>
- <?php atom()->action('after_primary'); ?>
- </div>
- </div>
- <!-- /primary content -->
- <?php //get_sidebar(); ?>
- <?php atom()->template('sidebar'); ?>
- </div>
- </div>
- </div>
- <!-- /main content -->
- <?php //get_footer(); ?>
- <?php atom()->template('footer'); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement