Server : Apache
System : Linux iZ2vcgyutqttsd1p850kl8Z 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
User : www ( 1000)
PHP Version : 5.6.40
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Directory :  /www/wwwroot/saimikebio.com/ecshopjcw/templates/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/saimikebio.com/ecshopjcw/templates/ads_list.htm
<!-- $Id: ads_list.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}
<style>
            div.ad_img{  
                width: auto;  
                float:left;
            }  
            div.ad_img img{  
                cursor: pointer;  
                transition: all 0.6s;
            }  
            div.ad_img img:hover{  
                transform: scale(10);  
            }  
</style>
<!-- ECSHOP教程网修改增加代码start -->
<div class="form-div">
  <form action="javascript:searchAd()" name="searchForm">
    <img src="images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
	按广告位置名称: <input type="text" name="ad_p" size="30" />
	按广告名称: <input type="text" name="ad_n" size="30" />
    按广告ID: <input type="text" name="ad_i" size="5" />
    <input type="submit" value="{$lang.button_search}" class="button" />
  </form>
</div>

{literal}
<script language="JavaScript">
    function searchAd()
    {
		listTable.filter['ad_i'] = document.forms['searchForm'].elements['ad_i'].value;
        listTable.filter['ad_n'] = Utils.trim(document.forms['searchForm'].elements['ad_n'].value);
		listTable.filter['ad_p'] = Utils.trim(document.forms['searchForm'].elements['ad_p'].value);
        listTable.filter['page'] = 1;

        listTable.loadList();
    }
</script>
{/literal}
<!-- ECSHOP教程网修改增加代码end-->
<form method="post" action="" name="listForm">
<!-- start ads list -->
<div class="list-div" id="listDiv">
{/if}

<table cellpadding="3" cellspacing="1">
  <tr>
    <th><a href="javascript:listTable.sort('ad_name'); ">{$lang.ad_name}</a>{$sort_ad_name}</th>
    <th><a href="javascript:listTable.sort('position_id'); ">{$lang.position_id}</a>{$sort_position_id}</th>
    <th><a href="javascript:listTable.sort('media_type'); ">{$lang.media_type}</a>{$sort_media_type}</th>
    <th><a href="javascript:listTable.sort('start_date'); ">{$lang.start_date}</a>{$sort_start_date}</th>
    <th><a href="javascript:listTable.sort('end_date'); ">{$lang.end_date}</a>{$sort_end_date}</th>
    <th><a href="javascript:listTable.sort('click_count'); ">{$lang.click_count}</a>{$sort_click_count}</th>
    <th>{$lang.ads_stats}</th>
    <th>{$lang.handler}</th>
  </tr>
  {foreach from=$ads_list item=list}
  <tr>
    <td class="first-cell">
    <span onclick="javascript:listTable.edit(this, 'edit_ad_name', {$list.ad_id})">{$list.ad_name|escape:html}</span>
    </td>
    <td align="left"><span>{if $list.position_id eq 0}{$lang.outside_posit}{else}{$list.position_name}{/if}</span>
    </td>
    
	
<!--ECSHOP教程网修改增加代码start-->
<td valign="middle"><span> 
<div style="float:left;margin-right:10px;line-height:40px; color:#FF0000">【{$list.type}】</div> 
{if ($list.type == '图片')} 
<div class="ad_img"> 
<a href="{if strpos($list.ad_code,'www')}{$list.ad_code}{else}../data/afficheimg/{$list.ad_code}{/if}" target="_blank"><img style="border:none" {if strpos($list.ad_code,'www') }src="{$list.ad_code}"{else}src="../data/afficheimg/{$list.ad_code}" {/if} height="40px" /></a>
</div> 
{/if} 

{if ($list.type == '文字')} 
<div style="float:left;height:40px;max-width:200px;*width:200px;overflow:hidden;"> 
{$list.ad_code}
</div> 
{/if} 
</span></td>
	
<!--ECSHOP教程网修改增加代码end-->

	
    <td align="center"><span>{$list.start_date}</span></td>
    <td align="center"><span>{$list.end_date}</span></td>
    <td align="right"><span>{$list.click_count}</span></td>
    <td align="right"><span>{$list.ad_stats}</span></td>
    <td align="right"><span>
      {if $list.position_id eq 0}
      <a href="ads.php?act=add_js&type={$list.media_type}&id={$list.ad_id}" title="{$lang.add_js_code}"><img src="images/icon_js.gif" border="0" height="21" width="21" /></a>
      {/if}
      <a href="ads.php?act=edit&id={$list.ad_id}" title="{$lang.edit}"><img src="images/icon_edit.gif" border="0" height="21" width="21" /></a>
      <a href="javascript:;" onclick="listTable.remove({$list.ad_id}, '{$lang.drop_confirm}')" title="{$lang.remove}"><img src="images/icon_drop.gif" border="0" height="21" width="21" /></a></span>
    </td>
  </tr>
  {foreachelse}
    <tr><td class="no-records" colspan="10">{$lang.no_ads}</td></tr>
  {/foreach}
  <tr>
    <td align="right" nowrap="true" colspan="10">{include file="page.htm"}</td>
  </tr>
</table>

{if $full_page}
</div>
<!-- end ad_position list -->
</form>

<script type="text/javascript" language="JavaScript">
  listTable.recordCount = {$record_count};
  listTable.pageCount = {$page_count};

  {foreach from=$filter item=item key=key}
  listTable.filter.{$key} = '{$item}';
  {/foreach}
  {literal}
  onload = function()
  {
    // 开始检查订单
    startCheckOrder();
  }
  {/literal}
</script>
{include file="pagefooter.htm"}
{/if}