<? include("top.php") ?>

<div id="box"><!--主体-->
<div id="box_list_left"><!--主体1:左-->

<div class="block">
<div class="blocktitle">类型分类</div><div id="clear-f"></div>
<div class="blocktext">
<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>

<?if(get_system("zone_flag")){?>
<div class="block">
<div class="blocktitle">地区分类</div><div id="clear-f"></div>
<div class="blocktext">
<ul><?foreach($arr_zone AS $k => $v){echo "<li><a href='".rewrite_list_rule("zone",$v["id"])."' >".$v["name"]."</a></li>";}?>
</ul>
</div>
</div>
<?}?>

<div class="block">
<div class="blocktitle">字母检索</div><div id="clear-f"></div>
<div class="blocktext_w">
<ul><?foreach($arr_word AS $k => $v){echo "<li><a href='".rewrite_list_rule("word",$v)."' >".$v."</a></li>";}?>
</ul>
</div>
</div>

<div class="block">
<div class="blocktitle">点击排行</div><div id="clear-f"></div>
<div class="blocktext">
<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>


<div class="block">
<div class="blocktitle">相关作者</div><div id="clear-f"></div>
<div class="blocktext_l">
<ul>
<?foreach($r_list AS $k => $v){	?>
<li><a href="<?=WRITTER_SHOW_PATH.'/'.$v['id']?>" title="<?=$v["name"]?>"><img src="<?=PATH_WEB_IMAGES?>/arrow_085.gif" height="9" width="9"> <?=cut_str($v["name"],10)?></a></li>
<?}?>
</ul>
<div class="pic">
<script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showggbookleft"></script>
</div>
</div>
</div>


</div><!--end 主体1:左-->
<!--end 主体1:中-->
<div id="box_book_rig"><!--主体1:右-->
<div class="title">《<?=$value["name"]?>》</div><div id="clear-f"></div>
<div id="bookinfo">
<div class="lefts"><img src="<?=$value['pic']?>" width="110" height="150" border="0" title="<?=$value["name"]?>" alt="<?=$value["name"]?>"></div>
<div class="rights">
<div>又名：<?=$value["name_p"]?></div>
<div>出生年代：<?=$value["year"]?></div>
<div>性别：<?=$value["sex"]?></div>
<div>擅长：<?foreach($value["t_arr"] as $kt =>$vt){?><a href="<?=rewrite_list_rule("type",$kt)?>"><?=$vt?></a>&nbsp;<?}?></div>
<?if(get_system("zone_flag")){?><?if($value["cz_name"]){?><div>地区：<a href="<?=rewrite_list_rule('zone',$value['cz_id'])?>" ><?=$value["cz_name"]?></a></div><?}}?>
<div><span id="kk_book_counts"></span><script>GetBookCounts(<?=$value['id']?>,"<?=$value['name']?>","w")</script></div>
<div><span id="kk_book_action"></span><script>GetBookAction(<?=$value['id']?>,"<?=$value['name']?>","w")</script><script>GetCookiesView(<?=$value['id']?>,"<?=$value['name']?>","w")</script></div>


</div>
</div><div id="clear-f"></div>

<div class="infotxt">【简介】：<br>
<?=de($value["content"])?>
</div><div id="clear-f"></div>

<div id="book_ext">
<ul>
<li style="background-color:#d8e4ef;width:708px;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 id="clear-f"></div>
</div>
</div><!--end 主体1:右-->
</div><!--end 主体1-->
<div id="clear-f"></div>



<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>


</div><!--end 主体-->
<? include("bot.php") ?>