aminweblog
کاربر تازه وارد
با سلام به ملت شهیدپرور!
من میخواستم که یکی برم قالب و همچنین استایل ام تی را برای اینکه وبلاگ از دو ستونی به سه ستونی دربیاد تنظیم کنه. من خودم هر کاری کردم نتونستم!
این هم از کد قالب و استایل وبلاگم
منتظر هستم...
استایل:
من میخواستم که یکی برم قالب و همچنین استایل ام تی را برای اینکه وبلاگ از دو ستونی به سه ستونی دربیاد تنظیم کنه. من خودم هر کاری کردم نتونستم!
این هم از کد قالب و استایل وبلاگم
منتظر هستم...
کد:
<!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">
<!--- start: meta tags --->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="fa">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta name="DC.title" content="Nedaye Emrooz">
<meta name="dc.language" content="fa">
<meta name="geo.country" content="IR">
<meta name="author" content="Amin Sabeti">
<meta name="keywords" content="iran, zahedan, amin, sabeti, sabet, weblog, blog, weblogger, blogger, aminsabeti, harry potter, computer, web, webdesign, template, site, website, persian, farsi, music, media, cinema, film, culture, newspaper, magazine, photo, book, picture, mt, movable type, download, free weblog, photo, funny photo, image, funny image, picture, funny picture, امین, ثابتی, مويبل تايپ, مووبل تايپ, عكسهاي خندهدار, زاهدان, ندا, مقاله" >
<meta name="description" content="A weblog created by Amin Sabeti. I write about anythings for example Iran, Internet, Education , ect. This is a persian weblog.">
<meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" />
<!--- end: meta tags --->
<title>Nedaye Emrooz | Amin Sabeti's Weblog (Persian)</title>
<link rel="stylesheet" href="<$MTBlogURL$>styles-site.css?" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="<$MTBlogURL$>index.rdf" />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="<$MTBlogURL$>rsd.xml" />
<script language="javascript" type="text/javascript">
function OpenComments (c) {
window.open(c,
'comments',
'width=480,height=480,scrollbars=yes,status=yes');
}
function OpenTrackback (c) {
window.open(c,
'trackback',
'width=480,height=480,scrollbars=yes,status=yes');
}
</script>
<MTBlogIfCCLicense>
<$MTCCLicenseRDF$>
</MTBlogIfCCLicense>
<style>
.linkdooniBox {border:1px dotted #D6DEE4; background-color:#333333;
padding:10px;
margin-bottom:10px;}
.linkdooniDate {
font-family:tahoma,verdana, arial, sans-serif;
font-size:9px;
color:#CCC;
border-bottom:0px dotted #CCC;
padding:5px;
margin-bottom:5px;
font-weight:normal; }
.linkdooniArchive {color: #CCCCCC; font-family: Tahoma; font-size:9px; direction:rtl; }
.linkdooniItem {color: #99CCFF; font-family: Tahoma; font-size:11px; direction:rtl;}
</style>
</head>
<body>
<div id="banner">
<h1 align="center" dir="rtl"><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName$></a></h1>
<h1 align="center" dir="rtl"><span class="description"><$MTBlogDescription$></span></h1>
</div>
<div id="content">
<div class="blog">
<center><a target="_blank" href="http://www.aminsabeti.com/ccount/click.php?id=6
" onmouseover="status='Open Learning Center';return true" onmouseout="status=' '"><img border="0" src="http://www.openlearningcenter.com/images/logobaner.gif" width="467" height="60" alt="آموزش زبان انگلیسی از راه دور همراه با استاد راهنما!"></a></center></br>
<?
$ArchivePath = "../linkdooni/archives/";
$StartDate = strtotime(date("Y-m-d"));
?>
<MTEntries lastn="10">
<$MTEntryTrackbackData$>
<MTDateHeader>
<?
// Copyright (C) 2004 For http://weblolg.mojde.com
$EndDate = strtotime("<$MTEntryDate format="%Y-%m-%d" $>");
$SecondsDiff = $StartDate - $EndDate;
$Datediff = floor($SecondsDiff / 86400);
for ($i = 0; $i <= $Datediff ; $i++) {
$Today = $StartDate - ($i * 86400);
$FileName = date("Y-m-d",$Today) . ".html";
$FilePath = $ArchivePath . $FileName;
if (file_exists($FilePath)) {
include($FilePath);
}
}
$StartDate = $EndDate - 86400
?>
</MTDateHeader>
<div class="blogbody">
<a name="<$MTEntryID pad="1"$>"></a>
<h3 class="title"><$MTEntryTitle$></h3>
<$MTEntryBody$>
<MTEntryIfExtended>
<span class="extended"><a href="<$MTEntryPermalink$>#more">ادامه مطلب "<$MTEntryTitle$>"...</a></span><br />
</MTEntryIfExtended>
<div class="eng"><b>Excerpt:</b> <MTEntryExcerpt></div>
<p dir="rtl"><div class="posted"><a href="<$MTEntryPermalink$>"><$MTEntryDate format="%b %e@%l:%M%p"$></a>
<MTEntryIfAllowComments>
| <a href="<$MTCGIPath$><$MTCommentScript$>?entry_id=<$MTEntryID$>" onclick="OpenComments(this.href); return false">نظرات (<$MTEntryCommentCount$>)</a>
</MTEntryIfAllowComments>
<MTEntryIfAllowPings>
| <a href="<$MTCGIPath$><$MTTrackbackScript$>?__mode=view&entry_id=<$MTEntryID$>" onclick="OpenTrackback(this.href); return false">دنبالك (<$MTEntryTrackbackCount$>)</a>
</MTEntryIfAllowPings>
</div>
</div>
</MTEntries>
</div>
</div>
<div id="links">
<div class="sidetitle">
منوی اصلی
</div>
<div class="side" style="direction:rtl">
<a href="http://weblog.aminsabeti.com/?"> خانه</a></br>
<a href="http://weblog.aminsabeti.com/news.php?"> اخبار</a></br>
<a " href="http://www.aminsabeti.com/radio/"> رادیو امین (ندای امروز)</a></br>
<a " href="http://www.flickr.com/photos/aminsabeti/"> فوتوبلاگ</a></br>
<a " href="http://weblog.aminsabeti.com/about.php"> درباره من</a></br>
<a href="http://weblog.aminsabeti.com/contact.php" onclick="window.open('http://weblog.aminsabeti.com/contact.php','popup','width=360,height=420,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">تماس با من</a>
</br>
<a href="ymsgr:sendim?amin_weblog">
<img border="0" src="http://opi.yahoo.com/online?u=amin_weblog&m=g&t=1">
</a>
</div>
<div class="sidetitle">
جستجو
</div>
<div align="center" dir="rtl" class="side">
<form method="get" action="<$MTCGIPath$><$MTSearchScript$>">
<input type="hidden" name="IncludeBlogs" value="<$MTBlogID$>" />
<input type="submit" value="جستجو" />
<input id="search" name="Search" size="20" />
</form>
</div>
<div class="sidetitle">
خبرنامه
</div>
<div class=side style="direction:rtl">
<form method="post" action="http://www.bloglet.com/subscribe.asp">
<input type="hidden" name="ID" value="37322" />
دریافت مطالب وبلاگ به کمک ایمیل<br />
<input type="text" name="email" value="" size="20" maxlength="100" />
<input type="submit" name="Submit" value="عضو میشوم!" /><br />
<a href="http://www.bloglet.com/">powered by Bloglet</a>
</form>
</div>
<div class="sidetitle">
آرشیو ماهیانه
</div>
<div class="side">
<MTArchiveList archive_type="Monthly">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br />
</MTArchiveList>
</div>
<div class=sidetitle>
آرشیو موضوعی
</div>
<div class="side" style="direction:rtl">
<MTCategories show_empty="1">
<a href= "<$MTBlogArchiveURL$><$MTCategoryDescription$>.html"><$MTCategoryLabel$>
</a>(<$MTCategoryCount$>)<br>
</MTCategories>
</div>
<div class="sidetitle">
آخرین نوشتهها
</div>
<div class="side" style="direction:rtl">
<MTEntries lastn="10">
<a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a><br />
</MTEntries>
</div>
<div class="sidetitle">
دوستان
</div>
<div class="side" style="direction:rtl">
<?php include("http://weblog.aminsabeti.com/blogrolling.php") ?>
</div>
<div class="sidetitle">
لوگوی دوستان
</div>
<div class="side">
<center><a target='_blank' href='http://www.sbportal.ir/' title='پورتال استان سیستان و بلوچستان'><img border='0' src='http://www.sbportal.ir/image/sbportal-link.gif' width='117' height='40'></a></center></br>
<center><a href="http://update.1irani.com/" target="_blank"><img border="0" src="http://update.1irani.com/logo.gif" width="88" height="31" alt="ليست وبلاگهای به روز شده"></a></center>
</div>
<div class="sidetitle">
حقوق نویسنده
</div>
<div class="side" style="direction:rtl">
<div align="center"><a href="<$MTBlogCCLicenseURL$>"><img alt="Creative Commons License" border="0" src="<$MTBlogCCLicenseImage$>" /></a>
</div>
<div class="sidetitle">
پروندهی تکنوراتی
</div>
<div class="side">
<script type="text/javascript" src="http://technorati.com/embed/abgmk8dzxc.js"> </script>
</div>
<div class="sidetitle">
با همکاری
</div>
<div class="side" style="direction:ltr">
<center><div dir="ltr">Powered by: <a href="http://www.movabletype.org">Movable Type <$MTVersion$></a></br></div>
<div dir="ltr">Hosted by: <a href="http://boards.theupcomings.com/viewtopic.php?t=663">The Upcomings</a></div></center>
</br>
</div>
</div>
</div>
<br clear="all" />
</p>
</body>
</html>
استایل:
کد:
body {
margin:0px 0px 10px 0px;
background:#333;
}
A { color:#99CCFF; text-decoration:none; }
A:link { color:#99CCFF; text-decoration:none; }
A:visited { color:#99CCFF; text-decoration:none; }
A:active { color:#99CC66; }
A:hover { color:#99CC66; }
h1, h2, h3 {
margin: 0px;
padding: 0px;
}
#banner {
font-family:georgia, arial, sans-serif;
color:#FFF;
font-size:x-large;
font-weight:normal;
border-bottom:1px dotted #999;
border-top:3px dotted #999;
background:#000;
padding:15px;
text-transform:uppercase;
letter-spacing:.2em;
}
#banner a,
#banner a:link,
#banner a:visited,
#banner a:active,
#banner a:hover {
font-family:verdana, arial, sans-serif;
font-size: x-large;
color: #FFF;
text-decoration: none;
}
.description {
font-family:tahma,verdana, arial, sans-serif;
color:#999;
direction:rtl;
font-size:x-small;
font-weight:bold;
background:#000;
text-transform:none;
letter-spacing:normal;
}
#content {
float:left;
width:72%;
background:#333;
border-right:1px dotted #999;
margin-right:15px;
padding-bottom:20px;
}
#links {
padding-right:15px;
}
.blog {
padding-left:15px;
padding-top:15px;
padding-right:15px;
}
.blogbody {
font-family:tahoma,verdana, arial, sans-serif;
color:#CCC;
font-size:11px;
text-align:justify;
direction:rtl;
font-weight:normal;
background:#333;
line-height:140%;
padding-left:10px;
padding-right:10px;
padding-top:10px;
margin-bottom:10px;
border:1px solid #999;
}
.title {
font-family:tahoma,verdana, arial;
font-size:11px;
color:#CCC;
text-transform:uppercase;
font-weight:bold;
}
.eng {
font-family:tahoma,verdana,arial,sans-serif;
font-size:11px;
color:#CCCCCC;
direction:ltr;
font-weight:normal;
text-align:left;
border:0px solid #999;
}
#menu {
margin-bottom:15px;
background:#333;
}
.date {
font-family:tahoma,verdana, arial, sans-serif;
font-size:small;
color:#CCC;
border:1px solid #CCC;
padding:5px;
margin-bottom:10px;
font-weight:normal;
}
.posted {
font-family:tahoma, verdana, arial, sans-serif;
font-size:x-small;
color:#CCC;
margin-bottom:15px;
}
.calendar {
font-family:verdana, arial, sans-serif;
color:#666;
font-size:x-small;
font-weight:normal;
background:#333;
line-height:140%;
padding:2px;
text-align:center;
}
.calendarhead {
font-family:verdana, arial, sans-serif;
color:#CCC;
font-size:x-small;
font-weight:bold;
background:#333;
line-height:140%;
padding:2px;
}
.side {
font-family:tahoma, verdana, arial, sans-serif;
color:#9999FF;
font-size:11px;
dirsction:rtl;
text-align:right;
font-weight:normal;
background:#333;
line-height:140%;
padding:2px;
}
.sidetitle {
font-family:tahoma,verdana, arial, sans-serif;
color:#999;
font-size:x-small;
font-weight:bold;
line-height:140%;
padding:2px;
margin-top:10px;
text-align:right;
text-transform:uppercase;
letter-spacing:.2em;
}
.syndicate {
font-family:verdana, arial, sans-serif;
font-size:xx-small;
line-height:140%;
padding:2px;
margin-top:10px;
text-align:center;
}
.powered {
font-family:verdana, arial, sans-serif;
color:#CCC;
font-size:xx-small;
font-weight:bold;
border-top:1px solid #CCC;
border-bottom:1px solid #CCC;
line-height:140%;
text-transform:uppercase;
padding:2px;
margin-top:10px;
text-align:center;
letter-spacing:.2em;
}
.comments-body {
font-family:tahoam, verdana, arial, sans-serif;
color:#CCC;
font-size:small;
text-align:right;
direction:rtl;
font-weight:normal;
background:#333;
line-height:12px;
padding-left:10px;
padding-right:10px;
padding-bottom:15px;
}
.comments-post {
font-family:tahoma,verdana, arial, sans-serif;
color:#999;
font-size:11px;
text-align:right;
direction:rtl;
font-weight:normal;
background:#333;
}
.comments-head {
font-family:tahoma, verdana, arial, sans-serif;
font-size: small;
color: #CCC;
border:1px solid #999;
padding:5px;
font-weight:normal;
margin-top:10px;
}
#banner-commentspop {
font-family:tahoma,verdana, arial, sans-serif;
color:#FFF;
font-size:large;
font-weight:bold;
border-bottom:1px dotted #999;
border-top:3px dotted #999;
background:#000;
padding:15px;
text-transform:uppercase;
letter-spacing:.2em;
}
.trackback-body {
font-family:verdana, arial, sans-serif;
color:#666;
font-size:small;
font-weight:normal;
background:#333;
line-height:140%;
padding-top:15px;
}
.trackback-url {
font-family:verdana, arial, sans-serif;
color:#999;
font-size:small;
font-weight:normal;
background:#333;
line-height:140%;
padding:5px;
border:1px dashed #999;
}
.trackback-post {
font-family:verdana, arial, sans-serif;
color:#999;
font-size:x-small;
font-weight:normal;
background:#333;
margin-bottom:20px;
}