<html>
<head>
<title>文档管理 - 会员中心 - <?php echo $cfg_webname; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script type="text/javascript">
  function viewArc(aid){
	  window.open("{dede:global.cfg_phpurl /}/view.php?aid="+aid);
  }
  function editArc(aid,channelid){
	  top.location = "archives_do.php?dopost=edit&channelid="+channelid+"&aid="+aid;
  }
    function leigo(cid,channelid,did){
	  this.location = "content_list.php?channelid="+channelid+"&mtypesid="+cid+"&zzzdisplayz="+did;
  }
  function delArc(aid){
	  if(window.confirm('你确定要删除这篇文章吗?')) location="archives_do.php?aid="+aid+"&dopost=delArc";
  }
</script>
</head>
<link href="/templets/default/diary/css.css" rel="stylesheet" type="text/css">
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" style="background-color=transparent">
<table width="284" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="370" width="284" align="right">
      <table border="0" width="278" id="table8" cellspacing="0" cellpadding="0" height="370">
        <tr> 
          <td height="25" width="16">　</td>
          <td width="200">
分类:<?php
            	$classlist = classification($cfg_ml->M_ID, $mtypesid, $channelid);
            	echo "<select id='mtypesid' name='mtypesid' size='1' style='width:80px;height:20px;' onchange='leigo(this.value,1,zzzdisplayz.value)'>";
            	echo "<option value='0'>全部日记</option>";
				echo $classlist;
				echo "</select>";
            ?> <select name="zzzdisplayz" id='zzzdisplayz' style="width:80px;height:20px;" onchange='leigo(mtypesid.value,1,this.value)'>
<option value="9" <?php if($zzzdisplayz=='9') echo " selected "; ?>>全部日记</option>
<option value="1" <?php if($zzzdisplayz=='1') echo " selected "; ?>>分享日记</option>
<option value="0" <?php if($zzzdisplayz=='0') echo " selected "; ?>>私人日记</option>
</select>
		  </td>
          <td width="62" align="left">
          </td>
        </tr>
        <tr> 
<td background="/templets/default/diary/linebg2.gif" colspan="3" height="1"><img border="0" src="/templets/default/diary/linebg2.gif" width="4" height="1"></td>
        </tr>
        <tr valign="top"> 
          <td colspan="3"> 
            <table border="0" width="100%" id="table9" cellspacing="0" cellpadding="0">
              <tr> 
                <td> 
<form name="form1" method="post" action="?a=tranfer" style="margin:0px;">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" id="table10">
                    <tr> 
<td align="center" style="font-size: 9pt; font-family: Verdana; color: #000000; letter-spacing: 1pt; word-break: break-all" background="img/bg_line.gif"> 
{dede:datalist}
<?php 
if ($fields['zzzxq']=="11"){$zzzxqnow="<font color='#FF9966'>开心篇</font>";}
if ($fields['zzzxq']=="22"){$zzzxqnow="<font color='#FF66FF'>甜蜜篇</font>";}
if ($fields['zzzxq']=="33"){$zzzxqnow="<font color='#0066CC'>深情篇</font>";}
if ($fields['zzzxq']=="44"){$zzzxqnow="<font color='#6699FF'>柔情篇</font>";}
if ($fields['zzzxq']=="55"){$zzzxqnow="<font color='#6699FF'>伤感篇</font>";}
if ($fields['zzzxq']=="66"){$zzzxqnow="<font color='#808080'>沧桑篇</font>";}
if ($fields['zzzxq']=="77"){$zzzxqnow="<font color='#996633'>苦涩篇</font>";}
if ($fields['zzzxq']=="88"){$zzzxqnow="<font color='#996633'>无奈篇</font>";}
if ($fields['zzzxq']=="99"){$zzzxqnow="<font color='#996633'>愤怒篇</font>";}
if ($fields['zzzxq']=="100"){$zzzxqnow="<font color='#996633'>分享篇</font>";}
if ($fields['zzzxq']==""){$zzzxqnow="<font color='#FF9966'>开心篇</font>";}
if ($fields['zzzdisplay']=="1"){$zzzdisplay="<font color=#0099CC>开</font>";}else{$zzzdisplay="<font color=#FF6666>秘</font>";}
?>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0"  id="table11">
                          <tr bordercolor="DDE7AB">
                            <td width="2"></td>
                            <td width="46"><?php echo $zzzxqnow; ?></td>
<td width="*"><a target="_blank" href="<?php echo $cfg_phpurl; ?>/view.php?aid=<?php echo $fields['id']; ?>" title="<?php echo $fields['title']; ?>"> 
                              <font color="#800000"><div style="display:block;width:160px;height:20px;word-break:keep-all;white-spacing:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;"><?php echo $fields['title']; ?></div></font></a></td>
							  <td width="10"><?php echo $zzzdisplay; ?></td>
                            <td width="20"><img src="<?php echo $fields['zzztq']; ?>" border="0" align="middle"></td>
                              <td width="40">
							  <a href="javascript:editArc(<?php echo $fields['id']?>,<?php echo $fields['channel']?>);">
                                <font color="#51300C">改</font></a>&nbsp;<a href="javascript:delArc(<?php echo $fields['id']?>);"><font color="#51300C">删</font></a> 
                              </td>
                          </tr>
                        </table>
{/dede:datalist}
                        <table width="98%" border="0" cellspacing="0" cellpadding="0" id="table13">
                          <tr> 
                            <td align=center> 
<div class="pageList">{dede:pagelist listsize=3 listitem='index,end,pre,next,pageno'/}</div>
                            </td>
                          </tr>
                        </table>

                      </td>
                    </tr>
                  </table></form>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>