Location: PHPKode > scripts > BugInvoicing Web Based Billing System > buginvoicing-web-based-billing-system/listcustomers.tpl
<link rel="stylesheet" type="text/css" href="buginvoicing.css">
{literal}
<script language="JavaScript">
<!--
function Print() { //v2.0
var da = (document.all) ? 1 : 0;
	var pr = (window.print) ? 1 : 0;
	if (pr) { // NS4, IE5
		window.print();
	}
	else if (da)
	{
		var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
		document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
		WebBrowser1.ExecWB(6, 2); // #1 para janela #2 sem janela
		WebBrowser1.outerHTML='';
	}
	return true;
}
//-->
</script>
{/literal}
<body bgcolor="#FFFFFF">
<table align=center bgcolor=#000000 border=1 cellpadding=0 cellspacing=0 width=540 bordercolor="#000000">
  <tbody>
  <tr bgcolor="{$bg_color}">
    <td height=19>&nbsp;</td>
  </tr>
  <tr>
    <td>
      <table align=center bgcolor=#ffffff border=0 cellpadding=0 cellspacing=0 width=538>
        <tbody> 
        <tr bgcolor=#ffffff> 
          <td> 
            <form action="" method=post name="listcustomers">
              <table align=center border=0 cellpadding=0 cellspacing=0 width=485>
                <tbody> 
                <tr> 
                  <td width="84%"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"></font> 
                  </td>
                  <td width="8%"><a href="{$url_back}"><img alt=" {$go_back} " border=0 src="anterior.gif" width="35" height="36"></a></td>
                  <td width="8%"><a href="{$url_main}"><img alt=" {$home} " border=0 src="home.gif" width="36" height="36"></a></td>
                </tr>
                </tbody> 
              </table>
              <table width="86%" border="0" align="center">
                <tr> 
                  <td> 
                    <p align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>{$title}</b></font></p>
                    <p align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">{$order_by}</font>
                      <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b> 
                      <select name="ordenacao">
                        <option value=" order by primeiro_nome " selected>{$first_name}</option>
                        <option value=" order by ultimo_nome ">{$last_name}</option>
                        <option value=" order by cidade ">{$city}</option>
                      </select>
                      <input type="image" border="0" name="refrescar" src="refresh.gif" alt=" {$refresh} ">
                      </b></font></p>
                    <div align="right"></div>
                    <div align="right"></div>
                    <hr noShade size=1>
			<p><font face="Verdana, Arial, Helvetica, sans-serif" size="1"> 
			<table align=left border=1 bordercolor=#333333 bordercolordark=#ffffff bordercolorlight=#000000 cellpadding=0 cellspacing=0 width="100%">
			<tr bgcolor="{$bg_color}">
			<td width="10%"><div align="center"><font size =1><b>{$first_name}</font></b></div></td>
			<td width="10%"><div align="center"><font size =1><b>{$last_name}</font></b></div></td>
			<td width="15%"><div align="center"><font size =1><b>{$company}</font></b></div></td>
			<td width="20%"><div align="center"><font size =1><b>{$address}</font></b></div></td>
			<td width="20%"><div align="center"><font size =1><b>{$city}</font></b></div></td>
			<td width="15%"><div align="center"><font size =1><b>{$country}</font></b></div></td>
			<td width="15%"><div align="center"><font size =1><b>{$email}</font></b></div></td>
			</tr>
			{section name=list loop=$list_customer}
                        	<tr bgcolor="#d8e1eb" onMouseOver="this.style.background='#cc9999';this.style.cursor='hand';window.status='BugInvoicing Web Based Billing System'" onMouseOut="this.style.background='#d8e1eb'" onclick="document.location.href='{$list_on_click[list]}'">
				<td width="10%"><font size =1>{$list_customer[list]}&nbsp</font></td>
				<td width="10%"><font size =1>{$list_lastname[list]}&nbsp</font></td>
				<td width="10%"><font size =1>{$list_company[list]}&nbsp</font></td>
				<td width="20%"><font size =1>{$list_address[list]}&nbsp</font></td>
				<td width="20%"><font size =1>{$list_city[list]}&nbsp</font></td>
				<td width="15%"><font size =1>{$list_country[list]}&nbsp</font></td>
				<td width="15%"><font size =1>{$list_email[list]}&nbsp</font></td>
				</tr>
			{/section}
			</table>
                      </font></p>
                  </td>
                </tr>
              </table>
	      <table width="15%" border="0" align="center">
		<tr>
		<td colSpan="3">
		<table cellSpacing="0" cellPadding="2" width="100%" border="0" height="15">
		<tbody>
		<tr>
		<td noWrap height="11"><font face="Verdana, Arial" color="#000000" size="1">&nbsp;{$displaying}
		<b>{$init_item}</b> {$to} <b> {$end_item} </b>(<b>{$total_items}</b>&nbsp{$customers_lowercase})&nbsp;</font></td>
		<td noWrap align="right" height="11"><font face="Verdana, Arial" color="#000000" size="1">&nbsp; {$pages}
		{section name=i start=1 loop=$counter_page+1}
			{if (%i.index%)==$page}
				<b>{%i.index%}</b>&nbsp;
			{else}
				<a class="bluelink" title=" {$txt_page} {$item_counter_page}" href="?pagina={%i.index%}"><u>{%i.index%}</u></a>&nbsp;
			{/if}
		{/section}
                {if $page<>$counter_page}<a class="bluelink" title="{$next}" href="{$next_url}">{/if}<u>[{$next}]</u>{if $page<>$counter_page}</a>{/if}
		&nbsp;&nbsp;</font></td>
		</tr>
		</tbody>
		</table>
		</td>
		</tr>
		</table>
		<table width="6%" border="0" align="center">
                <tr> 		  
                  <td><input class=button_small name=print type=submit value="{$print}" onClick="Print()"><td>
                </tr>
              </table>
            </form>
          </td>
        </tr>
        </tbody>
      </table>
    </td>
  </tr>
  <tr bgcolor="{$bg_color}" bordercolordark="#ffffff" bordercolorlight="#000000" bordercolor="#000000">
    <td height=17 width="21%"><font size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="1">{$bugmall_copyright}</font></b></font></td>
  </tr>
  <tr bgcolor="{$bg_color}" bordercolordark="#ffffff" bordercolorlight="#000000" bordercolor="#000000">
    <td height=17 width="21%">
      <div align="left"><font size=2><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>{$powered}&nbsp;{$powered_link}</b></font><b></b></font></div>
    </td>
  </tr>
  </tbody> 
</table>
</html>
Return current item: BugInvoicing Web Based Billing System