本文整理汇总了PHP中get_boxlistkey函数的典型用法代码示例。如果您正苦于以下问题:PHP get_boxlistkey函数的具体用法?PHP get_boxlistkey怎么用?PHP get_boxlistkey使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_boxlistkey函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
<tbody>
<?php
foreach ($result as $row) {
?>
<tr <?php
if ($result % 2 == 0) {
?>
class="split" <?php
}
?>
>
<td class="checkbox">
<?php
echo get_boxlistkey("id[]", $row['id'], $row['uid'], $_USER->id);
?>
</td>
<td class="info"><?php
echo $row['number'];
?>
</td>
<td class="title">
<a href="admin.php?ac=job_demand_views&fileurl=jobs&id=<?php
echo $row['id'];
?>
"><?php
echo $row['jobpost'];
?>
</a>
</td>
示例2: foreach
<tbody>
<?php
foreach ($result as $row) {
?>
<tr <?php
if ($result % 2 == 0) {
?>
class="split" <?php
}
?>
>
<td class="checkbox">
<?php
echo get_boxlistkey("id[]", $row['id'], $row['sendperson'], $_USER->id);
?>
</td>
<td class="info"><?php
if ($row['type'] == '1') {
echo '<font color=red>成功</font>';
} else {
echo '失败';
}
?>
</td>
<td class="title">
<?php
echo $row['receivephone'];
?>
</td>
示例3: foreach
<tbody>
<?php
foreach ($result as $row) {
?>
<tr <?php
if ($result % 2 == 0) {
?>
class="split" <?php
}
?>
>
<td class="checkbox">
<?php
get_boxlistkey("id[]", $row['id'], $row['appperson'], $_USER->id);
?>
</td>
<td width="100"><?php
echo $row['booknumber'];
?>
</td>
<td class="title"><?php
echo $row['bookname'];
?>
</td>
<td width="100"><?php
echo get_realname($row['appperson']);
?>
</td>
<td width="120"><?php
示例4: foreach
<td width="80" align="center" class="TableHeader">验证方式</td>
<td class="TableHeader" width="100" align="center">发布人</td>
<td class="TableHeader" width="80" align="center">操作</td>
</tr>
<?php
foreach ($result as $row) {
?>
<tr>
<td nowrap class="TableContent">
<?php
$dnum = $db->result("SELECT COUNT(*) AS dnum FROM " . DB_TABLEPRE . "workclass_db where fromid='" . $row['fromid'] . "'");
if ($dnum < 1) {
$tpl = $db->fetch_one_array("SELECT tpltype FROM " . DB_TABLEPRE . "workclass_template WHERE tplid = '" . $row['tplid'] . "' ");
if ($tpl['tpltype'] != '1' || is_superadmin()) {
get_boxlistkey("id[]", $row['fromid'], $row['uid'], $_USER->id);
} else {
echo '<input type="checkbox" name="id[]" value="' . $row['fromid'] . '" disabled="disabled" />';
}
} else {
echo '<input type="checkbox" name="id[]" value="' . $row['fromid'] . '" disabled="disabled" />';
}
?>
</td>
<td class="TableData"><input name="inputnumber[<?php
echo $row['fromid'];
?>
]" type="text" style="width:30px;" value="<?php
echo $row['inputnumber'];
?>
" /></td>
示例5: foreach
<tbody>
<?php
foreach ($result as $row) {
?>
<tr <?php
if ($result % 2 == 0) {
?>
class="split" <?php
}
?>
>
<td class="checkbox">
<?php
echo get_boxlistkey("id[]", $row['id'], $row['receiveperson'], $_USER->id);
?>
</td>
<td width="60" align="left">
<?php
if ($row['smskey'] == '1') {
echo "<font color=#006600>未读</font>";
if (trim($row['receiveperson']) == trim($_USER->id)) {
echo '<a href="admin.php?ac=receive&fileurl=sms&do=smskey&id=' . $row['id'] . '&userkeytype=' . urldecode($userkeytype) . '" title="标志为己读"><img src="template/default/images/2EC5tZlqdV.gif"></a>';
}
} else {
echo "己读";
}
?>
</td>
<td width="60"><?php