<? include("top.php"); ?>
<div id="box"><!--主体-->
<div id="leftbox"><!--主体:左侧-->
<div id="left_one_type"><!--主体:左侧一-->
<div class="title"><div class="imag"></div><span>分类显示</span></div>
<div id="left_fenlei"><div class="name">【类型分类】</div>
<ul>
<?if($arr_type_next){foreach($arr_type_next AS $k => $v){	echo "<li><a href='".rewrite_list_rule("type",$v["id"])."' >".$v["name"]."</a></li>";}
}else{foreach($arr_type AS $k => $v){	echo "<li><a href='".rewrite_list_rule("type",$v["id"])."' >".$v["name"]."</a></li>";}} ?> 
</ul>
</div>
<div id="clear-f"></div>
<?if(get_system("zone_flag")){?><?if($v["cz_name"]){?>
<div id="left_zone"><div class="name">【地区分类】</div>
<ul><?foreach($arr_zone AS $k => $v){echo "<li><a href='".rewrite_list_rule("zone",$v["id"])."' >".$v["name"]."</a></li>";}?>
</ul>
</div>
<div id="clear-f"></div>
<?}}?>
<div id="left_fenlei"><div class="name">【字母】</div>
<ul>
<?foreach($arr_word AS $k => $v){	echo "<a href='".rewrite_list_rule("word",$v)."' >".$v."</a> ";}?> 
</ul>
</div>
<div id="clear-f"></div>
<div id="left_fenlei"><div class="name">【日期】</div>
<ul>
<?foreach($arr_ym AS $k => $v){	echo "<li><a href='".rewrite_list_rule("ym",$v)."' >".$v."</a></li>";}?>
</ul>
</div>
<div id="clear-f"></div>
<div id="left_fenlei"><div class="name">【点击排行】</div>
<ul>
     <li><a href="<?=DOMAIN_PATH?>/tongji.php?act=w">本周排行</a></li>
	<li><a href="<?=DOMAIN_PATH?>/tongji.php?act=m">本月排行</a></li>
	<li><a href="<?=DOMAIN_PATH?>/tongji.php">累计排行</a></li>
</ul>
</div>
<div id="clear-f"></div>
<div id="clear-f"></div>
<div id="left_fenlei" style="text-align:center;padding-bottom:5px;">
<!--图书左侧gg-->
<script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showggbookleft"></script>
</div>
</div><!--end 主体:左侧一-->
<div id="clear-f"></div>
<div id="left_one"><!--主体:左侧二-->
<div class="title"><div class="imag"></div><span>相关作者</span></div>
<ul>
<?$j=1;foreach($r_list AS $k => $v){	?>
<li><a href="<?=WRITTER_SHOW_PATH.'/'.$v['id']?>" title="<?=$v["name"]?>">·<?=cut_str($v["name"],10)?></a></li>
<?$j++;if($j>20) break;}?>
</ul>
</div><!--end 主体:左侧二-->
<!--主体:左侧三-->
<!--
<div id="left_one">
<div class="title"><div class="imag"></div><span>最近更新</span><span class="more"><a href="#">更多..</a></span></div>
<ul>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
<li>· <a href="#">dfsdf</a></li>
</ul>
</div>
-->
<!--end 主体:左侧三-->
</div><!--end 主体:左侧-->

<div id="right_book"><!--主体:右侧book-->

<div id="book_info">
<div class="title"><?=$value["name"]?></div>
<div class="title_ext">又名：<?=$value["name_p"]?> | <b>出生年代：</b><?=$value["year"]?> | <b>擅长：</b><?foreach($value["t_arr"] as $kt =>$vt){?><a href="<?=rewrite_list_rule('type',$kt)?>"><?=$vt?></a>&nbsp;<?}?> | <?if(get_system("zone_flag")){?><?if($value["cz_name"]){?><b>地区：</b><a href="<?=rewrite_list_rule('zone',$value["cz_id"])?>"><?=$value["cz_name"]?></a> | <?}}?><b>性别：</b><?=$value["sex"]?></div>
<br>
<div class="title_ext"><span id="kk_book_counts"></span><script>GetBookCounts(<?=$value['id']?>,"<?=$value['name']?>","w")</script>  <span id="kk_book_action"></span><script>GetBookAction(<?=$value['id']?>,"<?=$value['name']?>","w")</script><script>GetCookiesView(<?=$value['id']?>,"<?=$value['name']?>","w")</script></div>
<br>
<div class="intro"><div class="intro_left">
<img src="<?=$value['pic'] ?>" width="110" height="150" border="0" title="<?=$value["name"]?>" alt="<?=$value["name"]?>"></div>
<div class="intro_right"><?=de($value["content"])?></div></div>
<!--<div class="shoucang">sdfsdf</div>-->
</div><div id="clear-f"></div>

<div id="book_ext">
<ul>
<li style="background-color:#E5D7B8;width:750px;text-align:center;height:30px;line-height:30px; overflow:hidden;">◎相关作品</li>
<?if(!empty($value["b_arr"])){foreach($value["b_arr"] AS $k => $v){ ?>
<li><a href="<?=get_dir_url($k)?>"><?=$v?></a></li>
<?}}else{ }?> 
</ul>
</div>
</div><!--end 主体:右侧book-->
</div><!--end 主体-->

<div id="light" class="white_ping">
<table width="100%" align="center" cellpadding="0" cellspacing="1" bordercolorlight="#FFFFFF" bordercolordark="#CCCCCC" bgcolor="#CCCCCC" id="table4">
      <tr>
        <td width="578" height="200" align="center" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td height="30"><span id="showNobody" style="display:none;"><input onclick="this.checked=!this.checked" checked type="checkbox" name="nobody" id="nobody" value="1">匿名</span> </td>
          </tr>
          <tr>
            <td height="30"><span id="showPingLogin"></span></td>
          </tr>
		  <tr>
            <td height="30">评论字符不能超过255个字符。</td>
          </tr>
        </table></td>
        <td width="791" height="200" align="center" valign="top" bgcolor="#FFFFFF"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="30">标题：
            <input name="c_title" type="text" id="c_title" style=" border:1px solid #cccccc;" /></td>
          </tr>
          <tr>
            <td><textarea name="c_contents" id="c_contents" cols="70" rows="10" style="font-size:12px; border:1px solid #cccccc;"></textarea></td>
          </tr>
          <tr>
            <td height="40">
            <input type="button" name="button" id="button" value="提交" onclick="submitComments(<?=$value['id']?>,'<?=$value['name']?>','w')"> <input name="" type="button" onclick="close_ping()" value="关闭" /></td>
          </tr>
        </table></td>
      </tr>
</table><BR><BR>
</div>
<div id="fade" class="black_ping"></div>

<? include("bot.php"); ?>
