• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP get_delete_link函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中get_delete_link函数的典型用法代码示例。如果您正苦于以下问题:PHP get_delete_link函数的具体用法?PHP get_delete_link怎么用?PHP get_delete_link使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了get_delete_link函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: checkauthentication

<?php

checkauthentication();
$p = $_GET['p'];
$table = "dt_pk";
$field = array("id", "th", "kdunitkerja", "no_sasaran", "nourut_pk", "indikator", "target", "no_iku", "anggaran");
$ed_link = "index.php?p=" . get_edit_link($p);
$del_link = "index.php?p=" . get_delete_link($p);
$th = $_SESSION['xth'];
$oList = mysql_query("select * from {$table} WHERE th = '{$th}' and kdunitkerja = '2320000' order by nourut_pk");
$count = mysql_num_rows($oList);
while ($List = mysql_fetch_object($oList)) {
    foreach ($field as $k => $val) {
        $col[$k][] = $List->{$val};
    }
    $ed[] = $ed_link . "&q=" . $List->{$field}[0];
    $del[] = $del_link . "&q=" . $List->{$field}[0];
}
?>
<!--a href="menus/kinerja/pk_eselon1_pdf.php?th=<?php 
echo $th;
?>
" title="Cetak PK Ditjenbud" target="_blank">
			  <img src="css/images/menu/icon-16-print.png" border="0" width="16" height="16"><font size="1"> PDF</font></a>&nbsp;&nbsp;|
<a href="menus/kinerja/pk_eselon1_xls.php?th=<?php 
echo $th;
?>
" title="Cetak PK Ditjenbud" target="_blank">
			  <font size="1">XLS</font></a-->
<table width="652" cellpadding="1" class="adminlist">
  <thead>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:pk_eselon1.php


示例2: get_field

if ($u == "") {
    $u = $_SESSION['unit_kerja'];
}
$table = "presensi";
$field = get_field($table);
if ($m == "") {
    $m = date("n");
}
if ($y == "") {
    $y = date("Y");
}
if ($m < 10) {
    $m = "0" . $m;
}
$ed_link = "index.php?p=" . get_edit_link($p) . "&m=" . $m . "&y=" . $y . "&t=" . $t . "&q=" . $q . "&a=" . $a;
$del_link = "index.php?p=" . get_delete_link($p) . "&m=" . $m . "&y=" . $y . "&t=" . $t . "&q=" . $q . "&a=" . $a;
$bln = $y . "-" . $m;
$oList = absensi_list($u, $q, $bln, $t, $a);
$count = mysql_num_rows($oList);
while ($List = mysql_fetch_object($oList)) {
    foreach ($field as $k => $val) {
        $col[$k][] = $List->{$val};
    }
    $ed[] = $ed_link . "&q=" . $List->{$field}[0];
    $del[] = $del_link . "&q=" . $List->{$field}[0];
}
?>

<script language="javascript" src="js/autocombo.js"></script>
<form action="" method="get" name="form">
	<input name="p" type="hidden" value="<?php 
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:absensi.php


示例3: checkauthentication

<?php

checkauthentication();
$p = $_GET['p'];
$y = $_GET['y'];
$s = $_GET['s'];
if ($y == "") {
    $y = date("Y");
}
$table = "libur";
$field = get_field($table);
$ed_link = "index.php?p=" . get_edit_link($p) . "&s=" . $s . "&y=" . $y;
$del_link = "index.php?p=" . get_delete_link($p) . "&s=" . $s . "&y=" . $y;
$oList = libur_list($y, $s);
$count = mysql_num_rows($oList);
while ($List = mysql_fetch_object($oList)) {
    foreach ($field as $k => $val) {
        $col[$k][] = $List->{$val};
    }
    $ed[] = $ed_link . "&q=" . $List->{$field}[0];
    $del[] = $del_link . "&q=" . $List->{$field}[0];
}
?>
<form action="" method="get" name="form">
	<input name="p" type="hidden" value="<?php 
echo $p;
?>
">
	<fieldset>
		<table class="admintable" cellspacing="1">
			<tr>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:libur.php


示例4: date

    echo $row_get_site_to_site_req['first_name'] . " " . $row_get_site_to_site_req['last_name'];
    ?>
</td>
      <td><?php 
    echo date("d-M-Y", strtotime($row_get_site_to_site_req['created_date']));
    ?>
</td>
      <td><a href=".?<?php 
    get_child_link($approved_time, "site_approve_item_view", "site_to_site_req_item_view");
    ?>
= true&amp;site_to_site_req_id=<?php 
    echo $row_get_site_to_site_req['id'];
    ?>
&back_page=site_to_site_req_view"><input name="" value="Items" type="submit" id="edit_forms"/></a></td>
      <td><?php 
    get_edit_link($approved_time, "site_to_site_req", $row_get_site_to_site_req['id']);
    ?>
</td>
      <td><?php 
    get_delete_link($approved_time, "site_to_site_req", $row_get_site_to_site_req['id']);
    ?>
</td>
    </tr>
    <?php 
} while ($row_get_site_to_site_req = mysql_fetch_assoc($get_site_to_site_req));
?>
                  <!--Loop end-->
                </tbody>
              </table>
<?php 
mysql_free_result($get_site_to_site_req);
开发者ID:slubwama,项目名称:construction-management,代码行数:31,代码来源:view.php


示例5: get_field

if ($subbidang == "") {
    $subbidang = $b . "0";
}
if (substr($subbidang, 2, 2) == "00") {
    $bidang = $u;
} else {
    if (substr($subbidang, 3, 1) == "0") {
        $bidang = $b;
    } else {
        $bidang = $subbidang;
    }
}
$table = "pegawai";
$field = get_field($table);
$ed_link = "index.php?p=" . get_edit_link($p) . "&u=" . $u . "&b=" . $b . "&subbidang=" . $subbidang;
$del_link = "index.php?p=" . get_delete_link($p) . "&u=" . $u . "&b=" . $b . "&subbidang=" . $subbidang;
$oList = pegawai_list($bidang, "kode_bidang,status_jab DESC,nip");
$count = mysql_num_rows($oList);
while ($List = mysql_fetch_object($oList)) {
    foreach ($field as $k => $val) {
        $col[$k][] = $List->{$val};
    }
    $ed[] = $ed_link . "&q=" . $List->{$field}[0];
    $del[] = $del_link . "&q=" . $List->{$field}[0];
}
?>

<script language="javascript" src="js/autocombo.js"></script>
<form action="" method="get" name="form">
	<input name="p" type="hidden" value="<?php 
echo $p;
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:pegawai.php


示例6: date

      <td><?php 
    echo date("d-M-Y", strtotime($row_get_purchase_req['created_date']));
    ?>
</td>
      
            <td><a href=".?<?php 
    get_child_link($approved_time, "menu_type=storekeeper&pr_item_approve_view", "pr_item_view");
    ?>
= true&amp;purchase_req_id=<?php 
    echo $row_get_purchase_req['id'];
    ?>
&back_page=purchase_req_view"><input name="" value="Items" type="submit" id="edit_forms"/></a></td>
      <td><?php 
    get_edit_link($approved_time, "purchase_req", $row_get_purchase_req['id']);
    ?>
</td>
      <td><?php 
    get_delete_link($approved_time, "purchase_req", $row_get_purchase_req['id']);
    ?>
</td>
      
      
    </tr>
    <?php 
} while ($row_get_purchase_req = mysql_fetch_assoc($get_purchase_req));
?>
                  <!--Loop end-->
                </tbody>
              </table>
<?php 
mysql_free_result($get_purchase_req);
开发者ID:slubwama,项目名称:construction-management,代码行数:31,代码来源:view.php



注:本文中的get_delete_link函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP get_delete_post_link函数代码示例发布时间:2022-05-15
下一篇:
PHP get_defined_vars函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap