
<table bgcolor=#A3B9CD border=0 cellpadding=3 cellspacing=1 width=550 align="center">
  <tbody> 
  <tr bgcolor="#6e92b1"> 
    <td class=shadow1 colspan=2 width="50%"><font 
      color=#efefef><b> <font color="#FFFFFF"> 
      <?=$name?>
      </font></b></font></td>
    <td align=right class=shadow1 colspan=2 width="50%" bgcolor="#6e92b1">&nbsp; </td>
  </tr>
  <tr> 
    <td align=middle bgcolor=#edf3fa width="15%"> 
      <div align="center"> 
        <?=$lang19?>
      </div>
    </td>
    <td bgcolor=white width="35%"> 
      <?=$date?>
    </td>
    <td align=middle bgcolor=#edf3fa width="15%"> 
      <div align="center">
        <?=$lang29?>
      </div>
    </td>
    <td bgcolor=white width="35%"> 
      <?=${sort.$sortarr[$id]}?>
    </td>
  </tr>
  <tr> 
    <td align=middle bgcolor=#edf3fa width="15%"> 
      <div align="center"><?=$lang25?></div>
    </td>
    <td bgcolor=white width="35%"> 
      <?=$size?>
    </td>
    <td align=middle bgcolor=#edf3fa width="15%"> 
      <div align="center"><?=$lang30?></div>
    </td>
    <td bgcolor=white width="35%"> 
      <?=$mod?>
    </td>
  </tr>
  <tr> 
    <td align=middle bgcolor=#edf3fa width="15%"> 
      <div align="center"><?=$lang26?></div>
    </td>
    <td bgcolor=white width="35%"> 
      <?=$env?>
    </td>
    <td align=middle bgcolor=#edf3fa width="15%"> 
      <div align="center"><?=$lang20?></div>
    </td>
    <td bgcolor=white width="35%"> 
      <?php echo"<img src=\"image/${rating}stars.gif\">";?>
    </td>
  </tr>
  <tr> 
    <td align=middle bgcolor=#edf3fa width="15%"> 
      <div align="center"><?=$lang27?></div>
    </td>
    <td bgcolor=white width="35%"> 
      <?
	if(trim($link)!=""){
	   $_addr=explode("|",$link);
	   for($i=0;$i<sizeof($_addr);$i++){
	   $mark=$i+1;
	   echo"<a href=\"$_addr[$i]\" target=\"_blank\">$lang37$mark</a>&nbsp;";
	   }
	   }
	else{
		   echo"$lang38";
		 }
	?>
    </td>
    <td align=middle bgcolor=#edf3fa width="15%"> 
      <div align="center"><?=$lang31?></div>
    </td>
    <td bgcolor=white width="35%"> 
      <?echo"$hit/$view";?>
    </td>
  </tr>
  <tr> 
    <td align=middle bgcolor=#edf3fa width="15%"> 
      <div align="center"><?=$lang28?></div>
    </td>
    <td bgcolor=white width="35%">
      <?
	if(trim($s_addr)!=""){
	   $_addr=explode("|",$s_addr);
	   for($i=0;$i<sizeof($_addr);$i++){
	   $mark=$i+1;
	   echo"<a href=\"?action=down&id=$id&pid=$pid&k=$i\" target=\"_blank\">$lang39$mark</a>&nbsp;";
	   }
	   }
	else{
		   echo"$lang38";
		 }
	?>
    <td bgcolor=#edf3fa width="15%"> 
      <div align="center"><?=$lang32?></div>
    </td>
    <td bgcolor=white width="35%"> 
      <?=$user?>
    </td>
  </tr>
  <tr> 
    <td bgcolor=white colspan=4 
    style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" width="100%" height="2"> 
      <p style="LINE-HEIGHT: 150%"> 
        <?=$brief?>
      </p>
    </td>
  </tr>
  <? if(trim($p_addr)!=""){
	?>
  <tr> 
    <td bgcolor=white colspan=4 
    style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" width="100%" height="2"> 
      <?echo"<img src=\"$p_addr\">";?>
    </td>
  </tr>
  <?php
  	}
	?>
  </tbody> 
</table>
<form name="form1" method="post" action="?action=rating">
<input type="hidden" name="id" value="<?=$id?>">
<input type="hidden" name="time" value="<?=$time?>">
  <table width="550" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#A3B9CD">
    <tr bgcolor="#6e92b1"> 
      <td colspan="2"><b><font color="#FFFFFF"> 
        <?=$lang34?>
        </font></b></td>
    </tr>
    <tr> 
      <td bgcolor="#FFFFFF" width="121" height="17"><?=$lang40?></td>
      <td bgcolor="#FFFFFF" width="426" height="17"> 
        <input type="radio" name="rating" value="1">
        1
        <input type="radio" name="rating" value="2">
        2 
        <input type="radio" name="rating" value="3" checked>
        3
        <input type="radio" name="rating" value="4">
        4 
        <input type="radio" name="rating" value="5">
        5 </td>
    </tr>
    <tr> 
      <td bgcolor="#FFFFFF" width="121"><?=$lang35?></td>
      <td bgcolor="#FFFFFF" width="426">
        <input type="text" name="saying" size="68" maxlength="200">
      </td>
    </tr>
    <tr> 
      <td bgcolor="#FFFFFF" colspan="2" height="2"> 
        <input type="submit" name="Submit" value="<?=$lang15?>">
        <input type="reset" name="Submit2" value="<?=$lang16?>">
      </td>
    </tr>
  </table>
</form>
<table width="550" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#A3B9CD">
  <tr> 
    <td bgcolor="#6e92b1"><b><font color="#FFFFFF"> 
      <?=$lang36?>
      </font></b></td>
  </tr>
  <?php
  for($i=0;$i<sizeof($reply_arr)-1;$i++){
  list($reply,$date)=explode("|%|",$reply_arr[$i]);
  list($date,$rep)=explode("|",$date);
  ?>
  <tr> 
    <td bgcolor="#FFFFFF"  style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all">&nbsp;&nbsp;<?echo"$reply  <font size=\"1\">$date</font>$rep"?></td>
  </tr>
  <?php
  }
  ?>
</table>
