buyforless
08-13-2005, 06:28 AM
<?php
/*
* This is the main template. It displays the blog.
*
* However this file is not meant to be called directly.
* It is meant to be called automagically by b2evolution.
* To display a blog, you should call a stub file instead, for example:
* /blogs/index.php or /blogs/blog_b.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" xml:lang="<?php locale_lang() ?>" lang="<?php locale_lang() ?>">
<head>
<base href="<?php skinbase(); // Base URL for this skin. You need this to fix relative links! ?>" />
<meta name="description" content="<?php $Blog->disp( 'shortdesc', 'htmlattr' ); ?>" />
<title>BuyForLess.com Bargains - Bargains, coupons and rebates for the deal shopper</title>
<meta name="allow-search" content="yes">
<meta name="Robots" content="index, follow, all">
<meta name="revisit-after" content="2 days">
<meta name="distribution" content="global">
<meta name="object" content="Index, Homepage, SearchEngine">
<meta name="classification" content="shopping, business and economy, shopping and services, shop, books, movies, music, toys, games, videos, dvd, electronics, credit cards, magazines, bargains, deals, coupons, contests">
<meta name="description" content="Buy for less shoppers search the Internet for money saving bargins. Shop for books, games, movies, music, electonics, clothing, toys, more. Online shopping stores, bargains, coupons, contests, price comparisons.">
<meta name="keywords" content="Buy for less, Buy for less bargains, shopping, book, game, movie, music, toy, video, dvd, electronic, credit card, magazine, jewelry, computer, bargain, deal, coupon, contest, video game, computer game, apparel, clothing, beauty, shop, gift, ecard, email, books, games, movies, mp3, toys, videos, dvds, electronics, credit cards, magazines, bargains, computers, art and craft, art, children, food, health, vhs, travel, sports, coupons, home and garden, garden, gifts, ecards, email, directory">
<meta name="abstract" content="shopping, froogle, books, games, movies, mp3, toys, videos, dvds, electronics, credit cards, magazines, bargains, computers, coupons, gifts, shop, book, game, movie, music, toy, video, dvd, electronic, credit card, magazine, jewelry, computer, bargain, deal, coupon, contest, video game, computer game, apparel, clothing, beauty, gift, ecard, email, art and craft, art, children, food, health, vhs, travel, sports, home and garden">
<meta http-equiv="Content-Language" content="EN-US">
<meta name="author" content="Buy for less">
<meta name="distribution" content="Global">
<meta name="copyright" content="©2000-2005 The Innewvation Company, Cincinnati, Ohio">
<link rel="alternate" type="text/xml" title="RSS 2.0" href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/BurnThisRSS2" />
<link rel="pingback" href="<?php $Blog->disp( 'pingback_url', 'raw' ) ?>" />
<link href="blog.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="basic.css" type="text/css" />
<link rel="stylesheet" href="fpnav.css" type="text/css" />
</head>
<body>
<div class="pageHeader">
<div class="pageHeaderContent">
<?php // --------------------------- BLOG LIST INCLUDED HERE -----------------------------
require( dirname(__FILE__).'/_bloglist.php' );
// ---------------------------------- END OF BLOG LIST --------------------------------- ?>
<div class="NavBar">
<div id="Logo"></div>
<div class="pageTitle">
<h1 id="pageTitle"><?php $Blog->disp( 'name', 'htmlbody' ) ?></h1>
</div>
</div>
<div class="pageHeaderEnd"></div>
</div>
</div>
<div class="bSmallPrint">
<?php echo T_('BuyForLess.com is a free shopping news service dedicated to helping you save money. We are not a store. We are not selling any products or services. We accept no advertising. We are here to help you buy for less by finding the latest hidden bargains, deals, coupons, rebates and sales of top online stores. Hundreds of money saving offers are listed with new bargains added throughout the day - just about every day. We also post informative consumer news, timely product recalls and helpful money saving advice. Please bookmark this web site and tell your friends about BuyForLess.com. Thank you!') ?>
</div>
<div class="pageSubTitle"><?php $Blog->disp( 'tagline', 'htmlbody' ) ?></div>
<div class="main">
<div class="bPosts">
<h2><?php
single_cat_title();
single_month_title();
single_post_title();
arcdir_title();
last_comments_title();
stats_title();
profile_title();
?></h2>
<?php // ------------------------------------ START OF POSTS ----------------------------------------
if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post
if( isset($MainList) ) while( $Item = $MainList->get_item() )
{
$MainList->date_if_changed();
?>
<div class="bPost" lang="<?php $Item->lang() ?>">
<?php
$Item->anchor(); // Anchor for permalinks to refer to
locale_temp_switch( $Item->locale ); // Temporarily switch to post locale
?>
<h3 class="bSmallPrint"><?php $Item->title(); ?></h3>
<div class="bSmallPrint">
<?php $Item->content(); ?>
<?php link_pages() ?>
</div>
</div>
<?php } // ---------------------------------- END OF POSTS ------------------------------------ ?>
<p class="center"><?php posts_nav_link(); ?></p>
<?php // ---------------- START OF INCLUDES FOR LAST COMMENTS, STATS ETC. ----------------
switch( $disp )
{
case 'comments':
// this includes the last comments if requested:
require( dirname(__FILE__).'/_lastcomments.php' );
break;
case 'stats':
// this includes the statistics if requested:
require( dirname(__FILE__).'/_stats.php');
break;
case 'arcdir':
// this includes the archive directory if requested
require( dirname(__FILE__).'/_arcdir.php');
break;
case 'profile':
// this includes the profile form if requested
require( dirname(__FILE__).'/_profile.php');
break;
}
// ------------------- END OF INCLUDES FOR LAST COMMENTS, STATS ETC. ------------------- ?>
</div>
<div class="bSideBar">
<div class="bSideItem">
<h3 class="sideItemTitle"><?php echo T_('Search Money Saving Deals by Bargain, Store, Keyword:') ?></h3>
<form name="SearchForm" method="get" class="search" action="<?php $Blog->disp( 'blogurl', 'raw' ) ?>">
<input type="text" name="s" size="30" value="<?php echo htmlspecialchars($s) ?>" class="SearchField" />
<input type="radio" name="sentence" value="AND" id="sentAND" <?php if( $sentence=='AND' ) echo 'checked="checked" ' ?>/><label for="sentAND"><?php echo T_('All Words') ?></label>
<input type="radio" name="sentence" value="OR" id="sentOR" <?php if( $sentence=='OR' ) echo 'checked="checked" ' ?>/><label for="sentOR"><?php echo T_('Some Word') ?></label>
<input type="radio" name="sentence" value="sentence" id="sentence" <?php if( $sentence=='sentence' ) echo 'checked="checked" ' ?>/><label for="sentence"><?php echo T_('Entire phrase') ?></label>
<input type="submit" name="submit" value="<?php echo T_('Search') ?>" />
</form>
<?php $Blog->disp( 'longdesc', 'htmlbody' ); ?></p>
<p class="center"><?php posts_nav_link(); ?></p>
</div>
<div class="bSideItem">
<h3><?php echo T_('Browse Categories') ?></h3>
<form action="<?php $Blog->disp( 'blogurl', 'raw' ) ?>" method="get">
<?php // -------------------------- CATEGORIES INCLUDED HERE -----------------------------
require( dirname(__FILE__).'/_categories.php' );
// -------------------------------- END OF CATEGORIES ---------------------------------- ?>
<input type="submit" value="<?php echo T_('Get selection') ?>" />
</form>
</div>
<div class="bSideItem">
<?php // -------------------------- CALENDAR INCLUDED HERE -----------------------------
require( dirname(__FILE__).'/_calendar.php' );
// -------------------------------- END OF CALENDAR ---------------------------------- ?>
</div>
<div class="bSideItem">
<h3><?php echo T_('Bargains By Month') ?></h3>
<ul>
<?php // -------------------------- ARCHIVES INCLUDED HERE -----------------------------
require( dirname(__FILE__).'/_archives.php' );
// -------------------------------- END OF ARCHIVES ---------------------------------- ?>
<?php echo T_('more...') ?> (<?php $Blog->disp( 'arcdirurl', 'raw' ) ?>)
[/list]
</div>
<div class="bSideItem">
<tr>
<td>
<div align="center">
<style>
.searchBox {
border : 1px solid #000000;
background-color : #FFFFFF;
color : #000000;
font-size : 10px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
.searchButton {
border : 1px solid #000000;
font-size : 10px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
</style>
</div>
<form action='http://www.buyforless.com/SearchResults.html' style='margin 0px 0px 0px 0px'>
<h3><?php echo T_('Search The Internet') ?></h3>
<div align="center">
<table border=0 cellpadding=0 cellspacing=0 rules="none">
<tr>
<td>
<input type='text' name='keyword' size='20' class='searchBox'>
</td>
<td> </td>
<td>
<input type='Submit' name='Search The Internet' value='Search' class='searchButton'>
</td>
</tr>
</table>
</div>
</form>
<div align="center">
</div>
</td>
</div>
<div class="bSideItem">
<h3><?php echo T_('Free Membership Info') ?></h3>
<ul>
<?php
// Administrative links:
user_register_link( ' ', '' );
user_login_link( ' ', '' );
user_profile_link( ' ', '' );
user_logout_link( ' ', '' );
user_admin_link( ' ', '' );
?>
[/list]
</div>
<div class="bSideItem">
<h3><?php echo T_('Change Page Layout') ?></h3>
<ul>
<?php // ---------- START OF SKIN LIST ----------
for( skin_list_start(); skin_list_next(); ) { ?>
<?php skin_list_iteminfo( 'name', 'htmlbody' ) ?> (<?php skin_change_url() ?>)
<?php } // ---------- END OF SKIN LIST ---------- ?>
[/list]
</div>
<div class="bSideItem">
<h3><?php echo T_('Subscribe To BuyForLess') ?></h3>
<ul>
RSS 2.0:
<?php echo T_('Posts') ?> (<?php $Blog->disp( 'rss2_url', 'raw' ) ?>)
Content visible to registered users only. (http://my.msn.com/addtomymsn.armx?id=rss&ut=http://feeds.feedburner.com/BuyForless&tt=CENTRALDIRECTORY&ru=http://rss.msn.com')
Content visible to registered users only. (http://add.my.yahoo.com/rss?url=http://feeds.feedburner.com/BuyForless)
Content visible to registered users only. (http://b2evolution.net/)
[/list]
</div>
</div>
</div>
<p class="baseline">
</p>
</body>
</html>
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.