<!--
<?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('网址复制成功！')"><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;
?>
-->