رفتن به مطلب

ارسال‌های توصیه شده

1387782963581.png

 

 

1387801653451.png

 

با سلام!

امیدوارم که خوب بوده باشید!

اینبار هم با قالب ایمیل دیگری شبیه به فیسبوک در خدمت شما عزیزان هستم، امیدوارم که از این قالب ایمیل راضی بوده باشید.

 

اول به آدرس زیر رفته و HTML رو فعال کنید:
AdminCp >> System >> System Setting >> System >> Email Set-up
و
Send HTML emails = "Yes"
و بعد ذخیره کرده و به آدرس زیر بروید:
AdminCp >> Look & Feel >> Manage System Templates >> Email wrapper
و همه کدهای زیر رو با کدهای سایت خود عوض کنید:
<?php 
// You can ofcourse contact me if you have any question 
// I'll add the persian date & time in my other version.
// #####  cheers:  'amir christ - All rights reserved'  #####
/**
 *########################################*
 *@ D0n't delete this message Please     #*
 *########################################*
 *@name:	PFC Email Template       #*
 *@author:	amir christ - IPB-Farsi  #*
 *@email:	[email protected]           #*
 *@version:	v1.0                     #*
 *########################################*
*/?>
<!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">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta charset="{$settings['gb_char_set']}" />
		<title><#subject#></title>
		
	<style type="text/css">
	
	      body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	  margin:0; padding:0; 
}
	
      fieldset,img { border:0; }
      address,caption,cite,code,dfn,th,var { font-style:normal; font-weight:normal; }
      ol,ul { list-style:none; }
      caption,th { text-align:left; }
      h1,h2,h3,h4,h5,h6 { font-size:100%;  font-weight:normal; }
      q:before,q:after { content:''; }
      abbr,acronym { border:0; }
      address{ display: inline; }
	  
      body {
        font: normal 13px Tahoma, Geneva, Sans-serif;
        font-family: "Tahoma", Geneva, Sans-serif;
        position: relative;
        background: #E2E2E2;
        padding: 18px;  
        direction:rtl;
      }
	  
      h3, strong { font-weight: bold; }
      em { font-style: italic; }
      img, .input_check, .input_radio { vertical-align: middle; }
      legend { display: none; }
     
      a {
        color: #3860A9;
        text-decoration: none;
        text-shadow: 1px 1px 2px #666;
      }
       
      a:hover { color: #AF286D; 
      	text-decoration: none;
      	text-shadow: 1px 1px 2px #D6D6DE;
      }
	  
	  div.outer { 
	  margin: 0 auto; 
	  border: 1px solid #3860A9; 
	  border-radius: 8px 8px 0px 0px;
	  -moz-border-radius: 8px 8px 0px 0px;
	  -webkit-border-radius: 8px 8px 0px 0px; 
	  background: #fff; 
	  padding: 5px 5px;
	  text-decoration: none;
	}
	
	.logo { 
		background:#fff; 
		padding:10px 40px;
		vertical-align: middle;
		color: #3860A9;
		text-decoration: none; 
		font-size:24px; 
		font-family:'Tahoma', Arial, Helvetica, Geneva, sans-serif;
		font-weight: bolder;
	}
	
	.content_title {
		background: #EFEFF7;
		border: 1px solid #D6D6DE;
		border-radius: 8px 8px 0px 0px;
		-moz-border-radius: 8px 8px 0px 0px;
		-webkit-border-radius: 8px 8px 0px 0px;
		padding: 10px;
		color: #3860A9;
		font-weight: bold;
		font-family: Tahoma, Helvetica, sans-serif;
		font-size: 13px !important;
	}
	
	.date {
		color: #AF286D;
	}
	
	table, tbody, tr, td {
		border: 0px;
	}
	
	.content_body {
		background: #EFEFF7;
		border: 1px solid #D6D6DE;
		padding: 20px;
		color: #000;
		/* font-weight: bold; */
		font-family:  Tahoma, Helvetica, sans-serif;
		font-size: 13px !important;
	}
	
	.footer {
		background: #3860A9;
		color: #fff !important;
		padding: 5px 10px;
		border-radius: 0px 0px 8px 8px;
		-moz-border-radius: 0px 0px 8px 8px;
		-webkit-border-radius: 0px 0px 8px 8px;
		border: 1px solid #3860A9;
		font-size: 12px !important;
		font-weight: bold;
		font-family:  Tahoma, Helvetica, sans-serif;
	}
	
	.my_text {
		color: #E7CB97 !important;
	}

	</style>
</head>

<body dir="rtl">
	<div class="outer">
<!--############################################################-->
<!--#                            Logo                          #-->
<!--# you can change the {$settings['board_name']} as you wish #-->
<!--############################################################-->
		<div class="logo">
			<a href="{$settings['board_url']}">{$settings['board_name']}</a>
		</div>
			<div class="content_title">
				<table width="100%">
					<tbody>
						<tr>
							<td width="50%">محتواي ايميل
							</td>
							<td width="50%">ايميل ارسال شده در:
								<span class="date">
<?php
/**###############################################################
* Current TimeZone* Sunday 15th September 2013 - 07:20:51        #
* Add your timezone below, for example: 'America/Los_Angeles'    #
* Or visit: http://php.net/manual/en/timezones.php               #
* ################################################################*/
	$timezone = "Asia/Tehran";
	if(function_exists('date_default_timezone_set')) date_default_timezone_set($timezone);
		echo date('l jS F Y - H:i:s');
?>
								</span>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="content_body">
			<!--#########################-->
			<!--      Email Content      -->
			<!--#########################-->
			{$content}
			</div>
	</div>
	<div class="footer">
		<table width="100%">
			<tbody>
				<tr>
					<td align="right" class="my_text">
						<a class="my_text" target="_blank" href="{$settings['board_url']}">{$settings['board_name']}</a> 
					</td>
					<td align="left">
						Designed and Coded By amir christ
					</td>
				</tr>
				<tr>
					<td align="right">
						این ایمیل به این خاطر ارسال شده است که شما با این ایمیل در سایت ما ثبت نام کرده اید.
					</td>
					<td align="left">
						<span class="my_text">{$unsubscribe}</span>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
</body>
</html>

کپی رایت رو می توانید به نام خود تغییر دهید، ولی اگه مثل قالب های ایمیل دیگه خواستید تو سایت خود برای استفاده دیگران قرار دهید، حق ندارید که عوض کنید، خواستید هم عوض کنید لااقل IPB-Farsi رو عوض نکنید. ممنون

موفق و پیروز باشید.

 

لینک ارسال
به اشتراک گذاری در سایت های دیگر

بایگانی شده

این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.

  • کاربران آنلاین در این صفحه   0 کاربر

    • هیچ کاربر عضوی،در حال مشاهده این صفحه نیست.
×
×
  • اضافه کردن...