本文整理汇总了PHP中Clients::countAccount方法的典型用法代码示例。如果您正苦于以下问题:PHP Clients::countAccount方法的具体用法?PHP Clients::countAccount怎么用?PHP Clients::countAccount使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Clients
的用法示例。
在下文中一共展示了Clients::countAccount方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: anchor
<div id="my2" style="display:none;">Тип ЛС: <select name="add_account2" id="add_account_list2"></select><p>№ ЛС*: <input type="text" name="client_account_field_number" value="" /></p><cite>* Номер ЛС формируется вручную</cite></div>
<div class="sidebar_menu">
<div class="box-head">Лицевые счета</div>
<div class="box-content" id="account_div">
<table border="0" cellspacing="0" cellpadding="0">
<?php
$n = 1;
foreach ($client as $clients_account) {
echo '<tr>';
echo '<td style="padding-right:15px;">';
print anchor("", $clients_account->accounts, array('id' => 'add_menu', 'onclick' => "getCustomerGroup('{$clients_account->id}','{$clients_account->id_service}','{$clients_account->id_client}'); return false;"));
echo '</td><td>';
$counter = new Clients();
if ($counter->countAccount($clients_account->id_client) > 1) {
print '<button style="font-size:8px;float:left;margin:4px;" onclick="copyOptions(' . $clients_account->id . ',' . $clients_account->id_client . ')" class="copy_account_button">Копировать</button>';
}
print '<button style="font-size:8px;margin:4px;" onclick="deleteAccount(' . $clients_account->id . ',' . $clients_account->id_client . ')" class="delete_account_button">Удалить</button></td>';
echo '</tr>';
}
?>
</table>
<button style="font-size:10px;margin:10px;" id="add_account_button" class="add_account_button"> Новый</button>
<button style="font-size:10px;margin:10px;" id="add_account_button2" class="add_account_button"> Другой.№</button>
</div>
</div>
<div id="addAccrual" style="display: none;">