<!--
<?php
print <<<EOT
-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
  <tr> 
    <td height="100" valign="top" class="Main"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="dragTable" ><form name="form1" method="post" action="">
        <tr> 
          <td class="head">推廣賺取積分</td>
        </tr>
        <tr> 
            <td class="middle" style="padding:10px;line-height:150%;"> 你把以下網址復制下來,通過QQ或MSN發給你朋友或者是粘貼到其它網站或論壇,只要他們點擊了此網址,你就可以獲得{$webdb[propagandize_Money]}積分的獎勵.對于同一個訪客,一天內只能統計一次有效,重復點擊無效.<br>
            <br>
              <input type="text" name="textfield" size="90" id="urlcode" value="$webdb[www_url]/do/job.php?job=propagandize&uid=$lfjuid">
            <input type="submit" name="Submit" value="復制" onClick="JM_cc('urlcode');alert('網址復制succeed！')"><SCRIPT LANGUAGE="JavaScript">
<!--
function JM_cc(ob){
var obj=document.getElementById(ob); if (obj) { 
obj.select();js=obj.createTextRange();js.execCommand("Copy");}
}
//-->
</SCRIPT>

          </td>
        </tr><tr><td class="foot"></td></tr></form>
      </table>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
  <tr> 
    <td height="100" valign="top" class="Main"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="dragTable" >
        <tr> 
          <td class="head">以下是你最近{$webdb[propagandize_LogDay]}天內所帶來的訪客:</td>
        </tr>
        <tr> 
          <td class="middle"> 
            <table width="100%" border="0" cellspacing="1" cellpadding="3" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
              <tr align="center" class="head_in"> 
                <td width="21%">訪客IP</td>
                <td width="37%">來源地</td>
                <td width="15%">訪問時間</td>
                <td width="27%">來源網址</td>
              </tr>
              <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
              <tr class='trA' onMouseOver="this.className='trB'" onMouseOut="this.className='trA'"> 
                <td  align="left" width="21%">$rs[ip]</td>
                <td align="center" width="37%">$rs[ipfrom]</td>
                <td align="center" width="15%">$rs[posttime]</td>
                <td align="center" width="27%"> 
                  <input type="text" name="textfield2" value="$rs[fromurl]" onclick="if(this.value!='')window.open('$rs[fromurl]');">
                  <a href="?do=del&id=$rs[id]"></a></td>
              </tr>
              <!--
EOT;
}print <<<EOT
-->
              <tr align="center"> 
                <td colspan="5">$showpage</td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td class="foot"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!--
EOT;
?>
-->