<div id="sub_menu">
<a href="<?php echo Yii::app()->createUrl('site/index'); ?>"> Home</a>&nbsp;&nbsp;<img src="<?php echo Yii::app()->baseUrl; ?>/images/front/1/submenu_13.jpg" width="9" height="10" />&nbsp;&nbsp;&nbsp;Events</div>
<div id="content">
  <div id="business_solution_leftcontent">
    <?php $this->renderPartial('productgroup_left_menu');  ?>
    <?php $this->renderPartial('pages/leftcontent'); ?>
  </div>
  <div id="overview_rightcontent">
    <div id="business_solution_subheadding"> Events </div>
    <div id="partnerlevel_slider">
      <div style="font-size:15px; border:1px #999 solid; ">
      <style type="text/css">
.bst_table{
	font-family:arial;
	font-size:12px;
	color:#666;
	line-height: 20px;
} 
	.bst_table a{color:#666; text-decoration:none}
	.bst_table a:hover{color:#666; text-decoration:underline}


</style>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="bst_table">
          <tr>
            <td><table width="100%" border="0" cellspacing="5" cellpadding="5">
            
                <tr>
                  <th width="16%" align="center" valign="top" bgcolor="#8eb9d8">Title</th>
                  <th width="43%" align="center" valign="top" bgcolor="#8eb9d8">Description</th>
                  <th width="11%" align="center" valign="top" bgcolor="#8eb9d8">Start Date &amp; Time</th>
                  <th width="11%" align="center" valign="top" bgcolor="#8eb9d8">End date &amp; Time</th>
                </tr>
                <?php foreach($events as $eachEvent): ?>
                <tr>
                  <td width="16%" align="left" valign="top" bgcolor="#c6d8e5"><?php echo $eachEvent->event_title; ?></td>
                  <td width="43%" align="left" valign="top" bgcolor="#c6d8e5"><?php echo strip_tags($eachEvent->description); ?></td>
                  <td width="11%" align="left" valign="top" bgcolor="#c6d8e5"><?php echo $eachEvent->event_date; ?><br/><?php echo date('h:m a',strtotime($eachEvent->event_time)); ?></td>
                  <td width="11%" align="left" valign="top" bgcolor="#c6d8e5"><?php echo $eachEvent->event_end_date; ?><br/><?php echo date('h:m a',strtotime($eachEvent->event_end_time)); ?></td>
                </tr>
				<?php endforeach; ?>
              </table>
              
            </td>
          </tr>
        </table>
      </div>
    </div>
    
    <?php /* foreach($events as $eachEvent): ?>
    <div id="partnerlevel_slider">
      <div style="font-size:15px; border:1px #999 solid; ">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="bst_table">
          <tr>
            <td><table width="100%" border="0" cellspacing="5" cellpadding="5">
            
                <tr>
                  <td width="24%" align="left" valign="top" bgcolor="#c6d8e5"><?php echo $eachEvent->event_title; ?></td>
                  <td width="34%" align="left" valign="top" bgcolor="#c6d8e5"><?php echo $eachEvent->description; ?></td>
                  <td width="18%" align="left" valign="top" bgcolor="#c6d8e5"><?php echo $eachEvent->event_date; ?></td>
                  <td width="24%" align="left" valign="top" bgcolor="#c6d8e5"><?php echo $eachEvent->event_time; ?></td>
                </tr>
              </table>
              
            </td>
          </tr>
        </table>
      </div>
    </div>
    <?php endforeach;*/ ?>
   <!-- <div id="partnerlevel_slider">
      <div style="font-size:15px; border:1px #999 solid; ">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="5" cellpadding="5">
                <tr>
                  <td width="24%" align="left" valign="top" bgcolor="#c6d8e5">Roadshow</td>
                  <td width="34%" align="left" valign="top" bgcolor="#c6d8e5">Unified Solution</td>
                  <td width="18%" align="left" valign="top" bgcolor="#c6d8e5">Dec.25th</td>
                  <td width="24%" align="left" valign="top" bgcolor="#c6d8e5">Brazil</td>
                </tr>
              </table></td>
          </tr>
        </table> 
      </div>
      <div id="roadshow_imgbox"> <img src="<?php echo Yii::app()->baseUrl; ?>/images/front/1/roadshow_03.jpg" width="194" height="154" alt="roadshow" /></div>
      <div id="roadshow_description"> ( Event description )
        <div id="roadshow_registernow"> <a href="#"><img src="<?php echo Yii::app()->baseUrl; ?>/images/front/1/registernow_07.png" width="101" height="32" alt="registernow" /></a></div>
      </div>-->
    </div> 
  </div>