<?php echo $this->fetch('member.header.html'); ?>
<script type="text/javascript" src="<?php echo $this->lib_base . "/" . 'addkeyword.js'; ?>" charset="utf-8"></script>
<link href="<?php echo $this->res_base . "/" . 'keyword/css/keyword.css'; ?>" rel="stylesheet" type="text/css" />
<style>
.borline td {padding:10px 0px;}
.ware_list th {text-align:left;}
</style>

<div class="content">
    <?php echo $this->fetch('member.menu.html'); ?>
    <div id="right">
          
            <div class="wrap">
              
            
        <div class="main_right">
    	<a href="javascript:void(0);" class="addreply"><img src="themes/mall/default/styles/default/keyword/images/keywords_03.jpg" /></a>
        <div class="list" id="add_zsc" style="display:none;"></div>
        
        
           <?php if ($this->_var['keyinfo']): ?>
           <?php $_from = $this->_var['keyinfo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'keyword');if (count($_from)):
    foreach ($_from AS $this->_var['keyword']):
?>
          <div class="list" style="position:relative">
        	<h3>规则：<?php echo $this->_var['keyword']['kename']; ?><a href="javascript:void(0);" id="zsc_btninfo<?php echo $this->_var['keyword']['kid']; ?>" class="add" onclick="zsc_show('<?php echo $this->_var['keyword']['kid']; ?>')"></a><a href="javascript:void(0);" class="del" id="zsc_del_<?php echo $this->_var['keyword']['kid']; ?>" onclick="zscdel('<?php echo $this->_var['keyword']['kid']; ?>')"></a></h3>
            <div id="zsc_content_<?php echo $this->_var['keyword']['kid']; ?>">
            	<p>关键字：<?php echo $this->_var['keyword']['kyword']; ?></p>
            	 <?php if ($this->_var['keyword']['type'] == 1): ?>
            	 <p>回复：文本消息 </p>
            	    <?php else: ?>
                <p>回复：图文消息 </p>
                    <?php endif; ?>
            </div>
        </div>
          <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
          <?php endif; ?>
          

        <div id="localImag"><img id="preview" width=-1 height=-1 style="diplay:none" /></div>
       </div>
            
            
            </div>

            <div class="clear"></div>
            <div class="adorn_right1"></div>
            <div class="adorn_right2"></div>
            <div class="adorn_right3"></div>
            <div class="adorn_right4"></div>
        </div>
        <div class="clear"></div>
    </div>
</div>
<?php echo $this->fetch('footer.html'); ?>
