<?php /* Smarty version Smarty-3.0.6, created on 2013-10-18 01:49:53
         compiled from "C:/AppServ/www/www/templates/adminsys\address_tpl.html" */ ?>
<?php /*%%SmartyHeaderCode:10411526093c1e0a4a5-57053830%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '28372d0fa48e8a79978006c7e6754fcd4812d796' => 
    array (
      0 => 'C:/AppServ/www/www/templates/adminsys\\address_tpl.html',
      1 => 1381140360,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '10411526093c1e0a4a5-57053830',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>客户资料 -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/templates/adminsys/css/list.css" />
<script language="javascript" src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/js/common.js"></script>
<script language="javascript">

	function pageEnter()
	{
	   var  Url = ""
	   var UrlkeyWord = document.getElementById("keywordhedden").value;
	   if(UrlkeyWord !=''){
	     Url += "&keyword="+UrlkeyWord;
	   }
	   
	    return Url;
	}

	//跳转页面
	function getToPage(pageNum)
	{
	
	   var pageNum = pageNum;
	   urlValue  = location.pathname;
	   urlValue += "?load=artlice&act=infolist&pageNum="+pageNum;
	   if(typeof(pageEnter)=="function")
	   {  
		   urlValue += pageEnter();
	   }
	   window.location = urlValue;
	}
	
</script>
</head>
<body>
<table  cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr><td><table cellpadding="0" cellspacing="0" border="0" style="width:100%; color:#000000; font-weight:normal; background-color:#3EC3EF;"  >
  <tr>
    <td>&nbsp;<img src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/uploads/sys/h.gif"  width="15" border="0"><a href="<?php echo $_smarty_tpl->getVariable('employee_weburl')->value;?>
/index.php?load=address&act=infolist">客户资料</a></td>
    <td>&nbsp;</td>
    <td align="right"><a href="http://help.gv32.com/type_address.html" target="_blank" title="点击-在线帮助"><img src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/images/sys/adminhelp.png"  width="21" border="0" alt="点击-在线帮助"></a>&nbsp;&nbsp;</td>
  </tr>
</table>
</td></tr>
<tr><td>

<div class="list">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">

<tr>
<td colspan="8"  class="tdd"><form action="<?php echo $_smarty_tpl->getVariable('employee_weburl')->value;?>
/index.php?load=address&act=infolist" method="post" >&nbsp;<input type="hidden" name="webroot_url"   id="webroot_url" value="<?php echo $_smarty_tpl->getVariable('employee_weburl')->value;?>
"  />
关键字：<input name="keyword" id="keyword" value="<?php echo $_smarty_tpl->getVariable('keywordval')->value;?>
"  width="100px" /><input type="submit" value="查询" /> &nbsp;搜索类型：
姓名(客户名称)<input  type="radio" name="searchtype"  value="add_name"  <?php if ($_smarty_tpl->getVariable('searchtype')->value=='add_name'){?>  checked="checked"  <?php }?>/> &nbsp;
Email<input type="radio" name="searchtype"  value="add_email"   <?php if ($_smarty_tpl->getVariable('searchtype')->value=='add_email'){?>  checked="checked"  <?php }?>/>&nbsp; 
手机<input type="radio" name="searchtype"  value="add_mobile"   <?php if ($_smarty_tpl->getVariable('searchtype')->value=='add_mobile'){?>  checked="checked"  <?php }?>/>&nbsp; 
电话<input type="radio" name="searchtype"  value="add_phone"   <?php if ($_smarty_tpl->getVariable('searchtype')->value=='add_phone'){?>  checked="checked"  <?php }?>/>&nbsp; 
</form></td>
</tr>

<tr>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='add_id'){?><a href="javascript:addOrderBy('add_id','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>ID</a><?php }else{ ?><a href="javascript:addOrderBy('add_id','DESC')" >ID</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='add_name'){?><a href="javascript:addOrderBy('add_name','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>姓名(客户名称)</a><?php }else{ ?><a href="javascript:addOrderBy('add_name','DESC')" >姓名(客户名称)</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='add_email'){?><a href="javascript:addOrderBy('add_email','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>Email地址</a><?php }else{ ?><a href="javascript:addOrderBy('add_email','DESC')" >Email地址</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='add_pcdall'){?><a href="javascript:addOrderBy('add_pcdall','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>地址</a><?php }else{ ?><a href="javascript:addOrderBy('add_pcdall','DESC')" >地址</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='add_mobile'){?><a href="javascript:addOrderBy('add_mobile','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>手机</a><?php }else{ ?><a href="javascript:addOrderBy('add_mobile','DESC')" >手机</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='add_phone'){?><a href="javascript:addOrderBy('add_phone','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>电话</a><?php }else{ ?><a href="javascript:addOrderBy('add_phone','DESC')" >电话</a><?php }?></th>
<th><?php if ($_smarty_tpl->getVariable('listval')->value=='add_sign'){?><a href="javascript:addOrderBy('add_sign','<?php echo $_smarty_tpl->getVariable('listhtml')->value;?>
')" ><?php if ($_smarty_tpl->getVariable('listhtml')->value=='DESC'){?>↑<?php }else{ ?>↓<?php }?>标志建筑</a><?php }else{ ?><a href="javascript:addOrderBy('add_sign','DESC')" >标志建筑</a><?php }?></th>
<th>操作</th>
</tr>
 
<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('info')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="keyid"><strong><?php echo $_smarty_tpl->tpl_vars['item']->value['add_id'];?>
</strong></td>
<td class="keyleft"><strong><?php echo $_smarty_tpl->tpl_vars['item']->value['add_name'];?>
</strong> <?php if ($_smarty_tpl->tpl_vars['item']->value['use_id']!=0){?>(<a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=user&act=info&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['use_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['use_id'];?>
</a>)<?php }?></td>
<td class="tdleft"><?php echo $_smarty_tpl->tpl_vars['item']->value['add_email'];?>
</td>
<td class="keykey"><?php echo $_smarty_tpl->tpl_vars['item']->value['add_pcdall'];?>
<?php echo $_smarty_tpl->tpl_vars['item']->value['add_address'];?>
</td>
<td class="tdleft"><strong><?php echo $_smarty_tpl->tpl_vars['item']->value['add_mobile'];?>
</strong></td>
<td class="tdleft"><?php echo $_smarty_tpl->tpl_vars['item']->value['add_phone'];?>
</td>
<td class="tdleft"><?php echo $_smarty_tpl->tpl_vars['item']->value['add_sign'];?>
</td>
<td class="tdcenter"> <a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=address&act=info&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['add_id'];?>
">修改</a>&nbsp;&nbsp;&nbsp;<a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=address&act=del&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['add_id'];?>
" onclick="if(confirm('你确认要删除操作！')){ return  true; }else{ return  false; }" >删除</a> </td>
</tr>
<?php }} ?>

<tr>
<td colspan="8"  class="tdd"><?php echo $_smarty_tpl->getVariable('PageStr')->value;?>
</td>
</tr>

<tr>
<td colspan="8"  class="tdd"><input name="keywordhedden" id="keywordhedden" value="<?php echo $_smarty_tpl->getVariable('keywordval')->value;?>
"   type="hidden" /><input type="button" name="addnew" id="addnew" value="添加联系资料" onclick="window.location='<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=address&act=add'" /></td>
</tr>

</table>

</div>

</td></tr>
<tr><td></td></tr>
</table>

</body>
</html>