<?php get_header();?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h3 class="storytitle" style="background-color:<?php echo colors($post->ID + date('d'));?>;"><a href="#" rel="bookmark"><?php the_title(); ?></a></h3>
<div class="accordion">
<div class="storycontent">
<div class="meta">by <?php the_author_posts_link(); ?> on <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_time('F j, Y'); ?></a> — <a href="<?php the_permalink(); ?>" rel="bookmark">Permlink</a> — <?php the_category(','); ?> <?php edit_post_link(__('Edit This')); ?></div>
<?php the_content(__('(more...)')); ?>
<?php wp_link_pages(); ?>
<div class="feedback">
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div>
<?php comments_template(); // Get wp-comments.php template ?>
</div>
</div>
</div>
<?php endwhile; else: ?>
<div class="nomatch">
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
</div>
<?php endif; ?>
<div id="nav"><?php posts_nav_link(' | ', __('« Previous Page'), __('Next Page »')); ?></div>
<?php get_footer(); ?>
[[include file="colourskiss/_sub_header.html" ]]
<div class="post">
<h3 class="storytitle" style="background-color:<?php echo colors($post->ID + date('d'));?>;"><a href="#" rel="bookmark">[[title]]</a></h3>
<div class="accordion">
<div class="storycontent">
<div class="meta">by [[author]] on [[date]] — [[singlepermalink text="permalink" title="Permanent link to entry '%title%'" ]] — Posted in [[ category link=true ]] — [[edit]]</div>
[[introduction]]
[[more]]
<!--<?php wp_link_pages(); ?>-->
<div class="feedback">
[[commentlink]]
</div>
<!--<?php comments_template(); // Get wp-comments.php template ?>-->
</div>
</div>
</div>
<div class="nomatch">
</div>
[[include file="colourskiss/_sub_footer.html" ]]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<script src="<?php bloginfo('template_url'); ?>/mootools83.js" type="text/javascript"></script>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="Shortcut Icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" type="image/x-icon" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<script type="text/javascript">
window.onload = function(){
var togglers = $$('h3.storytitle');
var stretchers = $$('div.accordion');
var myAccordion = new Fx.Accordion(togglers, stretchers, {opacity: false, start: false, alwaysHide: true});
<?php if (is_single() || is_page()) { ?>
myAccordion.showThisHideOpen(0)
<?php };?>
};
</script>
<?php
function colors($n) {
//by shaheeilyas.com
$colornames = array("#FF0000","#DC143C","#C71585","#FF1493","#FF69B4","#FF6347","#FF8C00","#FFA500","#FFD700","#9ACD32","#6B8E23","#008000","#006400","#2F4F4F","#008080","#20B2AA","#00CED1","#4169E1","#000080","#4B0082");
return $colornames[$n%(count($colornames))];
}
?>
<?php wp_head(); ?>
</head>
<body>
<div id="wrap">
<div id="header">
<table width="100%"><tr><td>
<h1><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1>
<p><?php bloginfo('description'); ?></p>
</td><td id="search">
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<p><input type="text" name="s" id="s" size="15" /></p>
<? /*<input type="submit" value="<?php _e('Search'); ?>" />*/?>
</form>
</td></tr></table>
</div>
<!-- end header -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<title>.:TeeBee.org:.</title>
<style type="text/css" media="screen">
@import url("[[template_dir]]stylesheet_url")
</style>
<script src="[[template_dir]]mootools83.js" type="text/javascript"></script>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="Shortcut Icon" href="[[template_dir]]favicon.ico" type="image/x-icon" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<script type="text/javascript">
window.onload = function(){
var togglers = $$('h3.storytitle');
var stretchers = $$('div.accordion');
var myAccordion = new Fx.Accordion(togglers, stretchers, {opacity: false, start: false, alwaysHide: true});
<?php if (is_single() || is_page()) { ?>
myAccordion.showThisHideOpen(0)
<?php };?>
};
</script>
[[php]]<?php
function colors($n) {
//by shaheeilyas.com
$colornames = array("#FF0000","#DC143C","#C71585","#FF1493","#FF69B4","#FF6347","#FF8C00","#FFA500","#FFD700","#9ACD32","#6B8E23","#008000","#006400","#2F4F4F","#008080","#20B2AA","#00CED1","#4169E1","#000080","#4B0082");
return $colornames[$n%(count($colornames))];
}
?>
<?php wp_head(); ?>[[/php]]
</head>
<body>
<div id="wrap">
<div id="header">
<table width="100%"><tr><td>
<h1>[[weblogtitle]]</a></h1>
<p>[[weblogsubtitle]]</p>
</td><td id="search">
[[search]]
</td></tr></table>
</div>
<!-- end header -->
<?php
function colors($n) {
//by shaheeilyas.com
$colornames = array("#FF0000","#DC143C","#C71585","#FF1493","#FF69B4","#FF6347","#FF8C00","#FFA500","#FFD700","#9ACD32","#6B8E23","#008000","#006400","#2F4F4F","#008080","#20B2AA","#00CED1","#4169E1","#000080","#4B0082");
return $colornames[$n%(count($colornames))];
}
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
TeeBee wrote:I can't PM this zip, so it is attached here, it contains the changes I have made so far.
Users browsing this forum: No registered users and 2 guests