Commits

Alexandr Merekin  committed 151d646

new template

  • Participants
  • Parent commits 36a6101

Comments (0)

Files changed (55)

+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>djblog</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.python.pydev.PyDevBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.python.pydev.django.djangoNature</nature>
+		<nature>org.python.pydev.pythonNature</nature>
+	</natures>
+</projectDescription>

File .pydevproject

+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?eclipse-pydev version="1.0"?>
+
+<pydev_project>
+<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">python</pydev_property>
+<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.6</pydev_property>
+<pydev_variables_property name="org.python.pydev.PROJECT_VARIABLE_SUBSTITUTION">
+<key>DJANGO_MANAGE_LOCATION</key>
+<value>djtest/manage.py</value>
+</pydev_variables_property>
+</pydev_project>

File .settings/org.eclipse.core.resources.prefs

+#Mon Dec 06 13:50:42 MSK 2010
+eclipse.preferences.version=1
+encoding//djtest/accounts/custom_form.py=utf-8
+encoding//djtest/blog/ajax.py=utf-8

File djtest/__init__.pyc

Binary file added.

File djtest/accounts/__init__.pyc

Binary file added.

File djtest/accounts/custom_form.pyc

Binary file added.

File djtest/accounts/urls.pyc

Binary file added.

File djtest/accounts/views.pyc

Binary file added.

File djtest/blog/__init__.pyc

Binary file added.

File djtest/blog/admin.pyc

Binary file added.

File djtest/blog/ajax.pyc

Binary file added.

File djtest/blog/models.pyc

Binary file added.

File djtest/blog/urls.pyc

Binary file added.

File djtest/blog/views.pyc

Binary file added.

File djtest/media/css/default.css

+/*
+Design by Free CSS Templates
+http://www.freecsstemplates.org
+Released for free under a Creative Commons Attribution 2.5 License
+*/
+
+body {
+	margin-top: 10px;
+	padding: 0;
+	background: #787878 url(/media/images/img01.jpg) repeat left top;
+	text-align: justify;
+	font-family: Georgia, "Times New Roman", Times, serif;
+	font-size: 12px;
+	color: #616161;
+}
+
+h1, h2, h3 {
+	margin-top: 0;
+	text-transform: uppercase;
+	color: #528DC8;
+}
+
+h1 {
+	font-size: 1.6em;
+	font-weight: normal;
+}
+
+h2 {
+	font-size: 1.6em;
+}
+
+h3 {
+	font-size: 1em;
+}
+
+ul {
+}
+
+a {
+	text-decoration: none;
+	color: #528DC8;
+}
+
+a:hover {
+	border-bottom: none;
+}
+
+a img {
+	border: none;
+}
+
+img.left {
+	float: left;
+	margin: 0 20px 0 0;
+}
+
+img.right {
+	float: right;
+	margin: 0 0 0 20px;
+}
+
+#header {
+	width: 960px;
+	margin: 0 auto;
+	height: 150px;
+}
+
+/* Header */
+
+#logo {
+	width: 960px;
+	height: 100px;
+	margin: 0 auto;
+	padding: 0;
+}
+
+#logo h1, #logo p {
+	float: left;
+	margin: 0;
+	color: #528DC8;
+}
+
+#logo span {
+	color: #000000;
+}
+
+#logo h1 {
+	padding: 25px 0 0 0;
+	letter-spacing: -1px;
+	text-transform: lowercase;
+	font-weight: normal;
+	font-size: 3em;
+}
+
+#logo p {
+	text-transform: uppercase;
+	padding: 47px 0 0 3px;
+	font-size: 10px;
+	color: #110E0F;
+}
+
+#logo a {
+	border: none;
+	text-decoration: none;
+	color: #528DC8;
+}
+
+/* Menu */
+
+#menu {
+	width: 960px;
+	margin: 0px auto;
+	padding: 0px;
+	height: 52px;
+	background: url(/media/images/img02.jpg) no-repeat left top;
+}
+
+#menu ul {
+	margin: 0px;
+	padding: 0px;
+	list-style: none;
+}
+
+#menu li {
+	display: inline;
+}
+
+#menu a {
+	display: block;
+	float: left;
+	height: 33px;
+	margin: 0px;
+	padding: 19px 30px 0px 30px;
+	text-decoration: none;
+	text-transform: capitalize;
+	background: url(/media/images/img03.jpg) no-repeat right 50%;
+	font-family: Georgia, "Times New Roman", Times, serif;
+	font-size: 12px;
+	color: #FFFFFF;
+}
+
+#menu a:hover {
+	color: #FFFFFF;
+}
+
+#menu .current_page_item a {
+	color: #FFFFFF;
+}
+
+/* Wrapper */
+
+#wrapper {
+}
+
+/* Page */
+
+#page {
+	width: 960px;
+	margin: 0px auto;
+	background: url(/media/images/img05.jpg) repeat-y left top;
+}
+
+#page-bgtop {
+	background: url(/media/images/img04.jpg) no-repeat left top;
+}
+
+#page-bgbtm {
+	background: url(/media/images/img06.jpg) no-repeat left bottom;
+}
+
+
+/* Latest Post */
+
+#latest-post {
+	padding: 20px;
+	border: 1px solid #E7E7E7;
+}
+
+/* Content */
+
+#content {
+	float: left;
+	width: 725px;
+	margin: 0px;
+	padding: 20px 0px 0px 0px;
+}
+
+.post {
+	padding-bottom: 15px;
+	line-height: 200%;
+}
+
+.post h1 {
+	font-weight: normal;
+}
+
+.title {
+	height: 50px;
+	margin: 0px 10px;
+	padding: 11px 0px 4px 10px;
+	text-transform: capitalize;
+	font-weight: normal;
+	background: url(/media/images/img12.jpg) no-repeat left top;
+}
+
+.title a {
+	border-bottom: none;
+	color: #528DC8;
+}
+
+.title a:hover {
+}
+
+.byline {
+	margin: -10px 20px 20px 20px;
+}
+
+.tag {
+	padding: 0 15px;
+}
+
+.entry {
+	padding: 0 20px;
+}
+
+.links {
+	padding: 4px 0px;
+	text-align: right;
+	font-weight: bold;
+}
+
+.links a {
+	border: none;
+}
+
+.links a:hover {
+}
+
+/* Sidebars */
+
+#sidebar1 {
+	float: left;
+	padding-top: 20px;
+	padding-left: 10px;
+}
+
+#sidebar2 {
+	float: right;
+}
+
+#sidebar1 ul {
+	padding-bottom: 20px;
+}
+
+#sidebar1 li {
+	background: url(/media/images/img11.jpg) no-repeat left bottom;
+}
+
+#sidebar1 li ul {
+	background: url(/media/images/img10.jpg) repeat-y left top;
+}
+
+#sidebar1 li li {
+	background: url(/media/images/img08.gif) no-repeat 0 13px;
+}
+
+#sidebar1 li h2 {
+	height: 25px;
+	padding-top: 15px;
+	background: url(/media/images/img09.jpg) no-repeat left top;
+	color: #333333;
+}
+
+.sidebar {
+	float: left;
+	width: 220px;
+	padding: 10px 0 0 0;
+	font-size: 12px;
+}
+
+.sidebar ul {
+	margin: 0;
+	padding: 0;
+	list-style: none;
+}
+
+.sidebar li {
+	padding: 0 0 20px 0;
+}
+
+.sidebar li ul {
+}
+
+.sidebar li li {
+	margin: 0 10px 0 15px;
+	padding: 8px 0px 8px 20px;
+	border-bottom: 1px #B5B5B5 dashed;
+	background: url(/media/images/img08.gif) no-repeat 0 13px;
+	text-align: left;
+}
+
+
+.sidebar li h2 {
+	height: 30px;
+	margin: 0 0 0 0;
+	padding: 8px 15px 0px 35px;
+	background: url(/media/images/img07.jpg) no-repeat left top;
+	font-size: 12px;
+	color: #FFFFFF;
+}
+
+.sidebar a {
+}
+
+/* Search */
+
+#searchform {
+	margin: 0;
+	padding: 0 0 0 0;
+}
+
+#searchform br {
+	display: none;
+}
+
+#searchform h2 {
+}
+
+#s {
+	margin: 10px 0px 0 15px;
+	padding: 2px 2px;
+	width: 180px;
+	height: 18px;
+	border: 1px solid #949494;
+	background: #FFFFFF;
+	font-size: 10px;
+	color: #000000;
+}
+
+#x {
+	margin: 0;
+	padding: 2px 5px;
+	height: 25px;
+	background: #CA8186;
+	text-decoration: none;
+	text-transform: uppercase;
+	font-family: Arial, Helvetica, sans-serif;
+	font-size: 10px;
+	color: #CCCCCC;
+}
+/* Calendar */
+
+#calendar_wrap {
+	padding: 0 15px;
+	text-align: center;
+}
+
+#calendar_wrap table {
+	width: 100%;
+}
+
+#calendar_wrap th {
+}
+
+#calendar_wrap td {
+}
+
+#calendar_wrap tfoot td {
+	border: none;
+}
+
+#calendar_wrap tfoot td#prev {
+	text-align: left;
+	font-weight: bold;
+	border: none;
+}
+
+#calendar_wrap tfoot td#prev a {
+	border: none;
+}
+
+#calendar_wrap tfoot td#next {
+	text-align: right;
+	font-weight: bold;
+	border: none;
+}
+
+#calendar_wrap tfoot td#next a {
+	border: none;
+}
+
+/* Footer */
+
+#footer {
+	width: 940px;
+	height: 70px;
+	margin: 0 auto;
+	padding-left: 20px;
+}
+
+#footer p {
+	margin: 0;
+	padding: 25px 0 0 0;
+	text-align: left;
+	font-size: smaller;
+}
+
+#footer a {
+}
+
+#footer .link {
+	float: right;
+}
+
+#footer .copyright {
+	float: left;
+}

File djtest/media/css/style.css

-body {
-	margin:0;
-	padding:0;
-	background-color: #133659;
-	background-image: url(/media/merlex/images/base-bg.jpg);
-	background-repeat: repeat-x;
-	background-position: top;
-}
-
-p,td { font-family:Arial, Helvetica, sans-serif;
-	font-size:12px;
-	margin-top: 0px;
-}
-
-a{
-	color: #F6B75D;
-	text-decoration: underline;
-}
-
-a:hover{
-	color: #E58704;
-	text-decoration: underline;
-}
-
-a.hidden {
-	text-decoration: none;
-	color: #000000;
-	cursor:default;
-}
-
-form {
-     margin:0;
-     padding:0;
-}
-
-ul {
-	margin-left:20px;
-	margin-top:0px;
-	padding:1px;
-	list-style-type: square;
-	line-height: 16px;
-	}
-.b-table {
-	border-top-width: 1px;
-	border-right-width: 1px;
-	border-bottom-width: 1px;
-	border-left-width: 1px;
-	border-top-style: none;
-	border-right-style: none;
-	border-bottom-style: none;
-	border-left-style: solid;
-	border-top-color: #0D2845;
-	border-right-color: #0D2845;
-	border-bottom-color: #0D2845;
-	border-left-color: #0D2845;
-    height: 100%;
-}
-
-
-h1 {
-	font-size: 14px;
-	font-weight: bold;
-	color: #FFFFFF;
-	margin: 0px;
-	padding-bottom: 5px;
-	text-transform: uppercase;
-}
-/* Top menu*/
-.top_menu {
-    width: 105px;
-    position: relative;
-    top: 95px;
-    float: right;
-    margin-left: -105px;
-    right:0px;
-}
-
-.t-menu {
-	color: #FFFFFF;
-	font-size: 11px;
-	text-align: left;
-}
-
-.t-menu a{
-	color: #FFFFFF;
-	text-decoration: none;
-}
-.t-menu a:hover {
-	color: #FFFFFF;
-	text-decoration: underline;
-}
-.bgy {
-	background-repeat: repeat-y;
-}
-
-.bottom_addr {
-	font-size: 11px;
-	color: #f9970b;
-	padding-top: 11px;
-	padding-right: 15px;
-	padding-bottom: 12px;
-	padding-left: 15px;
-	text-align: right;
-}
-
-.bottom_addr a {
-	text-decoration: none;
-}
-
-.bottom_addr a:hover {
-	text-decoration: underline;
-}
-
-.bottom_adv {
-	text-align: left;
-	float: left;
-	padding: 0px 0px 0px 16px;
-	position: relative;
-}
-
-.bgx {
-	background-repeat: repeat-x;
-}
-
-
-.norepeat {
-	background-repeat: no-repeat;
-}
-
-.c_name {
-	font-size: 16px;
-	font-weight: bold;
-	text-transform: uppercase;
-	color: #FFFFFF;
-	background-repeat: repeat;
-	background-image: url(/media/merlex/images/cn_bg.jpg);
-	text-align: center;
-	padding-top: 6px;
-	padding-bottom: 0px;
-	margin: 0px;
-	font-family: Tahoma, Arial;
-}
-
-.bottom_menu {
-	color: #a6d5f3;
-	text-align: center;
-	padding-top: 4px;
-	padding-bottom: 4px;
-	font-size: 11px;
-}
-
-.bottom_menu a {
-	color: #a6d5f3;
-	text-decoration: none;
-}
-
-.bottom_menu a:hover {
-	color: #FFFFFF;
-	text-decoration: underline;
-}
-
-.bottom_act_menu {
-	color: #FFFFFF;
-	text-decoration: underline;
-}
-
-.bottom_act_menu a {
-	color: #FFFFFF;
-	text-decoration: underline;
-}
-
-.bottom_adv a {
-	font-size: 11px;
-	color: #f9970b;
-	text-decoration: none;
-}
-
-.bottom_adv a:hover {
-	font-size: 11px;
-	color: #FFFFFF;
-	text-decoration: underline;
-}
-
-.menu {
-	color: #FFFFFF;
-	background-image: url(/media/merlex/images/btn_bg.gif);
-	background-repeat: repeat-x;
-	font-weight: bold;
-	padding-right: 10px;
-	padding-left: 10px;
-	white-space: nowrap;
-	font-family: Tahoma, Arial;
-}
-.menu a{
-	text-decoration: none;
-	color: #FFFFFF;
-}
-
-.menu a:hover {
-	color: #F6B75D;
-	text-decoration: underline;
-}
-
-.menu_act {
-	color: #F6B75D;
-	background-image: url(/media/merlex/images/btn_bg.gif);
-	background-repeat: repeat-x;
-	font-weight: bold;
-	padding-right: 10px;
-	padding-left: 10px;
-	white-space: nowrap;
-	font-family: Tahoma, Arial;
-}
-
-
-.body_txt {
-	color: #FFFFFF;
-	text-align: justify;
-	vertical-align: top;
-	padding-top: 10px;
-	padding-right: 15px;
-	padding-bottom: 10px;
-	padding-left: 15px;
-}
-.c_name2 {
-	font-size: 12px;
-	font-weight: bold;
-	text-transform: uppercase;
-	color: #FFFFFF;
-	background-repeat: repeat;
-	background-image: url(/media/merlex/images/cn_bg.jpg);
-	text-align: center;
-	font-family: Tahoma, Arial;
-}

File djtest/media/images/base-bg.jpg

Removed
Old image

File djtest/media/images/img01.jpg

Added
New image

File djtest/media/images/img02.jpg

Added
New image

File djtest/media/images/img03.jpg

Added
New image

File djtest/media/images/img04.jpg

Added
New image

File djtest/media/images/img05.jpg

Added
New image

File djtest/media/images/img06.jpg

Added
New image

File djtest/media/images/img07.jpg

Added
New image

File djtest/media/images/img08.gif

Added
New image

File djtest/media/images/img09.jpg

Added
New image

File djtest/media/images/img10.jpg

Added
New image

File djtest/media/images/img11.jpg

Added
New image

File djtest/media/images/img12.jpg

Added
New image

File djtest/media/images/jquery.wysiwyg.gif

Removed
Old image

File djtest/media/images/logo-bg.gif

Removed
Old image

File djtest/media/images/logo.gif

Removed
Old image

File djtest/media/images/logo2.gif

Removed
Old image

File djtest/media/images/m-bullet.gif

Removed
Old image

File djtest/media/images/m-sep.gif

Removed
Old image

File djtest/media/images/menu-bg.gif

Removed
Old image

File djtest/media/images/p1.jpg

Removed
Old image

File djtest/media/images/p2.gif

Removed
Old image

File djtest/media/images/rd1_150x600.gif

Removed
Old image

File djtest/media/images/spacer.gif

Old
Old image
New
New image

File djtest/media/images/t-icon-1.gif

Removed
Old image

File djtest/media/images/t-icon-2.gif

Removed
Old image

File djtest/media/images/t-icon-3.gif

Removed
Old image

File djtest/settings.pyc

Binary file added.

File djtest/templates/accounts/account.html

-{% extends "index.html" %}
+{% extends "base.html" %}
 
 {% block content %}
 

File djtest/templates/accounts/login.html

-{% extends "index.html" %}
+{% extends "base.html" %}
 
 {% block content %}
 

File djtest/templates/accounts/register.html

-{% extends "index.html" %}
+{% extends "base.html" %}
 
 {% block title %}Регистрация пользователя{% endblock %}
 

File djtest/templates/base.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+Design by Free CSS Templates
+http://www.freecsstemplates.org
+Released for free under a Creative Commons Attribution 2.5 License
+
+Name       : Simple Passage
+Description: A three-column, fixed-width blog design.
+Version    : 1.0
+Released   : 20090327
+
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+<title>{{ flatpage.title }} {{ site.name }}</title>
+<meta name="keywords" content="" />
+<meta name="Simple Passage" content="" />
+<link href="/media/css/default.css" rel="stylesheet" type="text/css" media="screen" />
+{% load dajaxice_templatetags %}{% dajaxice_js_import %}
+</head>
+<body>
+<!-- start header -->
+<div id="header">
+	<div id="logo">
+		<h1><a href="#"><span>MerLex</span>Weblog</a></h1>
+		<p>Designed By Free CSS Templates</p>
+	</div>
+	<div id="menu">
+		<ul id="main">
+			<li class="current_page_item"><a href="#">Homepage</a></li>
+			<li><a href="#">About Us</a></li>
+			<li><a href="#">Contact Us</a></li>
+		</ul>
+		<ul id="feed">
+			<li><a href="#">Entries RSS</a></li>
+			<!--li><a href="#">Comments RSS</a></li-->
+		</ul>
+		<ul id="authlink">
+            {% if user.is_authenticated %}
+            <li><a href="/accounts/logout/">Logout</a></li>
+            {% else %}
+            <li><a href="/auth/login/">Login</a></li>
+            {% endif %}
+		</ul>
+	</div>
+	
+</div>
+<!-- end header -->
+<div id="wrapper">
+	<!-- start page -->
+	<div id="page">
+	<div id="page-bgtop">
+	<div id="page-bgbtm">
+		<!-- start content -->
+		<div id="content">
+			<div class="flower"></div>
+            {% block content %}
+            {% endblock %}
+            <!--
+			<div class="post">
+				<h1 class="title"><a href="#">Welcome to Our Website!</a></h1>
+				<p class="byline"><small>Posted on October 1st, 2009 by <a href="#">Free CSS Templates</a></small></p>
+				<div class="entry">
+					<p><strong>Simple Passage</strong> is a free, fully standards-compliant CSS template designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>. This free template is released under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attributions 2.5</a> license, so you're pretty much free to do whatever you want with it  (even use it commercially) provided you keep the links in the footer intact. Have fun with it :)</p>
+					<p class="links"><a href="#" class="more">&laquo;&laquo;&nbsp;&nbsp;Read More&nbsp;&nbsp;&raquo;&raquo;</a></p>
+				</div>
+			</div>
+			<div class="post">
+				<h2 class="title"><a href="#">Sample Tags</a></h2>
+				<p class="byline"><small>Posted on October 1st, 2009 by <a href="#">Free CSS Templates</a></small></p>
+				<div class="entry">
+					<h3>An H3 Followed by a Blockquote:</h3>
+					<blockquote>
+						<p>&#8220;Donec leo, vivamus nibh in augue at urna congue rutrum. Quisque dictum integer nisl risus, sagittis convallis, rutrum id, congue, and nibh.&#8221;</p>
+					</blockquote>
+					<h3>Bulleted List:</h3>
+					<ul>
+						<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
+						<li>Phasellus nec erat sit amet nibh pellentesque congue.</li>
+						<li>Cras vitae metus aliquam risus pellentesque pharetra.</li>
+					</ul>
+					<h3>Numbered List:</h3>
+					<ol>
+						<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
+						<li>Phasellus nec erat sit amet nibh pellentesque congue.</li>
+						<li>Cras vitae metus aliquam risus pellentesque pharetra.</li>
+					</ol>
+					<p class="links"><a href="#" class="more">&laquo;&laquo;&nbsp;&nbsp;Read More&nbsp;&nbsp;&raquo;&raquo;</a></p>
+				</div>
+			</div>
+			<div class="post">
+				<h2 class="title"><a href="#">Lorem Ipsum Dolor </a></h2>
+				<p class="byline"><small>Posted on October 1st, 2009 by <a href="#">Free CSS Templates</a></small></p>
+				<div class="entry">
+					<p>Consectetuer adipiscing elit. Nam pede erat, porta eu, lobortis eget, tempus et, tellus. Etiam neque. Vivamus consequat lorem at nisl. Nullam non wisi a sem semper eleifend. Donec mattis libero eget urna. Duis pretium velit ac mauris. Proin eu wisi suscipit nulla suscipit interdum. Aenean lectus lorem, imperdiet at, ultrices eget, ornare et, wisi. </p>
+					<p class="links"><a href="#" class="more">&laquo;&laquo;&nbsp;&nbsp;Read More&nbsp;&nbsp;&raquo;&raquo;</a></p>
+				</div>
+			</div>
+            -->
+		</div>
+		<!-- end content -->
+		<!-- start sidebars -->
+		<div id="sidebar2" class="sidebar">
+			<ul>
+				<li>
+					<form id="searchform" method="get" action="#">
+						<div>
+							<h2>Site Search</h2>
+							<input type="text" name="s" id="s" size="15" value="" />
+                            
+                            <input onclick="Dajaxice.blog.primer('primer_callback',{'message':'Хэллоу Уорлд!'});" type="button" value="Push Me!" />
+                            <script type="text/javascript">
+                            function primer_callback(data)
+                            {
+                                if(data!=Dajaxice.EXCEPTION)
+                                {
+                                    alert(data.message);
+                                }else
+                                {
+                                        alert('Error');
+                                }
+                            }
+                            </script>
+                            
+						</div>
+					</form>
+				</li>
+				<li>
+					<h2>Tags</h2>
+					<p class="tag">
+                    <!--MENU-->
+                        {% load tagging_tags %}
+                        {% tag_cloud_for_model blog.Post as item_tags %}
+
+                        {% for tag in item_tags %}
+                            <a href="/blog/tag/{{tag}}" class="tag" style="font-size:1{{tag.font_size}}pt">{{tag}}</a>
+                        {% endfor %}
+                    <!--MENU-->
+                    </p>
+                </li>
+				<li>
+					<h2>Calendar</h2>
+					<div id="calendar_wrap">
+						<table summary="Calendar">
+							<caption>
+							October 2009
+							</caption>
+							<thead>
+								<tr>
+									<th abbr="Monday" scope="col" title="Monday">M</th>
+									<th abbr="Tuesday" scope="col" title="Tuesday">T</th>
+									<th abbr="Wednesday" scope="col" title="Wednesday">W</th>
+									<th abbr="Thursday" scope="col" title="Thursday">T</th>
+									<th abbr="Friday" scope="col" title="Friday">F</th>
+									<th abbr="Saturday" scope="col" title="Saturday">S</th>
+									<th abbr="Sunday" scope="col" title="Sunday">S</th>
+								</tr>
+							</thead>
+							<tfoot>
+								<tr>
+									<td abbr="September" colspan="3" id="prev"><a href="#" title="View posts for September 2009">&laquo; Sep</a></td>
+									<td class="pad">&nbsp;</td>
+									<td colspan="3" id="next">&nbsp;</td>
+								</tr>
+							</tfoot>
+							<tbody>
+								<tr>
+									<td>1</td>
+									<td>2</td>
+									<td>3</td>
+									<td id="today">4</td>
+									<td>5</td>
+									<td>6</td>
+									<td>7</td>
+								</tr>
+								<tr>
+									<td>8</td>
+									<td>9</td>
+									<td>10</td>
+									<td>11</td>
+									<td>12</td>
+									<td>13</td>
+									<td>14</td>
+								</tr>
+								<tr>
+									<td>15</td>
+									<td>16</td>
+									<td>17</td>
+									<td>18</td>
+									<td>19</td>
+									<td>20</td>
+									<td>21</td>
+								</tr>
+								<tr>
+									<td>22</td>
+									<td>23</td>
+									<td>24</td>
+									<td>25</td>
+									<td>26</td>
+									<td>27</td>
+									<td>28</td>
+								</tr>
+								<tr>
+									<td>29</td>
+									<td>30</td>
+									<td>31</td>
+									<td class="pad" colspan="4">&nbsp;</td>
+								</tr>
+							</tbody>
+						</table>
+					</div>
+				</li>
+				<li>
+					<h2>Categories</h2>
+					<ul>
+						<li><a href="#">Aliquam libero</a></li>
+						<li><a href="#">Consectetuer adipiscing elit</a></li>
+						<li><a href="#">Metus aliquam pellentesque</a></li>
+					</ul>
+				</li>
+			</ul>
+		</div>
+		<!-- end sidebars -->
+		<div style="clear: both;">&nbsp;</div>
+	</div>
+	</div>
+	</div>
+	<!-- end page -->
+</div>
+<div id="footer">
+	<p class="copyright">&copy;&nbsp;&nbsp;2010 All Rights Reserved &nbsp;&bull;&nbsp; Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.<br /><a href="#">Privacy Policy</a>&nbsp;&#8226;&nbsp;<a href="#">Terms of Use</a></p>
+</div>
+</body>
+</html>

File djtest/templates/blog/blog_post.html

-{% extends "index.html" %}
+{% extends "base.html" %}
 {% load comments %}
 
 {% block title %}post{% endblock %}
 
 {% block content %}
-    <h1><span class="welc">{{ post.title }}</span></h1>
-    <p>{{post.publication_date|date:"d-m-Y"}}</p>
-    <p>{{ post.body|safe}}</p>
+    <div class="post">
+        <h2 class="title"><a href="/blog/{{ post.slug }}">{{ post.title }}</a></h2>
+        <p class="byline"><small>Posted on {{post.publication_date|date:"d-m-Y"}}</small></p>
+        <div class="entry">
+            <p>{{ post.body|safe}}</p>
+            <p class="links"><a href="/blog/{{ post.slug }}" class="more">&laquo;&laquo;&nbsp;&nbsp;Read More&nbsp;&nbsp;&raquo;&raquo;</a></p>
+            {% get_comment_count for post as comment_count %}
+            <p>Comments: {{comment_count}}</p>
+
+<!-- COMMENTS -->
     <div class="comments">
     <table>
     {% get_comment_list for post as comment_list %}
         </form>
     {% endif %}
     </div>
+<!-- /COMMENTS -->
+
+        </div>
+    </div>
 {% endblock %}

File djtest/templates/blog/blog_post_list.html

-{% extends "index.html" %}
+{% extends "base.html" %}
 {% load comments %}
 
 {% block title %}Post{% endblock %}
 
 {% block content %}
-        <h1><span class="welc"></span></h1>
     {% for post in post_list %}
-        {% get_comment_count for post as comment_count %}
-        {{post.publication_date|date:"d-m-Y"}} <a href="/blog/{{ post.slug }}">{{ post.title }}</a><br/>
-        <p>{{ post.body|safe|truncatewords:"2" }}</p>
-        <p>Comments: {{comment_count}}</p>
+			<div class="post">
+				<h2 class="title"><a href="/blog/{{ post.slug }}">{{ post.title }}</a></h2>
+				<p class="byline"><small>Posted on {{post.publication_date|date:"d-m-Y"}}</small></p>
+				<div class="entry">
+                    <p>{{ post.body|safe|truncatewords:"2" }}</p>
+					<p class="links"><a href="/blog/{{ post.slug }}" class="more">&laquo;&laquo;&nbsp;&nbsp;Read More&nbsp;&nbsp;&raquo;&raquo;</a></p>
+                    {% get_comment_count for post as comment_count %}
+                    <p>Comments: {{comment_count}}</p>
+				</div>
+			</div>
     {% endfor %}
 {% endblock %}

File djtest/templates/index.html

-<!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">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
-<title>{{ flatpage.title }} {{ site.name }}</title>
-<meta name="description" content="{ meta_description }"/>
-<meta name="keywords" content="{ meta_keywords }"/>
-<link href="/media/css/style.css" rel="stylesheet" type="text/css"/>
-{% load dajaxice_templatetags %}{% dajaxice_js_import %}
-</head>
-
-<body>
-<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="b-table">
-  <tr>
-    <td height="1">
-    <table width="100%" border="0" cellspacing="0" cellpadding="0">
-      <tr>
-        <td class="bgx" width="199px" style="background-image:url(/media/images/logo-bg.gif);">
-		<div style="position:absolute; margin-left:0px; top:27px; width:197px;">
-			<table width="100%" border="0" cellspacing="0" cellpadding="0">
-			  <tr>
-			    <td align="center"><img alt="" src="/media/images/logo2.gif" width="85" height="84"/></td>
-			  </tr>
-			  <tr>
-			    <td class="c_name">MerLex</td>
-			  </tr>
-			  <tr>
-			    <td class="c_name2">High Tech</td>
-			  </tr>
-			</table>
-		</div>
-		<img alt="" src="/media/images/spacer.gif" width="1" height="1"/></td>
-        <td align="left" bgcolor="#020303">
-		<div class="top_menu">
-			<table width="100%" border="0" cellspacing="0" cellpadding="0">
-			  <tr>
-			    <td width="1"><img alt="" src="/media/images/t-icon-1.gif" width="19" height="19" hspace="10" vspace="2"/></td>
-			    <td class="t-menu">
-                {% if user.is_authenticated %}
-                    <a href="/accounts/logout/">Logout</a>
-                {% else %}
-                    <a href="/auth/login/">Login</a>
-                {% endif %}
-                </td>
-			  </tr>
-			  <tr>
-			    <td><img alt="" src="/media/images/t-icon-2.gif" width="19" height="19" hspace="10" vspace="2"/></td>
-			    <td class="t-menu"><a href="/search">Search</a></td>
-			  </tr>
-			  <tr>
-			    <td><img alt="" src="/media/images/t-icon-3.gif" width="19" height="19" hspace="10" vspace="2"/></td>
-			    <td class="t-menu"><a href="/map">Site Map</a></td>
-			  </tr>
-			  <!--tr>
-			    <td colspan=2><form action="/i18n/setlang/" method="post">
-						<input name="next" type="hidden" value="/next/page/" />
-						<select name="language">
-						    {% for lang in LANGUAGES %}
-						    <option value="{{ lang.0 }}">{{ lang.1 }}</option>
-						    {% endfor %}
-						</select>
-						<input type="submit" value="Go" />
-						</form>
-					</td>
-			  </tr-->
-			</table>
-
-		</div>
-		<img alt="" src="/media/images/p1.jpg" width="550px" height="177px" align="left" vspace="0" hspace="0" border="0"/>
-		</td>
-      </tr>
-      <tr>
-        <td style="background-image:url(/media/images/menu-bg.gif);"></td>
-        <td align="left" bgcolor="black" style="FONT-SIZE: 1px! important">
-		<img alt="" src="/media/images/p2.gif" width="100%" height="2px" vspace="0" hspace="0" border="0"/>
-	</td>
-      </tr>
-    </table>
-    </td>
-  </tr>
-  <tr>
-    <td height="100%" valign="top"><table width="100%" style="height:100%;" border="0" cellpadding="0" cellspacing="0">
-      <tr>
-        <td width="1" height="100%" valign="top" style="background-image:url(/media/images/menu-bg.gif);">
-        <table width="199" style="height:100%;" border="0" cellpadding="0" cellspacing="0">
-<input onclick="Dajaxice.blog.primer('primer_callback',{'message':'Хэллоу Уорлд!'});" type="button" value="Push Me!" />
-<script type="text/javascript">
-function primer_callback(data)
-{
-    if(data!=Dajaxice.EXCEPTION)
-    {
-        alert(data.message);
-    }else
-    {
-            alert('Error');
-    }
-}
-</script>
-<!--MENU-->
-    {% load tagging_tags %}
-    {% tag_cloud_for_model blog.Post as item_tags %}
-
-    {% for tag in item_tags %}
-        <a href="/blog/tag/{{tag}}" class="tag" style="font-size:1{{tag.font_size}}pt">
-            {{tag}}
-        </a><br/>
-    {% endfor %}
-<!--MENU-->
-          
-          <tr>
-            <td height="100%" align="center"><img alt="" src="/media/images/spacer.gif" width="1" height="1"/>
-<!--BANNER-->
-<!--BANNER-->
-            </td>
-          </tr>
-        </table>
-        </td>
-        <td bgcolor="#0c2136" class="body_txt">
-{% block content %}
-        <h1><span class="welc">{{ flatpage.title }}</span></h1>
-<br/>
-{{ flatpage.content }}
-<br/>
-{% endblock %}
-	    </td>
-      </tr>
-    </table></td>
-  </tr>
-  <tr>
-    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
-      <tr>
-        <td width="1" bgcolor="#123050"><table width="100%" border="0" cellspacing="0" cellpadding="0">
-          <tr>
-            <td><img alt="" src="/media/images/spacer.gif" width="199" height="1"/></td>
-          </tr>
-          <tr>
-            <td class="bottom_addr">&copy; 2008 MerLex<br/>
-              All Rights Reserved</td>
-          </tr>
-        </table></td>
-        <td bgcolor="#0b1e30" class="bottom-menu">
-          <div class="bottom_adv">
-	  <p>
-	    <a href="http://validator.w3.org/check?uri=referer"><img
-		src="http://www.w3.org/Icons/valid-xhtml10-blue"
-		alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
-<a href='http://host-tracker.com/ru/' onmouseover='this.href="http://host-tracker.com/ru/website-uptime-statistics/2845624/ff/";'><img 
-width="80px" height="15px" border="0" alt='службы мониторинга серверов' 
-src="http://ext.host-tracker.com/uptime-img/?s=15&amp;t=2845624&amp;m=0.59&amp;p=Total&amp;src=ff"/></a>
-	  </p>
-	  </div>
-<!--MENU-->
-<!--MENU-->
-	</td>
-      </tr>
-    </table></td>
-  </tr>
-</table>
-<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script>
-<script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-6585417-2");
-pageTracker._trackPageview();
-} catch(err) {}</script>
-</body>
-</html>

File djtest/templates/publicauth/extra.html

-{% extends "index.html" %}
+{% extends "base.html" %}
 
 {% block content %}
         <h1>Регистрация <span>[шаг 2]</span></h1>

File djtest/templates/publicauth/login.html

-{% extends "index.html" %}
+{% extends "base.html" %}
 
 {% block content %}
 <div class="b-login b-block">

File djtest/templates/shablon.html

-<!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">
-<head>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="description" content="Голосовые открытки с днем рождения, поздравления с праздниками: День рождения, свадьба, юбилей, день здоровья, Дом 2. Поздравления с днем рождения, поздравления к свадьбе и юбилею, приколы и розыгрыши на {{ site.name }}" />
-    <meta name="keywords" content="Поздравления, открытки, голосовые открытки, смс поздравления, прикольные поздравления, поздравления день рождения, поздравления юбилей, свадебные поздравления, телефон приколы, поздравления новогодние, поздравления подруге, поздравления коллегам, поздравление мужчине, поздравления начальнику, поздравления 23 февраля, поздравления 8 марта, валентинки, признания в любви в стихах, поздравления маме на {{ site.name }}">
-    <title>Поздравления с днем рождения. Голосовые открытки. Прикольные смс поздравления с праздником, юбилеем, свадьбой.</title>
-    <link href="/media/export/css/main.css" rel="stylesheet" type="text/css" media="all" />
-    <!--[if IE 7]><link rel="stylesheet" href="/media/export/css/ie7.css" media="all" /><![endif]-->
-    <!--[if lt IE 7]><link rel="stylesheet" href="/media/export/css/ie6.css" media="all" /><![endif]-->
-    <script type="text/javascript" src="/media/export/js/js.js"></script>
-    <script type="text/javascript" src="/media/export/js/jquery-1.3.2.min.js"></script>
-</head>
-    <body id="vcbody">
-<!-- content -->
-<div class="l-page">
-	<div class="l-page-i">
-
-		<!-- right column -->
-		<div class="l-column l-column_right">
-			<div class="l-column-i">
-{% block rubricator %}
-{% endblock %}
-			</div>
-		</div>
-		<!-- /right column -->
-
-		<!-- left column -->
-		<div class="l-column l-column_left">
-			<div class="l-column-i">
-
-{% block content %}
-{% endblock %}
-
-			</div>
-		</div>
-		<!-- /left column -->
-
-	</div>
-</div>
-<!-- /content -->
- <div class="clear"></div>
-{% block footer %}
-    <div id="footer_cont">
-    <div id="footer">
-    <script type="text/javascript">
-    function showWin(filename)
-    {
-        return MM_openBrWindow(filename);
-    }
-
-    var SendWin;
-    function MM_openBrWindow(filename)
-    {
-        if(filename == '') filename = 'support';
-        var theURL = '/export/' + filename;
-        var winName = '';
-        var width = 600;
-            var height = 400;
-        var features = 'width=' + width + ', height=' + height + ', titlebar=no, resizable=yes, status=yes, scrollbars=yes';
-
-            SendWin=window.open(theURL,winName,features);
-            SendWin.focus();
-            return false;
-    }
-    </script>
-    <a href="javascript:void(0)" onclick="showWin('details');">Реквизиты</a>&nbsp;&nbsp;<a href="javascript:void(0)" onclick="showWin('support');">Служба поддержки</a>&nbsp;&nbsp;<a href="javascript:void(0)" onclick="showWin('prices');">Информация о стоимости услуг</a>
-    <br>
-    <br>
-    © <a href="http://www.voicecards.ru">Voicecards.ru</a>  -  <a href="http://www.voicecards.ru">поздравления с днем рождения</a>, <a href="http://www.voicecards.ru">поздравления к праздникам</a>, <a href="http://www.voicecards.ru">признания в любви и дружбе</a>, <a href="http://www.voicecards.ru">розыгрыши и приколы</a>, <a href="http://www.voicecards.ru">оригинальные открытки и поздравления</a>, <a href="http://www.voicecards.ru">открытки для коллег по работе и учебе</a>, <a href="http://www.voicecards.ru">поздравления и открытки по профессиям</a>, <a href="http://www.voicecards.ru">открытки и поздравления на каждый день</a>. </div></div>
-{% endblock %}
-</body>
-</html>

File djtest/urls.pyc

Binary file added.