
<body>
<table width="550" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td> &nbsp;&nbsp;<img src="image/download.gif" width="16" height="16"> <?=$lang33?>£º<font color="#FF0000"> 
      <?=$total?>
      </font></td>
  </tr>
</table>
<table width="550" border="0" cellspacing="1" cellpadding="0" bgcolor="#dedede" align="center">
  <tr>
    <td bgcolor="#FFFFFF"><? PageShow($pagenum,$page,"?action=search&keyword=$keyword");?></td>
  </tr>
</table>
<table width="550" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td width="467" valign="top" height="63"> 
	<!--   item start ---->
	<?php
	  for($i=$pagestart;$i>=max(0,$pageend);$i--){
	  $key1=$keys_sort[$i];
	  list($name,$date,$link,$brief,$pid)=explode("|%|",$mainarr[$key1]);
	  $hit=$hitarr[$key1];
	  $rating=$ratingarr[$key1];
	  $rating=ceil($rating);
	  $sort_id=$sortarr[$key1];
	?>
      <table bgcolor=#A3B9CD border=0 cellpadding=3 cellspacing=1 
        width="96%">
        <tbody> 
        <tr bgcolor=#6e92b1> 
          <td colspan=2><b> <font color="#FFFFFF"> 
            <?echo"<a href=\"?action=info&id=$key1&pid=$pid\" class=\"1\">$name</a>";?>
            </font></b></td>
          <td align=right colspan=2> <font color="#FFFFFF"> 
            <?=${sort.$sort_id}?>
            | 
            <?php
			if(trim($link)==""){
			  echo"<font color=#ffffff>$lang21</font>";
			}
			else{
			  $_addr=explode("|",$link);
			  for($j=0;$j<sizeof($_addr);$j++){
			     echo"&nbsp;&nbsp;<a href=$_addr[$j] target=\"_blank\" class=\"1\">$lang21</a>";
			  }
			}
			?>
            </font> </td>
        </tr>
        <tr> 
          <td align=middle bgcolor=#edf3fa width="17%"> 
            <?=$lang19?>
          </td>
          <td bgcolor=white width="31%">
            <?=$date?>
          </td>
          <td align=middle bgcolor=#edf3fa width="21%"> 
            <?=$lang20?>
          </td>
          <td bgcolor=white width="31%"><img src="image/<?=$rating?>stars.gif"> 
            <?=$hit?>
          </td>
        </tr>
        <tr bgcolor="white"> 
          <td colspan=4 
          style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all"> 
            <p 
            style="LINE-HEIGHT: 130%"> 
              <?=$brief?>
            </p>
          </td>
        </tr>
        </tbody> 
      </table>
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
      <?php
	  }
	  ?>
<!------------ item end ---------->
    </td>
    <td width="14" height="63">&nbsp;</td>
    <td width="243" valign="top" height="63"> 
      <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#A3B9CD">
        <tr bgcolor="<?=$listcolor3?>"> 
          <td bgcolor="#6e92b1"><img src="image/top.gif" width="16" height="16"><font color="#FFFFFF"> 
            <?=$lang7?>
            </font></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td> 
		  <!------------ HOT LIST ----------->
            <?php 
		  for($i=0;$i<min($adminlist,$total);$i++){
          list($key1)=each($_keys);
		  $key=$keys[$key1];
		  list($name,,,,$pid)=explode("|%|",$mainarr[$key]);
		  echo" &nbsp;<img src=\"image/list.gif\"> <a href=\"?action=info&id=$key&pid=$pid\">[${sort.$sortarr[$key]}]$name(<font color=\"red\" size=\"1\">$hitarr[$key]</font>)</a><br>";
		  }  
		  ?>
          </td>
        </tr>
        <tr> 
          <td bgcolor="#6e92b1"><img src="image/top.gif" width="16" height="16"><font color="#FFFFFF"> 
            <?=$lang8?>
            </font></td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF"> 
		  <!----- COOL LIST -------------->
            <?php 
		  for($i=0;$i<min($adminlist,$total);$i++){
		  list($key1)=each($_keys1);
		  $key=$keys1[$key1];
		  list($name,,,,$pid)=explode("|%|",$mainarr[$key]);
		  echo" &nbsp;<img src=\"image/list.gif\"> <a href=\"?action=info&id=$key&pid=$pid\">[${sort.$sortarr[$key]}]$name(<font color=\"red\" size=\"1\">$ratingarr[$key]</font>)</a><br>";
		  }  
		  ?>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
