admin/fahuo.php

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php
include_once("top.php");
$id = !empty($_GET['id']) ? intval($_GET['id']) : '';
?>
<div id="middle">
     <?php
include_once("left.php");
?>
     <div class="right"  id="mainFrame">
     <div class="right_cont">
   <div class="title_right"><strong>发货</strong></div>
      <table width="100%" border="0" cellpadding="6" cellspacing="0" bgcolor="#cccccc" class="table table-bordered">
	<script language="javascript">
	function chkinput()
	{
	  if(document.form1.kuaidi.value==""){
		alert("请输入快递名称");
		document.form1.kuaidi.focus();
		return false;}
		if(document.form1.bianhao.value==""){
		alert("请输入快递编号");
		document.form1.bianhao.focus();
		return false;}
		
	}
    </script>
     <form name="form1" enctype="multipart/form-data" method="post" action="?action=update" onSubmit="return chkinput();">
     <input type="hidden" name="id" size="10" class="span1-1" value="<?php echo $id?>">
     <tr bgcolor="#FFFFFF">
              <td height="25" colspan="2" align="center" bgcolor="#cecece"><strong>
                
              添加快递</strong></td>
          </tr>
	  <tr>
        <td width="129" height="35" align="right">快递名称:</td>
        <td width="618"><input type="text" name="kuaidi" size="25" class="span1-1" style="width:50%;"></td>
      </tr>
      <tr>
        <td height="35" align="right">快递编号:</td>
        <td height="25">
          <input type="text" name="bianhao" size="60" class="span1-1" style="width:50%;">
          </td>
      </tr>
      <tr>
        <td height="25" colspan="2"><input type="submit" value="确定" class="btn btn-info " style="width:80px;">
          </td>
      </tr>
	  </form>
    </table>
     </div>     
     </div>
    </div>
    
<!-- 底部 -->
<?php
$action = !empty($_GET['action']) ? trim($_GET['action']) : '';
if($action == 'update')
{
	$id = !empty($_POST['id']) ? intval($_POST['id']) : '';
	$kuaidi = !empty($_POST['kuaidi']) ? trim($_POST['kuaidi']) : '';
后面还有 8 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。