<!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>News Letter</title>
</head>
<body style="padding:0px;margin:0px;background-color:#034263;">
<div id="wrapper" style="width:800px;
	min-height:1100px;
	margin:0px auto;
	background-color:#fff;
	background-image:url(<?php echo Yii::app()->getBaseUrl(true); ?>/media/newsletter/images/news-letter.-bg_01.jpg);
	background-repeat:no-repeat;">
  <div id="header" style="width:800px;
	height:252px;">
    <div id="logo_outer" style="width:247px;
	height:175px;
	float:left;
	margin-top:40px;
	margin-left:40px;">
      <div id="logo" style="width:247px;
	height:73px;
	float:left;
	background-image:url(<?php echo Yii::app()->getBaseUrl(true); ?>/media/newsletter/images/logo_03.png);
	background-repeat:no-repeat;"> </div>
      <div id="newsletter" style="width:247px;
	height:50px;
	float:left;
	margin-top:45px;
	font-family:arial;
	font-size:22px;
	color:#016193;
	font-weight:bolder;"><span class="month" style="font-size:19px;
	color:#2693cd;
	font-weight:normal;"><?php echo date("F j, Y");  ?></span> <br />
        Newsletter </div>
    </div>
    <div id="slider" style="width:357px;
	height:200px;
	float:left;
	margin-right:30px;
	margin-top:15px;
	margin-left:125px;
	text-align:center;"> <img style="border:0px;" src="<?php echo Yii::app()->getBaseUrl(true); ?>/media/newsletter/images/1.png" width="252" height="194" /></div>
    <div id="scroller" style="width:800px;
	height:15px;
	float:left;
	padding-top:3px;
	padding-bottom:3px;
	font-family:arial;
	font-size:12px;
	color:#fff;
	background-color:#000;
	opacity:0.4;
	margin-top:20px;">
      
    </div>
  </div>
  <div id="content_box" style="width:750px;
	padding:10px 25px 0px 25px;
	float:left;
	background-color:#fff;">
    <div id="content_outer" style="width:750px;
	float:left;">
      <div id="left_box" style="width:210px;
	float:left;
	margin-right:5px;">
        <div id="left_outer_box" style="width:180px;
	float:left;
	background-color:#fff;
	padding:10px;
	border-radius:5px;
	border:1px #999 solid;
	font-family:arial;
	font-size:12px;
	color:#5b5b5b;
	line-height:20px;
	text-align:justify;">
          <h1 style="font-family:arial;
	font-size:21px;
	color:#5b5b5b;
	font-weight:bold;
	margin-bottom:10px;"> My Account</h1>
          <a style="color:#5b5b5b;
	text-decoration:none;" href="<?php echo Yii::app()->getBaseUrl(true); ?>/site/viewprofile">View Profile</a><br />
          <a style="color:#5b5b5b;
	text-decoration:none;" href="<?php echo Yii::app()->getBaseUrl(true); ?>/site/editprofile">Edit Profile</a><br />
          <a style="color:#5b5b5b;
	text-decoration:none;"  href="<?php echo Yii::app()->getBaseUrl(true); ?>/site/changepassword">Change Password</a><br />
          <a style="color:#5b5b5b;
	text-decoration:none;"  href="<?php echo Yii::app()->getBaseUrl(true); ?>/site/pointstable">Points Table</a><br />
          <a style="color:#5b5b5b;
	text-decoration:none;"  href="<?php echo Yii::app()->getBaseUrl(true); ?>/site/mywallet">My Wallet</a><br />
          <a style="color:#5b5b5b;
	text-decoration:none;"  href="<?php echo Yii::app()->getBaseUrl(true); ?>/site/redeempoints">Redeem Point</a></div>
        <div  id="left_outer_shadow" style="width:201px;
	height:21px;
	float:left;
	background-image:url(<?php echo Yii::app()->getBaseUrl(true); ?>/media/newsletter/images/left_shadow_03.jpg);
	background-repeat:no-repeat;"></div>
        <div id="left_outer_box">
          <!--<h1 style="font-family:arial;
	font-size:21px;
	color:#5b5b5b;
	font-weight:bold;
	margin-bottom:10px;"> <br/>In This Issue</h1>
          <a href="#">Issue-1</a><br />
          <a href="#">Issue-2</a><br />
          <a href="#">Issue-3</a>--></div>
        <div  id="left_outer_shadow"></div>
        <div id="left_outer_box">
          <h1 style="font-family:arial;
	font-size:21px;
	color:#5b5b5b;
	font-weight:bold;
	margin-bottom:10px;"> New Products</h1>
          <?php foreach($newProducts as $eachProduct) : ?>
          <a style="color:#5b5b5b;
	text-decoration:none;" href="<?php echo Yii::app()->getBaseUrl(true); ?>/site/productdetails/<?php echo $eachProduct->id; ?>"><?php echo $eachProduct->product_name; ?> </a><br />
          <?php endforeach; ?>
        </div>
        <div  id="left_outer_shadow"></div>
      </div>
      <div id="right_box" style="width:510px;
	float:right;">
      <?php foreach ($model as $eachModel): ?>
        <div id="news_matter_outer_box" style="width:510px;
	height:230px;
	float:right;
	background-color:#FFF;
	padding:10px;">
          <div id="news_matter_box">
            <div id="news_matter" style="width:265px;
	height:210px;
	float:left;
	font-family:arial;
	font-size:12px;
	color:#5b5b5b;
	line-height:20px;">
              <h1 style="font-family:arial;
	font-size:21px;
	color:#5b5b5b;
	font-weight:bold;
	margin-bottom:10px;"><?php echo $eachModel->title_of_the_paper; ?></h1>
              <?php echo substr($eachModel->content,0,300); ?>..<br/>
              <div id="readmore" style="width:104px;
	height:35px;
	float:right;"><a href="<?php echo Yii::app()->getBaseUrl(true); ?>/site/casestudy"><img style="border:0px;"  src="<?php echo Yii::app()->getBaseUrl(true); ?>/media/newsletter/images/readmore_14.jpg" name="Image8" width="104" height="35" border="0" id="Image8" /></a></div>
            </div>
            <div id="news_matter_img"> <img style="border:0px;"  src="<?php echo Yii::app()->getBaseUrl(true); ?>/media/newsletter/images/news-img_11.jpg" width="220" height="156" /> </div>
          </div>
        </div>
        <div id="news_matter_shadow" style="width:510px;
	height:21px;
	float:right;
	background-image:url(<?php echo Yii::app()->getBaseUrl(true); ?>/media/newsletter/images/shadow_15.png);
	background-repeat:no-repeat;"></div>
        <?php endforeach; ?>
      </div>
    </div>
  </div>
  <div id="footer" style="width:800px;
	height:20px;
	float:left;
	font-family:arial;
	font-size:12px;
	color:#333;
	text-align:center;
	background-color:#fff"> Copyright © <?php echo date('Y'); ?> D-Link Corporation/ D-Link Middle East & Africa </div>
</div>
<div class="clear" style="clear:both;"></div>
</body>
</html>