Skip to content
Snippets Groups Projects
Commit 1d048e26 authored by agata's avatar agata
Browse files

rimosso tema connections-reloaded

parent f20d8389
Branches
Tags
No related merge requests found
Showing
with 0 additions and 682 deletions
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<?php get_header()?>
<div id="main">
<div id="content">
<h2 class="center"><?php _e('Error 404 - Not Found') ?></h2>
<p><?php _e('The page you are looking for cannot be found on this site. You can use the search box to the left to find the page or go to the ') ?><a href="<?php bloginfo('url'); ?>"><?php _e('home page') ?></a>.</p>
</div>
<div id="sidebar">
<?php get_sidebar(); ?>
</div>
<?php get_footer();?>
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input,hr
{
margin:0;
padding:0;
}
pre,code,address,caption,cite,code,em,strong,th
{
font-size:1em;
font-weight:400;
font-style:normal;
}
fieldset,img,hr
{
border:none;
}
caption,th
{
text-align:left;
}
table
{
border-collapse:collapse;
border-spacing:0;
}
td
{
vertical-align:top;
}
input
{
padding:3px 5px;
}
.description
{
font-family:Arial, sans-serif;
font-size:10px;
color:#444;
display:block;
padding:2px 0;
}
.textarea,.text,.checkbox
{
background:#eee;
border-bottom:1px solid #ddd;
margin:0 0 5px;
padding:0 0 5px;
}
.textarea textarea
{
height:150px;
overflow:scroll;
margin-bottom:10px;
}
.cb
{
float:left;
margin:8px 10px;
}
span.title,.title
{
font-family:Arial, sans-serif;
font-size:12px;
font-weight:700;
color:#444;
display:block;
padding:5px 0;
}
#header-wrap
{
width:940px;
}
#options-div
{
width:570px;
overflow:hidden;
display:block;
float:left;
margin:0;
padding:10px;
}
#side
{
width:300px;
min-height:440px;
margin-left:610px;
padding:10px;
}
#side .side-widget
{
background:#FFF;
border:solid 1px #DDD;
margin-bottom:10px;
border-width:0 1px 1px;
}
.side-widget span.title
{
background: #E6EADB;
border: #E1D6C6 1px solid;
border-bottom: #F3F6ED 0px solid;
color: #676E04;
font-size: 1em;
font-weight: bold;
height: 22px;
padding: 2px;
text-align: center;
}
.side-widget p
{
padding:10px;
}
.side-widget ul
{
margin:10px 5px 5px;
}
.side-widget ul li
{
list-style:square;
padding-bottom:3px;
margin-left:20px;
}
.side-widget span.rss-date
{
color:#999;
font:normal normal 10px/12px Georgia, "Times New Roman", Times, serif;
}
.open
{
background:#eee;
border:solid #ddd;
overflow:hidden;
display:block;
border-width:0 1px;
margin:0;
padding:10px;
}
.open input.width
{
width:400px;
}
.misc
{
background:#fffde2;
border:1px solid #ddd;
overflow:hidden;
display:block;
margin:0 0 30px;
padding:20px;
}
input.save
{
border: green 2px solid;
font-weight:bold;
font-size:1.2em;
margin: 0;
}
input.reset
{
border: red 2px solid;
font-weight:bold;
font-size:1.2em;
margin:-20px 0 0 0;
}
div.clear
{
clear:both;
}
#donate-form
{
background:#c9defa;
padding:10px;
text-align: center;
}
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<?php get_header()?>
<div id="main">
<div id="content">
<!--- middle (posts) column content begin -->
<?php if (have_posts()) { ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<h2><?php _e('Archive for the '); echo single_cat_title(); _e(' Category'); ?></h2>
<div class="post-info"><?php _e('Category Archive'); ?></div>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h2><?php _e('Archive for '); the_time('F jS, Y'); ?></h2>
<div class="post-info"><?php _e('Daily Archive'); ?></div>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h2><?php _e('Archive for '); the_time('F, Y'); ?></h2>
<div class="post-info"><?php _e('Monthly Archive'); ?></div>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h2><?php _e('Archive for '); the_time('Y'); ?></h2>
<div class="post-info"><?php _e('Yearly Archive'); ?></div>
<?php /* If this is a search */ } elseif (is_search()) { ?>
<h2><?php _e('Search Results'); ?></h2>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h2><?php _e('Author Archive'); ?></h2>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h2><?php _e('Blog Archives'); ?></h2>
<?php } ?>
<div class="left"><?php posts_nav_link('','','&laquo; Previous Entries') ?></div>
<div class="right"><?php posts_nav_link('','Next Entries &raquo;','') ?></div>
<div class="clear"></div>
<?php while (have_posts()) { the_post(); ?>
<div class="post">
<?php require('post.php'); ?>
<?php comments_template(); // Get wp-comments.php template ?>
</div>
<?php } } else { ?>
<h2 class="center">Not Found</h2>
<p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>
<?php } ?>
<!--- middle (main content) column content end -->
</div>
<div id="sidebar">
<?php get_sidebar(); ?>
</div>
<?php get_footer();?>
<?php
/*
Template Name: Archives
*/
?>
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<?php get_header()?>
<div id="main">
<div id="content">
<!--- middle (posts) column content begin -->
<?php if (have_posts()) { while (have_posts()) { the_post(); ?>
<div class="page">
<div class="page-info"><h2 class="page-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link: '); the_title(); ?>"><?php the_title(); ?></a></h2>
<?php /*Posted by <?php the_author(); ?>*/ ?><?php edit_post_link('(edit this)'); ?>
</div>
<div class="page-content">
<h2><?php _e('Archives by Month:'); ?></h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
<h2><?php _e('Archives by Subject:'); ?></h2>
<ul>
<?php wp_list_cats(); ?>
</ul>
</div>
</div>
<?php } } ?>
<!--- middle (main content) column content end -->
</div>
<div id="sidebar">
<?php get_sidebar(); ?>
</div>
<?php get_footer();?>
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<?php get_header();?>
<div id="main">
<div id="content">
<?php if (have_posts()) { ?>
<h3><?php echo single_cat_title(); ?></h3>
<div class="post-info"><?php _e('Archived Posts from this Category'); ?></div>
<br />
<?php while (have_posts()) { the_post(); ?>
<div class="post">
<?php require('post.php'); ?>
<?php comments_template(); // Get wp-comments.php template ?>
</div>
<?php } ?>
<p class="center"><?php posts_nav_link() ?></p>
<?php } else { ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php } ?>
</div>
<div id="sidebar">
<?php get_sidebar(); ?>
</div>
<?php get_footer()?>
<?php
// 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() ) { ?>
<p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.'); ?></p>
<?php
return;
}
?>
<!-- You can start editing here. -->
<div class="boxcomments">
<h2 id="comments">
<?php comments_number('No Responses', 'One Response', '% Responses' );?>
<?php _e('to'); ?> &#8220; <?php the_title(); ?> &#8221;
</h2>
<?php
if (have_comments()) { ?>
<ol class="commentlist">
<?php wp_list_comments(array('avatar_size'=>40, 'type'=>'comment')); ?>
</ol>
<h3 id="pings"><?php _e('Trackbacks &amp; Pingbacks:') ?></h3>
<ol class="tblist">
<?php wp_list_comments('type=pings'); ?>
</ol>
<div class="navigation">
<div class="alignleft"><?php previous_comments_link() ?></div>
<div class="alignright"><?php next_comments_link() ?></div>
</div>
<?php } else { // this is displayed if there are no comments so far
if ('open' == $post->comment_status) { ?>
<!-- If comments are open, but there are no comments. -->
<!-- I don't see the point of this bit but have left it here just incase! -->
<?php } else { // comments are closed ?>
<!-- If comments are closed. -->
<p id="comments-closed"><?php _e('Sorry, comments for this entry are closed at this time.') ?></p>
<?php }
}
?>
<?php if ('open' == $post->comment_status) { ?>
<div id="respond">
<?php if (get_option('comment_registration') && !$user_ID ) { ?>
<p id="comments-blocked"><?php _e('You must be') ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=
<?php echo urlencode(get_permalink()); ?>"><?php _e('logged in') ?></a> <?php _e('to post a comment.') ?></p>
<?php } else { ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<fieldset><legend><?php comment_form_title( 'Leave a Comment', 'Leave a Reply to %s' ); ?></legend>
<p><?php cancel_comment_reply_link() ?></p>
<?php if ($user_ID) { ?>
<p><?php _e('You are logged in as') ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php">
<?php echo $user_identity; ?></a>. <?php _e('To logout') ?>, <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account') ?>"><?php _e('click here') ?></a>.
</p>
<?php } else { ?>
<p><label for="author"><?php _e('Name'); if ($req) _e(' (required)'); ?></label>
<input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" /></p>
<p><label for="email"><?php _e('Mail (will not be published)'); if ($req) _e(' (required)'); ?></label>
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" /></p>
<p><label for="url"><?php _e('Website'); ?></label>
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" /></p>
<?php } ?>
<p><label for="comment"><?php _e('Your Comment'); ?></label>
<textarea name="comment" id="comment" cols="5" rows="10"></textarea></p>
<p><input name="submit" type="submit" id="submit" value="<?php _e('Submit Comment'); ?>" />
<?php comment_id_fields(); ?>
</p>
</fieldset>
<div><?php do_action('comment_form', $post->ID); ?></div>
</form>
</div><!-- end #respond -->
<?php
} // If registration required and not logged in
}
?>
</div><!-- end boxcomments -->
\ No newline at end of file
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<div id="footer">
<p><small>
<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a>
<?php _e('is powered by') ?>
<a href="http://wordpress.org" title="Powered by WordPress <?php bloginfo('version'); ?>, state-of-the-art semantic personal publishing platform">WordPress <?php bloginfo('version'); ?></a>
<?php
_e(' and delivered to you in ');
timer_stop(1);
_e(' seconds using ');
echo $wpdb->num_queries;
_e(' queries.');
?>
<br />
Theme: <a href="http://ajaydsouza.com/wordpress/wpthemes/connections-reloaded/" title="Powered by Connections Reloaded">Connections Reloaded</a> <?php _e(' by ') ?> <a href="http://ajaydsouza.com" title="Visit Ajay's Blog">Ajay D'Souza</a>. <?php _e('Derived from ') ?> <a href="http://vanillamist.com/blog/" title="Connections Theme">Connections</a>.
</small></p>
<?php echo $conrel_footer_stuff; ?>
<?php wp_footer(); ?>
</div> <!-- End id="footer" -->
</div> <!-- End id="main" -->
</div> <!-- End id="rap" -->
</body>
</html>
<?php
$themecolors = array(
'bg' => 'F3F6ED',
'text' => '29303B',
'link' => '909D73',
);
// Custom Header
define('HEADER_TEXTCOLOR', 'B5C09D');
define('HEADER_IMAGE', '%s/img/train.jpg'); // %s is theme dir uri
define('HEADER_IMAGE_WIDTH', 741);
define('HEADER_IMAGE_HEIGHT', 142);
//define( 'NO_HEADER_TEXT', true );
function header_style() {
?>
<style type="text/css">
#headimg{
background:#fff url(<?php header_image() ?>) no-repeat bottom;
}
<?php if ( 'blank' == get_header_textcolor() ) { ?>
#headimg h1, #headimg #desc {
display: none;
}
<?php } else { ?>
#headimg h1 a, #desc {
color:#<?php header_textcolor() ?>;
}
<?php } ?>
</style>
<?php
}
function crev_admin_header_style() {
?>
<style type="text/css">
#headimg{
background:#fff url(<?php header_image() ?>) no-repeat bottom;
height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
width:<?php echo HEADER_IMAGE_WIDTH; ?>px;
padding:0;
}
#headimg h1{
margin: 0;
font-size: 1.6em;
padding:10px 20px 0 0;
text-align:right;
}
#headimg h1 a{
color:#<?php header_textcolor() ?>;
text-decoration:none;
}
#headimg #desc{
color:#<?php header_textcolor() ?>;
font-weight:normal;
font-style:italic;
font-size:1em;
text-align:right;
margin:0;
padding:0 20px 0 0;
}
<?php if ( 'blank' == get_header_textcolor() ) { ?>
#headimg h1, #headimg #desc {
display: none;
text-decoration:none;
}
#headimg h1 a, #headimg #desc {
color:#<?php echo HEADER_TEXTCOLOR ?>;
}
<?php } ?>
</style>
<?php
}
add_custom_image_header('header_style', 'crev_admin_header_style');
// Enable WordPress 2.9 Post Thumbnails feature
if ( function_exists( 'add_theme_support' ) ) {
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 150, 150 );
}
// Connections reloaded theme options page
require_once("theme-options.php");
?>
<?php
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li></ul></li>',
'before_title' => '<h2>',
'after_title' => '</h2><ul><li>',
));
function widget_conrel_search() {
?>
<li id="search">
<h2><label for="s"><?php _e('Search:'); ?></label></h2>
<ul>
<li>
<form id="searchform" method="get" action="<?php echo esc_url( $_SERVER['PHP_SELF'] ); ?>">
<div style="text-align:center">
<p><input type="text" name="s" id="s" size="15" /></p>
<p><input type="submit" name="submit" value="<?php _e('Search'); ?>" /></p>
</div>
</form>
</li>
</ul>
</li>
<?php
}
function widget_conrel_calendar() {
?>
<li id="calendar">
<?php get_calendar(); ?>
</li>
<?php
}
function widget_conrel_tags() {
$options = get_option('widget_conrel_tags');
?>
<li id="tags">
<h2><?php echo $options['title'] ?></h2>
<?php wp_tag_cloud('smallest=8&largest=22&format=list'); ?>
</li>
<?php
}
function widget_conrel_tags_control() {
$options = $newoptions = get_option('widget_conrel_tags');
if ( $_POST["conrel-tags-submit"] ) {
$newoptions['title'] = strip_tags(stripslashes($_POST["conrel-tags-title"]));
if ( empty($newoptions['title']) ) $newoptions['title'] = 'Popular Tags';
}
if ( $options != $newoptions ) {
$options = $newoptions;
update_option('widget_conrel_tags', $options);
}
$title = htmlspecialchars($options['title'], ENT_QUOTES);
?>
<p><label for="conrel-tags-title"><?php _e('Title:'); ?> <input style="width: 250px;" id="conrel-tags-title" name="conrel-tags-title" type="text" value="<?php echo $title; ?>" /></label></p>
<input type="hidden" id="conrel-tags-submit" name="conrel-tags-submit" value="1" />
<?php
}
if ( function_exists('register_sidebar_widget') )
{
register_sidebar_widget(__('Search'), 'widget_conrel_search');
register_sidebar_widget(__('Calendar'), 'widget_conrel_calendar');
register_sidebar_widget(__('Tag Cloud'), 'widget_conrel_tags');
register_widget_control(__('Tag Cloud'), 'widget_conrel_tags_control', null, 175);
}
/* Add Comment support for version prior to WordPress 2.7 */
add_filter('comments_template', 'legacy_comments');
function legacy_comments($file) {
if(!function_exists('wp_list_comments')) $file = TEMPLATEPATH . '/legacy.comments.php';
return $file;
}
?>
\ No newline at end of file
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<!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/1">
<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
<meta name="author" content="Ajay D'Souza" />
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<link rel="icon" <?php if ($conrel_favicon!='') { ?>href="<?php echo $conrel_favicon; ?>"<?php } else { ?>href="<?php bloginfo('url')?>/favicon.ico"<?php } ?> type="image/x-icon" />
<link rel="SHORTCUT ICON" <?php if ($conrel_favicon!='') { ?>href="<?php echo $conrel_favicon; ?>"<?php } else { ?>href="<?php bloginfo('url')?>/favicon.ico"<?php } ?> type="image/x-icon" />
<?php if ($conrel_feed!='') { ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> Feed" href="<?php echo $conrel_feed; ?>" />
<link rel="alternate" type="application/x-opera-widgets" title="<?php bloginfo('name'); ?> Feed" href="http://widgets.opera.com/widgetize/Feed%20Reader/Advanced/?serve&amp;skin=skin7&amp;widgetname=<?php rawurlencode(bloginfo('name')); ?>&amp;url=<?php echo $conrel_feed; ?>&amp;rel=myopera&amp;ref=" />
<?php } else { ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/x-opera-widgets" title="<?php bloginfo('name'); ?> Feed" href="http://widgets.opera.com/widgetize/Feed%20Reader/Advanced/?serve&amp;skin=skin7&amp;widgetname=<?php rawurlencode(bloginfo('name')); ?>&amp;url=<?php rawurlencode(bloginfo('rss2_url')); ?>&amp;rel=myopera&amp;ref=" />
<?php } ?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php echo $conrel_header_stuff; ?>
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
</head>
<body>
<div id="rap">
<div id="header">
<ul id="topnav">
<li <?php if(is_home()){echo 'class="current_page_item"';}?>><a href="<?php bloginfo('siteurl'); ?>" title="<?php _e('Home'); ?>"><?php _e('Home'); ?></a></li>
<?php if($conrel_header_menu) { wp_list_pages('title_li=&depth=1&include='.$conrel_header_menu); } else { wp_list_pages('title_li=&depth=1&number=5'); } ?>
</ul>
<div id="headimg">
<h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
<div id="desc"><?php bloginfo('description');?></div>
</div>
</div>
wp-content/themes/connections-reloaded/img/FurlIt.png

583 B

wp-content/themes/connections-reloaded/img/add-rss2.0.png

273 B

wp-content/themes/connections-reloaded/img/add-to-google-plus.gif

701 B

wp-content/themes/connections-reloaded/img/addtomyfeedster.gif

473 B

wp-content/themes/connections-reloaded/img/blockquote.gif

350 B

wp-content/themes/connections-reloaded/img/bullet.gif

72 B

wp-content/themes/connections-reloaded/img/button_atom.gif

203 B

wp-content/themes/connections-reloaded/img/button_css.gif

411 B

wp-content/themes/connections-reloaded/img/button_rss.gif

989 B

wp-content/themes/connections-reloaded/img/button_xhtml.gif

346 B

wp-content/themes/connections-reloaded/img/comments-rss.png

305 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment