PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/newexitinggames.kerihosting.com/wp-content/themes/tricera/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/newexitinggames.kerihosting.com/wp-content/themes/tricera/style-two.php |
<div class="<?php if(is_user_logged_in() && defined('BP_VERSION')) { ?>contentbody<? } else { ?>contentbody_NOBP<?php } ?>"> <div class="contentbody_wrapper"> <?php if(is_user_logged_in() && defined('BP_VERSION')) { global $bp; tricera_category(); } ?> <?php if(have_posts()) { while(have_posts()) { the_post(); ?> <div class="gamepagebox"> <div class="gameshow"> <h1> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <?php the_title(); ?> </a> </h1> <div class="options_panel"> <div class="leader_gamepage"> <?php tricera_gamepageTOPAD(); ?> <?php if ( tricera_display_buttons() ) : ?> <div id="game_buttons" style="<?php if(is_user_logged_in()):?>width:193px;<?php endif;?>"> <?php if ( get_option('tricera_button_fullscreen') == 'enable' ) : ?> <?php // Display Fullscreen button ?> <a href="<?php echo get_permalink() . 'fullscreen'; ?>" class="fullscreen tooltip" title="<span><?php _e('Play Fullscreen', 'tricera'); ?></span>"><img src="<?php echo get_template_directory_uri(); ?>/images/blank.png" border="0" alt="<?php _e('Fullscreen', 'tricera'); ?>" /></a> <?php endif; ?> <?php if ( get_option('tricera_button_lights') == 'enable' ) : ?> <?php // Display Lights-Switch ?> <div class="command"> <a href="#" title="<span><?php _e('Turn lights off and on', 'tricera'); ?></span>" class="interruptor tooltip"><img src="<?php echo get_template_directory_uri(); ?>/images/blank.png" border="0" alt="<?php _e('Lights Toggle', 'tricera'); ?>" /></a> </div> <?php endif; ?> <?php if ( get_option('tricera_button_favorite') == 'enable' ) : ?> <?php if ( is_user_logged_in() ) { tricera_favorite(); } else { echo '<img class="favlogin" src="'.get_template_directory_uri().'/images/favlogin.png" alt="Login to favorite" />'; } ?> <?php endif; ?> </div> <?php endif; ?> <!-- end of options buttons --> </div> </div> </div> <div class="<?php if ( (get_option('tricera_gamepageSIDEAD_toggle') == 'enable') ) { ?>gameplayshow <?php } else { ?>gameplayshow_adoff<?php } ?>"> <div class="gamebox"> <?php get_template_part('games', 'play'); ?> </div> </div> <?php if ( (get_option('tricera_gamepageSIDEAD_toggle') == 'enable') ) { tricera_gamepage160AD(); } ?> <!-- end of leader bottom --> <div style="float:left; width:980px; margin-top: 10px;"> <?php if ( get_option('tricera_nextgames_box') == 'enable' ) { ?> <div id="post-nav" style="float:left; width:980px; height:170px;"> <?php $prevPost = get_next_post(true); if($prevPost) { $args = array( 'posts_per_page' => 1, 'include' => $prevPost->ID ); $prevPost = get_posts($args); foreach ($prevPost as $post) { setup_postdata($post); ?> <div class="previous-post_complex"> <div style="float: left; width: 120px; height: 120px; padding: 10px;"> <a href="<?php the_permalink(); ?>"><?php myabp_print_thumbnail(100, 100, 'post-gameimg'); ?></a> </div> <div class="pr-post_info_complex"> <h4>Previous Game: <a href="<?php the_permalink(); ?>" title="Play <?php the_title(); ?>"> <?php $mytitle = get_the_title(); if ( strlen($mytitle) >16 ) $mytitle = substr($mytitle,0,16).'...'; echo $mytitle; ?></a></h4> <p><?php tricera_get_excerpt(100); ?></p> <a href="<?php the_permalink(); ?>" class="button button-pink">Play</a> </div> </div> <?php wp_reset_postdata(); } //end foreach } // end if $nextPost = get_previous_post(true); if($nextPost) { $args = array( 'posts_per_page' => 1, 'include' => $nextPost->ID ); $nextPost = get_posts($args); foreach ($nextPost as $post) { setup_postdata($post); ?> <div class="next-post_complex"> <div style="float: left; width: 120px; height: 120px; padding: 10px;"> <a href="<?php the_permalink(); ?>"><?php myabp_print_thumbnail(100, 100, 'post-gameimg'); ?></a> </div> <div class="pr-post_info_complex"> <h4>Next Game: <a href="<?php the_permalink(); ?>"><?php $mytitle = get_the_title(); if ( strlen($mytitle) >16 ) $mytitle = substr($mytitle,0,16).'...'; echo $mytitle; ?></a></h4> <p><?php tricera_get_excerpt(100); ?></p> <a href="<?php the_permalink(); ?>" class="button button-pink">Play</a> </div> </div> <?php wp_reset_postdata(); } //end foreach } // end if ?> </div> <?php } ?> <div class="adblock" style="float: left;"> <?php tricera_gamepage300x1(); ?></div> <div class="random_gameinc" style="float:right; width:660px;"> <?php if ( function_exists('related_entries') ) { related_entries(); } else { $tags = wp_get_post_tags($post->ID); if ($tags) { $tag_ids = array(); foreach($tags as $individual_tag) $tag_ids[] = $individual_tag->term_id; $args=array( 'tag__in' => $tag_ids, 'post__not_in' => array($post->ID), 'showposts'=>12, // Number of related posts that will be shown. 'caller_get_posts'=>1 ); $my_query = new wp_query($args); if( $my_query->have_posts() ) { echo '<ul class="games-related custom-related">'; while ($my_query->have_posts()) { $my_query->the_post(); ?> <li> <a href="<?php the_permalink() ?>" class="tooltip" title='<span>Play <?php the_title_attribute(); ?></span><br />'> <span class="framespan"></span><?php myabp_print_thumbnail(100, 100,'ft_gameimg'); ?></a> </li> <?php } echo '</ul>'; } } $post = $backup; wp_reset_query(); } ?> </div> </div> </div> <div id="turnoff"></div> <div class="normal_box"> <div class="norm_left" style="margin:0 auto; float:none;" id="tabs"> <div class="tabcontent" id="tab-1"> <div class="gamedesc_info"> <h2><?php // Display Description of game $tricera_desc = get_post_meta($post->ID, 'mabp_description', true); if($tricera_desc) { echo $tricera_desc; } // Display game how to or walkthrough //$tricera_instructions = get_post_meta($post->ID, 'mabp_instructions', true); //if($tricera_instructions) { echo "<br /><br />Instructions:<br />".$tricera_instructions; } ?></h2> </div> <div class="gameinfo_functions"> <?php if (function_exists('the_views')) { ?> <p class="gamemiscstats"><span style="color: #ffffff; font-weight:bold; font: 12px arial;"><?php the_views(); ?></span> <?php } ?> <p class="gpcats"><span style="color: #ffffff; font-weight:bold; font: 14px arial;"><?php _e("Game Categories", "tricera"); ?></span><br /> <span class="catbtn cat-orange"><?php the_category('</span><span class="catbtn cat-orange"> '); ?></span> </p> <div class="gptags"><span style="color: #ffffff; font-weight:bold; font: 14px arial;">Game tags</span><br /><?php the_tags('<span class="tagbtn tag-blue">','</span><span class="tagbtn tag-blue">','</span>'); ?></div> </div> <?php if ( (get_option('tricera_dispay_screens') == 'enable') && myabp_count_screenshots() ) { ?> <h3 class="screenshot_title"><?php the_title(''); ?> <?php _e('Screen Shots', 'tricera'); ?></h3> <div class="screenshot_box"> <?php myabp_print_screenshot_all(130, 130, 'screen_thumb'); ?> </div> <?php } ?> <?php if(function_exists('selfserv_shareaholic')) { ?> <div style="float:left; width:600px; padding-bottom:30px;"> <?php selfserv_shareaholic(); ?> </div> <?php } ?> <div class="admin_actions"><?php // Display some manage links if logged in user is an admin tricera_admin_links(); ?></div><br /> <?php if ( (get_option('tricera_rich_snippet') == 'enable') ) { ?> <div style="float:left; text-indent: -9999px;"><?php tricera_rich_snippet(); ?></div> <?php } ?> <?php // Show the game share box if ( (get_option('tricera_share_box') == 'enable') && (get_post_meta($post->ID, "mabp_game_type", true) != 'embed') ) { ?> <div class="emdbedcodebox"> <h2><?php _e("Do You Like This Game?", "tricera"); ?></h2> <p><?php _e("Embed this game on your MySpace or on your Website:", "tricera"); ?></p> <form name="select_all"><textarea name="text_area" onClick="javascript:this.form.text_area.focus();this.form.text_area.select();"><a href="<?php echo home_url();?>"><?php bloginfo('name'); ?></a><br /><?php echo get_game($post->ID); ?></textarea> </form> </div> <?php } ?> <?php if ( get_option('tricera_gamepageBOTTOMAD_toggle') == 'enable' ) { tricera_gamepageBOTTOMAD2(); } ?> </div> </div> </div> <?php if (comments_open()){ ?> <div class="normal_box"> <div class="norm_left" id="tabs"> <div class="tabcontent" id="tab-1"> <div class="allcomments"> <?php comments_template(); ?> </div> </div> </div> </div> <?php } ?> <?php } // end while } else { ?> <div class="ft_gameshowcase"> <div id="content_tricera"> <p><?php _e("I'm Sorry, you are looking for something that is not here. Try a different search.", "tricera"); ?></p> </div> </div> <?php } ?> </div> </div>