رفتن به مطلب

آموزش || قالب ایمیل Olive Tree ورژن 1.5


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

با سلام!

حتما قالب ایمیل Olive Tree رو میشناسید، اینبار کلا کدهای این قالب رو عوض کردم و از هر رزولیشنی پشتیبانی می کنه:

 

در حالت باز:

 

1387628414241.png

 

در حالت بسته:

 

1387628414312.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 us if you have any question 
// I'll add the persian date & time in my other version.
// #####  cheers:  'amir christ - All rights reserved'  #####
/**
 ******************************************
 *    Don't Delete This Message  **Please**
 ******************************************
 *@name:    	Olive Tree e-mail template*
 *@author:  	amir christ - IPBFarsi    *
 *@email:   	[email protected]     *
 *@test:    	everything is done!       *
 *@version: 	1.5                       *
 *@website:	http://ipsfarsi.com *
 ******************************************
 */
?>
<!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 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 {
         
        text-decoration: none;
      }
       
      a:hover { color: #328586; }
	  
	  div.outer { 
	  margin: 0 auto; 
	  border: 1px solid #043948; 
	  border-radius: 8px 8px 0px 0px;
	  -moz-border-radius: 8px 8px 0px 0px;
	  -webkit-border-radius: 8px 8px 0px 0px; 
	  background: #043948; 
	  padding: 5px 5px;
	}
	
	.site_name {
	color: #E7CB97 !important;
	font-weight: bold; 
	text-decoration: none; 
	font-family: 'Tahoma', Arial, Helvetica, Geneva, sans-serif;
	}

	.site_name a {
	color: #E7CB97 !important;
	font-weight: bold; 
	text-decoration: none; 
	font-family: 'Tahoma', Arial, Helvetica, Geneva, sans-serif;
	}
	
	.social {
		font-weight: bold; 
		color: #E7CBA3; 
		text-decoration: none; 
		font-weight: bold; 
		font-size:12px;
	}
	
	.logo { 
		background:#00707B; 
		border:1px solid #00707B; 
		padding:10px 40px;
		vertical-align: middle;
		height: 50px;
		color: #FFFFFF;
		text-decoration: none; 
		font-size:36px; 
		font-family:'Tahoma', Arial, Helvetica, Geneva, sans-serif;
	}
	
	.content {
		padding:10px 10px; 
		background:#EDEFF4;
		text-decoration: none;
	}
	
	.content_title {
		color: #9A9661;
		font-size:18px;
		text-decoration: none;
	}
	
	.content_title1 {
		text-decoration: none; 
		font-size:12px; 
		font-family:'Tahoma', Arial, Helvetica, Geneva, sans-serif; 
		color: #9A9661;
	}
	
	.time {
		text-decoration: none; 
		font-size:12px; 
		font-family:'Tahoma', Arial, Helvetica, Geneva, sans-serif;
		color: #00707B;
	}
	
	.email_content {
		color: #00707B;
		text-decoration: none; 
		font-size:12px; 
		font-family:'Tahoma', Arial, Helvetica, Geneva, sans-serif;
	}
	
	.email_body {
		padding:5px 5px; 
		background:#EDEFF4; 
		width:98%;
	}
	
	.footer {
		padding:20px 20px; 
		background: #043948; 
		border-radius: 0px 0px 8px 8px;
        -moz-border-radius: 0px 0px 8px 8px;
        -webkit-border-radius: 0px 0px 8px 8px;
		vertical-align: middle;
	}
	.footer_info {

		color: #E7CBA3;
		text-decoration: none; 
		font-size:12px; 
		font-family:'Tahoma', Arial, Helvetica, Geneva, sans-serif;
		float: left;
	}
	
	.footer_sub {
		color: #E7CB97; 
		text-decoration: none; 
		font-size:12px;
	}
	
	.footer_tos {
		color: #E7CB97; 
		text-decoration: none; 
		font-size:12px;
	}
	
	.copyright {
		color: #E7CBA3;
		text-decoration: none; 
		font-size:12px; 
		font-family:'Halvetica Neue', Arial, Helvetica, Geneva, sans-serif;
		float: left;
	}
    </style>
    
</head>

<body dir="rtl">
	<div class="outer  site_name">
    	<a class="site_name" href="{$settings['board_url']}" target="_blank">{$settings['board_name']}</a> 
        <span class="site_name">{$unsubscribe}</span>
	<span style="float:left;"><img src="http://up.palringo.eu/uploads/137911867931.png" valign="top" />
		<a class="social" href="http://facebook.com/your-id" target="_blank">فیسبوک</a>  
    <img src="http://up.palringo.eu/uploads/1379118682692.png" valign="top" />
		<a class="social" href="http://twitter.com/your-id" target="_blank">توییتر</a>  
        <img src="http://up.palringo.eu/uploads/1379118683413.png" valign="top" />
		<a class="social" href="{$settings['board_url']}/index.php?app=referrals&reff=1" target="_blank">دعوت دوستان</a>
	</span>
	</div>
<!--############################################################-->
<!--#                            Logo                          #-->
<!--# you can change the {$settings['board_name']} as you wish #-->
<!--############################################################-->
	<div valign="middle" class="logo" align="center">{$settings['board_name']}</div>
<!--##################################-->
<!--#           Email Content        #-->
<!--##################################-->
	<div class="content" align="right" valign="middle">
		<div class="content_title">محتوای ایمیل </div>
        	<div class="content_title1">ایمیل ارسال شده در: 
            	<span class="time">
<?php
/*****************************************
* Persian TimeZone
* Sunday 15th September 2013 - 07:20:51
******************************************/
	$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></div><br />
	<div class="email_content">
		<div class="email_body">{$content}</div>
</font><br /> 
            </div>
	</div>
<!--########################################-->
<!--#                Footer                #-->
<!--#You're allowed to change the Copyright#-->
<!--########################################-->
	<div class="footer">
    	<font color="FFFFFF" style="text-decoration: none; font-size:12px; font-family:'Tahoma', Arial, Helvetica, Geneva, sans-serif;">این ایمیل به این خاطر ارسال شده است که شما با این ایمیل در سایت ما ثبت نام کرده اید.</font>
        <span class="footer_info">Copyright © 2013</span>
	<div>
    	<a class="footer_tos" target="_blank" href="{$settings['board_url']}">{$settings['board_name']}</a>  
		<a class="footer_sub">{$unsubscribe}</a>
        <span class="copyright">Designed and Coded By amir christ</span>
	</div>
    </div>
</body>
</html> 

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

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

بایگانی شده

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

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

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