<? include("top.php") ?>
<link rel="stylesheet" type="text/css" media="all" href="<?=PATH_WEB_CSS?>/book.css">

<!--主体-->
<div class="layout">
	<div class="paper">
        <div class="item">
			<ul>
				<li><b>[字母]</b></li>
				<?foreach($arr_word AS $k => $v){	echo "<li><a href='".rewrite_list_rule("word",$v)."' >".$v."</a></li>";}?> 
                <li><b>[点击]</b></li>
                <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 class="br"></div>
        
       
        
        
	</div>
    
    
</div>





<div class="layout">
	<div class="posterborder">
		<div class="pleft_top">&nbsp;</div>
		<div class="pleft">
			<div class="book_path">
				<div class="left"><?=$value["name"]?></div>
                <div class="right"></div>
            </div>
            <div class="book_name"> <strong><?=$value["name"]?></strong> </div>
            
	  <div class="book_detail">
				<div class="book_img">
					<div class="imagetop"><img alt="<?=$value['title']?>" title="<?=$value['title']?>" src="<?=showPics($value['pic'])?>" width="188" height="270" border="0" title="<?=$value["title"]?>" alt="<?=$value["title"]?>"></div>
					<div class="br">&nbsp;</div>
				</div>
				<div class="book_memo">
					<div class="book_list">
						<ul>
							<li class="h1">又名：<?=$value["name_p"]?></li>
							<li class="h2">出生年代：<?=$value["year"]?></li>
							<li class="h3">性别：<?=$value["sex"]?></li>
						</ul>
						<ul>
							<li >擅长：<?foreach($value["t_arr"] as $kt =>$vt){?><a href="<?=rewrite_list_rule("type",$kt)?>"><?=$vt?></a>&nbsp;<?}?></li>
						</ul>
                        <ul>
							<li ><span id="kk_book_counts"></span><script>GetBookCounts(<?=$value['id']?>,"<?=$value['name']?>","w")</script>&nbsp;
          					<span id="kk_book_action"></span><script>GetBookAction(<?=$value['id']?>,"<?=$value['name']?>","w")</script><script>GetCookiesView(<?=$value['id']?>,"<?=$value['name']?>","w")</script></li>
						</ul>
					</div>
					<div class="br"></div>
                   
					
					<div class="book_desc">
						<ul>
							<li class="h11">[简介]</li>
							<li class="h1"><?=strip_tags(de($value["content"]))?></li>
						</ul>
					</div>
					<div class="br">&nbsp;</div>
					
                    

				</div>
			</div>

	    </div>
        

        
        
        
        
	</div>
	<div class="pRight">
	  <div class="book_space2">&nbsp;</div>
            
    
    
        <!-- VIP推荐/热门推荐 开始-->
        <div class="riu">
        	<div class="title">
        		<div class="h1">&nbsp;</div>
        		<div class="h2">
        			<div class="biaoti">
        				<dl>
        					<dd>相关作者</dd>
        				</dl>
      		  		</div>
        		</div>
				<div class="h3">&nbsp;</div>
			</div>
            <div class="rmtjnr">
                <div class="jtlb">
                    <div class="meg2"><dl><dt>
							</dt>
						<?foreach($r_list AS $k => $v){	?>
                        <dd class="f1"><?=$k+1?></dd>
							<dd class="f2"><a href="<?=get_dir_url($v['id'])?>" title="<?=$v["title"]?>"><?=$v["title"]?></a></dd><dt></dt>
                        <?} ?>
                        </div>
                   
                </div>
            </div>
			<div class="book_space2">&nbsp;</div>
		</div>
		<div class="bRight1">
      <!--右侧gg--><script language="javascript" src="<?=INCLUDE_PATH?>/ad.php?act=showggbookright"></script>
      </div>
		<div class="br spacer2"></div>
        </div>
</div>


<div class="br"></div>



<div class="paper_ext">
	<div id="book_ext">
    <ul>
        <li style="font-size:14px;background-color:#ABD7FF;width:948px;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>
       
       

<div id="light" class="white_ping">
<div id="alert_ping" style="height:40px;line-height:40px;display:none;">...</div><br>
<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 size="10" name="code_ping" class="rr2"  type="text" id="code_ping" />&nbsp;<img align="top" id="imgcode_ping" onClick=this.src="<?=DOMAIN_PATH?>/captcha.php?t="+Math.random()+"&auth=Auth_Ping" style="margin-bottom:-5px;cursor:pointer;" src="<?=DOMAIN_PATH?>/captcha.php?t=1&auth=Auth_Ping">
          </td></tr>
          <tr>
            <td height="40">
            <input type="button" name="button" id="button" value="提交" onclick="submitComments(<?=$value['id']?>,'<?=$value['title']?>','b')"> &nbsp;<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 id="maos_down" class="maos_down_class">
<div id="alert_down" style="height:40px;line-height:40px;display:none;">...</div><br>
验证码：<input type="hidden" name="url_down" id="url_down"><input size="10" name="code" class="rr2"  type="text" id="code" />&nbsp;<img align="top" id="imgcode" onClick=this.src="<?=DOMAIN_PATH?>/captcha.php?t="+Math.random()+"&auth=Auth_Down" style="margin-bottom:-5px;cursor:pointer;" src="<?=DOMAIN_PATH?>/captcha.php?t=1&auth=Auth_Down"><br><br><input type="button" name="button" id="button" value="确认下载" onclick="submitdown()">&nbsp;<input name="quxiao" type="button" onclick="close_maos_down()" value="取消" />
</div>
<div id="maos_fade_down" class="maos_down_fade_class"></div>

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